From da8c4df995b4ea44f8bf415a085419cea0ae9505 Mon Sep 17 00:00:00 2001 From: Hiroto Funakoshi Date: Thu, 21 Dec 2023 12:38:21 +0900 Subject: [PATCH] Revert "Update [vald sha: b74aba6e66aa5b22ed62ff0ddc141563851ec7e2]" (#226) This reverts commit a7f32929829f13a93049c7aa6a270a07ce73b80f. --- VALD_SHA | 2 +- build.gradle | 2 +- .../java/com/google/protobuf/VTProto.java | 56 + .../vald/api/v1/agent/core/AgentGrpc.java | 4 +- .../vald/api/v1/agent/core/ValdAgent.java | 44 +- .../vald/api/v1/filter/egress/FilterGrpc.java | 409 - .../v1/filter/egress/ValdEgressFilter.java | 56 - .../api/v1/filter/ingress/FilterGrpc.java | 409 - .../v1/filter/ingress/ValdIngressFilter.java | 56 - .../vdaas/vald/api/v1/payload/Control.java | 13 +- .../vald/api/v1/payload/ControlOrBuilder.java | 3 +- .../vdaas/vald/api/v1/payload/Discoverer.java | 57 +- .../api/v1/payload/DiscovererOrBuilder.java | 3 +- .../org/vdaas/vald/api/v1/payload/Empty.java | 3 +- .../vald/api/v1/payload/EmptyOrBuilder.java | 3 +- .../org/vdaas/vald/api/v1/payload/Filter.java | 87 +- .../vald/api/v1/payload/FilterOrBuilder.java | 3 +- .../org/vdaas/vald/api/v1/payload/Info.java | 7662 +++-------------- .../vald/api/v1/payload/InfoOrBuilder.java | 3 +- .../org/vdaas/vald/api/v1/payload/Insert.java | 315 +- .../vald/api/v1/payload/InsertOrBuilder.java | 3 +- .../org/vdaas/vald/api/v1/payload/Object.java | 801 +- .../vald/api/v1/payload/ObjectOrBuilder.java | 3 +- .../org/vdaas/vald/api/v1/payload/Remove.java | 223 +- .../vald/api/v1/payload/RemoveOrBuilder.java | 3 +- .../org/vdaas/vald/api/v1/payload/Search.java | 681 +- .../vald/api/v1/payload/SearchOrBuilder.java | 3 +- .../org/vdaas/vald/api/v1/payload/Update.java | 325 +- .../vald/api/v1/payload/UpdateOrBuilder.java | 3 +- .../org/vdaas/vald/api/v1/payload/Upsert.java | 325 +- .../vald/api/v1/payload/UpsertOrBuilder.java | 3 +- .../vald/api/v1/payload/ValdPayload.java | 429 +- .../org/vdaas/vald/api/v1/rpc/BadRequest.java | 85 +- .../vald/api/v1/rpc/BadRequestOrBuilder.java | 13 +- .../org/vdaas/vald/api/v1/rpc/DebugInfo.java | 43 +- .../vald/api/v1/rpc/DebugInfoOrBuilder.java | 15 +- .../vald/api/v1/rpc/ErrorDetailsProto.java | 67 +- .../org/vdaas/vald/api/v1/rpc/ErrorInfo.java | 59 +- .../vald/api/v1/rpc/ErrorInfoOrBuilder.java | 21 +- .../java/org/vdaas/vald/api/v1/rpc/Help.java | 85 +- .../vdaas/vald/api/v1/rpc/HelpOrBuilder.java | 13 +- .../vald/api/v1/rpc/LocalizedMessage.java | 31 +- .../api/v1/rpc/LocalizedMessageOrBuilder.java | 11 +- .../vald/api/v1/rpc/PreconditionFailure.java | 103 +- .../v1/rpc/PreconditionFailureOrBuilder.java | 13 +- .../vdaas/vald/api/v1/rpc/QuotaFailure.java | 85 +- .../api/v1/rpc/QuotaFailureOrBuilder.java | 13 +- .../vdaas/vald/api/v1/rpc/RequestInfo.java | 31 +- .../vald/api/v1/rpc/RequestInfoOrBuilder.java | 11 +- .../vdaas/vald/api/v1/rpc/ResourceInfo.java | 59 +- .../api/v1/rpc/ResourceInfoOrBuilder.java | 19 +- .../org/vdaas/vald/api/v1/rpc/RetryInfo.java | 27 +- .../vald/api/v1/rpc/RetryInfoOrBuilder.java | 9 +- .../vdaas/vald/api/v1/vald/FilterGrpc.java | 4 +- .../vdaas/vald/api/v1/vald/InsertGrpc.java | 4 +- .../vdaas/vald/api/v1/vald/ObjectGrpc.java | 4 +- .../vdaas/vald/api/v1/vald/RemoveGrpc.java | 4 +- .../vdaas/vald/api/v1/vald/SearchGrpc.java | 4 +- .../vdaas/vald/api/v1/vald/UpdateGrpc.java | 4 +- .../vdaas/vald/api/v1/vald/UpsertGrpc.java | 4 +- .../vdaas/vald/api/v1/vald/ValdFilter.java | 85 +- .../vdaas/vald/api/v1/vald/ValdInsert.java | 33 +- .../vdaas/vald/api/v1/vald/ValdObject.java | 38 +- .../vdaas/vald/api/v1/vald/ValdRemove.java | 39 +- .../vdaas/vald/api/v1/vald/ValdSearch.java | 80 +- .../vdaas/vald/api/v1/vald/ValdUpdate.java | 33 +- .../vdaas/vald/api/v1/vald/ValdUpsert.java | 33 +- version/VALD_CLIENT_JAVA_VERSION | 2 +- 68 files changed, 3506 insertions(+), 9670 deletions(-) create mode 100644 src/main/java/com/google/protobuf/VTProto.java delete mode 100644 src/main/java/org/vdaas/vald/api/v1/filter/egress/FilterGrpc.java delete mode 100644 src/main/java/org/vdaas/vald/api/v1/filter/egress/ValdEgressFilter.java delete mode 100644 src/main/java/org/vdaas/vald/api/v1/filter/ingress/FilterGrpc.java delete mode 100644 src/main/java/org/vdaas/vald/api/v1/filter/ingress/ValdIngressFilter.java diff --git a/VALD_SHA b/VALD_SHA index 4651cfa8..7ad6eadc 100644 --- a/VALD_SHA +++ b/VALD_SHA @@ -1 +1 @@ -b74aba6e66aa5b22ed62ff0ddc141563851ec7e2 +bf77201025321b188ae20a5db4d1145b480a680a diff --git a/build.gradle b/build.gradle index d95b3236..d47bd164 100644 --- a/build.gradle +++ b/build.gradle @@ -23,7 +23,7 @@ apply plugin: 'build.buf' group = "org.vdaas.vald" archivesBaseName = "vald-client-java" -version = "1.7.10" +version = "1.7.9" description = "a client library for Vald (https://github.com/vdaas/vald)." def isDevBuild diff --git a/src/main/java/com/google/protobuf/VTProto.java b/src/main/java/com/google/protobuf/VTProto.java new file mode 100644 index 00000000..8f4eaf19 --- /dev/null +++ b/src/main/java/com/google/protobuf/VTProto.java @@ -0,0 +1,56 @@ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: github.com/planetscale/vtprotobuf/include/github.com/planetscale/vtprotobuf/vtproto/ext.proto + +package com.google.protobuf; + +public final class VTProto { + private VTProto() {} + public static void registerAllExtensions( + com.google.protobuf.ExtensionRegistryLite registry) { + registry.add(com.google.protobuf.VTProto.mempool); + } + + public static void registerAllExtensions( + com.google.protobuf.ExtensionRegistry registry) { + registerAllExtensions( + (com.google.protobuf.ExtensionRegistryLite) registry); + } + public static final int MEMPOOL_FIELD_NUMBER = 64101; + /** + * extend .google.protobuf.MessageOptions { ... } + */ + public static final + com.google.protobuf.GeneratedMessage.GeneratedExtension< + com.google.protobuf.DescriptorProtos.MessageOptions, + java.lang.Boolean> mempool = com.google.protobuf.GeneratedMessage + .newFileScopedGeneratedExtension( + java.lang.Boolean.class, + null); + + public static com.google.protobuf.Descriptors.FileDescriptor + getDescriptor() { + return descriptor; + } + private static com.google.protobuf.Descriptors.FileDescriptor + descriptor; + static { + java.lang.String[] descriptorData = { + "\n]github.com/planetscale/vtprotobuf/incl" + + "ude/github.com/planetscale/vtprotobuf/vt" + + "proto/ext.proto\022\007vtproto\032 google/protobu" + + "f/descriptor.proto:2\n\007mempool\022\037.google.p" + + "rotobuf.MessageOptions\030\345\364\003 \001(\010BI\n\023com.go" + + "ogle.protobufB\007VTProtoZ)github.com/plane" + + "tscale/vtprotobuf/vtproto" + }; + descriptor = com.google.protobuf.Descriptors.FileDescriptor + .internalBuildGeneratedFileFrom(descriptorData, + new com.google.protobuf.Descriptors.FileDescriptor[] { + com.google.protobuf.DescriptorProtos.getDescriptor(), + }); + mempool.internalInit(descriptor.getExtensions().get(0)); + com.google.protobuf.DescriptorProtos.getDescriptor(); + } + + // @@protoc_insertion_point(outer_class_scope) +} diff --git a/src/main/java/org/vdaas/vald/api/v1/agent/core/AgentGrpc.java b/src/main/java/org/vdaas/vald/api/v1/agent/core/AgentGrpc.java index 84ca3368..1c573337 100644 --- a/src/main/java/org/vdaas/vald/api/v1/agent/core/AgentGrpc.java +++ b/src/main/java/org/vdaas/vald/api/v1/agent/core/AgentGrpc.java @@ -8,8 +8,8 @@ * */ @javax.annotation.Generated( - value = "by gRPC proto compiler (version 1.60.0)", - comments = "Source: v1/agent/core/agent.proto") + value = "by gRPC proto compiler (version 1.58.0)", + comments = "Source: apis/proto/v1/agent/core/agent.proto") @io.grpc.stub.annotations.GrpcGenerated public final class AgentGrpc { diff --git a/src/main/java/org/vdaas/vald/api/v1/agent/core/ValdAgent.java b/src/main/java/org/vdaas/vald/api/v1/agent/core/ValdAgent.java index 214f514d..e7e6901f 100644 --- a/src/main/java/org/vdaas/vald/api/v1/agent/core/ValdAgent.java +++ b/src/main/java/org/vdaas/vald/api/v1/agent/core/ValdAgent.java @@ -1,7 +1,6 @@ // Generated by the protocol buffer compiler. DO NOT EDIT! -// source: v1/agent/core/agent.proto +// source: apis/proto/v1/agent/core/agent.proto -// Protobuf Java Version: 3.25.1 package org.vdaas.vald.api.v1.agent.core; public final class ValdAgent { @@ -24,38 +23,39 @@ public static void registerAllExtensions( descriptor; static { java.lang.String[] descriptorData = { - "\n\031v1/agent/core/agent.proto\022\007core.v1\032\034go" + - "ogle/api/annotations.proto\032\030v1/payload/p" + - "ayload.proto2\336\003\n\005Agent\022_\n\013CreateIndex\022&." + - "payload.v1.Control.CreateIndexRequest\032\021." + - "payload.v1.Empty\"\025\202\323\344\223\002\017\022\r/index/create\022" + - "F\n\tSaveIndex\022\021.payload.v1.Empty\032\021.payloa" + - "d.v1.Empty\"\023\202\323\344\223\002\r\022\013/index/save\022m\n\022Creat" + - "eAndSaveIndex\022&.payload.v1.Control.Creat" + - "eIndexRequest\032\021.payload.v1.Empty\"\034\202\323\344\223\002\026" + - "\022\024/index/createandsave\022Q\n\tIndexInfo\022\021.pa" + - "yload.v1.Empty\032\034.payload.v1.Info.Index.C" + - "ount\"\023\202\323\344\223\002\r\022\013/index/info\022j\n\014GetTimestam" + - "p\022&.payload.v1.Object.GetTimestampReques" + - "t\032\034.payload.v1.Object.Timestamp\"\024\202\323\344\223\002\016\022" + - "\014/object/metaBc\n org.vdaas.vald.api.v1.a" + - "gent.coreB\tValdAgentP\001Z2github.com/vdaas" + - "/vald/apis/grpc/v1/agent/core;coreb\006prot" + - "o3" + "\n$apis/proto/v1/agent/core/agent.proto\022\007" + + "core.v1\032#apis/proto/v1/payload/payload.p" + + "roto\032=github.com/googleapis/googleapis/g" + + "oogle/api/annotations.proto2\336\003\n\005Agent\022_\n" + + "\013CreateIndex\022&.payload.v1.Control.Create" + + "IndexRequest\032\021.payload.v1.Empty\"\025\202\323\344\223\002\017\022" + + "\r/index/create\022F\n\tSaveIndex\022\021.payload.v1" + + ".Empty\032\021.payload.v1.Empty\"\023\202\323\344\223\002\r\022\013/inde" + + "x/save\022m\n\022CreateAndSaveIndex\022&.payload.v" + + "1.Control.CreateIndexRequest\032\021.payload.v" + + "1.Empty\"\034\202\323\344\223\002\026\022\024/index/createandsave\022Q\n" + + "\tIndexInfo\022\021.payload.v1.Empty\032\034.payload." + + "v1.Info.Index.Count\"\023\202\323\344\223\002\r\022\013/index/info" + + "\022j\n\014GetTimestamp\022&.payload.v1.Object.Get" + + "TimestampRequest\032\034.payload.v1.Object.Tim" + + "estamp\"\024\202\323\344\223\002\016\022\014/object/metaB^\n org.vdaa" + + "s.vald.api.v1.agent.coreB\tValdAgentP\001Z-g" + + "ithub.com/vdaas/vald/apis/grpc/v1/agent/" + + "coreb\006proto3" }; descriptor = com.google.protobuf.Descriptors.FileDescriptor .internalBuildGeneratedFileFrom(descriptorData, new com.google.protobuf.Descriptors.FileDescriptor[] { - com.google.api.AnnotationsProto.getDescriptor(), org.vdaas.vald.api.v1.payload.ValdPayload.getDescriptor(), + com.google.api.AnnotationsProto.getDescriptor(), }); com.google.protobuf.ExtensionRegistry registry = com.google.protobuf.ExtensionRegistry.newInstance(); registry.add(com.google.api.AnnotationsProto.http); com.google.protobuf.Descriptors.FileDescriptor .internalUpdateFileDescriptor(descriptor, registry); - com.google.api.AnnotationsProto.getDescriptor(); org.vdaas.vald.api.v1.payload.ValdPayload.getDescriptor(); + com.google.api.AnnotationsProto.getDescriptor(); } // @@protoc_insertion_point(outer_class_scope) diff --git a/src/main/java/org/vdaas/vald/api/v1/filter/egress/FilterGrpc.java b/src/main/java/org/vdaas/vald/api/v1/filter/egress/FilterGrpc.java deleted file mode 100644 index 97280885..00000000 --- a/src/main/java/org/vdaas/vald/api/v1/filter/egress/FilterGrpc.java +++ /dev/null @@ -1,409 +0,0 @@ -package org.vdaas.vald.api.v1.filter.egress; - -import static io.grpc.MethodDescriptor.generateFullMethodName; - -/** - *
- * Represent the egress filter service.
- * 
- */ -@javax.annotation.Generated( - value = "by gRPC proto compiler (version 1.60.0)", - comments = "Source: v1/filter/egress/egress_filter.proto") -@io.grpc.stub.annotations.GrpcGenerated -public final class FilterGrpc { - - private FilterGrpc() {} - - public static final java.lang.String SERVICE_NAME = "filter.egress.v1.Filter"; - - // Static method descriptors that strictly reflect the proto. - private static volatile io.grpc.MethodDescriptor getFilterDistanceMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "FilterDistance", - requestType = org.vdaas.vald.api.v1.payload.Object.Distance.class, - responseType = org.vdaas.vald.api.v1.payload.Object.Distance.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor getFilterDistanceMethod() { - io.grpc.MethodDescriptor getFilterDistanceMethod; - if ((getFilterDistanceMethod = FilterGrpc.getFilterDistanceMethod) == null) { - synchronized (FilterGrpc.class) { - if ((getFilterDistanceMethod = FilterGrpc.getFilterDistanceMethod) == null) { - FilterGrpc.getFilterDistanceMethod = getFilterDistanceMethod = - io.grpc.MethodDescriptor.newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName(generateFullMethodName(SERVICE_NAME, "FilterDistance")) - .setSampledToLocalTracing(true) - .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - org.vdaas.vald.api.v1.payload.Object.Distance.getDefaultInstance())) - .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - org.vdaas.vald.api.v1.payload.Object.Distance.getDefaultInstance())) - .setSchemaDescriptor(new FilterMethodDescriptorSupplier("FilterDistance")) - .build(); - } - } - } - return getFilterDistanceMethod; - } - - private static volatile io.grpc.MethodDescriptor getFilterVectorMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "FilterVector", - requestType = org.vdaas.vald.api.v1.payload.Object.Vector.class, - responseType = org.vdaas.vald.api.v1.payload.Object.Vector.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor getFilterVectorMethod() { - io.grpc.MethodDescriptor getFilterVectorMethod; - if ((getFilterVectorMethod = FilterGrpc.getFilterVectorMethod) == null) { - synchronized (FilterGrpc.class) { - if ((getFilterVectorMethod = FilterGrpc.getFilterVectorMethod) == null) { - FilterGrpc.getFilterVectorMethod = getFilterVectorMethod = - io.grpc.MethodDescriptor.newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName(generateFullMethodName(SERVICE_NAME, "FilterVector")) - .setSampledToLocalTracing(true) - .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - org.vdaas.vald.api.v1.payload.Object.Vector.getDefaultInstance())) - .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - org.vdaas.vald.api.v1.payload.Object.Vector.getDefaultInstance())) - .setSchemaDescriptor(new FilterMethodDescriptorSupplier("FilterVector")) - .build(); - } - } - } - return getFilterVectorMethod; - } - - /** - * Creates a new async stub that supports all call types for the service - */ - public static FilterStub newStub(io.grpc.Channel channel) { - io.grpc.stub.AbstractStub.StubFactory factory = - new io.grpc.stub.AbstractStub.StubFactory() { - @java.lang.Override - public FilterStub newStub(io.grpc.Channel channel, io.grpc.CallOptions callOptions) { - return new FilterStub(channel, callOptions); - } - }; - return FilterStub.newStub(factory, channel); - } - - /** - * Creates a new blocking-style stub that supports unary and streaming output calls on the service - */ - public static FilterBlockingStub newBlockingStub( - io.grpc.Channel channel) { - io.grpc.stub.AbstractStub.StubFactory factory = - new io.grpc.stub.AbstractStub.StubFactory() { - @java.lang.Override - public FilterBlockingStub newStub(io.grpc.Channel channel, io.grpc.CallOptions callOptions) { - return new FilterBlockingStub(channel, callOptions); - } - }; - return FilterBlockingStub.newStub(factory, channel); - } - - /** - * Creates a new ListenableFuture-style stub that supports unary calls on the service - */ - public static FilterFutureStub newFutureStub( - io.grpc.Channel channel) { - io.grpc.stub.AbstractStub.StubFactory factory = - new io.grpc.stub.AbstractStub.StubFactory() { - @java.lang.Override - public FilterFutureStub newStub(io.grpc.Channel channel, io.grpc.CallOptions callOptions) { - return new FilterFutureStub(channel, callOptions); - } - }; - return FilterFutureStub.newStub(factory, channel); - } - - /** - *
-   * Represent the egress filter service.
-   * 
- */ - public interface AsyncService { - - /** - *
-     * Represent the RPC to filter the distance.
-     * 
- */ - default void filterDistance(org.vdaas.vald.api.v1.payload.Object.Distance request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getFilterDistanceMethod(), responseObserver); - } - - /** - *
-     * Represent the RPC to filter the vector.
-     * 
- */ - default void filterVector(org.vdaas.vald.api.v1.payload.Object.Vector request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getFilterVectorMethod(), responseObserver); - } - } - - /** - * Base class for the server implementation of the service Filter. - *
-   * Represent the egress filter service.
-   * 
- */ - public static abstract class FilterImplBase - implements io.grpc.BindableService, AsyncService { - - @java.lang.Override public final io.grpc.ServerServiceDefinition bindService() { - return FilterGrpc.bindService(this); - } - } - - /** - * A stub to allow clients to do asynchronous rpc calls to service Filter. - *
-   * Represent the egress filter service.
-   * 
- */ - public static final class FilterStub - extends io.grpc.stub.AbstractAsyncStub { - private FilterStub( - io.grpc.Channel channel, io.grpc.CallOptions callOptions) { - super(channel, callOptions); - } - - @java.lang.Override - protected FilterStub build( - io.grpc.Channel channel, io.grpc.CallOptions callOptions) { - return new FilterStub(channel, callOptions); - } - - /** - *
-     * Represent the RPC to filter the distance.
-     * 
- */ - public void filterDistance(org.vdaas.vald.api.v1.payload.Object.Distance request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getFilterDistanceMethod(), getCallOptions()), request, responseObserver); - } - - /** - *
-     * Represent the RPC to filter the vector.
-     * 
- */ - public void filterVector(org.vdaas.vald.api.v1.payload.Object.Vector request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getFilterVectorMethod(), getCallOptions()), request, responseObserver); - } - } - - /** - * A stub to allow clients to do synchronous rpc calls to service Filter. - *
-   * Represent the egress filter service.
-   * 
- */ - public static final class FilterBlockingStub - extends io.grpc.stub.AbstractBlockingStub { - private FilterBlockingStub( - io.grpc.Channel channel, io.grpc.CallOptions callOptions) { - super(channel, callOptions); - } - - @java.lang.Override - protected FilterBlockingStub build( - io.grpc.Channel channel, io.grpc.CallOptions callOptions) { - return new FilterBlockingStub(channel, callOptions); - } - - /** - *
-     * Represent the RPC to filter the distance.
-     * 
- */ - public org.vdaas.vald.api.v1.payload.Object.Distance filterDistance(org.vdaas.vald.api.v1.payload.Object.Distance request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getFilterDistanceMethod(), getCallOptions(), request); - } - - /** - *
-     * Represent the RPC to filter the vector.
-     * 
- */ - public org.vdaas.vald.api.v1.payload.Object.Vector filterVector(org.vdaas.vald.api.v1.payload.Object.Vector request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getFilterVectorMethod(), getCallOptions(), request); - } - } - - /** - * A stub to allow clients to do ListenableFuture-style rpc calls to service Filter. - *
-   * Represent the egress filter service.
-   * 
- */ - public static final class FilterFutureStub - extends io.grpc.stub.AbstractFutureStub { - private FilterFutureStub( - io.grpc.Channel channel, io.grpc.CallOptions callOptions) { - super(channel, callOptions); - } - - @java.lang.Override - protected FilterFutureStub build( - io.grpc.Channel channel, io.grpc.CallOptions callOptions) { - return new FilterFutureStub(channel, callOptions); - } - - /** - *
-     * Represent the RPC to filter the distance.
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture filterDistance( - org.vdaas.vald.api.v1.payload.Object.Distance request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getFilterDistanceMethod(), getCallOptions()), request); - } - - /** - *
-     * Represent the RPC to filter the vector.
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture filterVector( - org.vdaas.vald.api.v1.payload.Object.Vector request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getFilterVectorMethod(), getCallOptions()), request); - } - } - - private static final int METHODID_FILTER_DISTANCE = 0; - private static final int METHODID_FILTER_VECTOR = 1; - - 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_FILTER_DISTANCE: - serviceImpl.filterDistance((org.vdaas.vald.api.v1.payload.Object.Distance) request, - (io.grpc.stub.StreamObserver) responseObserver); - break; - case METHODID_FILTER_VECTOR: - serviceImpl.filterVector((org.vdaas.vald.api.v1.payload.Object.Vector) request, - (io.grpc.stub.StreamObserver) responseObserver); - break; - default: - throw new AssertionError(); - } - } - - @java.lang.Override - @java.lang.SuppressWarnings("unchecked") - public io.grpc.stub.StreamObserver invoke( - io.grpc.stub.StreamObserver responseObserver) { - switch (methodId) { - default: - throw new AssertionError(); - } - } - } - - public static final io.grpc.ServerServiceDefinition bindService(AsyncService service) { - return io.grpc.ServerServiceDefinition.builder(getServiceDescriptor()) - .addMethod( - getFilterDistanceMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - org.vdaas.vald.api.v1.payload.Object.Distance, - org.vdaas.vald.api.v1.payload.Object.Distance>( - service, METHODID_FILTER_DISTANCE))) - .addMethod( - getFilterVectorMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - org.vdaas.vald.api.v1.payload.Object.Vector, - org.vdaas.vald.api.v1.payload.Object.Vector>( - service, METHODID_FILTER_VECTOR))) - .build(); - } - - private static abstract class FilterBaseDescriptorSupplier - implements io.grpc.protobuf.ProtoFileDescriptorSupplier, io.grpc.protobuf.ProtoServiceDescriptorSupplier { - FilterBaseDescriptorSupplier() {} - - @java.lang.Override - public com.google.protobuf.Descriptors.FileDescriptor getFileDescriptor() { - return org.vdaas.vald.api.v1.filter.egress.ValdEgressFilter.getDescriptor(); - } - - @java.lang.Override - public com.google.protobuf.Descriptors.ServiceDescriptor getServiceDescriptor() { - return getFileDescriptor().findServiceByName("Filter"); - } - } - - private static final class FilterFileDescriptorSupplier - extends FilterBaseDescriptorSupplier { - FilterFileDescriptorSupplier() {} - } - - private static final class FilterMethodDescriptorSupplier - extends FilterBaseDescriptorSupplier - implements io.grpc.protobuf.ProtoMethodDescriptorSupplier { - private final java.lang.String methodName; - - FilterMethodDescriptorSupplier(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 (FilterGrpc.class) { - result = serviceDescriptor; - if (result == null) { - serviceDescriptor = result = io.grpc.ServiceDescriptor.newBuilder(SERVICE_NAME) - .setSchemaDescriptor(new FilterFileDescriptorSupplier()) - .addMethod(getFilterDistanceMethod()) - .addMethod(getFilterVectorMethod()) - .build(); - } - } - } - return result; - } -} diff --git a/src/main/java/org/vdaas/vald/api/v1/filter/egress/ValdEgressFilter.java b/src/main/java/org/vdaas/vald/api/v1/filter/egress/ValdEgressFilter.java deleted file mode 100644 index 16f8eb31..00000000 --- a/src/main/java/org/vdaas/vald/api/v1/filter/egress/ValdEgressFilter.java +++ /dev/null @@ -1,56 +0,0 @@ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: v1/filter/egress/egress_filter.proto - -// Protobuf Java Version: 3.25.1 -package org.vdaas.vald.api.v1.filter.egress; - -public final class ValdEgressFilter { - private ValdEgressFilter() {} - public static void registerAllExtensions( - com.google.protobuf.ExtensionRegistryLite registry) { - } - - public static void registerAllExtensions( - com.google.protobuf.ExtensionRegistry registry) { - registerAllExtensions( - (com.google.protobuf.ExtensionRegistryLite) registry); - } - - public static com.google.protobuf.Descriptors.FileDescriptor - getDescriptor() { - return descriptor; - } - private static com.google.protobuf.Descriptors.FileDescriptor - descriptor; - static { - java.lang.String[] descriptorData = { - "\n$v1/filter/egress/egress_filter.proto\022\020" + - "filter.egress.v1\032\034google/api/annotations" + - ".proto\032\030v1/payload/payload.proto2\340\001\n\006Fil" + - "ter\022n\n\016FilterDistance\022\033.payload.v1.Objec" + - "t.Distance\032\033.payload.v1.Object.Distance\"" + - "\"\202\323\344\223\002\034\"\027/filter/egress/distance:\001*\022f\n\014F" + - "ilterVector\022\031.payload.v1.Object.Vector\032\031" + - ".payload.v1.Object.Vector\" \202\323\344\223\002\032\"\025/filt" + - "er/egress/vector:\001*Bk\n#org.vdaas.vald.ap" + - "i.v1.filter.egressB\020ValdEgressFilterP\001Z0" + - "github.com/vdaas/vald/apis/grpc/v1/filte" + - "r/egressb\006proto3" - }; - descriptor = com.google.protobuf.Descriptors.FileDescriptor - .internalBuildGeneratedFileFrom(descriptorData, - new com.google.protobuf.Descriptors.FileDescriptor[] { - com.google.api.AnnotationsProto.getDescriptor(), - org.vdaas.vald.api.v1.payload.ValdPayload.getDescriptor(), - }); - com.google.protobuf.ExtensionRegistry registry = - com.google.protobuf.ExtensionRegistry.newInstance(); - registry.add(com.google.api.AnnotationsProto.http); - com.google.protobuf.Descriptors.FileDescriptor - .internalUpdateFileDescriptor(descriptor, registry); - com.google.api.AnnotationsProto.getDescriptor(); - org.vdaas.vald.api.v1.payload.ValdPayload.getDescriptor(); - } - - // @@protoc_insertion_point(outer_class_scope) -} diff --git a/src/main/java/org/vdaas/vald/api/v1/filter/ingress/FilterGrpc.java b/src/main/java/org/vdaas/vald/api/v1/filter/ingress/FilterGrpc.java deleted file mode 100644 index 62a553a5..00000000 --- a/src/main/java/org/vdaas/vald/api/v1/filter/ingress/FilterGrpc.java +++ /dev/null @@ -1,409 +0,0 @@ -package org.vdaas.vald.api.v1.filter.ingress; - -import static io.grpc.MethodDescriptor.generateFullMethodName; - -/** - *
- * Represent the ingress filter service.
- * 
- */ -@javax.annotation.Generated( - value = "by gRPC proto compiler (version 1.60.0)", - comments = "Source: v1/filter/ingress/ingress_filter.proto") -@io.grpc.stub.annotations.GrpcGenerated -public final class FilterGrpc { - - private FilterGrpc() {} - - public static final java.lang.String SERVICE_NAME = "filter.ingress.v1.Filter"; - - // Static method descriptors that strictly reflect the proto. - private static volatile io.grpc.MethodDescriptor getGenVectorMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "GenVector", - requestType = org.vdaas.vald.api.v1.payload.Object.Blob.class, - responseType = org.vdaas.vald.api.v1.payload.Object.Vector.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor getGenVectorMethod() { - io.grpc.MethodDescriptor getGenVectorMethod; - if ((getGenVectorMethod = FilterGrpc.getGenVectorMethod) == null) { - synchronized (FilterGrpc.class) { - if ((getGenVectorMethod = FilterGrpc.getGenVectorMethod) == null) { - FilterGrpc.getGenVectorMethod = getGenVectorMethod = - io.grpc.MethodDescriptor.newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName(generateFullMethodName(SERVICE_NAME, "GenVector")) - .setSampledToLocalTracing(true) - .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - org.vdaas.vald.api.v1.payload.Object.Blob.getDefaultInstance())) - .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - org.vdaas.vald.api.v1.payload.Object.Vector.getDefaultInstance())) - .setSchemaDescriptor(new FilterMethodDescriptorSupplier("GenVector")) - .build(); - } - } - } - return getGenVectorMethod; - } - - private static volatile io.grpc.MethodDescriptor getFilterVectorMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "FilterVector", - requestType = org.vdaas.vald.api.v1.payload.Object.Vector.class, - responseType = org.vdaas.vald.api.v1.payload.Object.Vector.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor getFilterVectorMethod() { - io.grpc.MethodDescriptor getFilterVectorMethod; - if ((getFilterVectorMethod = FilterGrpc.getFilterVectorMethod) == null) { - synchronized (FilterGrpc.class) { - if ((getFilterVectorMethod = FilterGrpc.getFilterVectorMethod) == null) { - FilterGrpc.getFilterVectorMethod = getFilterVectorMethod = - io.grpc.MethodDescriptor.newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName(generateFullMethodName(SERVICE_NAME, "FilterVector")) - .setSampledToLocalTracing(true) - .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - org.vdaas.vald.api.v1.payload.Object.Vector.getDefaultInstance())) - .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - org.vdaas.vald.api.v1.payload.Object.Vector.getDefaultInstance())) - .setSchemaDescriptor(new FilterMethodDescriptorSupplier("FilterVector")) - .build(); - } - } - } - return getFilterVectorMethod; - } - - /** - * Creates a new async stub that supports all call types for the service - */ - public static FilterStub newStub(io.grpc.Channel channel) { - io.grpc.stub.AbstractStub.StubFactory factory = - new io.grpc.stub.AbstractStub.StubFactory() { - @java.lang.Override - public FilterStub newStub(io.grpc.Channel channel, io.grpc.CallOptions callOptions) { - return new FilterStub(channel, callOptions); - } - }; - return FilterStub.newStub(factory, channel); - } - - /** - * Creates a new blocking-style stub that supports unary and streaming output calls on the service - */ - public static FilterBlockingStub newBlockingStub( - io.grpc.Channel channel) { - io.grpc.stub.AbstractStub.StubFactory factory = - new io.grpc.stub.AbstractStub.StubFactory() { - @java.lang.Override - public FilterBlockingStub newStub(io.grpc.Channel channel, io.grpc.CallOptions callOptions) { - return new FilterBlockingStub(channel, callOptions); - } - }; - return FilterBlockingStub.newStub(factory, channel); - } - - /** - * Creates a new ListenableFuture-style stub that supports unary calls on the service - */ - public static FilterFutureStub newFutureStub( - io.grpc.Channel channel) { - io.grpc.stub.AbstractStub.StubFactory factory = - new io.grpc.stub.AbstractStub.StubFactory() { - @java.lang.Override - public FilterFutureStub newStub(io.grpc.Channel channel, io.grpc.CallOptions callOptions) { - return new FilterFutureStub(channel, callOptions); - } - }; - return FilterFutureStub.newStub(factory, channel); - } - - /** - *
-   * Represent the ingress filter service.
-   * 
- */ - public interface AsyncService { - - /** - *
-     * Represent the RPC to generate the vector.
-     * 
- */ - default void genVector(org.vdaas.vald.api.v1.payload.Object.Blob request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getGenVectorMethod(), responseObserver); - } - - /** - *
-     * Represent the RPC to filter the vector.
-     * 
- */ - default void filterVector(org.vdaas.vald.api.v1.payload.Object.Vector request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getFilterVectorMethod(), responseObserver); - } - } - - /** - * Base class for the server implementation of the service Filter. - *
-   * Represent the ingress filter service.
-   * 
- */ - public static abstract class FilterImplBase - implements io.grpc.BindableService, AsyncService { - - @java.lang.Override public final io.grpc.ServerServiceDefinition bindService() { - return FilterGrpc.bindService(this); - } - } - - /** - * A stub to allow clients to do asynchronous rpc calls to service Filter. - *
-   * Represent the ingress filter service.
-   * 
- */ - public static final class FilterStub - extends io.grpc.stub.AbstractAsyncStub { - private FilterStub( - io.grpc.Channel channel, io.grpc.CallOptions callOptions) { - super(channel, callOptions); - } - - @java.lang.Override - protected FilterStub build( - io.grpc.Channel channel, io.grpc.CallOptions callOptions) { - return new FilterStub(channel, callOptions); - } - - /** - *
-     * Represent the RPC to generate the vector.
-     * 
- */ - public void genVector(org.vdaas.vald.api.v1.payload.Object.Blob request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getGenVectorMethod(), getCallOptions()), request, responseObserver); - } - - /** - *
-     * Represent the RPC to filter the vector.
-     * 
- */ - public void filterVector(org.vdaas.vald.api.v1.payload.Object.Vector request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getFilterVectorMethod(), getCallOptions()), request, responseObserver); - } - } - - /** - * A stub to allow clients to do synchronous rpc calls to service Filter. - *
-   * Represent the ingress filter service.
-   * 
- */ - public static final class FilterBlockingStub - extends io.grpc.stub.AbstractBlockingStub { - private FilterBlockingStub( - io.grpc.Channel channel, io.grpc.CallOptions callOptions) { - super(channel, callOptions); - } - - @java.lang.Override - protected FilterBlockingStub build( - io.grpc.Channel channel, io.grpc.CallOptions callOptions) { - return new FilterBlockingStub(channel, callOptions); - } - - /** - *
-     * Represent the RPC to generate the vector.
-     * 
- */ - public org.vdaas.vald.api.v1.payload.Object.Vector genVector(org.vdaas.vald.api.v1.payload.Object.Blob request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getGenVectorMethod(), getCallOptions(), request); - } - - /** - *
-     * Represent the RPC to filter the vector.
-     * 
- */ - public org.vdaas.vald.api.v1.payload.Object.Vector filterVector(org.vdaas.vald.api.v1.payload.Object.Vector request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getFilterVectorMethod(), getCallOptions(), request); - } - } - - /** - * A stub to allow clients to do ListenableFuture-style rpc calls to service Filter. - *
-   * Represent the ingress filter service.
-   * 
- */ - public static final class FilterFutureStub - extends io.grpc.stub.AbstractFutureStub { - private FilterFutureStub( - io.grpc.Channel channel, io.grpc.CallOptions callOptions) { - super(channel, callOptions); - } - - @java.lang.Override - protected FilterFutureStub build( - io.grpc.Channel channel, io.grpc.CallOptions callOptions) { - return new FilterFutureStub(channel, callOptions); - } - - /** - *
-     * Represent the RPC to generate the vector.
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture genVector( - org.vdaas.vald.api.v1.payload.Object.Blob request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getGenVectorMethod(), getCallOptions()), request); - } - - /** - *
-     * Represent the RPC to filter the vector.
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture filterVector( - org.vdaas.vald.api.v1.payload.Object.Vector request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getFilterVectorMethod(), getCallOptions()), request); - } - } - - private static final int METHODID_GEN_VECTOR = 0; - private static final int METHODID_FILTER_VECTOR = 1; - - 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_GEN_VECTOR: - serviceImpl.genVector((org.vdaas.vald.api.v1.payload.Object.Blob) request, - (io.grpc.stub.StreamObserver) responseObserver); - break; - case METHODID_FILTER_VECTOR: - serviceImpl.filterVector((org.vdaas.vald.api.v1.payload.Object.Vector) request, - (io.grpc.stub.StreamObserver) responseObserver); - break; - default: - throw new AssertionError(); - } - } - - @java.lang.Override - @java.lang.SuppressWarnings("unchecked") - public io.grpc.stub.StreamObserver invoke( - io.grpc.stub.StreamObserver responseObserver) { - switch (methodId) { - default: - throw new AssertionError(); - } - } - } - - public static final io.grpc.ServerServiceDefinition bindService(AsyncService service) { - return io.grpc.ServerServiceDefinition.builder(getServiceDescriptor()) - .addMethod( - getGenVectorMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - org.vdaas.vald.api.v1.payload.Object.Blob, - org.vdaas.vald.api.v1.payload.Object.Vector>( - service, METHODID_GEN_VECTOR))) - .addMethod( - getFilterVectorMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - org.vdaas.vald.api.v1.payload.Object.Vector, - org.vdaas.vald.api.v1.payload.Object.Vector>( - service, METHODID_FILTER_VECTOR))) - .build(); - } - - private static abstract class FilterBaseDescriptorSupplier - implements io.grpc.protobuf.ProtoFileDescriptorSupplier, io.grpc.protobuf.ProtoServiceDescriptorSupplier { - FilterBaseDescriptorSupplier() {} - - @java.lang.Override - public com.google.protobuf.Descriptors.FileDescriptor getFileDescriptor() { - return org.vdaas.vald.api.v1.filter.ingress.ValdIngressFilter.getDescriptor(); - } - - @java.lang.Override - public com.google.protobuf.Descriptors.ServiceDescriptor getServiceDescriptor() { - return getFileDescriptor().findServiceByName("Filter"); - } - } - - private static final class FilterFileDescriptorSupplier - extends FilterBaseDescriptorSupplier { - FilterFileDescriptorSupplier() {} - } - - private static final class FilterMethodDescriptorSupplier - extends FilterBaseDescriptorSupplier - implements io.grpc.protobuf.ProtoMethodDescriptorSupplier { - private final java.lang.String methodName; - - FilterMethodDescriptorSupplier(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 (FilterGrpc.class) { - result = serviceDescriptor; - if (result == null) { - serviceDescriptor = result = io.grpc.ServiceDescriptor.newBuilder(SERVICE_NAME) - .setSchemaDescriptor(new FilterFileDescriptorSupplier()) - .addMethod(getGenVectorMethod()) - .addMethod(getFilterVectorMethod()) - .build(); - } - } - } - return result; - } -} diff --git a/src/main/java/org/vdaas/vald/api/v1/filter/ingress/ValdIngressFilter.java b/src/main/java/org/vdaas/vald/api/v1/filter/ingress/ValdIngressFilter.java deleted file mode 100644 index db15812d..00000000 --- a/src/main/java/org/vdaas/vald/api/v1/filter/ingress/ValdIngressFilter.java +++ /dev/null @@ -1,56 +0,0 @@ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: v1/filter/ingress/ingress_filter.proto - -// Protobuf Java Version: 3.25.1 -package org.vdaas.vald.api.v1.filter.ingress; - -public final class ValdIngressFilter { - private ValdIngressFilter() {} - public static void registerAllExtensions( - com.google.protobuf.ExtensionRegistryLite registry) { - } - - public static void registerAllExtensions( - com.google.protobuf.ExtensionRegistry registry) { - registerAllExtensions( - (com.google.protobuf.ExtensionRegistryLite) registry); - } - - public static com.google.protobuf.Descriptors.FileDescriptor - getDescriptor() { - return descriptor; - } - private static com.google.protobuf.Descriptors.FileDescriptor - descriptor; - static { - java.lang.String[] descriptorData = { - "\n&v1/filter/ingress/ingress_filter.proto" + - "\022\021filter.ingress.v1\032\034google/api/annotati" + - "ons.proto\032\030v1/payload/payload.proto2\325\001\n\006" + - "Filter\022b\n\tGenVector\022\027.payload.v1.Object." + - "Blob\032\031.payload.v1.Object.Vector\"!\202\323\344\223\002\033\"" + - "\026/filter/ingress/object:\001*\022g\n\014FilterVect" + - "or\022\031.payload.v1.Object.Vector\032\031.payload." + - "v1.Object.Vector\"!\202\323\344\223\002\033\"\026/filter/ingres" + - "s/vector:\001*Bn\n$org.vdaas.vald.api.v1.fil" + - "ter.ingressB\021ValdIngressFilterP\001Z1github" + - ".com/vdaas/vald/apis/grpc/v1/filter/ingr" + - "essb\006proto3" - }; - descriptor = com.google.protobuf.Descriptors.FileDescriptor - .internalBuildGeneratedFileFrom(descriptorData, - new com.google.protobuf.Descriptors.FileDescriptor[] { - com.google.api.AnnotationsProto.getDescriptor(), - org.vdaas.vald.api.v1.payload.ValdPayload.getDescriptor(), - }); - com.google.protobuf.ExtensionRegistry registry = - com.google.protobuf.ExtensionRegistry.newInstance(); - registry.add(com.google.api.AnnotationsProto.http); - com.google.protobuf.Descriptors.FileDescriptor - .internalUpdateFileDescriptor(descriptor, registry); - com.google.api.AnnotationsProto.getDescriptor(); - org.vdaas.vald.api.v1.payload.ValdPayload.getDescriptor(); - } - - // @@protoc_insertion_point(outer_class_scope) -} diff --git a/src/main/java/org/vdaas/vald/api/v1/payload/Control.java b/src/main/java/org/vdaas/vald/api/v1/payload/Control.java index f7eada3f..533e9999 100644 --- a/src/main/java/org/vdaas/vald/api/v1/payload/Control.java +++ b/src/main/java/org/vdaas/vald/api/v1/payload/Control.java @@ -1,7 +1,6 @@ // Generated by the protocol buffer compiler. DO NOT EDIT! -// source: v1/payload/payload.proto +// source: apis/proto/v1/payload/payload.proto -// Protobuf Java Version: 3.25.1 package org.vdaas.vald.api.v1.payload; /** @@ -52,7 +51,7 @@ public interface CreateIndexRequestOrBuilder extends * The pool size of the create index operation. * * - * uint32 pool_size = 1 [json_name = "poolSize", (.buf.validate.field) = { ... } + * uint32 pool_size = 1 [(.validate.rules) = { ... } * @return The poolSize. */ int getPoolSize(); @@ -103,7 +102,7 @@ protected java.lang.Object newInstance( * The pool size of the create index operation. * * - * uint32 pool_size = 1 [json_name = "poolSize", (.buf.validate.field) = { ... } + * uint32 pool_size = 1 [(.validate.rules) = { ... } * @return The poolSize. */ @java.lang.Override @@ -446,7 +445,7 @@ public Builder mergeFrom( * The pool size of the create index operation. * * - * uint32 pool_size = 1 [json_name = "poolSize", (.buf.validate.field) = { ... } + * uint32 pool_size = 1 [(.validate.rules) = { ... } * @return The poolSize. */ @java.lang.Override @@ -458,7 +457,7 @@ public int getPoolSize() { * The pool size of the create index operation. * * - * uint32 pool_size = 1 [json_name = "poolSize", (.buf.validate.field) = { ... } + * uint32 pool_size = 1 [(.validate.rules) = { ... } * @param value The poolSize to set. * @return This builder for chaining. */ @@ -474,7 +473,7 @@ public Builder setPoolSize(int value) { * The pool size of the create index operation. * * - * uint32 pool_size = 1 [json_name = "poolSize", (.buf.validate.field) = { ... } + * uint32 pool_size = 1 [(.validate.rules) = { ... } * @return This builder for chaining. */ public Builder clearPoolSize() { diff --git a/src/main/java/org/vdaas/vald/api/v1/payload/ControlOrBuilder.java b/src/main/java/org/vdaas/vald/api/v1/payload/ControlOrBuilder.java index 356dd10a..a0c0071a 100644 --- a/src/main/java/org/vdaas/vald/api/v1/payload/ControlOrBuilder.java +++ b/src/main/java/org/vdaas/vald/api/v1/payload/ControlOrBuilder.java @@ -1,7 +1,6 @@ // Generated by the protocol buffer compiler. DO NOT EDIT! -// source: v1/payload/payload.proto +// source: apis/proto/v1/payload/payload.proto -// Protobuf Java Version: 3.25.1 package org.vdaas.vald.api.v1.payload; public interface ControlOrBuilder extends diff --git a/src/main/java/org/vdaas/vald/api/v1/payload/Discoverer.java b/src/main/java/org/vdaas/vald/api/v1/payload/Discoverer.java index fc5cb815..80ecdfc3 100644 --- a/src/main/java/org/vdaas/vald/api/v1/payload/Discoverer.java +++ b/src/main/java/org/vdaas/vald/api/v1/payload/Discoverer.java @@ -1,7 +1,6 @@ // Generated by the protocol buffer compiler. DO NOT EDIT! -// source: v1/payload/payload.proto +// source: apis/proto/v1/payload/payload.proto -// Protobuf Java Version: 3.25.1 package org.vdaas.vald.api.v1.payload; /** @@ -52,7 +51,7 @@ public interface RequestOrBuilder extends * The agent name to be discovered. * * - * string name = 1 [json_name = "name", (.buf.validate.field) = { ... } + * string name = 1 [(.validate.rules) = { ... } * @return The name. */ java.lang.String getName(); @@ -61,7 +60,7 @@ public interface RequestOrBuilder extends * The agent name to be discovered. * * - * string name = 1 [json_name = "name", (.buf.validate.field) = { ... } + * string name = 1 [(.validate.rules) = { ... } * @return The bytes for name. */ com.google.protobuf.ByteString @@ -72,7 +71,7 @@ public interface RequestOrBuilder extends * The namespace to be discovered. * * - * string namespace = 2 [json_name = "namespace"]; + * string namespace = 2; * @return The namespace. */ java.lang.String getNamespace(); @@ -81,7 +80,7 @@ public interface RequestOrBuilder extends * The namespace to be discovered. * * - * string namespace = 2 [json_name = "namespace"]; + * string namespace = 2; * @return The bytes for namespace. */ com.google.protobuf.ByteString @@ -92,7 +91,7 @@ public interface RequestOrBuilder extends * The node to be discovered. * * - * string node = 3 [json_name = "node"]; + * string node = 3; * @return The node. */ java.lang.String getNode(); @@ -101,7 +100,7 @@ public interface RequestOrBuilder extends * The node to be discovered. * * - * string node = 3 [json_name = "node"]; + * string node = 3; * @return The bytes for node. */ com.google.protobuf.ByteString @@ -157,7 +156,7 @@ protected java.lang.Object newInstance( * The agent name to be discovered. * * - * string name = 1 [json_name = "name", (.buf.validate.field) = { ... } + * string name = 1 [(.validate.rules) = { ... } * @return The name. */ @java.lang.Override @@ -178,7 +177,7 @@ public java.lang.String getName() { * The agent name to be discovered. * * - * string name = 1 [json_name = "name", (.buf.validate.field) = { ... } + * string name = 1 [(.validate.rules) = { ... } * @return The bytes for name. */ @java.lang.Override @@ -204,7 +203,7 @@ public java.lang.String getName() { * The namespace to be discovered. * * - * string namespace = 2 [json_name = "namespace"]; + * string namespace = 2; * @return The namespace. */ @java.lang.Override @@ -225,7 +224,7 @@ public java.lang.String getNamespace() { * The namespace to be discovered. * * - * string namespace = 2 [json_name = "namespace"]; + * string namespace = 2; * @return The bytes for namespace. */ @java.lang.Override @@ -251,7 +250,7 @@ public java.lang.String getNamespace() { * The node to be discovered. * * - * string node = 3 [json_name = "node"]; + * string node = 3; * @return The node. */ @java.lang.Override @@ -272,7 +271,7 @@ public java.lang.String getNode() { * The node to be discovered. * * - * string node = 3 [json_name = "node"]; + * string node = 3; * @return The bytes for node. */ @java.lang.Override @@ -674,7 +673,7 @@ public Builder mergeFrom( * The agent name to be discovered. * * - * string name = 1 [json_name = "name", (.buf.validate.field) = { ... } + * string name = 1 [(.validate.rules) = { ... } * @return The name. */ public java.lang.String getName() { @@ -694,7 +693,7 @@ public java.lang.String getName() { * The agent name to be discovered. * * - * string name = 1 [json_name = "name", (.buf.validate.field) = { ... } + * string name = 1 [(.validate.rules) = { ... } * @return The bytes for name. */ public com.google.protobuf.ByteString @@ -715,7 +714,7 @@ public java.lang.String getName() { * The agent name to be discovered. * * - * string name = 1 [json_name = "name", (.buf.validate.field) = { ... } + * string name = 1 [(.validate.rules) = { ... } * @param value The name to set. * @return This builder for chaining. */ @@ -732,7 +731,7 @@ public Builder setName( * The agent name to be discovered. * * - * string name = 1 [json_name = "name", (.buf.validate.field) = { ... } + * string name = 1 [(.validate.rules) = { ... } * @return This builder for chaining. */ public Builder clearName() { @@ -746,7 +745,7 @@ public Builder clearName() { * The agent name to be discovered. * * - * string name = 1 [json_name = "name", (.buf.validate.field) = { ... } + * string name = 1 [(.validate.rules) = { ... } * @param value The bytes for name to set. * @return This builder for chaining. */ @@ -766,7 +765,7 @@ public Builder setNameBytes( * The namespace to be discovered. * * - * string namespace = 2 [json_name = "namespace"]; + * string namespace = 2; * @return The namespace. */ public java.lang.String getNamespace() { @@ -786,7 +785,7 @@ public java.lang.String getNamespace() { * The namespace to be discovered. * * - * string namespace = 2 [json_name = "namespace"]; + * string namespace = 2; * @return The bytes for namespace. */ public com.google.protobuf.ByteString @@ -807,7 +806,7 @@ public java.lang.String getNamespace() { * The namespace to be discovered. * * - * string namespace = 2 [json_name = "namespace"]; + * string namespace = 2; * @param value The namespace to set. * @return This builder for chaining. */ @@ -824,7 +823,7 @@ public Builder setNamespace( * The namespace to be discovered. * * - * string namespace = 2 [json_name = "namespace"]; + * string namespace = 2; * @return This builder for chaining. */ public Builder clearNamespace() { @@ -838,7 +837,7 @@ public Builder clearNamespace() { * The namespace to be discovered. * * - * string namespace = 2 [json_name = "namespace"]; + * string namespace = 2; * @param value The bytes for namespace to set. * @return This builder for chaining. */ @@ -858,7 +857,7 @@ public Builder setNamespaceBytes( * The node to be discovered. * * - * string node = 3 [json_name = "node"]; + * string node = 3; * @return The node. */ public java.lang.String getNode() { @@ -878,7 +877,7 @@ public java.lang.String getNode() { * The node to be discovered. * * - * string node = 3 [json_name = "node"]; + * string node = 3; * @return The bytes for node. */ public com.google.protobuf.ByteString @@ -899,7 +898,7 @@ public java.lang.String getNode() { * The node to be discovered. * * - * string node = 3 [json_name = "node"]; + * string node = 3; * @param value The node to set. * @return This builder for chaining. */ @@ -916,7 +915,7 @@ public Builder setNode( * The node to be discovered. * * - * string node = 3 [json_name = "node"]; + * string node = 3; * @return This builder for chaining. */ public Builder clearNode() { @@ -930,7 +929,7 @@ public Builder clearNode() { * The node to be discovered. * * - * string node = 3 [json_name = "node"]; + * string node = 3; * @param value The bytes for node to set. * @return This builder for chaining. */ diff --git a/src/main/java/org/vdaas/vald/api/v1/payload/DiscovererOrBuilder.java b/src/main/java/org/vdaas/vald/api/v1/payload/DiscovererOrBuilder.java index 666425b0..4056adbe 100644 --- a/src/main/java/org/vdaas/vald/api/v1/payload/DiscovererOrBuilder.java +++ b/src/main/java/org/vdaas/vald/api/v1/payload/DiscovererOrBuilder.java @@ -1,7 +1,6 @@ // Generated by the protocol buffer compiler. DO NOT EDIT! -// source: v1/payload/payload.proto +// source: apis/proto/v1/payload/payload.proto -// Protobuf Java Version: 3.25.1 package org.vdaas.vald.api.v1.payload; public interface DiscovererOrBuilder extends diff --git a/src/main/java/org/vdaas/vald/api/v1/payload/Empty.java b/src/main/java/org/vdaas/vald/api/v1/payload/Empty.java index d81d87ad..a22ec7af 100644 --- a/src/main/java/org/vdaas/vald/api/v1/payload/Empty.java +++ b/src/main/java/org/vdaas/vald/api/v1/payload/Empty.java @@ -1,7 +1,6 @@ // Generated by the protocol buffer compiler. DO NOT EDIT! -// source: v1/payload/payload.proto +// source: apis/proto/v1/payload/payload.proto -// Protobuf Java Version: 3.25.1 package org.vdaas.vald.api.v1.payload; /** diff --git a/src/main/java/org/vdaas/vald/api/v1/payload/EmptyOrBuilder.java b/src/main/java/org/vdaas/vald/api/v1/payload/EmptyOrBuilder.java index dc01bbb4..55219d0e 100644 --- a/src/main/java/org/vdaas/vald/api/v1/payload/EmptyOrBuilder.java +++ b/src/main/java/org/vdaas/vald/api/v1/payload/EmptyOrBuilder.java @@ -1,7 +1,6 @@ // Generated by the protocol buffer compiler. DO NOT EDIT! -// source: v1/payload/payload.proto +// source: apis/proto/v1/payload/payload.proto -// Protobuf Java Version: 3.25.1 package org.vdaas.vald.api.v1.payload; public interface EmptyOrBuilder extends diff --git a/src/main/java/org/vdaas/vald/api/v1/payload/Filter.java b/src/main/java/org/vdaas/vald/api/v1/payload/Filter.java index 0dc32303..d41f4e76 100644 --- a/src/main/java/org/vdaas/vald/api/v1/payload/Filter.java +++ b/src/main/java/org/vdaas/vald/api/v1/payload/Filter.java @@ -1,7 +1,6 @@ // Generated by the protocol buffer compiler. DO NOT EDIT! -// source: v1/payload/payload.proto +// source: apis/proto/v1/payload/payload.proto -// Protobuf Java Version: 3.25.1 package org.vdaas.vald.api.v1.payload; /** @@ -52,7 +51,7 @@ public interface TargetOrBuilder extends * The target hostname. * * - * string host = 1 [json_name = "host"]; + * string host = 1; * @return The host. */ java.lang.String getHost(); @@ -61,7 +60,7 @@ public interface TargetOrBuilder extends * The target hostname. * * - * string host = 1 [json_name = "host"]; + * string host = 1; * @return The bytes for host. */ com.google.protobuf.ByteString @@ -72,7 +71,7 @@ public interface TargetOrBuilder extends * The target port. * * - * uint32 port = 2 [json_name = "port"]; + * uint32 port = 2; * @return The port. */ int getPort(); @@ -125,7 +124,7 @@ protected java.lang.Object newInstance( * The target hostname. * * - * string host = 1 [json_name = "host"]; + * string host = 1; * @return The host. */ @java.lang.Override @@ -146,7 +145,7 @@ public java.lang.String getHost() { * The target hostname. * * - * string host = 1 [json_name = "host"]; + * string host = 1; * @return The bytes for host. */ @java.lang.Override @@ -171,7 +170,7 @@ public java.lang.String getHost() { * The target port. * * - * uint32 port = 2 [json_name = "port"]; + * uint32 port = 2; * @return The port. */ @java.lang.Override @@ -538,7 +537,7 @@ public Builder mergeFrom( * The target hostname. * * - * string host = 1 [json_name = "host"]; + * string host = 1; * @return The host. */ public java.lang.String getHost() { @@ -558,7 +557,7 @@ public java.lang.String getHost() { * The target hostname. * * - * string host = 1 [json_name = "host"]; + * string host = 1; * @return The bytes for host. */ public com.google.protobuf.ByteString @@ -579,7 +578,7 @@ public java.lang.String getHost() { * The target hostname. * * - * string host = 1 [json_name = "host"]; + * string host = 1; * @param value The host to set. * @return This builder for chaining. */ @@ -596,7 +595,7 @@ public Builder setHost( * The target hostname. * * - * string host = 1 [json_name = "host"]; + * string host = 1; * @return This builder for chaining. */ public Builder clearHost() { @@ -610,7 +609,7 @@ public Builder clearHost() { * The target hostname. * * - * string host = 1 [json_name = "host"]; + * string host = 1; * @param value The bytes for host to set. * @return This builder for chaining. */ @@ -630,7 +629,7 @@ public Builder setHostBytes( * The target port. * * - * uint32 port = 2 [json_name = "port"]; + * uint32 port = 2; * @return The port. */ @java.lang.Override @@ -642,7 +641,7 @@ public int getPort() { * The target port. * * - * uint32 port = 2 [json_name = "port"]; + * uint32 port = 2; * @param value The port to set. * @return This builder for chaining. */ @@ -658,7 +657,7 @@ public Builder setPort(int value) { * The target port. * * - * uint32 port = 2 [json_name = "port"]; + * uint32 port = 2; * @return This builder for chaining. */ public Builder clearPort() { @@ -740,7 +739,7 @@ public interface ConfigOrBuilder extends * Represent the filter target configuration. * * - * repeated .payload.v1.Filter.Target targets = 1 [json_name = "targets"]; + * repeated .payload.v1.Filter.Target targets = 1; */ java.util.List getTargetsList(); @@ -749,7 +748,7 @@ public interface ConfigOrBuilder extends * Represent the filter target configuration. * * - * repeated .payload.v1.Filter.Target targets = 1 [json_name = "targets"]; + * repeated .payload.v1.Filter.Target targets = 1; */ org.vdaas.vald.api.v1.payload.Filter.Target getTargets(int index); /** @@ -757,7 +756,7 @@ public interface ConfigOrBuilder extends * Represent the filter target configuration. * * - * repeated .payload.v1.Filter.Target targets = 1 [json_name = "targets"]; + * repeated .payload.v1.Filter.Target targets = 1; */ int getTargetsCount(); /** @@ -765,7 +764,7 @@ public interface ConfigOrBuilder extends * Represent the filter target configuration. * * - * repeated .payload.v1.Filter.Target targets = 1 [json_name = "targets"]; + * repeated .payload.v1.Filter.Target targets = 1; */ java.util.List getTargetsOrBuilderList(); @@ -774,7 +773,7 @@ public interface ConfigOrBuilder extends * Represent the filter target configuration. * * - * repeated .payload.v1.Filter.Target targets = 1 [json_name = "targets"]; + * repeated .payload.v1.Filter.Target targets = 1; */ org.vdaas.vald.api.v1.payload.Filter.TargetOrBuilder getTargetsOrBuilder( int index); @@ -827,7 +826,7 @@ protected java.lang.Object newInstance( * Represent the filter target configuration. * * - * repeated .payload.v1.Filter.Target targets = 1 [json_name = "targets"]; + * repeated .payload.v1.Filter.Target targets = 1; */ @java.lang.Override public java.util.List getTargetsList() { @@ -838,7 +837,7 @@ public java.util.List getTargetsLis * Represent the filter target configuration. * * - * repeated .payload.v1.Filter.Target targets = 1 [json_name = "targets"]; + * repeated .payload.v1.Filter.Target targets = 1; */ @java.lang.Override public java.util.List @@ -850,7 +849,7 @@ public java.util.List getTargetsLis * Represent the filter target configuration. * * - * repeated .payload.v1.Filter.Target targets = 1 [json_name = "targets"]; + * repeated .payload.v1.Filter.Target targets = 1; */ @java.lang.Override public int getTargetsCount() { @@ -861,7 +860,7 @@ public int getTargetsCount() { * Represent the filter target configuration. * * - * repeated .payload.v1.Filter.Target targets = 1 [json_name = "targets"]; + * repeated .payload.v1.Filter.Target targets = 1; */ @java.lang.Override public org.vdaas.vald.api.v1.payload.Filter.Target getTargets(int index) { @@ -872,7 +871,7 @@ public org.vdaas.vald.api.v1.payload.Filter.Target getTargets(int index) { * Represent the filter target configuration. * * - * repeated .payload.v1.Filter.Target targets = 1 [json_name = "targets"]; + * repeated .payload.v1.Filter.Target targets = 1; */ @java.lang.Override public org.vdaas.vald.api.v1.payload.Filter.TargetOrBuilder getTargetsOrBuilder( @@ -1275,7 +1274,7 @@ private void ensureTargetsIsMutable() { * Represent the filter target configuration. * * - * repeated .payload.v1.Filter.Target targets = 1 [json_name = "targets"]; + * repeated .payload.v1.Filter.Target targets = 1; */ public java.util.List getTargetsList() { if (targetsBuilder_ == null) { @@ -1289,7 +1288,7 @@ public java.util.List getTargetsLis * Represent the filter target configuration. * * - * repeated .payload.v1.Filter.Target targets = 1 [json_name = "targets"]; + * repeated .payload.v1.Filter.Target targets = 1; */ public int getTargetsCount() { if (targetsBuilder_ == null) { @@ -1303,7 +1302,7 @@ public int getTargetsCount() { * Represent the filter target configuration. * * - * repeated .payload.v1.Filter.Target targets = 1 [json_name = "targets"]; + * repeated .payload.v1.Filter.Target targets = 1; */ public org.vdaas.vald.api.v1.payload.Filter.Target getTargets(int index) { if (targetsBuilder_ == null) { @@ -1317,7 +1316,7 @@ public org.vdaas.vald.api.v1.payload.Filter.Target getTargets(int index) { * Represent the filter target configuration. * * - * repeated .payload.v1.Filter.Target targets = 1 [json_name = "targets"]; + * repeated .payload.v1.Filter.Target targets = 1; */ public Builder setTargets( int index, org.vdaas.vald.api.v1.payload.Filter.Target value) { @@ -1338,7 +1337,7 @@ public Builder setTargets( * Represent the filter target configuration. * * - * repeated .payload.v1.Filter.Target targets = 1 [json_name = "targets"]; + * repeated .payload.v1.Filter.Target targets = 1; */ public Builder setTargets( int index, org.vdaas.vald.api.v1.payload.Filter.Target.Builder builderForValue) { @@ -1356,7 +1355,7 @@ public Builder setTargets( * Represent the filter target configuration. * * - * repeated .payload.v1.Filter.Target targets = 1 [json_name = "targets"]; + * repeated .payload.v1.Filter.Target targets = 1; */ public Builder addTargets(org.vdaas.vald.api.v1.payload.Filter.Target value) { if (targetsBuilder_ == null) { @@ -1376,7 +1375,7 @@ public Builder addTargets(org.vdaas.vald.api.v1.payload.Filter.Target value) { * Represent the filter target configuration. * * - * repeated .payload.v1.Filter.Target targets = 1 [json_name = "targets"]; + * repeated .payload.v1.Filter.Target targets = 1; */ public Builder addTargets( int index, org.vdaas.vald.api.v1.payload.Filter.Target value) { @@ -1397,7 +1396,7 @@ public Builder addTargets( * Represent the filter target configuration. * * - * repeated .payload.v1.Filter.Target targets = 1 [json_name = "targets"]; + * repeated .payload.v1.Filter.Target targets = 1; */ public Builder addTargets( org.vdaas.vald.api.v1.payload.Filter.Target.Builder builderForValue) { @@ -1415,7 +1414,7 @@ public Builder addTargets( * Represent the filter target configuration. * * - * repeated .payload.v1.Filter.Target targets = 1 [json_name = "targets"]; + * repeated .payload.v1.Filter.Target targets = 1; */ public Builder addTargets( int index, org.vdaas.vald.api.v1.payload.Filter.Target.Builder builderForValue) { @@ -1433,7 +1432,7 @@ public Builder addTargets( * Represent the filter target configuration. * * - * repeated .payload.v1.Filter.Target targets = 1 [json_name = "targets"]; + * repeated .payload.v1.Filter.Target targets = 1; */ public Builder addAllTargets( java.lang.Iterable values) { @@ -1452,7 +1451,7 @@ public Builder addAllTargets( * Represent the filter target configuration. * * - * repeated .payload.v1.Filter.Target targets = 1 [json_name = "targets"]; + * repeated .payload.v1.Filter.Target targets = 1; */ public Builder clearTargets() { if (targetsBuilder_ == null) { @@ -1469,7 +1468,7 @@ public Builder clearTargets() { * Represent the filter target configuration. * * - * repeated .payload.v1.Filter.Target targets = 1 [json_name = "targets"]; + * repeated .payload.v1.Filter.Target targets = 1; */ public Builder removeTargets(int index) { if (targetsBuilder_ == null) { @@ -1486,7 +1485,7 @@ public Builder removeTargets(int index) { * Represent the filter target configuration. * * - * repeated .payload.v1.Filter.Target targets = 1 [json_name = "targets"]; + * repeated .payload.v1.Filter.Target targets = 1; */ public org.vdaas.vald.api.v1.payload.Filter.Target.Builder getTargetsBuilder( int index) { @@ -1497,7 +1496,7 @@ public org.vdaas.vald.api.v1.payload.Filter.Target.Builder getTargetsBuilder( * Represent the filter target configuration. * * - * repeated .payload.v1.Filter.Target targets = 1 [json_name = "targets"]; + * repeated .payload.v1.Filter.Target targets = 1; */ public org.vdaas.vald.api.v1.payload.Filter.TargetOrBuilder getTargetsOrBuilder( int index) { @@ -1511,7 +1510,7 @@ public org.vdaas.vald.api.v1.payload.Filter.TargetOrBuilder getTargetsOrBuilder( * Represent the filter target configuration. * * - * repeated .payload.v1.Filter.Target targets = 1 [json_name = "targets"]; + * repeated .payload.v1.Filter.Target targets = 1; */ public java.util.List getTargetsOrBuilderList() { @@ -1526,7 +1525,7 @@ public org.vdaas.vald.api.v1.payload.Filter.TargetOrBuilder getTargetsOrBuilder( * Represent the filter target configuration. * * - * repeated .payload.v1.Filter.Target targets = 1 [json_name = "targets"]; + * repeated .payload.v1.Filter.Target targets = 1; */ public org.vdaas.vald.api.v1.payload.Filter.Target.Builder addTargetsBuilder() { return getTargetsFieldBuilder().addBuilder( @@ -1537,7 +1536,7 @@ public org.vdaas.vald.api.v1.payload.Filter.Target.Builder addTargetsBuilder() { * Represent the filter target configuration. * * - * repeated .payload.v1.Filter.Target targets = 1 [json_name = "targets"]; + * repeated .payload.v1.Filter.Target targets = 1; */ public org.vdaas.vald.api.v1.payload.Filter.Target.Builder addTargetsBuilder( int index) { @@ -1549,7 +1548,7 @@ public org.vdaas.vald.api.v1.payload.Filter.Target.Builder addTargetsBuilder( * Represent the filter target configuration. * * - * repeated .payload.v1.Filter.Target targets = 1 [json_name = "targets"]; + * repeated .payload.v1.Filter.Target targets = 1; */ public java.util.List getTargetsBuilderList() { diff --git a/src/main/java/org/vdaas/vald/api/v1/payload/FilterOrBuilder.java b/src/main/java/org/vdaas/vald/api/v1/payload/FilterOrBuilder.java index 8eb8ebe6..e1ac7cb1 100644 --- a/src/main/java/org/vdaas/vald/api/v1/payload/FilterOrBuilder.java +++ b/src/main/java/org/vdaas/vald/api/v1/payload/FilterOrBuilder.java @@ -1,7 +1,6 @@ // Generated by the protocol buffer compiler. DO NOT EDIT! -// source: v1/payload/payload.proto +// source: apis/proto/v1/payload/payload.proto -// Protobuf Java Version: 3.25.1 package org.vdaas.vald.api.v1.payload; public interface FilterOrBuilder extends diff --git a/src/main/java/org/vdaas/vald/api/v1/payload/Info.java b/src/main/java/org/vdaas/vald/api/v1/payload/Info.java index 0c6f37e0..eadfd7e0 100644 --- a/src/main/java/org/vdaas/vald/api/v1/payload/Info.java +++ b/src/main/java/org/vdaas/vald/api/v1/payload/Info.java @@ -1,7 +1,6 @@ // Generated by the protocol buffer compiler. DO NOT EDIT! -// source: v1/payload/payload.proto +// source: apis/proto/v1/payload/payload.proto -// Protobuf Java Version: 3.25.1 package org.vdaas.vald.api.v1.payload; /** @@ -95,7 +94,7 @@ public interface CountOrBuilder extends * The stored index count. * * - * uint32 stored = 1 [json_name = "stored"]; + * uint32 stored = 1; * @return The stored. */ int getStored(); @@ -105,7 +104,7 @@ public interface CountOrBuilder extends * The uncommitted index count. * * - * uint32 uncommitted = 2 [json_name = "uncommitted"]; + * uint32 uncommitted = 2; * @return The uncommitted. */ int getUncommitted(); @@ -115,7 +114,7 @@ public interface CountOrBuilder extends * The indexing index count. * * - * bool indexing = 3 [json_name = "indexing"]; + * bool indexing = 3; * @return The indexing. */ boolean getIndexing(); @@ -125,7 +124,7 @@ public interface CountOrBuilder extends * The saving index count. * * - * bool saving = 4 [json_name = "saving"]; + * bool saving = 4; * @return The saving. */ boolean getSaving(); @@ -176,7 +175,7 @@ protected java.lang.Object newInstance( * The stored index count. * * - * uint32 stored = 1 [json_name = "stored"]; + * uint32 stored = 1; * @return The stored. */ @java.lang.Override @@ -191,7 +190,7 @@ public int getStored() { * The uncommitted index count. * * - * uint32 uncommitted = 2 [json_name = "uncommitted"]; + * uint32 uncommitted = 2; * @return The uncommitted. */ @java.lang.Override @@ -206,7 +205,7 @@ public int getUncommitted() { * The indexing index count. * * - * bool indexing = 3 [json_name = "indexing"]; + * bool indexing = 3; * @return The indexing. */ @java.lang.Override @@ -221,7 +220,7 @@ public boolean getIndexing() { * The saving index count. * * - * bool saving = 4 [json_name = "saving"]; + * bool saving = 4; * @return The saving. */ @java.lang.Override @@ -635,7 +634,7 @@ public Builder mergeFrom( * The stored index count. * * - * uint32 stored = 1 [json_name = "stored"]; + * uint32 stored = 1; * @return The stored. */ @java.lang.Override @@ -647,7 +646,7 @@ public int getStored() { * The stored index count. * * - * uint32 stored = 1 [json_name = "stored"]; + * uint32 stored = 1; * @param value The stored to set. * @return This builder for chaining. */ @@ -663,7 +662,7 @@ public Builder setStored(int value) { * The stored index count. * * - * uint32 stored = 1 [json_name = "stored"]; + * uint32 stored = 1; * @return This builder for chaining. */ public Builder clearStored() { @@ -679,7 +678,7 @@ public Builder clearStored() { * The uncommitted index count. * * - * uint32 uncommitted = 2 [json_name = "uncommitted"]; + * uint32 uncommitted = 2; * @return The uncommitted. */ @java.lang.Override @@ -691,7 +690,7 @@ public int getUncommitted() { * The uncommitted index count. * * - * uint32 uncommitted = 2 [json_name = "uncommitted"]; + * uint32 uncommitted = 2; * @param value The uncommitted to set. * @return This builder for chaining. */ @@ -707,7 +706,7 @@ public Builder setUncommitted(int value) { * The uncommitted index count. * * - * uint32 uncommitted = 2 [json_name = "uncommitted"]; + * uint32 uncommitted = 2; * @return This builder for chaining. */ public Builder clearUncommitted() { @@ -723,7 +722,7 @@ public Builder clearUncommitted() { * The indexing index count. * * - * bool indexing = 3 [json_name = "indexing"]; + * bool indexing = 3; * @return The indexing. */ @java.lang.Override @@ -735,7 +734,7 @@ public boolean getIndexing() { * The indexing index count. * * - * bool indexing = 3 [json_name = "indexing"]; + * bool indexing = 3; * @param value The indexing to set. * @return This builder for chaining. */ @@ -751,7 +750,7 @@ public Builder setIndexing(boolean value) { * The indexing index count. * * - * bool indexing = 3 [json_name = "indexing"]; + * bool indexing = 3; * @return This builder for chaining. */ public Builder clearIndexing() { @@ -767,7 +766,7 @@ public Builder clearIndexing() { * The saving index count. * * - * bool saving = 4 [json_name = "saving"]; + * bool saving = 4; * @return The saving. */ @java.lang.Override @@ -779,7 +778,7 @@ public boolean getSaving() { * The saving index count. * * - * bool saving = 4 [json_name = "saving"]; + * bool saving = 4; * @param value The saving to set. * @return This builder for chaining. */ @@ -795,7 +794,7 @@ public Builder setSaving(boolean value) { * The saving index count. * * - * bool saving = 4 [json_name = "saving"]; + * bool saving = 4; * @return This builder for chaining. */ public Builder clearSaving() { @@ -916,12 +915,12 @@ public interface CommittedOrBuilder extends com.google.protobuf.MessageOrBuilder { /** - * string uuid = 1 [json_name = "uuid"]; + * string uuid = 1; * @return The uuid. */ java.lang.String getUuid(); /** - * string uuid = 1 [json_name = "uuid"]; + * string uuid = 1; * @return The bytes for uuid. */ com.google.protobuf.ByteString @@ -971,7 +970,7 @@ protected java.lang.Object newInstance( @SuppressWarnings("serial") private volatile java.lang.Object uuid_ = ""; /** - * string uuid = 1 [json_name = "uuid"]; + * string uuid = 1; * @return The uuid. */ @java.lang.Override @@ -988,7 +987,7 @@ public java.lang.String getUuid() { } } /** - * string uuid = 1 [json_name = "uuid"]; + * string uuid = 1; * @return The bytes for uuid. */ @java.lang.Override @@ -1338,7 +1337,7 @@ public Builder mergeFrom( private java.lang.Object uuid_ = ""; /** - * string uuid = 1 [json_name = "uuid"]; + * string uuid = 1; * @return The uuid. */ public java.lang.String getUuid() { @@ -1354,7 +1353,7 @@ public java.lang.String getUuid() { } } /** - * string uuid = 1 [json_name = "uuid"]; + * string uuid = 1; * @return The bytes for uuid. */ public com.google.protobuf.ByteString @@ -1371,7 +1370,7 @@ public java.lang.String getUuid() { } } /** - * string uuid = 1 [json_name = "uuid"]; + * string uuid = 1; * @param value The uuid to set. * @return This builder for chaining. */ @@ -1384,7 +1383,7 @@ public Builder setUuid( return this; } /** - * string uuid = 1 [json_name = "uuid"]; + * string uuid = 1; * @return This builder for chaining. */ public Builder clearUuid() { @@ -1394,7 +1393,7 @@ public Builder clearUuid() { return this; } /** - * string uuid = 1 [json_name = "uuid"]; + * string uuid = 1; * @param value The bytes for uuid to set. * @return This builder for chaining. */ @@ -1476,12 +1475,12 @@ public interface UncommittedOrBuilder extends com.google.protobuf.MessageOrBuilder { /** - * string uuid = 1 [json_name = "uuid"]; + * string uuid = 1; * @return The uuid. */ java.lang.String getUuid(); /** - * string uuid = 1 [json_name = "uuid"]; + * string uuid = 1; * @return The bytes for uuid. */ com.google.protobuf.ByteString @@ -1531,7 +1530,7 @@ protected java.lang.Object newInstance( @SuppressWarnings("serial") private volatile java.lang.Object uuid_ = ""; /** - * string uuid = 1 [json_name = "uuid"]; + * string uuid = 1; * @return The uuid. */ @java.lang.Override @@ -1548,7 +1547,7 @@ public java.lang.String getUuid() { } } /** - * string uuid = 1 [json_name = "uuid"]; + * string uuid = 1; * @return The bytes for uuid. */ @java.lang.Override @@ -1898,7 +1897,7 @@ public Builder mergeFrom( private java.lang.Object uuid_ = ""; /** - * string uuid = 1 [json_name = "uuid"]; + * string uuid = 1; * @return The uuid. */ public java.lang.String getUuid() { @@ -1914,7 +1913,7 @@ public java.lang.String getUuid() { } } /** - * string uuid = 1 [json_name = "uuid"]; + * string uuid = 1; * @return The bytes for uuid. */ public com.google.protobuf.ByteString @@ -1931,7 +1930,7 @@ public java.lang.String getUuid() { } } /** - * string uuid = 1 [json_name = "uuid"]; + * string uuid = 1; * @param value The uuid to set. * @return This builder for chaining. */ @@ -1944,7 +1943,7 @@ public Builder setUuid( return this; } /** - * string uuid = 1 [json_name = "uuid"]; + * string uuid = 1; * @return This builder for chaining. */ public Builder clearUuid() { @@ -1954,7 +1953,7 @@ public Builder clearUuid() { return this; } /** - * string uuid = 1 [json_name = "uuid"]; + * string uuid = 1; * @param value The bytes for uuid to set. * @return This builder for chaining. */ @@ -2764,7 +2763,7 @@ public interface PodOrBuilder extends * The app name of the pod on the label. * * - * string app_name = 1 [json_name = "appName"]; + * string app_name = 1; * @return The appName. */ java.lang.String getAppName(); @@ -2773,7 +2772,7 @@ public interface PodOrBuilder extends * The app name of the pod on the label. * * - * string app_name = 1 [json_name = "appName"]; + * string app_name = 1; * @return The bytes for appName. */ com.google.protobuf.ByteString @@ -2784,7 +2783,7 @@ public interface PodOrBuilder extends * The name of the pod. * * - * string name = 2 [json_name = "name"]; + * string name = 2; * @return The name. */ java.lang.String getName(); @@ -2793,7 +2792,7 @@ public interface PodOrBuilder extends * The name of the pod. * * - * string name = 2 [json_name = "name"]; + * string name = 2; * @return The bytes for name. */ com.google.protobuf.ByteString @@ -2804,7 +2803,7 @@ public interface PodOrBuilder extends * The namespace of the pod. * * - * string namespace = 3 [json_name = "namespace"]; + * string namespace = 3; * @return The namespace. */ java.lang.String getNamespace(); @@ -2813,7 +2812,7 @@ public interface PodOrBuilder extends * The namespace of the pod. * * - * string namespace = 3 [json_name = "namespace"]; + * string namespace = 3; * @return The bytes for namespace. */ com.google.protobuf.ByteString @@ -2824,7 +2823,7 @@ public interface PodOrBuilder extends * The IP of the pod. * * - * string ip = 4 [json_name = "ip", (.buf.validate.field) = { ... } + * string ip = 4 [(.validate.rules) = { ... } * @return The ip. */ java.lang.String getIp(); @@ -2833,7 +2832,7 @@ public interface PodOrBuilder extends * The IP of the pod. * * - * string ip = 4 [json_name = "ip", (.buf.validate.field) = { ... } + * string ip = 4 [(.validate.rules) = { ... } * @return The bytes for ip. */ com.google.protobuf.ByteString @@ -2844,7 +2843,7 @@ public interface PodOrBuilder extends * The CPU information of the pod. * * - * .payload.v1.Info.CPU cpu = 5 [json_name = "cpu"]; + * .payload.v1.Info.CPU cpu = 5; * @return Whether the cpu field is set. */ boolean hasCpu(); @@ -2853,7 +2852,7 @@ public interface PodOrBuilder extends * The CPU information of the pod. * * - * .payload.v1.Info.CPU cpu = 5 [json_name = "cpu"]; + * .payload.v1.Info.CPU cpu = 5; * @return The cpu. */ org.vdaas.vald.api.v1.payload.Info.CPU getCpu(); @@ -2862,7 +2861,7 @@ public interface PodOrBuilder extends * The CPU information of the pod. * * - * .payload.v1.Info.CPU cpu = 5 [json_name = "cpu"]; + * .payload.v1.Info.CPU cpu = 5; */ org.vdaas.vald.api.v1.payload.Info.CPUOrBuilder getCpuOrBuilder(); @@ -2871,7 +2870,7 @@ public interface PodOrBuilder extends * The memory information of the pod. * * - * .payload.v1.Info.Memory memory = 6 [json_name = "memory"]; + * .payload.v1.Info.Memory memory = 6; * @return Whether the memory field is set. */ boolean hasMemory(); @@ -2880,7 +2879,7 @@ public interface PodOrBuilder extends * The memory information of the pod. * * - * .payload.v1.Info.Memory memory = 6 [json_name = "memory"]; + * .payload.v1.Info.Memory memory = 6; * @return The memory. */ org.vdaas.vald.api.v1.payload.Info.Memory getMemory(); @@ -2889,7 +2888,7 @@ public interface PodOrBuilder extends * The memory information of the pod. * * - * .payload.v1.Info.Memory memory = 6 [json_name = "memory"]; + * .payload.v1.Info.Memory memory = 6; */ org.vdaas.vald.api.v1.payload.Info.MemoryOrBuilder getMemoryOrBuilder(); @@ -2898,7 +2897,7 @@ public interface PodOrBuilder extends * The node information of the pod. * * - * .payload.v1.Info.Node node = 7 [json_name = "node"]; + * .payload.v1.Info.Node node = 7; * @return Whether the node field is set. */ boolean hasNode(); @@ -2907,7 +2906,7 @@ public interface PodOrBuilder extends * The node information of the pod. * * - * .payload.v1.Info.Node node = 7 [json_name = "node"]; + * .payload.v1.Info.Node node = 7; * @return The node. */ org.vdaas.vald.api.v1.payload.Info.Node getNode(); @@ -2916,7 +2915,7 @@ public interface PodOrBuilder extends * The node information of the pod. * * - * .payload.v1.Info.Node node = 7 [json_name = "node"]; + * .payload.v1.Info.Node node = 7; */ org.vdaas.vald.api.v1.payload.Info.NodeOrBuilder getNodeOrBuilder(); } @@ -2972,7 +2971,7 @@ protected java.lang.Object newInstance( * The app name of the pod on the label. * * - * string app_name = 1 [json_name = "appName"]; + * string app_name = 1; * @return The appName. */ @java.lang.Override @@ -2993,7 +2992,7 @@ public java.lang.String getAppName() { * The app name of the pod on the label. * * - * string app_name = 1 [json_name = "appName"]; + * string app_name = 1; * @return The bytes for appName. */ @java.lang.Override @@ -3019,7 +3018,7 @@ public java.lang.String getAppName() { * The name of the pod. * * - * string name = 2 [json_name = "name"]; + * string name = 2; * @return The name. */ @java.lang.Override @@ -3040,7 +3039,7 @@ public java.lang.String getName() { * The name of the pod. * * - * string name = 2 [json_name = "name"]; + * string name = 2; * @return The bytes for name. */ @java.lang.Override @@ -3066,7 +3065,7 @@ public java.lang.String getName() { * The namespace of the pod. * * - * string namespace = 3 [json_name = "namespace"]; + * string namespace = 3; * @return The namespace. */ @java.lang.Override @@ -3087,7 +3086,7 @@ public java.lang.String getNamespace() { * The namespace of the pod. * * - * string namespace = 3 [json_name = "namespace"]; + * string namespace = 3; * @return The bytes for namespace. */ @java.lang.Override @@ -3113,7 +3112,7 @@ public java.lang.String getNamespace() { * The IP of the pod. * * - * string ip = 4 [json_name = "ip", (.buf.validate.field) = { ... } + * string ip = 4 [(.validate.rules) = { ... } * @return The ip. */ @java.lang.Override @@ -3134,7 +3133,7 @@ public java.lang.String getIp() { * The IP of the pod. * * - * string ip = 4 [json_name = "ip", (.buf.validate.field) = { ... } + * string ip = 4 [(.validate.rules) = { ... } * @return The bytes for ip. */ @java.lang.Override @@ -3159,7 +3158,7 @@ public java.lang.String getIp() { * The CPU information of the pod. * * - * .payload.v1.Info.CPU cpu = 5 [json_name = "cpu"]; + * .payload.v1.Info.CPU cpu = 5; * @return Whether the cpu field is set. */ @java.lang.Override @@ -3171,7 +3170,7 @@ public boolean hasCpu() { * The CPU information of the pod. * * - * .payload.v1.Info.CPU cpu = 5 [json_name = "cpu"]; + * .payload.v1.Info.CPU cpu = 5; * @return The cpu. */ @java.lang.Override @@ -3183,7 +3182,7 @@ public org.vdaas.vald.api.v1.payload.Info.CPU getCpu() { * The CPU information of the pod. * * - * .payload.v1.Info.CPU cpu = 5 [json_name = "cpu"]; + * .payload.v1.Info.CPU cpu = 5; */ @java.lang.Override public org.vdaas.vald.api.v1.payload.Info.CPUOrBuilder getCpuOrBuilder() { @@ -3197,7 +3196,7 @@ public org.vdaas.vald.api.v1.payload.Info.CPUOrBuilder getCpuOrBuilder() { * The memory information of the pod. * * - * .payload.v1.Info.Memory memory = 6 [json_name = "memory"]; + * .payload.v1.Info.Memory memory = 6; * @return Whether the memory field is set. */ @java.lang.Override @@ -3209,7 +3208,7 @@ public boolean hasMemory() { * The memory information of the pod. * * - * .payload.v1.Info.Memory memory = 6 [json_name = "memory"]; + * .payload.v1.Info.Memory memory = 6; * @return The memory. */ @java.lang.Override @@ -3221,7 +3220,7 @@ public org.vdaas.vald.api.v1.payload.Info.Memory getMemory() { * The memory information of the pod. * * - * .payload.v1.Info.Memory memory = 6 [json_name = "memory"]; + * .payload.v1.Info.Memory memory = 6; */ @java.lang.Override public org.vdaas.vald.api.v1.payload.Info.MemoryOrBuilder getMemoryOrBuilder() { @@ -3235,7 +3234,7 @@ public org.vdaas.vald.api.v1.payload.Info.MemoryOrBuilder getMemoryOrBuilder() { * The node information of the pod. * * - * .payload.v1.Info.Node node = 7 [json_name = "node"]; + * .payload.v1.Info.Node node = 7; * @return Whether the node field is set. */ @java.lang.Override @@ -3247,7 +3246,7 @@ public boolean hasNode() { * The node information of the pod. * * - * .payload.v1.Info.Node node = 7 [json_name = "node"]; + * .payload.v1.Info.Node node = 7; * @return The node. */ @java.lang.Override @@ -3259,7 +3258,7 @@ public org.vdaas.vald.api.v1.payload.Info.Node getNode() { * The node information of the pod. * * - * .payload.v1.Info.Node node = 7 [json_name = "node"]; + * .payload.v1.Info.Node node = 7; */ @java.lang.Override public org.vdaas.vald.api.v1.payload.Info.NodeOrBuilder getNodeOrBuilder() { @@ -3795,7 +3794,7 @@ public Builder mergeFrom( * The app name of the pod on the label. * * - * string app_name = 1 [json_name = "appName"]; + * string app_name = 1; * @return The appName. */ public java.lang.String getAppName() { @@ -3815,7 +3814,7 @@ public java.lang.String getAppName() { * The app name of the pod on the label. * * - * string app_name = 1 [json_name = "appName"]; + * string app_name = 1; * @return The bytes for appName. */ public com.google.protobuf.ByteString @@ -3836,7 +3835,7 @@ public java.lang.String getAppName() { * The app name of the pod on the label. * * - * string app_name = 1 [json_name = "appName"]; + * string app_name = 1; * @param value The appName to set. * @return This builder for chaining. */ @@ -3853,7 +3852,7 @@ public Builder setAppName( * The app name of the pod on the label. * * - * string app_name = 1 [json_name = "appName"]; + * string app_name = 1; * @return This builder for chaining. */ public Builder clearAppName() { @@ -3867,7 +3866,7 @@ public Builder clearAppName() { * The app name of the pod on the label. * * - * string app_name = 1 [json_name = "appName"]; + * string app_name = 1; * @param value The bytes for appName to set. * @return This builder for chaining. */ @@ -3887,7 +3886,7 @@ public Builder setAppNameBytes( * The name of the pod. * * - * string name = 2 [json_name = "name"]; + * string name = 2; * @return The name. */ public java.lang.String getName() { @@ -3907,7 +3906,7 @@ public java.lang.String getName() { * The name of the pod. * * - * string name = 2 [json_name = "name"]; + * string name = 2; * @return The bytes for name. */ public com.google.protobuf.ByteString @@ -3928,7 +3927,7 @@ public java.lang.String getName() { * The name of the pod. * * - * string name = 2 [json_name = "name"]; + * string name = 2; * @param value The name to set. * @return This builder for chaining. */ @@ -3945,7 +3944,7 @@ public Builder setName( * The name of the pod. * * - * string name = 2 [json_name = "name"]; + * string name = 2; * @return This builder for chaining. */ public Builder clearName() { @@ -3959,7 +3958,7 @@ public Builder clearName() { * The name of the pod. * * - * string name = 2 [json_name = "name"]; + * string name = 2; * @param value The bytes for name to set. * @return This builder for chaining. */ @@ -3979,7 +3978,7 @@ public Builder setNameBytes( * The namespace of the pod. * * - * string namespace = 3 [json_name = "namespace"]; + * string namespace = 3; * @return The namespace. */ public java.lang.String getNamespace() { @@ -3999,7 +3998,7 @@ public java.lang.String getNamespace() { * The namespace of the pod. * * - * string namespace = 3 [json_name = "namespace"]; + * string namespace = 3; * @return The bytes for namespace. */ public com.google.protobuf.ByteString @@ -4020,7 +4019,7 @@ public java.lang.String getNamespace() { * The namespace of the pod. * * - * string namespace = 3 [json_name = "namespace"]; + * string namespace = 3; * @param value The namespace to set. * @return This builder for chaining. */ @@ -4037,7 +4036,7 @@ public Builder setNamespace( * The namespace of the pod. * * - * string namespace = 3 [json_name = "namespace"]; + * string namespace = 3; * @return This builder for chaining. */ public Builder clearNamespace() { @@ -4051,7 +4050,7 @@ public Builder clearNamespace() { * The namespace of the pod. * * - * string namespace = 3 [json_name = "namespace"]; + * string namespace = 3; * @param value The bytes for namespace to set. * @return This builder for chaining. */ @@ -4071,7 +4070,7 @@ public Builder setNamespaceBytes( * The IP of the pod. * * - * string ip = 4 [json_name = "ip", (.buf.validate.field) = { ... } + * string ip = 4 [(.validate.rules) = { ... } * @return The ip. */ public java.lang.String getIp() { @@ -4091,7 +4090,7 @@ public java.lang.String getIp() { * The IP of the pod. * * - * string ip = 4 [json_name = "ip", (.buf.validate.field) = { ... } + * string ip = 4 [(.validate.rules) = { ... } * @return The bytes for ip. */ public com.google.protobuf.ByteString @@ -4112,7 +4111,7 @@ public java.lang.String getIp() { * The IP of the pod. * * - * string ip = 4 [json_name = "ip", (.buf.validate.field) = { ... } + * string ip = 4 [(.validate.rules) = { ... } * @param value The ip to set. * @return This builder for chaining. */ @@ -4129,7 +4128,7 @@ public Builder setIp( * The IP of the pod. * * - * string ip = 4 [json_name = "ip", (.buf.validate.field) = { ... } + * string ip = 4 [(.validate.rules) = { ... } * @return This builder for chaining. */ public Builder clearIp() { @@ -4143,7 +4142,7 @@ public Builder clearIp() { * The IP of the pod. * * - * string ip = 4 [json_name = "ip", (.buf.validate.field) = { ... } + * string ip = 4 [(.validate.rules) = { ... } * @param value The bytes for ip to set. * @return This builder for chaining. */ @@ -4165,7 +4164,7 @@ public Builder setIpBytes( * The CPU information of the pod. * * - * .payload.v1.Info.CPU cpu = 5 [json_name = "cpu"]; + * .payload.v1.Info.CPU cpu = 5; * @return Whether the cpu field is set. */ public boolean hasCpu() { @@ -4176,7 +4175,7 @@ public boolean hasCpu() { * The CPU information of the pod. * * - * .payload.v1.Info.CPU cpu = 5 [json_name = "cpu"]; + * .payload.v1.Info.CPU cpu = 5; * @return The cpu. */ public org.vdaas.vald.api.v1.payload.Info.CPU getCpu() { @@ -4191,7 +4190,7 @@ public org.vdaas.vald.api.v1.payload.Info.CPU getCpu() { * The CPU information of the pod. * * - * .payload.v1.Info.CPU cpu = 5 [json_name = "cpu"]; + * .payload.v1.Info.CPU cpu = 5; */ public Builder setCpu(org.vdaas.vald.api.v1.payload.Info.CPU value) { if (cpuBuilder_ == null) { @@ -4211,7 +4210,7 @@ public Builder setCpu(org.vdaas.vald.api.v1.payload.Info.CPU value) { * The CPU information of the pod. * * - * .payload.v1.Info.CPU cpu = 5 [json_name = "cpu"]; + * .payload.v1.Info.CPU cpu = 5; */ public Builder setCpu( org.vdaas.vald.api.v1.payload.Info.CPU.Builder builderForValue) { @@ -4229,7 +4228,7 @@ public Builder setCpu( * The CPU information of the pod. * * - * .payload.v1.Info.CPU cpu = 5 [json_name = "cpu"]; + * .payload.v1.Info.CPU cpu = 5; */ public Builder mergeCpu(org.vdaas.vald.api.v1.payload.Info.CPU value) { if (cpuBuilder_ == null) { @@ -4254,7 +4253,7 @@ public Builder mergeCpu(org.vdaas.vald.api.v1.payload.Info.CPU value) { * The CPU information of the pod. * * - * .payload.v1.Info.CPU cpu = 5 [json_name = "cpu"]; + * .payload.v1.Info.CPU cpu = 5; */ public Builder clearCpu() { bitField0_ = (bitField0_ & ~0x00000010); @@ -4271,7 +4270,7 @@ public Builder clearCpu() { * The CPU information of the pod. * * - * .payload.v1.Info.CPU cpu = 5 [json_name = "cpu"]; + * .payload.v1.Info.CPU cpu = 5; */ public org.vdaas.vald.api.v1.payload.Info.CPU.Builder getCpuBuilder() { bitField0_ |= 0x00000010; @@ -4283,7 +4282,7 @@ public org.vdaas.vald.api.v1.payload.Info.CPU.Builder getCpuBuilder() { * The CPU information of the pod. * * - * .payload.v1.Info.CPU cpu = 5 [json_name = "cpu"]; + * .payload.v1.Info.CPU cpu = 5; */ public org.vdaas.vald.api.v1.payload.Info.CPUOrBuilder getCpuOrBuilder() { if (cpuBuilder_ != null) { @@ -4298,7 +4297,7 @@ public org.vdaas.vald.api.v1.payload.Info.CPUOrBuilder getCpuOrBuilder() { * The CPU information of the pod. * * - * .payload.v1.Info.CPU cpu = 5 [json_name = "cpu"]; + * .payload.v1.Info.CPU cpu = 5; */ private com.google.protobuf.SingleFieldBuilderV3< org.vdaas.vald.api.v1.payload.Info.CPU, org.vdaas.vald.api.v1.payload.Info.CPU.Builder, org.vdaas.vald.api.v1.payload.Info.CPUOrBuilder> @@ -4322,7 +4321,7 @@ public org.vdaas.vald.api.v1.payload.Info.CPUOrBuilder getCpuOrBuilder() { * The memory information of the pod. * * - * .payload.v1.Info.Memory memory = 6 [json_name = "memory"]; + * .payload.v1.Info.Memory memory = 6; * @return Whether the memory field is set. */ public boolean hasMemory() { @@ -4333,7 +4332,7 @@ public boolean hasMemory() { * The memory information of the pod. * * - * .payload.v1.Info.Memory memory = 6 [json_name = "memory"]; + * .payload.v1.Info.Memory memory = 6; * @return The memory. */ public org.vdaas.vald.api.v1.payload.Info.Memory getMemory() { @@ -4348,7 +4347,7 @@ public org.vdaas.vald.api.v1.payload.Info.Memory getMemory() { * The memory information of the pod. * * - * .payload.v1.Info.Memory memory = 6 [json_name = "memory"]; + * .payload.v1.Info.Memory memory = 6; */ public Builder setMemory(org.vdaas.vald.api.v1.payload.Info.Memory value) { if (memoryBuilder_ == null) { @@ -4368,7 +4367,7 @@ public Builder setMemory(org.vdaas.vald.api.v1.payload.Info.Memory value) { * The memory information of the pod. * * - * .payload.v1.Info.Memory memory = 6 [json_name = "memory"]; + * .payload.v1.Info.Memory memory = 6; */ public Builder setMemory( org.vdaas.vald.api.v1.payload.Info.Memory.Builder builderForValue) { @@ -4386,7 +4385,7 @@ public Builder setMemory( * The memory information of the pod. * * - * .payload.v1.Info.Memory memory = 6 [json_name = "memory"]; + * .payload.v1.Info.Memory memory = 6; */ public Builder mergeMemory(org.vdaas.vald.api.v1.payload.Info.Memory value) { if (memoryBuilder_ == null) { @@ -4411,7 +4410,7 @@ public Builder mergeMemory(org.vdaas.vald.api.v1.payload.Info.Memory value) { * The memory information of the pod. * * - * .payload.v1.Info.Memory memory = 6 [json_name = "memory"]; + * .payload.v1.Info.Memory memory = 6; */ public Builder clearMemory() { bitField0_ = (bitField0_ & ~0x00000020); @@ -4428,7 +4427,7 @@ public Builder clearMemory() { * The memory information of the pod. * * - * .payload.v1.Info.Memory memory = 6 [json_name = "memory"]; + * .payload.v1.Info.Memory memory = 6; */ public org.vdaas.vald.api.v1.payload.Info.Memory.Builder getMemoryBuilder() { bitField0_ |= 0x00000020; @@ -4440,7 +4439,7 @@ public org.vdaas.vald.api.v1.payload.Info.Memory.Builder getMemoryBuilder() { * The memory information of the pod. * * - * .payload.v1.Info.Memory memory = 6 [json_name = "memory"]; + * .payload.v1.Info.Memory memory = 6; */ public org.vdaas.vald.api.v1.payload.Info.MemoryOrBuilder getMemoryOrBuilder() { if (memoryBuilder_ != null) { @@ -4455,7 +4454,7 @@ public org.vdaas.vald.api.v1.payload.Info.MemoryOrBuilder getMemoryOrBuilder() { * The memory information of the pod. * * - * .payload.v1.Info.Memory memory = 6 [json_name = "memory"]; + * .payload.v1.Info.Memory memory = 6; */ private com.google.protobuf.SingleFieldBuilderV3< org.vdaas.vald.api.v1.payload.Info.Memory, org.vdaas.vald.api.v1.payload.Info.Memory.Builder, org.vdaas.vald.api.v1.payload.Info.MemoryOrBuilder> @@ -4479,7 +4478,7 @@ public org.vdaas.vald.api.v1.payload.Info.MemoryOrBuilder getMemoryOrBuilder() { * The node information of the pod. * * - * .payload.v1.Info.Node node = 7 [json_name = "node"]; + * .payload.v1.Info.Node node = 7; * @return Whether the node field is set. */ public boolean hasNode() { @@ -4490,7 +4489,7 @@ public boolean hasNode() { * The node information of the pod. * * - * .payload.v1.Info.Node node = 7 [json_name = "node"]; + * .payload.v1.Info.Node node = 7; * @return The node. */ public org.vdaas.vald.api.v1.payload.Info.Node getNode() { @@ -4505,7 +4504,7 @@ public org.vdaas.vald.api.v1.payload.Info.Node getNode() { * The node information of the pod. * * - * .payload.v1.Info.Node node = 7 [json_name = "node"]; + * .payload.v1.Info.Node node = 7; */ public Builder setNode(org.vdaas.vald.api.v1.payload.Info.Node value) { if (nodeBuilder_ == null) { @@ -4525,7 +4524,7 @@ public Builder setNode(org.vdaas.vald.api.v1.payload.Info.Node value) { * The node information of the pod. * * - * .payload.v1.Info.Node node = 7 [json_name = "node"]; + * .payload.v1.Info.Node node = 7; */ public Builder setNode( org.vdaas.vald.api.v1.payload.Info.Node.Builder builderForValue) { @@ -4543,7 +4542,7 @@ public Builder setNode( * The node information of the pod. * * - * .payload.v1.Info.Node node = 7 [json_name = "node"]; + * .payload.v1.Info.Node node = 7; */ public Builder mergeNode(org.vdaas.vald.api.v1.payload.Info.Node value) { if (nodeBuilder_ == null) { @@ -4568,7 +4567,7 @@ public Builder mergeNode(org.vdaas.vald.api.v1.payload.Info.Node value) { * The node information of the pod. * * - * .payload.v1.Info.Node node = 7 [json_name = "node"]; + * .payload.v1.Info.Node node = 7; */ public Builder clearNode() { bitField0_ = (bitField0_ & ~0x00000040); @@ -4585,7 +4584,7 @@ public Builder clearNode() { * The node information of the pod. * * - * .payload.v1.Info.Node node = 7 [json_name = "node"]; + * .payload.v1.Info.Node node = 7; */ public org.vdaas.vald.api.v1.payload.Info.Node.Builder getNodeBuilder() { bitField0_ |= 0x00000040; @@ -4597,7 +4596,7 @@ public org.vdaas.vald.api.v1.payload.Info.Node.Builder getNodeBuilder() { * The node information of the pod. * * - * .payload.v1.Info.Node node = 7 [json_name = "node"]; + * .payload.v1.Info.Node node = 7; */ public org.vdaas.vald.api.v1.payload.Info.NodeOrBuilder getNodeOrBuilder() { if (nodeBuilder_ != null) { @@ -4612,7 +4611,7 @@ public org.vdaas.vald.api.v1.payload.Info.NodeOrBuilder getNodeOrBuilder() { * The node information of the pod. * * - * .payload.v1.Info.Node node = 7 [json_name = "node"]; + * .payload.v1.Info.Node node = 7; */ private com.google.protobuf.SingleFieldBuilderV3< org.vdaas.vald.api.v1.payload.Info.Node, org.vdaas.vald.api.v1.payload.Info.Node.Builder, org.vdaas.vald.api.v1.payload.Info.NodeOrBuilder> @@ -4700,7 +4699,7 @@ public interface NodeOrBuilder extends * The name of the node. * * - * string name = 1 [json_name = "name"]; + * string name = 1; * @return The name. */ java.lang.String getName(); @@ -4709,7 +4708,7 @@ public interface NodeOrBuilder extends * The name of the node. * * - * string name = 1 [json_name = "name"]; + * string name = 1; * @return The bytes for name. */ com.google.protobuf.ByteString @@ -4720,7 +4719,7 @@ public interface NodeOrBuilder extends * The internal IP address of the node. * * - * string internal_addr = 2 [json_name = "internalAddr"]; + * string internal_addr = 2; * @return The internalAddr. */ java.lang.String getInternalAddr(); @@ -4729,7 +4728,7 @@ public interface NodeOrBuilder extends * The internal IP address of the node. * * - * string internal_addr = 2 [json_name = "internalAddr"]; + * string internal_addr = 2; * @return The bytes for internalAddr. */ com.google.protobuf.ByteString @@ -4740,7 +4739,7 @@ public interface NodeOrBuilder extends * The external IP address of the node. * * - * string external_addr = 3 [json_name = "externalAddr"]; + * string external_addr = 3; * @return The externalAddr. */ java.lang.String getExternalAddr(); @@ -4749,7 +4748,7 @@ public interface NodeOrBuilder extends * The external IP address of the node. * * - * string external_addr = 3 [json_name = "externalAddr"]; + * string external_addr = 3; * @return The bytes for externalAddr. */ com.google.protobuf.ByteString @@ -4760,7 +4759,7 @@ public interface NodeOrBuilder extends * The CPU information of the node. * * - * .payload.v1.Info.CPU cpu = 4 [json_name = "cpu"]; + * .payload.v1.Info.CPU cpu = 4; * @return Whether the cpu field is set. */ boolean hasCpu(); @@ -4769,7 +4768,7 @@ public interface NodeOrBuilder extends * The CPU information of the node. * * - * .payload.v1.Info.CPU cpu = 4 [json_name = "cpu"]; + * .payload.v1.Info.CPU cpu = 4; * @return The cpu. */ org.vdaas.vald.api.v1.payload.Info.CPU getCpu(); @@ -4778,7 +4777,7 @@ public interface NodeOrBuilder extends * The CPU information of the node. * * - * .payload.v1.Info.CPU cpu = 4 [json_name = "cpu"]; + * .payload.v1.Info.CPU cpu = 4; */ org.vdaas.vald.api.v1.payload.Info.CPUOrBuilder getCpuOrBuilder(); @@ -4787,7 +4786,7 @@ public interface NodeOrBuilder extends * The memory information of the node. * * - * .payload.v1.Info.Memory memory = 5 [json_name = "memory"]; + * .payload.v1.Info.Memory memory = 5; * @return Whether the memory field is set. */ boolean hasMemory(); @@ -4796,7 +4795,7 @@ public interface NodeOrBuilder extends * The memory information of the node. * * - * .payload.v1.Info.Memory memory = 5 [json_name = "memory"]; + * .payload.v1.Info.Memory memory = 5; * @return The memory. */ org.vdaas.vald.api.v1.payload.Info.Memory getMemory(); @@ -4805,7 +4804,7 @@ public interface NodeOrBuilder extends * The memory information of the node. * * - * .payload.v1.Info.Memory memory = 5 [json_name = "memory"]; + * .payload.v1.Info.Memory memory = 5; */ org.vdaas.vald.api.v1.payload.Info.MemoryOrBuilder getMemoryOrBuilder(); @@ -4814,7 +4813,7 @@ public interface NodeOrBuilder extends * The pod information of the node. * * - * .payload.v1.Info.Pods Pods = 6 [json_name = "Pods"]; + * .payload.v1.Info.Pods Pods = 6; * @return Whether the pods field is set. */ boolean hasPods(); @@ -4823,7 +4822,7 @@ public interface NodeOrBuilder extends * The pod information of the node. * * - * .payload.v1.Info.Pods Pods = 6 [json_name = "Pods"]; + * .payload.v1.Info.Pods Pods = 6; * @return The pods. */ org.vdaas.vald.api.v1.payload.Info.Pods getPods(); @@ -4832,7 +4831,7 @@ public interface NodeOrBuilder extends * The pod information of the node. * * - * .payload.v1.Info.Pods Pods = 6 [json_name = "Pods"]; + * .payload.v1.Info.Pods Pods = 6; */ org.vdaas.vald.api.v1.payload.Info.PodsOrBuilder getPodsOrBuilder(); } @@ -4887,7 +4886,7 @@ protected java.lang.Object newInstance( * The name of the node. * * - * string name = 1 [json_name = "name"]; + * string name = 1; * @return The name. */ @java.lang.Override @@ -4908,7 +4907,7 @@ public java.lang.String getName() { * The name of the node. * * - * string name = 1 [json_name = "name"]; + * string name = 1; * @return The bytes for name. */ @java.lang.Override @@ -4934,7 +4933,7 @@ public java.lang.String getName() { * The internal IP address of the node. * * - * string internal_addr = 2 [json_name = "internalAddr"]; + * string internal_addr = 2; * @return The internalAddr. */ @java.lang.Override @@ -4955,7 +4954,7 @@ public java.lang.String getInternalAddr() { * The internal IP address of the node. * * - * string internal_addr = 2 [json_name = "internalAddr"]; + * string internal_addr = 2; * @return The bytes for internalAddr. */ @java.lang.Override @@ -4981,7 +4980,7 @@ public java.lang.String getInternalAddr() { * The external IP address of the node. * * - * string external_addr = 3 [json_name = "externalAddr"]; + * string external_addr = 3; * @return The externalAddr. */ @java.lang.Override @@ -5002,7 +5001,7 @@ public java.lang.String getExternalAddr() { * The external IP address of the node. * * - * string external_addr = 3 [json_name = "externalAddr"]; + * string external_addr = 3; * @return The bytes for externalAddr. */ @java.lang.Override @@ -5027,7 +5026,7 @@ public java.lang.String getExternalAddr() { * The CPU information of the node. * * - * .payload.v1.Info.CPU cpu = 4 [json_name = "cpu"]; + * .payload.v1.Info.CPU cpu = 4; * @return Whether the cpu field is set. */ @java.lang.Override @@ -5039,7 +5038,7 @@ public boolean hasCpu() { * The CPU information of the node. * * - * .payload.v1.Info.CPU cpu = 4 [json_name = "cpu"]; + * .payload.v1.Info.CPU cpu = 4; * @return The cpu. */ @java.lang.Override @@ -5051,7 +5050,7 @@ public org.vdaas.vald.api.v1.payload.Info.CPU getCpu() { * The CPU information of the node. * * - * .payload.v1.Info.CPU cpu = 4 [json_name = "cpu"]; + * .payload.v1.Info.CPU cpu = 4; */ @java.lang.Override public org.vdaas.vald.api.v1.payload.Info.CPUOrBuilder getCpuOrBuilder() { @@ -5065,7 +5064,7 @@ public org.vdaas.vald.api.v1.payload.Info.CPUOrBuilder getCpuOrBuilder() { * The memory information of the node. * * - * .payload.v1.Info.Memory memory = 5 [json_name = "memory"]; + * .payload.v1.Info.Memory memory = 5; * @return Whether the memory field is set. */ @java.lang.Override @@ -5077,7 +5076,7 @@ public boolean hasMemory() { * The memory information of the node. * * - * .payload.v1.Info.Memory memory = 5 [json_name = "memory"]; + * .payload.v1.Info.Memory memory = 5; * @return The memory. */ @java.lang.Override @@ -5089,7 +5088,7 @@ public org.vdaas.vald.api.v1.payload.Info.Memory getMemory() { * The memory information of the node. * * - * .payload.v1.Info.Memory memory = 5 [json_name = "memory"]; + * .payload.v1.Info.Memory memory = 5; */ @java.lang.Override public org.vdaas.vald.api.v1.payload.Info.MemoryOrBuilder getMemoryOrBuilder() { @@ -5103,7 +5102,7 @@ public org.vdaas.vald.api.v1.payload.Info.MemoryOrBuilder getMemoryOrBuilder() { * The pod information of the node. * * - * .payload.v1.Info.Pods Pods = 6 [json_name = "Pods"]; + * .payload.v1.Info.Pods Pods = 6; * @return Whether the pods field is set. */ @java.lang.Override @@ -5115,7 +5114,7 @@ public boolean hasPods() { * The pod information of the node. * * - * .payload.v1.Info.Pods Pods = 6 [json_name = "Pods"]; + * .payload.v1.Info.Pods Pods = 6; * @return The pods. */ @java.lang.Override @@ -5127,7 +5126,7 @@ public org.vdaas.vald.api.v1.payload.Info.Pods getPods() { * The pod information of the node. * * - * .payload.v1.Info.Pods Pods = 6 [json_name = "Pods"]; + * .payload.v1.Info.Pods Pods = 6; */ @java.lang.Override public org.vdaas.vald.api.v1.payload.Info.PodsOrBuilder getPodsOrBuilder() { @@ -5639,7 +5638,7 @@ public Builder mergeFrom( * The name of the node. * * - * string name = 1 [json_name = "name"]; + * string name = 1; * @return The name. */ public java.lang.String getName() { @@ -5659,7 +5658,7 @@ public java.lang.String getName() { * The name of the node. * * - * string name = 1 [json_name = "name"]; + * string name = 1; * @return The bytes for name. */ public com.google.protobuf.ByteString @@ -5680,7 +5679,7 @@ public java.lang.String getName() { * The name of the node. * * - * string name = 1 [json_name = "name"]; + * string name = 1; * @param value The name to set. * @return This builder for chaining. */ @@ -5697,7 +5696,7 @@ public Builder setName( * The name of the node. * * - * string name = 1 [json_name = "name"]; + * string name = 1; * @return This builder for chaining. */ public Builder clearName() { @@ -5711,7 +5710,7 @@ public Builder clearName() { * The name of the node. * * - * string name = 1 [json_name = "name"]; + * string name = 1; * @param value The bytes for name to set. * @return This builder for chaining. */ @@ -5731,7 +5730,7 @@ public Builder setNameBytes( * The internal IP address of the node. * * - * string internal_addr = 2 [json_name = "internalAddr"]; + * string internal_addr = 2; * @return The internalAddr. */ public java.lang.String getInternalAddr() { @@ -5751,7 +5750,7 @@ public java.lang.String getInternalAddr() { * The internal IP address of the node. * * - * string internal_addr = 2 [json_name = "internalAddr"]; + * string internal_addr = 2; * @return The bytes for internalAddr. */ public com.google.protobuf.ByteString @@ -5772,7 +5771,7 @@ public java.lang.String getInternalAddr() { * The internal IP address of the node. * * - * string internal_addr = 2 [json_name = "internalAddr"]; + * string internal_addr = 2; * @param value The internalAddr to set. * @return This builder for chaining. */ @@ -5789,7 +5788,7 @@ public Builder setInternalAddr( * The internal IP address of the node. * * - * string internal_addr = 2 [json_name = "internalAddr"]; + * string internal_addr = 2; * @return This builder for chaining. */ public Builder clearInternalAddr() { @@ -5803,7 +5802,7 @@ public Builder clearInternalAddr() { * The internal IP address of the node. * * - * string internal_addr = 2 [json_name = "internalAddr"]; + * string internal_addr = 2; * @param value The bytes for internalAddr to set. * @return This builder for chaining. */ @@ -5823,7 +5822,7 @@ public Builder setInternalAddrBytes( * The external IP address of the node. * * - * string external_addr = 3 [json_name = "externalAddr"]; + * string external_addr = 3; * @return The externalAddr. */ public java.lang.String getExternalAddr() { @@ -5843,7 +5842,7 @@ public java.lang.String getExternalAddr() { * The external IP address of the node. * * - * string external_addr = 3 [json_name = "externalAddr"]; + * string external_addr = 3; * @return The bytes for externalAddr. */ public com.google.protobuf.ByteString @@ -5864,7 +5863,7 @@ public java.lang.String getExternalAddr() { * The external IP address of the node. * * - * string external_addr = 3 [json_name = "externalAddr"]; + * string external_addr = 3; * @param value The externalAddr to set. * @return This builder for chaining. */ @@ -5881,7 +5880,7 @@ public Builder setExternalAddr( * The external IP address of the node. * * - * string external_addr = 3 [json_name = "externalAddr"]; + * string external_addr = 3; * @return This builder for chaining. */ public Builder clearExternalAddr() { @@ -5895,7 +5894,7 @@ public Builder clearExternalAddr() { * The external IP address of the node. * * - * string external_addr = 3 [json_name = "externalAddr"]; + * string external_addr = 3; * @param value The bytes for externalAddr to set. * @return This builder for chaining. */ @@ -5917,7 +5916,7 @@ public Builder setExternalAddrBytes( * The CPU information of the node. * * - * .payload.v1.Info.CPU cpu = 4 [json_name = "cpu"]; + * .payload.v1.Info.CPU cpu = 4; * @return Whether the cpu field is set. */ public boolean hasCpu() { @@ -5928,7 +5927,7 @@ public boolean hasCpu() { * The CPU information of the node. * * - * .payload.v1.Info.CPU cpu = 4 [json_name = "cpu"]; + * .payload.v1.Info.CPU cpu = 4; * @return The cpu. */ public org.vdaas.vald.api.v1.payload.Info.CPU getCpu() { @@ -5943,7 +5942,7 @@ public org.vdaas.vald.api.v1.payload.Info.CPU getCpu() { * The CPU information of the node. * * - * .payload.v1.Info.CPU cpu = 4 [json_name = "cpu"]; + * .payload.v1.Info.CPU cpu = 4; */ public Builder setCpu(org.vdaas.vald.api.v1.payload.Info.CPU value) { if (cpuBuilder_ == null) { @@ -5963,7 +5962,7 @@ public Builder setCpu(org.vdaas.vald.api.v1.payload.Info.CPU value) { * The CPU information of the node. * * - * .payload.v1.Info.CPU cpu = 4 [json_name = "cpu"]; + * .payload.v1.Info.CPU cpu = 4; */ public Builder setCpu( org.vdaas.vald.api.v1.payload.Info.CPU.Builder builderForValue) { @@ -5981,7 +5980,7 @@ public Builder setCpu( * The CPU information of the node. * * - * .payload.v1.Info.CPU cpu = 4 [json_name = "cpu"]; + * .payload.v1.Info.CPU cpu = 4; */ public Builder mergeCpu(org.vdaas.vald.api.v1.payload.Info.CPU value) { if (cpuBuilder_ == null) { @@ -6006,7 +6005,7 @@ public Builder mergeCpu(org.vdaas.vald.api.v1.payload.Info.CPU value) { * The CPU information of the node. * * - * .payload.v1.Info.CPU cpu = 4 [json_name = "cpu"]; + * .payload.v1.Info.CPU cpu = 4; */ public Builder clearCpu() { bitField0_ = (bitField0_ & ~0x00000008); @@ -6023,7 +6022,7 @@ public Builder clearCpu() { * The CPU information of the node. * * - * .payload.v1.Info.CPU cpu = 4 [json_name = "cpu"]; + * .payload.v1.Info.CPU cpu = 4; */ public org.vdaas.vald.api.v1.payload.Info.CPU.Builder getCpuBuilder() { bitField0_ |= 0x00000008; @@ -6035,7 +6034,7 @@ public org.vdaas.vald.api.v1.payload.Info.CPU.Builder getCpuBuilder() { * The CPU information of the node. * * - * .payload.v1.Info.CPU cpu = 4 [json_name = "cpu"]; + * .payload.v1.Info.CPU cpu = 4; */ public org.vdaas.vald.api.v1.payload.Info.CPUOrBuilder getCpuOrBuilder() { if (cpuBuilder_ != null) { @@ -6050,7 +6049,7 @@ public org.vdaas.vald.api.v1.payload.Info.CPUOrBuilder getCpuOrBuilder() { * The CPU information of the node. * * - * .payload.v1.Info.CPU cpu = 4 [json_name = "cpu"]; + * .payload.v1.Info.CPU cpu = 4; */ private com.google.protobuf.SingleFieldBuilderV3< org.vdaas.vald.api.v1.payload.Info.CPU, org.vdaas.vald.api.v1.payload.Info.CPU.Builder, org.vdaas.vald.api.v1.payload.Info.CPUOrBuilder> @@ -6074,7 +6073,7 @@ public org.vdaas.vald.api.v1.payload.Info.CPUOrBuilder getCpuOrBuilder() { * The memory information of the node. * * - * .payload.v1.Info.Memory memory = 5 [json_name = "memory"]; + * .payload.v1.Info.Memory memory = 5; * @return Whether the memory field is set. */ public boolean hasMemory() { @@ -6085,7 +6084,7 @@ public boolean hasMemory() { * The memory information of the node. * * - * .payload.v1.Info.Memory memory = 5 [json_name = "memory"]; + * .payload.v1.Info.Memory memory = 5; * @return The memory. */ public org.vdaas.vald.api.v1.payload.Info.Memory getMemory() { @@ -6100,7 +6099,7 @@ public org.vdaas.vald.api.v1.payload.Info.Memory getMemory() { * The memory information of the node. * * - * .payload.v1.Info.Memory memory = 5 [json_name = "memory"]; + * .payload.v1.Info.Memory memory = 5; */ public Builder setMemory(org.vdaas.vald.api.v1.payload.Info.Memory value) { if (memoryBuilder_ == null) { @@ -6120,7 +6119,7 @@ public Builder setMemory(org.vdaas.vald.api.v1.payload.Info.Memory value) { * The memory information of the node. * * - * .payload.v1.Info.Memory memory = 5 [json_name = "memory"]; + * .payload.v1.Info.Memory memory = 5; */ public Builder setMemory( org.vdaas.vald.api.v1.payload.Info.Memory.Builder builderForValue) { @@ -6138,7 +6137,7 @@ public Builder setMemory( * The memory information of the node. * * - * .payload.v1.Info.Memory memory = 5 [json_name = "memory"]; + * .payload.v1.Info.Memory memory = 5; */ public Builder mergeMemory(org.vdaas.vald.api.v1.payload.Info.Memory value) { if (memoryBuilder_ == null) { @@ -6163,7 +6162,7 @@ public Builder mergeMemory(org.vdaas.vald.api.v1.payload.Info.Memory value) { * The memory information of the node. * * - * .payload.v1.Info.Memory memory = 5 [json_name = "memory"]; + * .payload.v1.Info.Memory memory = 5; */ public Builder clearMemory() { bitField0_ = (bitField0_ & ~0x00000010); @@ -6180,7 +6179,7 @@ public Builder clearMemory() { * The memory information of the node. * * - * .payload.v1.Info.Memory memory = 5 [json_name = "memory"]; + * .payload.v1.Info.Memory memory = 5; */ public org.vdaas.vald.api.v1.payload.Info.Memory.Builder getMemoryBuilder() { bitField0_ |= 0x00000010; @@ -6192,7 +6191,7 @@ public org.vdaas.vald.api.v1.payload.Info.Memory.Builder getMemoryBuilder() { * The memory information of the node. * * - * .payload.v1.Info.Memory memory = 5 [json_name = "memory"]; + * .payload.v1.Info.Memory memory = 5; */ public org.vdaas.vald.api.v1.payload.Info.MemoryOrBuilder getMemoryOrBuilder() { if (memoryBuilder_ != null) { @@ -6207,7 +6206,7 @@ public org.vdaas.vald.api.v1.payload.Info.MemoryOrBuilder getMemoryOrBuilder() { * The memory information of the node. * * - * .payload.v1.Info.Memory memory = 5 [json_name = "memory"]; + * .payload.v1.Info.Memory memory = 5; */ private com.google.protobuf.SingleFieldBuilderV3< org.vdaas.vald.api.v1.payload.Info.Memory, org.vdaas.vald.api.v1.payload.Info.Memory.Builder, org.vdaas.vald.api.v1.payload.Info.MemoryOrBuilder> @@ -6231,7 +6230,7 @@ public org.vdaas.vald.api.v1.payload.Info.MemoryOrBuilder getMemoryOrBuilder() { * The pod information of the node. * * - * .payload.v1.Info.Pods Pods = 6 [json_name = "Pods"]; + * .payload.v1.Info.Pods Pods = 6; * @return Whether the pods field is set. */ public boolean hasPods() { @@ -6242,7 +6241,7 @@ public boolean hasPods() { * The pod information of the node. * * - * .payload.v1.Info.Pods Pods = 6 [json_name = "Pods"]; + * .payload.v1.Info.Pods Pods = 6; * @return The pods. */ public org.vdaas.vald.api.v1.payload.Info.Pods getPods() { @@ -6257,7 +6256,7 @@ public org.vdaas.vald.api.v1.payload.Info.Pods getPods() { * The pod information of the node. * * - * .payload.v1.Info.Pods Pods = 6 [json_name = "Pods"]; + * .payload.v1.Info.Pods Pods = 6; */ public Builder setPods(org.vdaas.vald.api.v1.payload.Info.Pods value) { if (podsBuilder_ == null) { @@ -6277,7 +6276,7 @@ public Builder setPods(org.vdaas.vald.api.v1.payload.Info.Pods value) { * The pod information of the node. * * - * .payload.v1.Info.Pods Pods = 6 [json_name = "Pods"]; + * .payload.v1.Info.Pods Pods = 6; */ public Builder setPods( org.vdaas.vald.api.v1.payload.Info.Pods.Builder builderForValue) { @@ -6295,7 +6294,7 @@ public Builder setPods( * The pod information of the node. * * - * .payload.v1.Info.Pods Pods = 6 [json_name = "Pods"]; + * .payload.v1.Info.Pods Pods = 6; */ public Builder mergePods(org.vdaas.vald.api.v1.payload.Info.Pods value) { if (podsBuilder_ == null) { @@ -6320,7 +6319,7 @@ public Builder mergePods(org.vdaas.vald.api.v1.payload.Info.Pods value) { * The pod information of the node. * * - * .payload.v1.Info.Pods Pods = 6 [json_name = "Pods"]; + * .payload.v1.Info.Pods Pods = 6; */ public Builder clearPods() { bitField0_ = (bitField0_ & ~0x00000020); @@ -6337,7 +6336,7 @@ public Builder clearPods() { * The pod information of the node. * * - * .payload.v1.Info.Pods Pods = 6 [json_name = "Pods"]; + * .payload.v1.Info.Pods Pods = 6; */ public org.vdaas.vald.api.v1.payload.Info.Pods.Builder getPodsBuilder() { bitField0_ |= 0x00000020; @@ -6349,7 +6348,7 @@ public org.vdaas.vald.api.v1.payload.Info.Pods.Builder getPodsBuilder() { * The pod information of the node. * * - * .payload.v1.Info.Pods Pods = 6 [json_name = "Pods"]; + * .payload.v1.Info.Pods Pods = 6; */ public org.vdaas.vald.api.v1.payload.Info.PodsOrBuilder getPodsOrBuilder() { if (podsBuilder_ != null) { @@ -6364,7 +6363,7 @@ public org.vdaas.vald.api.v1.payload.Info.PodsOrBuilder getPodsOrBuilder() { * The pod information of the node. * * - * .payload.v1.Info.Pods Pods = 6 [json_name = "Pods"]; + * .payload.v1.Info.Pods Pods = 6; */ private com.google.protobuf.SingleFieldBuilderV3< org.vdaas.vald.api.v1.payload.Info.Pods, org.vdaas.vald.api.v1.payload.Info.Pods.Builder, org.vdaas.vald.api.v1.payload.Info.PodsOrBuilder> @@ -6443,584 +6442,167 @@ public org.vdaas.vald.api.v1.payload.Info.Node getDefaultInstanceForType() { } - public interface ServiceOrBuilder extends - // @@protoc_insertion_point(interface_extends:payload.v1.Info.Service) + public interface CPUOrBuilder extends + // @@protoc_insertion_point(interface_extends:payload.v1.Info.CPU) com.google.protobuf.MessageOrBuilder { /** *
-     * The name of the svc.
-     * 
- * - * string name = 1 [json_name = "name"]; - * @return The name. - */ - java.lang.String getName(); - /** - *
-     * The name of the svc.
-     * 
- * - * string name = 1 [json_name = "name"]; - * @return The bytes for name. - */ - com.google.protobuf.ByteString - getNameBytes(); - - /** - *
-     * The cluster ip of the svc.
-     * 
- * - * string cluster_ip = 2 [json_name = "clusterIp"]; - * @return The clusterIp. - */ - java.lang.String getClusterIp(); - /** - *
-     * The cluster ip of the svc.
-     * 
- * - * string cluster_ip = 2 [json_name = "clusterIp"]; - * @return The bytes for clusterIp. - */ - com.google.protobuf.ByteString - getClusterIpBytes(); - - /** - *
-     * The cluster ips of the svc.
-     * 
- * - * repeated string cluster_ips = 3 [json_name = "clusterIps"]; - * @return A list containing the clusterIps. - */ - java.util.List - getClusterIpsList(); - /** - *
-     * The cluster ips of the svc.
-     * 
- * - * repeated string cluster_ips = 3 [json_name = "clusterIps"]; - * @return The count of clusterIps. - */ - int getClusterIpsCount(); - /** - *
-     * The cluster ips of the svc.
-     * 
- * - * repeated string cluster_ips = 3 [json_name = "clusterIps"]; - * @param index The index of the element to return. - * @return The clusterIps at the given index. - */ - java.lang.String getClusterIps(int index); - /** - *
-     * The cluster ips of the svc.
-     * 
- * - * repeated string cluster_ips = 3 [json_name = "clusterIps"]; - * @param index The index of the value to return. - * @return The bytes of the clusterIps at the given index. - */ - com.google.protobuf.ByteString - getClusterIpsBytes(int index); - - /** - *
-     * The port of the svc.
-     * 
- * - * repeated .payload.v1.Info.ServicePort ports = 4 [json_name = "ports"]; - */ - java.util.List - getPortsList(); - /** - *
-     * The port of the svc.
-     * 
- * - * repeated .payload.v1.Info.ServicePort ports = 4 [json_name = "ports"]; - */ - org.vdaas.vald.api.v1.payload.Info.ServicePort getPorts(int index); - /** - *
-     * The port of the svc.
-     * 
- * - * repeated .payload.v1.Info.ServicePort ports = 4 [json_name = "ports"]; - */ - int getPortsCount(); - /** - *
-     * The port of the svc.
-     * 
- * - * repeated .payload.v1.Info.ServicePort ports = 4 [json_name = "ports"]; - */ - java.util.List - getPortsOrBuilderList(); - /** - *
-     * The port of the svc.
+     * The CPU resource limit.
      * 
* - * repeated .payload.v1.Info.ServicePort ports = 4 [json_name = "ports"]; + * double limit = 1; + * @return The limit. */ - org.vdaas.vald.api.v1.payload.Info.ServicePortOrBuilder getPortsOrBuilder( - int index); + double getLimit(); /** *
-     * The labels of the service.
-     * 
- * - * .payload.v1.Info.Labels labels = 5 [json_name = "labels"]; - * @return Whether the labels field is set. - */ - boolean hasLabels(); - /** - *
-     * The labels of the service.
-     * 
- * - * .payload.v1.Info.Labels labels = 5 [json_name = "labels"]; - * @return The labels. - */ - org.vdaas.vald.api.v1.payload.Info.Labels getLabels(); - /** - *
-     * The labels of the service.
+     * The CPU resource requested.
      * 
* - * .payload.v1.Info.Labels labels = 5 [json_name = "labels"]; + * double request = 2; + * @return The request. */ - org.vdaas.vald.api.v1.payload.Info.LabelsOrBuilder getLabelsOrBuilder(); + double getRequest(); /** *
-     * The annotations of the service.
-     * 
- * - * .payload.v1.Info.Annotations annotations = 6 [json_name = "annotations"]; - * @return Whether the annotations field is set. - */ - boolean hasAnnotations(); - /** - *
-     * The annotations of the service.
-     * 
- * - * .payload.v1.Info.Annotations annotations = 6 [json_name = "annotations"]; - * @return The annotations. - */ - org.vdaas.vald.api.v1.payload.Info.Annotations getAnnotations(); - /** - *
-     * The annotations of the service.
+     * The CPU usage.
      * 
* - * .payload.v1.Info.Annotations annotations = 6 [json_name = "annotations"]; + * double usage = 3; + * @return The usage. */ - org.vdaas.vald.api.v1.payload.Info.AnnotationsOrBuilder getAnnotationsOrBuilder(); + double getUsage(); } /** *
-   * Represent the service information message.
+   * Represent the CPU information message.
    * 
* - * Protobuf type {@code payload.v1.Info.Service} + * Protobuf type {@code payload.v1.Info.CPU} */ - public static final class Service extends + public static final class CPU extends com.google.protobuf.GeneratedMessageV3 implements - // @@protoc_insertion_point(message_implements:payload.v1.Info.Service) - ServiceOrBuilder { + // @@protoc_insertion_point(message_implements:payload.v1.Info.CPU) + CPUOrBuilder { private static final long serialVersionUID = 0L; - // Use Service.newBuilder() to construct. - private Service(com.google.protobuf.GeneratedMessageV3.Builder builder) { + // Use CPU.newBuilder() to construct. + private CPU(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private Service() { - name_ = ""; - clusterIp_ = ""; - clusterIps_ = - com.google.protobuf.LazyStringArrayList.emptyList(); - ports_ = java.util.Collections.emptyList(); + private CPU() { } @java.lang.Override @SuppressWarnings({"unused"}) protected java.lang.Object newInstance( UnusedPrivateParameter unused) { - return new Service(); + return new CPU(); } public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return org.vdaas.vald.api.v1.payload.ValdPayload.internal_static_payload_v1_Info_Service_descriptor; + return org.vdaas.vald.api.v1.payload.ValdPayload.internal_static_payload_v1_Info_CPU_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return org.vdaas.vald.api.v1.payload.ValdPayload.internal_static_payload_v1_Info_Service_fieldAccessorTable + return org.vdaas.vald.api.v1.payload.ValdPayload.internal_static_payload_v1_Info_CPU_fieldAccessorTable .ensureFieldAccessorsInitialized( - org.vdaas.vald.api.v1.payload.Info.Service.class, org.vdaas.vald.api.v1.payload.Info.Service.Builder.class); + org.vdaas.vald.api.v1.payload.Info.CPU.class, org.vdaas.vald.api.v1.payload.Info.CPU.Builder.class); } - private int bitField0_; - public static final int NAME_FIELD_NUMBER = 1; - @SuppressWarnings("serial") - private volatile java.lang.Object name_ = ""; + public static final int LIMIT_FIELD_NUMBER = 1; + private double limit_ = 0D; /** *
-     * The name of the svc.
+     * The CPU resource limit.
      * 
* - * string name = 1 [json_name = "name"]; - * @return The name. + * double limit = 1; + * @return The limit. */ @java.lang.Override - 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(); - name_ = s; - return s; - } + public double getLimit() { + return limit_; } + + public static final int REQUEST_FIELD_NUMBER = 2; + private double request_ = 0D; /** *
-     * The name of the svc.
+     * The CPU resource requested.
      * 
* - * string name = 1 [json_name = "name"]; - * @return The bytes for name. + * double request = 2; + * @return The request. */ @java.lang.Override - public com.google.protobuf.ByteString - getNameBytes() { - java.lang.Object ref = name_; - if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); - name_ = b; - return b; - } else { - return (com.google.protobuf.ByteString) ref; - } + public double getRequest() { + return request_; } - public static final int CLUSTER_IP_FIELD_NUMBER = 2; - @SuppressWarnings("serial") - private volatile java.lang.Object clusterIp_ = ""; + public static final int USAGE_FIELD_NUMBER = 3; + private double usage_ = 0D; /** *
-     * The cluster ip of the svc.
+     * The CPU usage.
      * 
* - * string cluster_ip = 2 [json_name = "clusterIp"]; - * @return The clusterIp. + * double usage = 3; + * @return The usage. */ @java.lang.Override - public java.lang.String getClusterIp() { - java.lang.Object ref = clusterIp_; - 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(); - clusterIp_ = s; - return s; - } + public double getUsage() { + return usage_; } - /** - *
-     * The cluster ip of the svc.
-     * 
- * - * string cluster_ip = 2 [json_name = "clusterIp"]; - * @return The bytes for clusterIp. - */ + + private byte memoizedIsInitialized = -1; @java.lang.Override - public com.google.protobuf.ByteString - getClusterIpBytes() { - java.lang.Object ref = clusterIp_; - if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); - clusterIp_ = b; - return b; - } else { - return (com.google.protobuf.ByteString) ref; - } - } + public final boolean isInitialized() { + byte isInitialized = memoizedIsInitialized; + if (isInitialized == 1) return true; + if (isInitialized == 0) return false; - public static final int CLUSTER_IPS_FIELD_NUMBER = 3; - @SuppressWarnings("serial") - private com.google.protobuf.LazyStringArrayList clusterIps_ = - com.google.protobuf.LazyStringArrayList.emptyList(); - /** - *
-     * The cluster ips of the svc.
-     * 
- * - * repeated string cluster_ips = 3 [json_name = "clusterIps"]; - * @return A list containing the clusterIps. - */ - public com.google.protobuf.ProtocolStringList - getClusterIpsList() { - return clusterIps_; - } - /** - *
-     * The cluster ips of the svc.
-     * 
- * - * repeated string cluster_ips = 3 [json_name = "clusterIps"]; - * @return The count of clusterIps. - */ - public int getClusterIpsCount() { - return clusterIps_.size(); - } - /** - *
-     * The cluster ips of the svc.
-     * 
- * - * repeated string cluster_ips = 3 [json_name = "clusterIps"]; - * @param index The index of the element to return. - * @return The clusterIps at the given index. - */ - public java.lang.String getClusterIps(int index) { - return clusterIps_.get(index); - } - /** - *
-     * The cluster ips of the svc.
-     * 
- * - * repeated string cluster_ips = 3 [json_name = "clusterIps"]; - * @param index The index of the value to return. - * @return The bytes of the clusterIps at the given index. - */ - public com.google.protobuf.ByteString - getClusterIpsBytes(int index) { - return clusterIps_.getByteString(index); + memoizedIsInitialized = 1; + return true; } - public static final int PORTS_FIELD_NUMBER = 4; - @SuppressWarnings("serial") - private java.util.List ports_; - /** - *
-     * The port of the svc.
-     * 
- * - * repeated .payload.v1.Info.ServicePort ports = 4 [json_name = "ports"]; - */ @java.lang.Override - public java.util.List getPortsList() { - return ports_; + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { + if (java.lang.Double.doubleToRawLongBits(limit_) != 0) { + output.writeDouble(1, limit_); + } + if (java.lang.Double.doubleToRawLongBits(request_) != 0) { + output.writeDouble(2, request_); + } + if (java.lang.Double.doubleToRawLongBits(usage_) != 0) { + output.writeDouble(3, usage_); + } + getUnknownFields().writeTo(output); } - /** - *
-     * The port of the svc.
-     * 
- * - * repeated .payload.v1.Info.ServicePort ports = 4 [json_name = "ports"]; - */ - @java.lang.Override - public java.util.List - getPortsOrBuilderList() { - return ports_; - } - /** - *
-     * The port of the svc.
-     * 
- * - * repeated .payload.v1.Info.ServicePort ports = 4 [json_name = "ports"]; - */ - @java.lang.Override - public int getPortsCount() { - return ports_.size(); - } - /** - *
-     * The port of the svc.
-     * 
- * - * repeated .payload.v1.Info.ServicePort ports = 4 [json_name = "ports"]; - */ - @java.lang.Override - public org.vdaas.vald.api.v1.payload.Info.ServicePort getPorts(int index) { - return ports_.get(index); - } - /** - *
-     * The port of the svc.
-     * 
- * - * repeated .payload.v1.Info.ServicePort ports = 4 [json_name = "ports"]; - */ - @java.lang.Override - public org.vdaas.vald.api.v1.payload.Info.ServicePortOrBuilder getPortsOrBuilder( - int index) { - return ports_.get(index); - } - - public static final int LABELS_FIELD_NUMBER = 5; - private org.vdaas.vald.api.v1.payload.Info.Labels labels_; - /** - *
-     * The labels of the service.
-     * 
- * - * .payload.v1.Info.Labels labels = 5 [json_name = "labels"]; - * @return Whether the labels field is set. - */ - @java.lang.Override - public boolean hasLabels() { - return ((bitField0_ & 0x00000001) != 0); - } - /** - *
-     * The labels of the service.
-     * 
- * - * .payload.v1.Info.Labels labels = 5 [json_name = "labels"]; - * @return The labels. - */ - @java.lang.Override - public org.vdaas.vald.api.v1.payload.Info.Labels getLabels() { - return labels_ == null ? org.vdaas.vald.api.v1.payload.Info.Labels.getDefaultInstance() : labels_; - } - /** - *
-     * The labels of the service.
-     * 
- * - * .payload.v1.Info.Labels labels = 5 [json_name = "labels"]; - */ - @java.lang.Override - public org.vdaas.vald.api.v1.payload.Info.LabelsOrBuilder getLabelsOrBuilder() { - return labels_ == null ? org.vdaas.vald.api.v1.payload.Info.Labels.getDefaultInstance() : labels_; - } - - public static final int ANNOTATIONS_FIELD_NUMBER = 6; - private org.vdaas.vald.api.v1.payload.Info.Annotations annotations_; - /** - *
-     * The annotations of the service.
-     * 
- * - * .payload.v1.Info.Annotations annotations = 6 [json_name = "annotations"]; - * @return Whether the annotations field is set. - */ - @java.lang.Override - public boolean hasAnnotations() { - return ((bitField0_ & 0x00000002) != 0); - } - /** - *
-     * The annotations of the service.
-     * 
- * - * .payload.v1.Info.Annotations annotations = 6 [json_name = "annotations"]; - * @return The annotations. - */ - @java.lang.Override - public org.vdaas.vald.api.v1.payload.Info.Annotations getAnnotations() { - return annotations_ == null ? org.vdaas.vald.api.v1.payload.Info.Annotations.getDefaultInstance() : annotations_; - } - /** - *
-     * The annotations of the service.
-     * 
- * - * .payload.v1.Info.Annotations annotations = 6 [json_name = "annotations"]; - */ - @java.lang.Override - public org.vdaas.vald.api.v1.payload.Info.AnnotationsOrBuilder getAnnotationsOrBuilder() { - return annotations_ == null ? org.vdaas.vald.api.v1.payload.Info.Annotations.getDefaultInstance() : annotations_; - } - - 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(name_)) { - com.google.protobuf.GeneratedMessageV3.writeString(output, 1, name_); - } - if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(clusterIp_)) { - com.google.protobuf.GeneratedMessageV3.writeString(output, 2, clusterIp_); - } - for (int i = 0; i < clusterIps_.size(); i++) { - com.google.protobuf.GeneratedMessageV3.writeString(output, 3, clusterIps_.getRaw(i)); - } - for (int i = 0; i < ports_.size(); i++) { - output.writeMessage(4, ports_.get(i)); - } - if (((bitField0_ & 0x00000001) != 0)) { - output.writeMessage(5, getLabels()); - } - if (((bitField0_ & 0x00000002) != 0)) { - output.writeMessage(6, getAnnotations()); - } - 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(name_)) { - size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, name_); - } - if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(clusterIp_)) { - size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, clusterIp_); - } - { - int dataSize = 0; - for (int i = 0; i < clusterIps_.size(); i++) { - dataSize += computeStringSizeNoTag(clusterIps_.getRaw(i)); - } - size += dataSize; - size += 1 * getClusterIpsList().size(); - } - for (int i = 0; i < ports_.size(); i++) { + if (java.lang.Double.doubleToRawLongBits(limit_) != 0) { size += com.google.protobuf.CodedOutputStream - .computeMessageSize(4, ports_.get(i)); + .computeDoubleSize(1, limit_); } - if (((bitField0_ & 0x00000001) != 0)) { + if (java.lang.Double.doubleToRawLongBits(request_) != 0) { size += com.google.protobuf.CodedOutputStream - .computeMessageSize(5, getLabels()); + .computeDoubleSize(2, request_); } - if (((bitField0_ & 0x00000002) != 0)) { + if (java.lang.Double.doubleToRawLongBits(usage_) != 0) { size += com.google.protobuf.CodedOutputStream - .computeMessageSize(6, getAnnotations()); + .computeDoubleSize(3, usage_); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -7032,29 +6614,20 @@ public boolean equals(final java.lang.Object obj) { if (obj == this) { return true; } - if (!(obj instanceof org.vdaas.vald.api.v1.payload.Info.Service)) { + if (!(obj instanceof org.vdaas.vald.api.v1.payload.Info.CPU)) { return super.equals(obj); } - org.vdaas.vald.api.v1.payload.Info.Service other = (org.vdaas.vald.api.v1.payload.Info.Service) obj; + org.vdaas.vald.api.v1.payload.Info.CPU other = (org.vdaas.vald.api.v1.payload.Info.CPU) obj; - if (!getName() - .equals(other.getName())) return false; - if (!getClusterIp() - .equals(other.getClusterIp())) return false; - if (!getClusterIpsList() - .equals(other.getClusterIpsList())) return false; - if (!getPortsList() - .equals(other.getPortsList())) return false; - if (hasLabels() != other.hasLabels()) return false; - if (hasLabels()) { - if (!getLabels() - .equals(other.getLabels())) return false; - } - if (hasAnnotations() != other.hasAnnotations()) return false; - if (hasAnnotations()) { - if (!getAnnotations() - .equals(other.getAnnotations())) return false; - } + if (java.lang.Double.doubleToLongBits(getLimit()) + != java.lang.Double.doubleToLongBits( + other.getLimit())) return false; + if (java.lang.Double.doubleToLongBits(getRequest()) + != java.lang.Double.doubleToLongBits( + other.getRequest())) return false; + if (java.lang.Double.doubleToLongBits(getUsage()) + != java.lang.Double.doubleToLongBits( + other.getUsage())) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -7066,69 +6639,58 @@ public int hashCode() { } int hash = 41; hash = (19 * hash) + getDescriptor().hashCode(); - hash = (37 * hash) + NAME_FIELD_NUMBER; - hash = (53 * hash) + getName().hashCode(); - hash = (37 * hash) + CLUSTER_IP_FIELD_NUMBER; - hash = (53 * hash) + getClusterIp().hashCode(); - if (getClusterIpsCount() > 0) { - hash = (37 * hash) + CLUSTER_IPS_FIELD_NUMBER; - hash = (53 * hash) + getClusterIpsList().hashCode(); - } - if (getPortsCount() > 0) { - hash = (37 * hash) + PORTS_FIELD_NUMBER; - hash = (53 * hash) + getPortsList().hashCode(); - } - if (hasLabels()) { - hash = (37 * hash) + LABELS_FIELD_NUMBER; - hash = (53 * hash) + getLabels().hashCode(); - } - if (hasAnnotations()) { - hash = (37 * hash) + ANNOTATIONS_FIELD_NUMBER; - hash = (53 * hash) + getAnnotations().hashCode(); - } + hash = (37 * hash) + LIMIT_FIELD_NUMBER; + hash = (53 * hash) + com.google.protobuf.Internal.hashLong( + java.lang.Double.doubleToLongBits(getLimit())); + hash = (37 * hash) + REQUEST_FIELD_NUMBER; + hash = (53 * hash) + com.google.protobuf.Internal.hashLong( + java.lang.Double.doubleToLongBits(getRequest())); + hash = (37 * hash) + USAGE_FIELD_NUMBER; + hash = (53 * hash) + com.google.protobuf.Internal.hashLong( + java.lang.Double.doubleToLongBits(getUsage())); hash = (29 * hash) + getUnknownFields().hashCode(); memoizedHashCode = hash; return hash; } - public static org.vdaas.vald.api.v1.payload.Info.Service parseFrom( + public static org.vdaas.vald.api.v1.payload.Info.CPU parseFrom( java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static org.vdaas.vald.api.v1.payload.Info.Service parseFrom( + public static org.vdaas.vald.api.v1.payload.Info.CPU parseFrom( java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static org.vdaas.vald.api.v1.payload.Info.Service parseFrom( + public static org.vdaas.vald.api.v1.payload.Info.CPU parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static org.vdaas.vald.api.v1.payload.Info.Service parseFrom( + public static org.vdaas.vald.api.v1.payload.Info.CPU parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static org.vdaas.vald.api.v1.payload.Info.Service parseFrom(byte[] data) + public static org.vdaas.vald.api.v1.payload.Info.CPU parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static org.vdaas.vald.api.v1.payload.Info.Service parseFrom( + public static org.vdaas.vald.api.v1.payload.Info.CPU parseFrom( byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static org.vdaas.vald.api.v1.payload.Info.Service parseFrom(java.io.InputStream input) + public static org.vdaas.vald.api.v1.payload.Info.CPU parseFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } - public static org.vdaas.vald.api.v1.payload.Info.Service parseFrom( + public static org.vdaas.vald.api.v1.payload.Info.CPU parseFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { @@ -7136,26 +6698,26 @@ public static org.vdaas.vald.api.v1.payload.Info.Service parseFrom( .parseWithIOException(PARSER, input, extensionRegistry); } - public static org.vdaas.vald.api.v1.payload.Info.Service parseDelimitedFrom(java.io.InputStream input) + public static org.vdaas.vald.api.v1.payload.Info.CPU parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseDelimitedWithIOException(PARSER, input); } - public static org.vdaas.vald.api.v1.payload.Info.Service parseDelimitedFrom( + public static org.vdaas.vald.api.v1.payload.Info.CPU 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 org.vdaas.vald.api.v1.payload.Info.Service parseFrom( + public static org.vdaas.vald.api.v1.payload.Info.CPU parseFrom( com.google.protobuf.CodedInputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } - public static org.vdaas.vald.api.v1.payload.Info.Service parseFrom( + public static org.vdaas.vald.api.v1.payload.Info.CPU parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { @@ -7168,7 +6730,7 @@ public static org.vdaas.vald.api.v1.payload.Info.Service parseFrom( public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(org.vdaas.vald.api.v1.payload.Info.Service prototype) { + public static Builder newBuilder(org.vdaas.vald.api.v1.payload.Info.CPU prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } @java.lang.Override @@ -7185,88 +6747,62 @@ protected Builder newBuilderForType( } /** *
-     * Represent the service information message.
+     * Represent the CPU information message.
      * 
* - * Protobuf type {@code payload.v1.Info.Service} + * Protobuf type {@code payload.v1.Info.CPU} */ public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder implements - // @@protoc_insertion_point(builder_implements:payload.v1.Info.Service) - org.vdaas.vald.api.v1.payload.Info.ServiceOrBuilder { + // @@protoc_insertion_point(builder_implements:payload.v1.Info.CPU) + org.vdaas.vald.api.v1.payload.Info.CPUOrBuilder { public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return org.vdaas.vald.api.v1.payload.ValdPayload.internal_static_payload_v1_Info_Service_descriptor; + return org.vdaas.vald.api.v1.payload.ValdPayload.internal_static_payload_v1_Info_CPU_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return org.vdaas.vald.api.v1.payload.ValdPayload.internal_static_payload_v1_Info_Service_fieldAccessorTable + return org.vdaas.vald.api.v1.payload.ValdPayload.internal_static_payload_v1_Info_CPU_fieldAccessorTable .ensureFieldAccessorsInitialized( - org.vdaas.vald.api.v1.payload.Info.Service.class, org.vdaas.vald.api.v1.payload.Info.Service.Builder.class); + org.vdaas.vald.api.v1.payload.Info.CPU.class, org.vdaas.vald.api.v1.payload.Info.CPU.Builder.class); } - // Construct using org.vdaas.vald.api.v1.payload.Info.Service.newBuilder() + // Construct using org.vdaas.vald.api.v1.payload.Info.CPU.newBuilder() private Builder() { - maybeForceBuilderInitialization(); + } private Builder( com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); - maybeForceBuilderInitialization(); - } - private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3 - .alwaysUseFieldBuilders) { - getPortsFieldBuilder(); - getLabelsFieldBuilder(); - getAnnotationsFieldBuilder(); - } + } @java.lang.Override public Builder clear() { super.clear(); bitField0_ = 0; - name_ = ""; - clusterIp_ = ""; - clusterIps_ = - com.google.protobuf.LazyStringArrayList.emptyList(); - if (portsBuilder_ == null) { - ports_ = java.util.Collections.emptyList(); - } else { - ports_ = null; - portsBuilder_.clear(); - } - bitField0_ = (bitField0_ & ~0x00000008); - labels_ = null; - if (labelsBuilder_ != null) { - labelsBuilder_.dispose(); - labelsBuilder_ = null; - } - annotations_ = null; - if (annotationsBuilder_ != null) { - annotationsBuilder_.dispose(); - annotationsBuilder_ = null; - } + limit_ = 0D; + request_ = 0D; + usage_ = 0D; return this; } @java.lang.Override public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return org.vdaas.vald.api.v1.payload.ValdPayload.internal_static_payload_v1_Info_Service_descriptor; + return org.vdaas.vald.api.v1.payload.ValdPayload.internal_static_payload_v1_Info_CPU_descriptor; } @java.lang.Override - public org.vdaas.vald.api.v1.payload.Info.Service getDefaultInstanceForType() { - return org.vdaas.vald.api.v1.payload.Info.Service.getDefaultInstance(); + public org.vdaas.vald.api.v1.payload.Info.CPU getDefaultInstanceForType() { + return org.vdaas.vald.api.v1.payload.Info.CPU.getDefaultInstance(); } @java.lang.Override - public org.vdaas.vald.api.v1.payload.Info.Service build() { - org.vdaas.vald.api.v1.payload.Info.Service result = buildPartial(); + public org.vdaas.vald.api.v1.payload.Info.CPU build() { + org.vdaas.vald.api.v1.payload.Info.CPU result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } @@ -7274,52 +6810,24 @@ public org.vdaas.vald.api.v1.payload.Info.Service build() { } @java.lang.Override - public org.vdaas.vald.api.v1.payload.Info.Service buildPartial() { - org.vdaas.vald.api.v1.payload.Info.Service result = new org.vdaas.vald.api.v1.payload.Info.Service(this); - buildPartialRepeatedFields(result); + public org.vdaas.vald.api.v1.payload.Info.CPU buildPartial() { + org.vdaas.vald.api.v1.payload.Info.CPU result = new org.vdaas.vald.api.v1.payload.Info.CPU(this); if (bitField0_ != 0) { buildPartial0(result); } onBuilt(); return result; } - private void buildPartialRepeatedFields(org.vdaas.vald.api.v1.payload.Info.Service result) { - if (portsBuilder_ == null) { - if (((bitField0_ & 0x00000008) != 0)) { - ports_ = java.util.Collections.unmodifiableList(ports_); - bitField0_ = (bitField0_ & ~0x00000008); - } - result.ports_ = ports_; - } else { - result.ports_ = portsBuilder_.build(); - } - } - - private void buildPartial0(org.vdaas.vald.api.v1.payload.Info.Service result) { + private void buildPartial0(org.vdaas.vald.api.v1.payload.Info.CPU result) { int from_bitField0_ = bitField0_; if (((from_bitField0_ & 0x00000001) != 0)) { - result.name_ = name_; + result.limit_ = limit_; } if (((from_bitField0_ & 0x00000002) != 0)) { - result.clusterIp_ = clusterIp_; + result.request_ = request_; } if (((from_bitField0_ & 0x00000004) != 0)) { - clusterIps_.makeImmutable(); - result.clusterIps_ = clusterIps_; - } - int to_bitField0_ = 0; - if (((from_bitField0_ & 0x00000010) != 0)) { - result.labels_ = labelsBuilder_ == null - ? labels_ - : labelsBuilder_.build(); - to_bitField0_ |= 0x00000001; - } - if (((from_bitField0_ & 0x00000020) != 0)) { - result.annotations_ = annotationsBuilder_ == null - ? annotations_ - : annotationsBuilder_.build(); - to_bitField0_ |= 0x00000002; + result.usage_ = usage_; } - result.bitField0_ |= to_bitField0_; } @java.lang.Override @@ -7356,67 +6864,24 @@ public Builder addRepeatedField( } @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { - if (other instanceof org.vdaas.vald.api.v1.payload.Info.Service) { - return mergeFrom((org.vdaas.vald.api.v1.payload.Info.Service)other); + if (other instanceof org.vdaas.vald.api.v1.payload.Info.CPU) { + return mergeFrom((org.vdaas.vald.api.v1.payload.Info.CPU)other); } else { super.mergeFrom(other); return this; } } - public Builder mergeFrom(org.vdaas.vald.api.v1.payload.Info.Service other) { - if (other == org.vdaas.vald.api.v1.payload.Info.Service.getDefaultInstance()) return this; - if (!other.getName().isEmpty()) { - name_ = other.name_; - bitField0_ |= 0x00000001; - onChanged(); - } - if (!other.getClusterIp().isEmpty()) { - clusterIp_ = other.clusterIp_; - bitField0_ |= 0x00000002; - onChanged(); - } - if (!other.clusterIps_.isEmpty()) { - if (clusterIps_.isEmpty()) { - clusterIps_ = other.clusterIps_; - bitField0_ |= 0x00000004; - } else { - ensureClusterIpsIsMutable(); - clusterIps_.addAll(other.clusterIps_); - } - onChanged(); - } - if (portsBuilder_ == null) { - if (!other.ports_.isEmpty()) { - if (ports_.isEmpty()) { - ports_ = other.ports_; - bitField0_ = (bitField0_ & ~0x00000008); - } else { - ensurePortsIsMutable(); - ports_.addAll(other.ports_); - } - onChanged(); - } - } else { - if (!other.ports_.isEmpty()) { - if (portsBuilder_.isEmpty()) { - portsBuilder_.dispose(); - portsBuilder_ = null; - ports_ = other.ports_; - bitField0_ = (bitField0_ & ~0x00000008); - portsBuilder_ = - com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? - getPortsFieldBuilder() : null; - } else { - portsBuilder_.addAllMessages(other.ports_); - } - } + public Builder mergeFrom(org.vdaas.vald.api.v1.payload.Info.CPU other) { + if (other == org.vdaas.vald.api.v1.payload.Info.CPU.getDefaultInstance()) return this; + if (other.getLimit() != 0D) { + setLimit(other.getLimit()); } - if (other.hasLabels()) { - mergeLabels(other.getLabels()); + if (other.getRequest() != 0D) { + setRequest(other.getRequest()); } - if (other.hasAnnotations()) { - mergeAnnotations(other.getAnnotations()); + if (other.getUsage() != 0D) { + setUsage(other.getUsage()); } this.mergeUnknownFields(other.getUnknownFields()); onChanged(); @@ -7444,49 +6909,21 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: { - name_ = input.readStringRequireUtf8(); + case 9: { + limit_ = input.readDouble(); bitField0_ |= 0x00000001; break; - } // case 10 - case 18: { - clusterIp_ = input.readStringRequireUtf8(); + } // case 9 + case 17: { + request_ = input.readDouble(); bitField0_ |= 0x00000002; break; - } // case 18 - case 26: { - java.lang.String s = input.readStringRequireUtf8(); - ensureClusterIpsIsMutable(); - clusterIps_.add(s); + } // case 17 + case 25: { + usage_ = input.readDouble(); + bitField0_ |= 0x00000004; break; - } // case 26 - case 34: { - org.vdaas.vald.api.v1.payload.Info.ServicePort m = - input.readMessage( - org.vdaas.vald.api.v1.payload.Info.ServicePort.parser(), - extensionRegistry); - if (portsBuilder_ == null) { - ensurePortsIsMutable(); - ports_.add(m); - } else { - portsBuilder_.addMessage(m); - } - break; - } // case 34 - case 42: { - input.readMessage( - getLabelsFieldBuilder().getBuilder(), - extensionRegistry); - bitField0_ |= 0x00000010; - break; - } // case 42 - case 50: { - input.readMessage( - getAnnotationsFieldBuilder().getBuilder(), - extensionRegistry); - bitField0_ |= 0x00000020; - break; - } // case 50 + } // case 25 default: { if (!super.parseUnknownField(input, extensionRegistry, tag)) { done = true; // was an endgroup tag @@ -7504,4518 +6941,167 @@ public Builder mergeFrom( } private int bitField0_; - private java.lang.Object name_ = ""; - /** - *
-       * The name of the svc.
-       * 
- * - * string name = 1 [json_name = "name"]; - * @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; - } - } + private double limit_ ; /** *
-       * The name of the svc.
+       * The CPU resource limit.
        * 
* - * string name = 1 [json_name = "name"]; - * @return The bytes for name. + * double limit = 1; + * @return The limit. */ - 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; - } + @java.lang.Override + public double getLimit() { + return limit_; } /** *
-       * The name of the svc.
+       * The CPU resource limit.
        * 
* - * string name = 1 [json_name = "name"]; - * @param value The name to set. + * double limit = 1; + * @param value The limit to set. * @return This builder for chaining. */ - public Builder setName( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } - name_ = value; + public Builder setLimit(double value) { + + limit_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } /** *
-       * The name of the svc.
+       * The CPU resource limit.
        * 
* - * string name = 1 [json_name = "name"]; + * double limit = 1; * @return This builder for chaining. */ - public Builder clearName() { - name_ = getDefaultInstance().getName(); + public Builder clearLimit() { bitField0_ = (bitField0_ & ~0x00000001); - onChanged(); - return this; - } - /** - *
-       * The name of the svc.
-       * 
- * - * string name = 1 [json_name = "name"]; - * @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; + limit_ = 0D; onChanged(); return this; } - private java.lang.Object clusterIp_ = ""; - /** - *
-       * The cluster ip of the svc.
-       * 
- * - * string cluster_ip = 2 [json_name = "clusterIp"]; - * @return The clusterIp. - */ - public java.lang.String getClusterIp() { - java.lang.Object ref = clusterIp_; - if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; - java.lang.String s = bs.toStringUtf8(); - clusterIp_ = s; - return s; - } else { - return (java.lang.String) ref; - } - } + private double request_ ; /** *
-       * The cluster ip of the svc.
+       * The CPU resource requested.
        * 
* - * string cluster_ip = 2 [json_name = "clusterIp"]; - * @return The bytes for clusterIp. + * double request = 2; + * @return The request. */ - public com.google.protobuf.ByteString - getClusterIpBytes() { - java.lang.Object ref = clusterIp_; - if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); - clusterIp_ = b; - return b; - } else { - return (com.google.protobuf.ByteString) ref; - } + @java.lang.Override + public double getRequest() { + return request_; } /** *
-       * The cluster ip of the svc.
+       * The CPU resource requested.
        * 
* - * string cluster_ip = 2 [json_name = "clusterIp"]; - * @param value The clusterIp to set. + * double request = 2; + * @param value The request to set. * @return This builder for chaining. */ - public Builder setClusterIp( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } - clusterIp_ = value; + public Builder setRequest(double value) { + + request_ = value; bitField0_ |= 0x00000002; onChanged(); return this; } /** *
-       * The cluster ip of the svc.
+       * The CPU resource requested.
        * 
* - * string cluster_ip = 2 [json_name = "clusterIp"]; + * double request = 2; * @return This builder for chaining. */ - public Builder clearClusterIp() { - clusterIp_ = getDefaultInstance().getClusterIp(); + public Builder clearRequest() { bitField0_ = (bitField0_ & ~0x00000002); - onChanged(); - return this; - } - /** - *
-       * The cluster ip of the svc.
-       * 
- * - * string cluster_ip = 2 [json_name = "clusterIp"]; - * @param value The bytes for clusterIp to set. - * @return This builder for chaining. - */ - public Builder setClusterIpBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } - checkByteStringIsUtf8(value); - clusterIp_ = value; - bitField0_ |= 0x00000002; + request_ = 0D; onChanged(); return this; } - private com.google.protobuf.LazyStringArrayList clusterIps_ = - com.google.protobuf.LazyStringArrayList.emptyList(); - private void ensureClusterIpsIsMutable() { - if (!clusterIps_.isModifiable()) { - clusterIps_ = new com.google.protobuf.LazyStringArrayList(clusterIps_); - } - bitField0_ |= 0x00000004; - } - /** - *
-       * The cluster ips of the svc.
-       * 
- * - * repeated string cluster_ips = 3 [json_name = "clusterIps"]; - * @return A list containing the clusterIps. - */ - public com.google.protobuf.ProtocolStringList - getClusterIpsList() { - clusterIps_.makeImmutable(); - return clusterIps_; - } - /** - *
-       * The cluster ips of the svc.
-       * 
- * - * repeated string cluster_ips = 3 [json_name = "clusterIps"]; - * @return The count of clusterIps. - */ - public int getClusterIpsCount() { - return clusterIps_.size(); - } - /** - *
-       * The cluster ips of the svc.
-       * 
- * - * repeated string cluster_ips = 3 [json_name = "clusterIps"]; - * @param index The index of the element to return. - * @return The clusterIps at the given index. - */ - public java.lang.String getClusterIps(int index) { - return clusterIps_.get(index); - } - /** - *
-       * The cluster ips of the svc.
-       * 
- * - * repeated string cluster_ips = 3 [json_name = "clusterIps"]; - * @param index The index of the value to return. - * @return The bytes of the clusterIps at the given index. - */ - public com.google.protobuf.ByteString - getClusterIpsBytes(int index) { - return clusterIps_.getByteString(index); - } - /** - *
-       * The cluster ips of the svc.
-       * 
- * - * repeated string cluster_ips = 3 [json_name = "clusterIps"]; - * @param index The index to set the value at. - * @param value The clusterIps to set. - * @return This builder for chaining. - */ - public Builder setClusterIps( - int index, java.lang.String value) { - if (value == null) { throw new NullPointerException(); } - ensureClusterIpsIsMutable(); - clusterIps_.set(index, value); - bitField0_ |= 0x00000004; - onChanged(); - return this; - } + private double usage_ ; /** *
-       * The cluster ips of the svc.
+       * The CPU usage.
        * 
* - * repeated string cluster_ips = 3 [json_name = "clusterIps"]; - * @param value The clusterIps to add. - * @return This builder for chaining. + * double usage = 3; + * @return The usage. */ - public Builder addClusterIps( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } - ensureClusterIpsIsMutable(); - clusterIps_.add(value); - bitField0_ |= 0x00000004; - onChanged(); - return this; + @java.lang.Override + public double getUsage() { + return usage_; } /** *
-       * The cluster ips of the svc.
+       * The CPU usage.
        * 
* - * repeated string cluster_ips = 3 [json_name = "clusterIps"]; - * @param values The clusterIps to add. + * double usage = 3; + * @param value The usage to set. * @return This builder for chaining. */ - public Builder addAllClusterIps( - java.lang.Iterable values) { - ensureClusterIpsIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll( - values, clusterIps_); + public Builder setUsage(double value) { + + usage_ = value; bitField0_ |= 0x00000004; onChanged(); return this; } /** *
-       * The cluster ips of the svc.
+       * The CPU usage.
        * 
* - * repeated string cluster_ips = 3 [json_name = "clusterIps"]; + * double usage = 3; * @return This builder for chaining. */ - public Builder clearClusterIps() { - clusterIps_ = - com.google.protobuf.LazyStringArrayList.emptyList(); - bitField0_ = (bitField0_ & ~0x00000004);; + public Builder clearUsage() { + bitField0_ = (bitField0_ & ~0x00000004); + usage_ = 0D; onChanged(); return this; } - /** - *
-       * The cluster ips of the svc.
-       * 
- * - * repeated string cluster_ips = 3 [json_name = "clusterIps"]; - * @param value The bytes of the clusterIps to add. - * @return This builder for chaining. - */ - public Builder addClusterIpsBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } - checkByteStringIsUtf8(value); - ensureClusterIpsIsMutable(); - clusterIps_.add(value); - bitField0_ |= 0x00000004; - onChanged(); - return this; + @java.lang.Override + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { + return super.setUnknownFields(unknownFields); } - private java.util.List ports_ = - java.util.Collections.emptyList(); - private void ensurePortsIsMutable() { - if (!((bitField0_ & 0x00000008) != 0)) { - ports_ = new java.util.ArrayList(ports_); - bitField0_ |= 0x00000008; - } + @java.lang.Override + public final Builder mergeUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { + return super.mergeUnknownFields(unknownFields); } - private com.google.protobuf.RepeatedFieldBuilderV3< - org.vdaas.vald.api.v1.payload.Info.ServicePort, org.vdaas.vald.api.v1.payload.Info.ServicePort.Builder, org.vdaas.vald.api.v1.payload.Info.ServicePortOrBuilder> portsBuilder_; - /** - *
-       * The port of the svc.
-       * 
- * - * repeated .payload.v1.Info.ServicePort ports = 4 [json_name = "ports"]; - */ - public java.util.List getPortsList() { - if (portsBuilder_ == null) { - return java.util.Collections.unmodifiableList(ports_); - } else { - return portsBuilder_.getMessageList(); - } - } - /** - *
-       * The port of the svc.
-       * 
- * - * repeated .payload.v1.Info.ServicePort ports = 4 [json_name = "ports"]; - */ - public int getPortsCount() { - if (portsBuilder_ == null) { - return ports_.size(); - } else { - return portsBuilder_.getCount(); - } - } - /** - *
-       * The port of the svc.
-       * 
- * - * repeated .payload.v1.Info.ServicePort ports = 4 [json_name = "ports"]; - */ - public org.vdaas.vald.api.v1.payload.Info.ServicePort getPorts(int index) { - if (portsBuilder_ == null) { - return ports_.get(index); - } else { - return portsBuilder_.getMessage(index); - } - } - /** - *
-       * The port of the svc.
-       * 
- * - * repeated .payload.v1.Info.ServicePort ports = 4 [json_name = "ports"]; - */ - public Builder setPorts( - int index, org.vdaas.vald.api.v1.payload.Info.ServicePort value) { - if (portsBuilder_ == null) { - if (value == null) { - throw new NullPointerException(); - } - ensurePortsIsMutable(); - ports_.set(index, value); - onChanged(); - } else { - portsBuilder_.setMessage(index, value); - } - return this; - } - /** - *
-       * The port of the svc.
-       * 
- * - * repeated .payload.v1.Info.ServicePort ports = 4 [json_name = "ports"]; - */ - public Builder setPorts( - int index, org.vdaas.vald.api.v1.payload.Info.ServicePort.Builder builderForValue) { - if (portsBuilder_ == null) { - ensurePortsIsMutable(); - ports_.set(index, builderForValue.build()); - onChanged(); - } else { - portsBuilder_.setMessage(index, builderForValue.build()); - } - return this; - } - /** - *
-       * The port of the svc.
-       * 
- * - * repeated .payload.v1.Info.ServicePort ports = 4 [json_name = "ports"]; - */ - public Builder addPorts(org.vdaas.vald.api.v1.payload.Info.ServicePort value) { - if (portsBuilder_ == null) { - if (value == null) { - throw new NullPointerException(); - } - ensurePortsIsMutable(); - ports_.add(value); - onChanged(); - } else { - portsBuilder_.addMessage(value); - } - return this; - } - /** - *
-       * The port of the svc.
-       * 
- * - * repeated .payload.v1.Info.ServicePort ports = 4 [json_name = "ports"]; - */ - public Builder addPorts( - int index, org.vdaas.vald.api.v1.payload.Info.ServicePort value) { - if (portsBuilder_ == null) { - if (value == null) { - throw new NullPointerException(); - } - ensurePortsIsMutable(); - ports_.add(index, value); - onChanged(); - } else { - portsBuilder_.addMessage(index, value); - } - return this; - } - /** - *
-       * The port of the svc.
-       * 
- * - * repeated .payload.v1.Info.ServicePort ports = 4 [json_name = "ports"]; - */ - public Builder addPorts( - org.vdaas.vald.api.v1.payload.Info.ServicePort.Builder builderForValue) { - if (portsBuilder_ == null) { - ensurePortsIsMutable(); - ports_.add(builderForValue.build()); - onChanged(); - } else { - portsBuilder_.addMessage(builderForValue.build()); - } - return this; - } - /** - *
-       * The port of the svc.
-       * 
- * - * repeated .payload.v1.Info.ServicePort ports = 4 [json_name = "ports"]; - */ - public Builder addPorts( - int index, org.vdaas.vald.api.v1.payload.Info.ServicePort.Builder builderForValue) { - if (portsBuilder_ == null) { - ensurePortsIsMutable(); - ports_.add(index, builderForValue.build()); - onChanged(); - } else { - portsBuilder_.addMessage(index, builderForValue.build()); - } - return this; - } - /** - *
-       * The port of the svc.
-       * 
- * - * repeated .payload.v1.Info.ServicePort ports = 4 [json_name = "ports"]; - */ - public Builder addAllPorts( - java.lang.Iterable values) { - if (portsBuilder_ == null) { - ensurePortsIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll( - values, ports_); - onChanged(); - } else { - portsBuilder_.addAllMessages(values); - } - return this; - } - /** - *
-       * The port of the svc.
-       * 
- * - * repeated .payload.v1.Info.ServicePort ports = 4 [json_name = "ports"]; - */ - public Builder clearPorts() { - if (portsBuilder_ == null) { - ports_ = java.util.Collections.emptyList(); - bitField0_ = (bitField0_ & ~0x00000008); - onChanged(); - } else { - portsBuilder_.clear(); - } - return this; - } - /** - *
-       * The port of the svc.
-       * 
- * - * repeated .payload.v1.Info.ServicePort ports = 4 [json_name = "ports"]; - */ - public Builder removePorts(int index) { - if (portsBuilder_ == null) { - ensurePortsIsMutable(); - ports_.remove(index); - onChanged(); - } else { - portsBuilder_.remove(index); - } - return this; - } - /** - *
-       * The port of the svc.
-       * 
- * - * repeated .payload.v1.Info.ServicePort ports = 4 [json_name = "ports"]; - */ - public org.vdaas.vald.api.v1.payload.Info.ServicePort.Builder getPortsBuilder( - int index) { - return getPortsFieldBuilder().getBuilder(index); - } - /** - *
-       * The port of the svc.
-       * 
- * - * repeated .payload.v1.Info.ServicePort ports = 4 [json_name = "ports"]; - */ - public org.vdaas.vald.api.v1.payload.Info.ServicePortOrBuilder getPortsOrBuilder( - int index) { - if (portsBuilder_ == null) { - return ports_.get(index); } else { - return portsBuilder_.getMessageOrBuilder(index); - } - } - /** - *
-       * The port of the svc.
-       * 
- * - * repeated .payload.v1.Info.ServicePort ports = 4 [json_name = "ports"]; - */ - public java.util.List - getPortsOrBuilderList() { - if (portsBuilder_ != null) { - return portsBuilder_.getMessageOrBuilderList(); - } else { - return java.util.Collections.unmodifiableList(ports_); - } - } - /** - *
-       * The port of the svc.
-       * 
- * - * repeated .payload.v1.Info.ServicePort ports = 4 [json_name = "ports"]; - */ - public org.vdaas.vald.api.v1.payload.Info.ServicePort.Builder addPortsBuilder() { - return getPortsFieldBuilder().addBuilder( - org.vdaas.vald.api.v1.payload.Info.ServicePort.getDefaultInstance()); - } - /** - *
-       * The port of the svc.
-       * 
- * - * repeated .payload.v1.Info.ServicePort ports = 4 [json_name = "ports"]; - */ - public org.vdaas.vald.api.v1.payload.Info.ServicePort.Builder addPortsBuilder( - int index) { - return getPortsFieldBuilder().addBuilder( - index, org.vdaas.vald.api.v1.payload.Info.ServicePort.getDefaultInstance()); - } - /** - *
-       * The port of the svc.
-       * 
- * - * repeated .payload.v1.Info.ServicePort ports = 4 [json_name = "ports"]; - */ - public java.util.List - getPortsBuilderList() { - return getPortsFieldBuilder().getBuilderList(); - } - private com.google.protobuf.RepeatedFieldBuilderV3< - org.vdaas.vald.api.v1.payload.Info.ServicePort, org.vdaas.vald.api.v1.payload.Info.ServicePort.Builder, org.vdaas.vald.api.v1.payload.Info.ServicePortOrBuilder> - getPortsFieldBuilder() { - if (portsBuilder_ == null) { - portsBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< - org.vdaas.vald.api.v1.payload.Info.ServicePort, org.vdaas.vald.api.v1.payload.Info.ServicePort.Builder, org.vdaas.vald.api.v1.payload.Info.ServicePortOrBuilder>( - ports_, - ((bitField0_ & 0x00000008) != 0), - getParentForChildren(), - isClean()); - ports_ = null; - } - return portsBuilder_; - } - - private org.vdaas.vald.api.v1.payload.Info.Labels labels_; - private com.google.protobuf.SingleFieldBuilderV3< - org.vdaas.vald.api.v1.payload.Info.Labels, org.vdaas.vald.api.v1.payload.Info.Labels.Builder, org.vdaas.vald.api.v1.payload.Info.LabelsOrBuilder> labelsBuilder_; - /** - *
-       * The labels of the service.
-       * 
- * - * .payload.v1.Info.Labels labels = 5 [json_name = "labels"]; - * @return Whether the labels field is set. - */ - public boolean hasLabels() { - return ((bitField0_ & 0x00000010) != 0); - } - /** - *
-       * The labels of the service.
-       * 
- * - * .payload.v1.Info.Labels labels = 5 [json_name = "labels"]; - * @return The labels. - */ - public org.vdaas.vald.api.v1.payload.Info.Labels getLabels() { - if (labelsBuilder_ == null) { - return labels_ == null ? org.vdaas.vald.api.v1.payload.Info.Labels.getDefaultInstance() : labels_; - } else { - return labelsBuilder_.getMessage(); - } - } - /** - *
-       * The labels of the service.
-       * 
- * - * .payload.v1.Info.Labels labels = 5 [json_name = "labels"]; - */ - public Builder setLabels(org.vdaas.vald.api.v1.payload.Info.Labels value) { - if (labelsBuilder_ == null) { - if (value == null) { - throw new NullPointerException(); - } - labels_ = value; - } else { - labelsBuilder_.setMessage(value); - } - bitField0_ |= 0x00000010; - onChanged(); - return this; - } - /** - *
-       * The labels of the service.
-       * 
- * - * .payload.v1.Info.Labels labels = 5 [json_name = "labels"]; - */ - public Builder setLabels( - org.vdaas.vald.api.v1.payload.Info.Labels.Builder builderForValue) { - if (labelsBuilder_ == null) { - labels_ = builderForValue.build(); - } else { - labelsBuilder_.setMessage(builderForValue.build()); - } - bitField0_ |= 0x00000010; - onChanged(); - return this; - } - /** - *
-       * The labels of the service.
-       * 
- * - * .payload.v1.Info.Labels labels = 5 [json_name = "labels"]; - */ - public Builder mergeLabels(org.vdaas.vald.api.v1.payload.Info.Labels value) { - if (labelsBuilder_ == null) { - if (((bitField0_ & 0x00000010) != 0) && - labels_ != null && - labels_ != org.vdaas.vald.api.v1.payload.Info.Labels.getDefaultInstance()) { - getLabelsBuilder().mergeFrom(value); - } else { - labels_ = value; - } - } else { - labelsBuilder_.mergeFrom(value); - } - if (labels_ != null) { - bitField0_ |= 0x00000010; - onChanged(); - } - return this; - } - /** - *
-       * The labels of the service.
-       * 
- * - * .payload.v1.Info.Labels labels = 5 [json_name = "labels"]; - */ - public Builder clearLabels() { - bitField0_ = (bitField0_ & ~0x00000010); - labels_ = null; - if (labelsBuilder_ != null) { - labelsBuilder_.dispose(); - labelsBuilder_ = null; - } - onChanged(); - return this; - } - /** - *
-       * The labels of the service.
-       * 
- * - * .payload.v1.Info.Labels labels = 5 [json_name = "labels"]; - */ - public org.vdaas.vald.api.v1.payload.Info.Labels.Builder getLabelsBuilder() { - bitField0_ |= 0x00000010; - onChanged(); - return getLabelsFieldBuilder().getBuilder(); - } - /** - *
-       * The labels of the service.
-       * 
- * - * .payload.v1.Info.Labels labels = 5 [json_name = "labels"]; - */ - public org.vdaas.vald.api.v1.payload.Info.LabelsOrBuilder getLabelsOrBuilder() { - if (labelsBuilder_ != null) { - return labelsBuilder_.getMessageOrBuilder(); - } else { - return labels_ == null ? - org.vdaas.vald.api.v1.payload.Info.Labels.getDefaultInstance() : labels_; - } - } - /** - *
-       * The labels of the service.
-       * 
- * - * .payload.v1.Info.Labels labels = 5 [json_name = "labels"]; - */ - private com.google.protobuf.SingleFieldBuilderV3< - org.vdaas.vald.api.v1.payload.Info.Labels, org.vdaas.vald.api.v1.payload.Info.Labels.Builder, org.vdaas.vald.api.v1.payload.Info.LabelsOrBuilder> - getLabelsFieldBuilder() { - if (labelsBuilder_ == null) { - labelsBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - org.vdaas.vald.api.v1.payload.Info.Labels, org.vdaas.vald.api.v1.payload.Info.Labels.Builder, org.vdaas.vald.api.v1.payload.Info.LabelsOrBuilder>( - getLabels(), - getParentForChildren(), - isClean()); - labels_ = null; - } - return labelsBuilder_; - } - - private org.vdaas.vald.api.v1.payload.Info.Annotations annotations_; - private com.google.protobuf.SingleFieldBuilderV3< - org.vdaas.vald.api.v1.payload.Info.Annotations, org.vdaas.vald.api.v1.payload.Info.Annotations.Builder, org.vdaas.vald.api.v1.payload.Info.AnnotationsOrBuilder> annotationsBuilder_; - /** - *
-       * The annotations of the service.
-       * 
- * - * .payload.v1.Info.Annotations annotations = 6 [json_name = "annotations"]; - * @return Whether the annotations field is set. - */ - public boolean hasAnnotations() { - return ((bitField0_ & 0x00000020) != 0); - } - /** - *
-       * The annotations of the service.
-       * 
- * - * .payload.v1.Info.Annotations annotations = 6 [json_name = "annotations"]; - * @return The annotations. - */ - public org.vdaas.vald.api.v1.payload.Info.Annotations getAnnotations() { - if (annotationsBuilder_ == null) { - return annotations_ == null ? org.vdaas.vald.api.v1.payload.Info.Annotations.getDefaultInstance() : annotations_; - } else { - return annotationsBuilder_.getMessage(); - } - } - /** - *
-       * The annotations of the service.
-       * 
- * - * .payload.v1.Info.Annotations annotations = 6 [json_name = "annotations"]; - */ - public Builder setAnnotations(org.vdaas.vald.api.v1.payload.Info.Annotations value) { - if (annotationsBuilder_ == null) { - if (value == null) { - throw new NullPointerException(); - } - annotations_ = value; - } else { - annotationsBuilder_.setMessage(value); - } - bitField0_ |= 0x00000020; - onChanged(); - return this; - } - /** - *
-       * The annotations of the service.
-       * 
- * - * .payload.v1.Info.Annotations annotations = 6 [json_name = "annotations"]; - */ - public Builder setAnnotations( - org.vdaas.vald.api.v1.payload.Info.Annotations.Builder builderForValue) { - if (annotationsBuilder_ == null) { - annotations_ = builderForValue.build(); - } else { - annotationsBuilder_.setMessage(builderForValue.build()); - } - bitField0_ |= 0x00000020; - onChanged(); - return this; - } - /** - *
-       * The annotations of the service.
-       * 
- * - * .payload.v1.Info.Annotations annotations = 6 [json_name = "annotations"]; - */ - public Builder mergeAnnotations(org.vdaas.vald.api.v1.payload.Info.Annotations value) { - if (annotationsBuilder_ == null) { - if (((bitField0_ & 0x00000020) != 0) && - annotations_ != null && - annotations_ != org.vdaas.vald.api.v1.payload.Info.Annotations.getDefaultInstance()) { - getAnnotationsBuilder().mergeFrom(value); - } else { - annotations_ = value; - } - } else { - annotationsBuilder_.mergeFrom(value); - } - if (annotations_ != null) { - bitField0_ |= 0x00000020; - onChanged(); - } - return this; - } - /** - *
-       * The annotations of the service.
-       * 
- * - * .payload.v1.Info.Annotations annotations = 6 [json_name = "annotations"]; - */ - public Builder clearAnnotations() { - bitField0_ = (bitField0_ & ~0x00000020); - annotations_ = null; - if (annotationsBuilder_ != null) { - annotationsBuilder_.dispose(); - annotationsBuilder_ = null; - } - onChanged(); - return this; - } - /** - *
-       * The annotations of the service.
-       * 
- * - * .payload.v1.Info.Annotations annotations = 6 [json_name = "annotations"]; - */ - public org.vdaas.vald.api.v1.payload.Info.Annotations.Builder getAnnotationsBuilder() { - bitField0_ |= 0x00000020; - onChanged(); - return getAnnotationsFieldBuilder().getBuilder(); - } - /** - *
-       * The annotations of the service.
-       * 
- * - * .payload.v1.Info.Annotations annotations = 6 [json_name = "annotations"]; - */ - public org.vdaas.vald.api.v1.payload.Info.AnnotationsOrBuilder getAnnotationsOrBuilder() { - if (annotationsBuilder_ != null) { - return annotationsBuilder_.getMessageOrBuilder(); - } else { - return annotations_ == null ? - org.vdaas.vald.api.v1.payload.Info.Annotations.getDefaultInstance() : annotations_; - } - } - /** - *
-       * The annotations of the service.
-       * 
- * - * .payload.v1.Info.Annotations annotations = 6 [json_name = "annotations"]; - */ - private com.google.protobuf.SingleFieldBuilderV3< - org.vdaas.vald.api.v1.payload.Info.Annotations, org.vdaas.vald.api.v1.payload.Info.Annotations.Builder, org.vdaas.vald.api.v1.payload.Info.AnnotationsOrBuilder> - getAnnotationsFieldBuilder() { - if (annotationsBuilder_ == null) { - annotationsBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - org.vdaas.vald.api.v1.payload.Info.Annotations, org.vdaas.vald.api.v1.payload.Info.Annotations.Builder, org.vdaas.vald.api.v1.payload.Info.AnnotationsOrBuilder>( - getAnnotations(), - getParentForChildren(), - isClean()); - annotations_ = null; - } - return annotationsBuilder_; - } - @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:payload.v1.Info.Service) - } - - // @@protoc_insertion_point(class_scope:payload.v1.Info.Service) - private static final org.vdaas.vald.api.v1.payload.Info.Service DEFAULT_INSTANCE; - static { - DEFAULT_INSTANCE = new org.vdaas.vald.api.v1.payload.Info.Service(); - } - - public static org.vdaas.vald.api.v1.payload.Info.Service getDefaultInstance() { - return DEFAULT_INSTANCE; - } - - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public Service 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 org.vdaas.vald.api.v1.payload.Info.Service getDefaultInstanceForType() { - return DEFAULT_INSTANCE; - } - - } - - public interface ServicePortOrBuilder extends - // @@protoc_insertion_point(interface_extends:payload.v1.Info.ServicePort) - com.google.protobuf.MessageOrBuilder { - - /** - *
-     * The name of the port.
-     * 
- * - * string name = 1 [json_name = "name"]; - * @return The name. - */ - java.lang.String getName(); - /** - *
-     * The name of the port.
-     * 
- * - * string name = 1 [json_name = "name"]; - * @return The bytes for name. - */ - com.google.protobuf.ByteString - getNameBytes(); - - /** - *
-     * The port number
-     * 
- * - * int32 port = 2 [json_name = "port"]; - * @return The port. - */ - int getPort(); - } - /** - *
-   * Represets the service port information message.
-   * 
- * - * Protobuf type {@code payload.v1.Info.ServicePort} - */ - public static final class ServicePort extends - com.google.protobuf.GeneratedMessageV3 implements - // @@protoc_insertion_point(message_implements:payload.v1.Info.ServicePort) - ServicePortOrBuilder { - private static final long serialVersionUID = 0L; - // Use ServicePort.newBuilder() to construct. - private ServicePort(com.google.protobuf.GeneratedMessageV3.Builder builder) { - super(builder); - } - private ServicePort() { - name_ = ""; - } - - @java.lang.Override - @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { - return new ServicePort(); - } - - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return org.vdaas.vald.api.v1.payload.ValdPayload.internal_static_payload_v1_Info_ServicePort_descriptor; - } - - @java.lang.Override - protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internalGetFieldAccessorTable() { - return org.vdaas.vald.api.v1.payload.ValdPayload.internal_static_payload_v1_Info_ServicePort_fieldAccessorTable - .ensureFieldAccessorsInitialized( - org.vdaas.vald.api.v1.payload.Info.ServicePort.class, org.vdaas.vald.api.v1.payload.Info.ServicePort.Builder.class); - } - - public static final int NAME_FIELD_NUMBER = 1; - @SuppressWarnings("serial") - private volatile java.lang.Object name_ = ""; - /** - *
-     * The name of the port.
-     * 
- * - * string name = 1 [json_name = "name"]; - * @return The name. - */ - @java.lang.Override - 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(); - name_ = s; - return s; - } - } - /** - *
-     * The name of the port.
-     * 
- * - * string name = 1 [json_name = "name"]; - * @return The bytes for name. - */ - @java.lang.Override - public com.google.protobuf.ByteString - getNameBytes() { - java.lang.Object ref = name_; - if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); - name_ = b; - return b; - } else { - return (com.google.protobuf.ByteString) ref; - } - } - - public static final int PORT_FIELD_NUMBER = 2; - private int port_ = 0; - /** - *
-     * The port number
-     * 
- * - * int32 port = 2 [json_name = "port"]; - * @return The port. - */ - @java.lang.Override - public int getPort() { - return port_; - } - - 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(name_)) { - com.google.protobuf.GeneratedMessageV3.writeString(output, 1, name_); - } - if (port_ != 0) { - output.writeInt32(2, port_); - } - 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(name_)) { - size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, name_); - } - if (port_ != 0) { - size += com.google.protobuf.CodedOutputStream - .computeInt32Size(2, port_); - } - 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 org.vdaas.vald.api.v1.payload.Info.ServicePort)) { - return super.equals(obj); - } - org.vdaas.vald.api.v1.payload.Info.ServicePort other = (org.vdaas.vald.api.v1.payload.Info.ServicePort) obj; - - if (!getName() - .equals(other.getName())) return false; - if (getPort() - != other.getPort()) 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) + PORT_FIELD_NUMBER; - hash = (53 * hash) + getPort(); - hash = (29 * hash) + getUnknownFields().hashCode(); - memoizedHashCode = hash; - return hash; - } - - public static org.vdaas.vald.api.v1.payload.Info.ServicePort parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data); - } - public static org.vdaas.vald.api.v1.payload.Info.ServicePort parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data, extensionRegistry); - } - public static org.vdaas.vald.api.v1.payload.Info.ServicePort parseFrom( - com.google.protobuf.ByteString data) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data); - } - public static org.vdaas.vald.api.v1.payload.Info.ServicePort parseFrom( - com.google.protobuf.ByteString data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data, extensionRegistry); - } - public static org.vdaas.vald.api.v1.payload.Info.ServicePort parseFrom(byte[] data) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data); - } - public static org.vdaas.vald.api.v1.payload.Info.ServicePort parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data, extensionRegistry); - } - public static org.vdaas.vald.api.v1.payload.Info.ServicePort parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); - } - public static org.vdaas.vald.api.v1.payload.Info.ServicePort 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 org.vdaas.vald.api.v1.payload.Info.ServicePort parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); - } - - public static org.vdaas.vald.api.v1.payload.Info.ServicePort 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 org.vdaas.vald.api.v1.payload.Info.ServicePort parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); - } - public static org.vdaas.vald.api.v1.payload.Info.ServicePort 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(org.vdaas.vald.api.v1.payload.Info.ServicePort 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; - } - /** - *
-     * Represets the service port information message.
-     * 
- * - * Protobuf type {@code payload.v1.Info.ServicePort} - */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements - // @@protoc_insertion_point(builder_implements:payload.v1.Info.ServicePort) - org.vdaas.vald.api.v1.payload.Info.ServicePortOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return org.vdaas.vald.api.v1.payload.ValdPayload.internal_static_payload_v1_Info_ServicePort_descriptor; - } - - @java.lang.Override - protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internalGetFieldAccessorTable() { - return org.vdaas.vald.api.v1.payload.ValdPayload.internal_static_payload_v1_Info_ServicePort_fieldAccessorTable - .ensureFieldAccessorsInitialized( - org.vdaas.vald.api.v1.payload.Info.ServicePort.class, org.vdaas.vald.api.v1.payload.Info.ServicePort.Builder.class); - } - - // Construct using org.vdaas.vald.api.v1.payload.Info.ServicePort.newBuilder() - private Builder() { - - } - - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { - super(parent); - - } - @java.lang.Override - public Builder clear() { - super.clear(); - bitField0_ = 0; - name_ = ""; - port_ = 0; - return this; - } - - @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return org.vdaas.vald.api.v1.payload.ValdPayload.internal_static_payload_v1_Info_ServicePort_descriptor; - } - - @java.lang.Override - public org.vdaas.vald.api.v1.payload.Info.ServicePort getDefaultInstanceForType() { - return org.vdaas.vald.api.v1.payload.Info.ServicePort.getDefaultInstance(); - } - - @java.lang.Override - public org.vdaas.vald.api.v1.payload.Info.ServicePort build() { - org.vdaas.vald.api.v1.payload.Info.ServicePort result = buildPartial(); - if (!result.isInitialized()) { - throw newUninitializedMessageException(result); - } - return result; - } - - @java.lang.Override - public org.vdaas.vald.api.v1.payload.Info.ServicePort buildPartial() { - org.vdaas.vald.api.v1.payload.Info.ServicePort result = new org.vdaas.vald.api.v1.payload.Info.ServicePort(this); - if (bitField0_ != 0) { buildPartial0(result); } - onBuilt(); - return result; - } - - private void buildPartial0(org.vdaas.vald.api.v1.payload.Info.ServicePort result) { - int from_bitField0_ = bitField0_; - if (((from_bitField0_ & 0x00000001) != 0)) { - result.name_ = name_; - } - if (((from_bitField0_ & 0x00000002) != 0)) { - result.port_ = port_; - } - } - - @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 org.vdaas.vald.api.v1.payload.Info.ServicePort) { - return mergeFrom((org.vdaas.vald.api.v1.payload.Info.ServicePort)other); - } else { - super.mergeFrom(other); - return this; - } - } - - public Builder mergeFrom(org.vdaas.vald.api.v1.payload.Info.ServicePort other) { - if (other == org.vdaas.vald.api.v1.payload.Info.ServicePort.getDefaultInstance()) return this; - if (!other.getName().isEmpty()) { - name_ = other.name_; - bitField0_ |= 0x00000001; - onChanged(); - } - if (other.getPort() != 0) { - setPort(other.getPort()); - } - 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 16: { - port_ = input.readInt32(); - 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.lang.Object name_ = ""; - /** - *
-       * The name of the port.
-       * 
- * - * string name = 1 [json_name = "name"]; - * @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; - } - } - /** - *
-       * The name of the port.
-       * 
- * - * string name = 1 [json_name = "name"]; - * @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; - } - } - /** - *
-       * The name of the port.
-       * 
- * - * string name = 1 [json_name = "name"]; - * @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; - } - /** - *
-       * The name of the port.
-       * 
- * - * string name = 1 [json_name = "name"]; - * @return This builder for chaining. - */ - public Builder clearName() { - name_ = getDefaultInstance().getName(); - bitField0_ = (bitField0_ & ~0x00000001); - onChanged(); - return this; - } - /** - *
-       * The name of the port.
-       * 
- * - * string name = 1 [json_name = "name"]; - * @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; - } - - private int port_ ; - /** - *
-       * The port number
-       * 
- * - * int32 port = 2 [json_name = "port"]; - * @return The port. - */ - @java.lang.Override - public int getPort() { - return port_; - } - /** - *
-       * The port number
-       * 
- * - * int32 port = 2 [json_name = "port"]; - * @param value The port to set. - * @return This builder for chaining. - */ - public Builder setPort(int value) { - - port_ = value; - bitField0_ |= 0x00000002; - onChanged(); - return this; - } - /** - *
-       * The port number
-       * 
- * - * int32 port = 2 [json_name = "port"]; - * @return This builder for chaining. - */ - public Builder clearPort() { - bitField0_ = (bitField0_ & ~0x00000002); - port_ = 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:payload.v1.Info.ServicePort) - } - - // @@protoc_insertion_point(class_scope:payload.v1.Info.ServicePort) - private static final org.vdaas.vald.api.v1.payload.Info.ServicePort DEFAULT_INSTANCE; - static { - DEFAULT_INSTANCE = new org.vdaas.vald.api.v1.payload.Info.ServicePort(); - } - - public static org.vdaas.vald.api.v1.payload.Info.ServicePort getDefaultInstance() { - return DEFAULT_INSTANCE; - } - - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public ServicePort 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 org.vdaas.vald.api.v1.payload.Info.ServicePort getDefaultInstanceForType() { - return DEFAULT_INSTANCE; - } - - } - - public interface LabelsOrBuilder extends - // @@protoc_insertion_point(interface_extends:payload.v1.Info.Labels) - com.google.protobuf.MessageOrBuilder { - - /** - * map<string, string> labels = 1 [json_name = "labels"]; - */ - int getLabelsCount(); - /** - * map<string, string> labels = 1 [json_name = "labels"]; - */ - boolean containsLabels( - java.lang.String key); - /** - * Use {@link #getLabelsMap()} instead. - */ - @java.lang.Deprecated - java.util.Map - getLabels(); - /** - * map<string, string> labels = 1 [json_name = "labels"]; - */ - java.util.Map - getLabelsMap(); - /** - * map<string, string> labels = 1 [json_name = "labels"]; - */ - /* nullable */ -java.lang.String getLabelsOrDefault( - java.lang.String key, - /* nullable */ -java.lang.String defaultValue); - /** - * map<string, string> labels = 1 [json_name = "labels"]; - */ - java.lang.String getLabelsOrThrow( - java.lang.String key); - } - /** - *
-   * Represent the kubernetes labels.
-   * 
- * - * Protobuf type {@code payload.v1.Info.Labels} - */ - public static final class Labels extends - com.google.protobuf.GeneratedMessageV3 implements - // @@protoc_insertion_point(message_implements:payload.v1.Info.Labels) - LabelsOrBuilder { - private static final long serialVersionUID = 0L; - // Use Labels.newBuilder() to construct. - private Labels(com.google.protobuf.GeneratedMessageV3.Builder builder) { - super(builder); - } - private Labels() { - } - - @java.lang.Override - @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { - return new Labels(); - } - - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return org.vdaas.vald.api.v1.payload.ValdPayload.internal_static_payload_v1_Info_Labels_descriptor; - } - - @SuppressWarnings({"rawtypes"}) - @java.lang.Override - protected com.google.protobuf.MapFieldReflectionAccessor internalGetMapFieldReflection( - int number) { - switch (number) { - case 1: - return internalGetLabels(); - default: - throw new RuntimeException( - "Invalid map field number: " + number); - } - } - @java.lang.Override - protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internalGetFieldAccessorTable() { - return org.vdaas.vald.api.v1.payload.ValdPayload.internal_static_payload_v1_Info_Labels_fieldAccessorTable - .ensureFieldAccessorsInitialized( - org.vdaas.vald.api.v1.payload.Info.Labels.class, org.vdaas.vald.api.v1.payload.Info.Labels.Builder.class); - } - - public static final int LABELS_FIELD_NUMBER = 1; - private static final class LabelsDefaultEntryHolder { - static final com.google.protobuf.MapEntry< - java.lang.String, java.lang.String> defaultEntry = - com.google.protobuf.MapEntry - .newDefaultInstance( - org.vdaas.vald.api.v1.payload.ValdPayload.internal_static_payload_v1_Info_Labels_LabelsEntry_descriptor, - com.google.protobuf.WireFormat.FieldType.STRING, - "", - com.google.protobuf.WireFormat.FieldType.STRING, - ""); - } - @SuppressWarnings("serial") - private com.google.protobuf.MapField< - java.lang.String, java.lang.String> labels_; - private com.google.protobuf.MapField - internalGetLabels() { - if (labels_ == null) { - return com.google.protobuf.MapField.emptyMapField( - LabelsDefaultEntryHolder.defaultEntry); - } - return labels_; - } - public int getLabelsCount() { - return internalGetLabels().getMap().size(); - } - /** - * map<string, string> labels = 1 [json_name = "labels"]; - */ - @java.lang.Override - public boolean containsLabels( - java.lang.String key) { - if (key == null) { throw new NullPointerException("map key"); } - return internalGetLabels().getMap().containsKey(key); - } - /** - * Use {@link #getLabelsMap()} instead. - */ - @java.lang.Override - @java.lang.Deprecated - public java.util.Map getLabels() { - return getLabelsMap(); - } - /** - * map<string, string> labels = 1 [json_name = "labels"]; - */ - @java.lang.Override - public java.util.Map getLabelsMap() { - return internalGetLabels().getMap(); - } - /** - * map<string, string> labels = 1 [json_name = "labels"]; - */ - @java.lang.Override - public /* nullable */ -java.lang.String getLabelsOrDefault( - java.lang.String key, - /* nullable */ -java.lang.String defaultValue) { - if (key == null) { throw new NullPointerException("map key"); } - java.util.Map map = - internalGetLabels().getMap(); - return map.containsKey(key) ? map.get(key) : defaultValue; - } - /** - * map<string, string> labels = 1 [json_name = "labels"]; - */ - @java.lang.Override - public java.lang.String getLabelsOrThrow( - java.lang.String key) { - if (key == null) { throw new NullPointerException("map key"); } - java.util.Map map = - internalGetLabels().getMap(); - if (!map.containsKey(key)) { - throw new java.lang.IllegalArgumentException(); - } - return map.get(key); - } - - 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 { - com.google.protobuf.GeneratedMessageV3 - .serializeStringMapTo( - output, - internalGetLabels(), - LabelsDefaultEntryHolder.defaultEntry, - 1); - getUnknownFields().writeTo(output); - } - - @java.lang.Override - public int getSerializedSize() { - int size = memoizedSize; - if (size != -1) return size; - - size = 0; - for (java.util.Map.Entry entry - : internalGetLabels().getMap().entrySet()) { - com.google.protobuf.MapEntry - labels__ = LabelsDefaultEntryHolder.defaultEntry.newBuilderForType() - .setKey(entry.getKey()) - .setValue(entry.getValue()) - .build(); - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(1, labels__); - } - 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 org.vdaas.vald.api.v1.payload.Info.Labels)) { - return super.equals(obj); - } - org.vdaas.vald.api.v1.payload.Info.Labels other = (org.vdaas.vald.api.v1.payload.Info.Labels) obj; - - if (!internalGetLabels().equals( - other.internalGetLabels())) 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 (!internalGetLabels().getMap().isEmpty()) { - hash = (37 * hash) + LABELS_FIELD_NUMBER; - hash = (53 * hash) + internalGetLabels().hashCode(); - } - hash = (29 * hash) + getUnknownFields().hashCode(); - memoizedHashCode = hash; - return hash; - } - - public static org.vdaas.vald.api.v1.payload.Info.Labels parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data); - } - public static org.vdaas.vald.api.v1.payload.Info.Labels parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data, extensionRegistry); - } - public static org.vdaas.vald.api.v1.payload.Info.Labels parseFrom( - com.google.protobuf.ByteString data) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data); - } - public static org.vdaas.vald.api.v1.payload.Info.Labels parseFrom( - com.google.protobuf.ByteString data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data, extensionRegistry); - } - public static org.vdaas.vald.api.v1.payload.Info.Labels parseFrom(byte[] data) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data); - } - public static org.vdaas.vald.api.v1.payload.Info.Labels parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data, extensionRegistry); - } - public static org.vdaas.vald.api.v1.payload.Info.Labels parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); - } - public static org.vdaas.vald.api.v1.payload.Info.Labels 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 org.vdaas.vald.api.v1.payload.Info.Labels parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); - } - - public static org.vdaas.vald.api.v1.payload.Info.Labels 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 org.vdaas.vald.api.v1.payload.Info.Labels parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); - } - public static org.vdaas.vald.api.v1.payload.Info.Labels 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(org.vdaas.vald.api.v1.payload.Info.Labels 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; - } - /** - *
-     * Represent the kubernetes labels.
-     * 
- * - * Protobuf type {@code payload.v1.Info.Labels} - */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements - // @@protoc_insertion_point(builder_implements:payload.v1.Info.Labels) - org.vdaas.vald.api.v1.payload.Info.LabelsOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return org.vdaas.vald.api.v1.payload.ValdPayload.internal_static_payload_v1_Info_Labels_descriptor; - } - - @SuppressWarnings({"rawtypes"}) - protected com.google.protobuf.MapFieldReflectionAccessor internalGetMapFieldReflection( - int number) { - switch (number) { - case 1: - return internalGetLabels(); - default: - throw new RuntimeException( - "Invalid map field number: " + number); - } - } - @SuppressWarnings({"rawtypes"}) - protected com.google.protobuf.MapFieldReflectionAccessor internalGetMutableMapFieldReflection( - int number) { - switch (number) { - case 1: - return internalGetMutableLabels(); - default: - throw new RuntimeException( - "Invalid map field number: " + number); - } - } - @java.lang.Override - protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internalGetFieldAccessorTable() { - return org.vdaas.vald.api.v1.payload.ValdPayload.internal_static_payload_v1_Info_Labels_fieldAccessorTable - .ensureFieldAccessorsInitialized( - org.vdaas.vald.api.v1.payload.Info.Labels.class, org.vdaas.vald.api.v1.payload.Info.Labels.Builder.class); - } - - // Construct using org.vdaas.vald.api.v1.payload.Info.Labels.newBuilder() - private Builder() { - - } - - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { - super(parent); - - } - @java.lang.Override - public Builder clear() { - super.clear(); - bitField0_ = 0; - internalGetMutableLabels().clear(); - return this; - } - - @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return org.vdaas.vald.api.v1.payload.ValdPayload.internal_static_payload_v1_Info_Labels_descriptor; - } - - @java.lang.Override - public org.vdaas.vald.api.v1.payload.Info.Labels getDefaultInstanceForType() { - return org.vdaas.vald.api.v1.payload.Info.Labels.getDefaultInstance(); - } - - @java.lang.Override - public org.vdaas.vald.api.v1.payload.Info.Labels build() { - org.vdaas.vald.api.v1.payload.Info.Labels result = buildPartial(); - if (!result.isInitialized()) { - throw newUninitializedMessageException(result); - } - return result; - } - - @java.lang.Override - public org.vdaas.vald.api.v1.payload.Info.Labels buildPartial() { - org.vdaas.vald.api.v1.payload.Info.Labels result = new org.vdaas.vald.api.v1.payload.Info.Labels(this); - if (bitField0_ != 0) { buildPartial0(result); } - onBuilt(); - return result; - } - - private void buildPartial0(org.vdaas.vald.api.v1.payload.Info.Labels result) { - int from_bitField0_ = bitField0_; - if (((from_bitField0_ & 0x00000001) != 0)) { - result.labels_ = internalGetLabels(); - result.labels_.makeImmutable(); - } - } - - @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 org.vdaas.vald.api.v1.payload.Info.Labels) { - return mergeFrom((org.vdaas.vald.api.v1.payload.Info.Labels)other); - } else { - super.mergeFrom(other); - return this; - } - } - - public Builder mergeFrom(org.vdaas.vald.api.v1.payload.Info.Labels other) { - if (other == org.vdaas.vald.api.v1.payload.Info.Labels.getDefaultInstance()) return this; - internalGetMutableLabels().mergeFrom( - other.internalGetLabels()); - bitField0_ |= 0x00000001; - 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: { - com.google.protobuf.MapEntry - labels__ = input.readMessage( - LabelsDefaultEntryHolder.defaultEntry.getParserForType(), extensionRegistry); - internalGetMutableLabels().getMutableMap().put( - labels__.getKey(), labels__.getValue()); - bitField0_ |= 0x00000001; - 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 com.google.protobuf.MapField< - java.lang.String, java.lang.String> labels_; - private com.google.protobuf.MapField - internalGetLabels() { - if (labels_ == null) { - return com.google.protobuf.MapField.emptyMapField( - LabelsDefaultEntryHolder.defaultEntry); - } - return labels_; - } - private com.google.protobuf.MapField - internalGetMutableLabels() { - if (labels_ == null) { - labels_ = com.google.protobuf.MapField.newMapField( - LabelsDefaultEntryHolder.defaultEntry); - } - if (!labels_.isMutable()) { - labels_ = labels_.copy(); - } - bitField0_ |= 0x00000001; - onChanged(); - return labels_; - } - public int getLabelsCount() { - return internalGetLabels().getMap().size(); - } - /** - * map<string, string> labels = 1 [json_name = "labels"]; - */ - @java.lang.Override - public boolean containsLabels( - java.lang.String key) { - if (key == null) { throw new NullPointerException("map key"); } - return internalGetLabels().getMap().containsKey(key); - } - /** - * Use {@link #getLabelsMap()} instead. - */ - @java.lang.Override - @java.lang.Deprecated - public java.util.Map getLabels() { - return getLabelsMap(); - } - /** - * map<string, string> labels = 1 [json_name = "labels"]; - */ - @java.lang.Override - public java.util.Map getLabelsMap() { - return internalGetLabels().getMap(); - } - /** - * map<string, string> labels = 1 [json_name = "labels"]; - */ - @java.lang.Override - public /* nullable */ -java.lang.String getLabelsOrDefault( - java.lang.String key, - /* nullable */ -java.lang.String defaultValue) { - if (key == null) { throw new NullPointerException("map key"); } - java.util.Map map = - internalGetLabels().getMap(); - return map.containsKey(key) ? map.get(key) : defaultValue; - } - /** - * map<string, string> labels = 1 [json_name = "labels"]; - */ - @java.lang.Override - public java.lang.String getLabelsOrThrow( - java.lang.String key) { - if (key == null) { throw new NullPointerException("map key"); } - java.util.Map map = - internalGetLabels().getMap(); - if (!map.containsKey(key)) { - throw new java.lang.IllegalArgumentException(); - } - return map.get(key); - } - public Builder clearLabels() { - bitField0_ = (bitField0_ & ~0x00000001); - internalGetMutableLabels().getMutableMap() - .clear(); - return this; - } - /** - * map<string, string> labels = 1 [json_name = "labels"]; - */ - public Builder removeLabels( - java.lang.String key) { - if (key == null) { throw new NullPointerException("map key"); } - internalGetMutableLabels().getMutableMap() - .remove(key); - return this; - } - /** - * Use alternate mutation accessors instead. - */ - @java.lang.Deprecated - public java.util.Map - getMutableLabels() { - bitField0_ |= 0x00000001; - return internalGetMutableLabels().getMutableMap(); - } - /** - * map<string, string> labels = 1 [json_name = "labels"]; - */ - public Builder putLabels( - java.lang.String key, - java.lang.String value) { - if (key == null) { throw new NullPointerException("map key"); } - if (value == null) { throw new NullPointerException("map value"); } - internalGetMutableLabels().getMutableMap() - .put(key, value); - bitField0_ |= 0x00000001; - return this; - } - /** - * map<string, string> labels = 1 [json_name = "labels"]; - */ - public Builder putAllLabels( - java.util.Map values) { - internalGetMutableLabels().getMutableMap() - .putAll(values); - bitField0_ |= 0x00000001; - 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:payload.v1.Info.Labels) - } - - // @@protoc_insertion_point(class_scope:payload.v1.Info.Labels) - private static final org.vdaas.vald.api.v1.payload.Info.Labels DEFAULT_INSTANCE; - static { - DEFAULT_INSTANCE = new org.vdaas.vald.api.v1.payload.Info.Labels(); - } - - public static org.vdaas.vald.api.v1.payload.Info.Labels getDefaultInstance() { - return DEFAULT_INSTANCE; - } - - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public Labels 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 org.vdaas.vald.api.v1.payload.Info.Labels getDefaultInstanceForType() { - return DEFAULT_INSTANCE; - } - - } - - public interface AnnotationsOrBuilder extends - // @@protoc_insertion_point(interface_extends:payload.v1.Info.Annotations) - com.google.protobuf.MessageOrBuilder { - - /** - * map<string, string> annotations = 1 [json_name = "annotations"]; - */ - int getAnnotationsCount(); - /** - * map<string, string> annotations = 1 [json_name = "annotations"]; - */ - boolean containsAnnotations( - java.lang.String key); - /** - * Use {@link #getAnnotationsMap()} instead. - */ - @java.lang.Deprecated - java.util.Map - getAnnotations(); - /** - * map<string, string> annotations = 1 [json_name = "annotations"]; - */ - java.util.Map - getAnnotationsMap(); - /** - * map<string, string> annotations = 1 [json_name = "annotations"]; - */ - /* nullable */ -java.lang.String getAnnotationsOrDefault( - java.lang.String key, - /* nullable */ -java.lang.String defaultValue); - /** - * map<string, string> annotations = 1 [json_name = "annotations"]; - */ - java.lang.String getAnnotationsOrThrow( - java.lang.String key); - } - /** - *
-   * Represent the kubernetes annotations.
-   * 
- * - * Protobuf type {@code payload.v1.Info.Annotations} - */ - public static final class Annotations extends - com.google.protobuf.GeneratedMessageV3 implements - // @@protoc_insertion_point(message_implements:payload.v1.Info.Annotations) - AnnotationsOrBuilder { - private static final long serialVersionUID = 0L; - // Use Annotations.newBuilder() to construct. - private Annotations(com.google.protobuf.GeneratedMessageV3.Builder builder) { - super(builder); - } - private Annotations() { - } - - @java.lang.Override - @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { - return new Annotations(); - } - - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return org.vdaas.vald.api.v1.payload.ValdPayload.internal_static_payload_v1_Info_Annotations_descriptor; - } - - @SuppressWarnings({"rawtypes"}) - @java.lang.Override - protected com.google.protobuf.MapFieldReflectionAccessor internalGetMapFieldReflection( - int number) { - switch (number) { - case 1: - return internalGetAnnotations(); - default: - throw new RuntimeException( - "Invalid map field number: " + number); - } - } - @java.lang.Override - protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internalGetFieldAccessorTable() { - return org.vdaas.vald.api.v1.payload.ValdPayload.internal_static_payload_v1_Info_Annotations_fieldAccessorTable - .ensureFieldAccessorsInitialized( - org.vdaas.vald.api.v1.payload.Info.Annotations.class, org.vdaas.vald.api.v1.payload.Info.Annotations.Builder.class); - } - - public static final int ANNOTATIONS_FIELD_NUMBER = 1; - private static final class AnnotationsDefaultEntryHolder { - static final com.google.protobuf.MapEntry< - java.lang.String, java.lang.String> defaultEntry = - com.google.protobuf.MapEntry - .newDefaultInstance( - org.vdaas.vald.api.v1.payload.ValdPayload.internal_static_payload_v1_Info_Annotations_AnnotationsEntry_descriptor, - com.google.protobuf.WireFormat.FieldType.STRING, - "", - com.google.protobuf.WireFormat.FieldType.STRING, - ""); - } - @SuppressWarnings("serial") - private com.google.protobuf.MapField< - java.lang.String, java.lang.String> annotations_; - private com.google.protobuf.MapField - internalGetAnnotations() { - if (annotations_ == null) { - return com.google.protobuf.MapField.emptyMapField( - AnnotationsDefaultEntryHolder.defaultEntry); - } - return annotations_; - } - public int getAnnotationsCount() { - return internalGetAnnotations().getMap().size(); - } - /** - * map<string, string> annotations = 1 [json_name = "annotations"]; - */ - @java.lang.Override - public boolean containsAnnotations( - java.lang.String key) { - if (key == null) { throw new NullPointerException("map key"); } - return internalGetAnnotations().getMap().containsKey(key); - } - /** - * Use {@link #getAnnotationsMap()} instead. - */ - @java.lang.Override - @java.lang.Deprecated - public java.util.Map getAnnotations() { - return getAnnotationsMap(); - } - /** - * map<string, string> annotations = 1 [json_name = "annotations"]; - */ - @java.lang.Override - public java.util.Map getAnnotationsMap() { - return internalGetAnnotations().getMap(); - } - /** - * map<string, string> annotations = 1 [json_name = "annotations"]; - */ - @java.lang.Override - public /* nullable */ -java.lang.String getAnnotationsOrDefault( - java.lang.String key, - /* nullable */ -java.lang.String defaultValue) { - if (key == null) { throw new NullPointerException("map key"); } - java.util.Map map = - internalGetAnnotations().getMap(); - return map.containsKey(key) ? map.get(key) : defaultValue; - } - /** - * map<string, string> annotations = 1 [json_name = "annotations"]; - */ - @java.lang.Override - public java.lang.String getAnnotationsOrThrow( - java.lang.String key) { - if (key == null) { throw new NullPointerException("map key"); } - java.util.Map map = - internalGetAnnotations().getMap(); - if (!map.containsKey(key)) { - throw new java.lang.IllegalArgumentException(); - } - return map.get(key); - } - - 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 { - com.google.protobuf.GeneratedMessageV3 - .serializeStringMapTo( - output, - internalGetAnnotations(), - AnnotationsDefaultEntryHolder.defaultEntry, - 1); - getUnknownFields().writeTo(output); - } - - @java.lang.Override - public int getSerializedSize() { - int size = memoizedSize; - if (size != -1) return size; - - size = 0; - for (java.util.Map.Entry entry - : internalGetAnnotations().getMap().entrySet()) { - com.google.protobuf.MapEntry - annotations__ = AnnotationsDefaultEntryHolder.defaultEntry.newBuilderForType() - .setKey(entry.getKey()) - .setValue(entry.getValue()) - .build(); - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(1, annotations__); - } - 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 org.vdaas.vald.api.v1.payload.Info.Annotations)) { - return super.equals(obj); - } - org.vdaas.vald.api.v1.payload.Info.Annotations other = (org.vdaas.vald.api.v1.payload.Info.Annotations) obj; - - if (!internalGetAnnotations().equals( - other.internalGetAnnotations())) 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 (!internalGetAnnotations().getMap().isEmpty()) { - hash = (37 * hash) + ANNOTATIONS_FIELD_NUMBER; - hash = (53 * hash) + internalGetAnnotations().hashCode(); - } - hash = (29 * hash) + getUnknownFields().hashCode(); - memoizedHashCode = hash; - return hash; - } - - public static org.vdaas.vald.api.v1.payload.Info.Annotations parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data); - } - public static org.vdaas.vald.api.v1.payload.Info.Annotations parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data, extensionRegistry); - } - public static org.vdaas.vald.api.v1.payload.Info.Annotations parseFrom( - com.google.protobuf.ByteString data) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data); - } - public static org.vdaas.vald.api.v1.payload.Info.Annotations parseFrom( - com.google.protobuf.ByteString data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data, extensionRegistry); - } - public static org.vdaas.vald.api.v1.payload.Info.Annotations parseFrom(byte[] data) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data); - } - public static org.vdaas.vald.api.v1.payload.Info.Annotations parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data, extensionRegistry); - } - public static org.vdaas.vald.api.v1.payload.Info.Annotations parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); - } - public static org.vdaas.vald.api.v1.payload.Info.Annotations 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 org.vdaas.vald.api.v1.payload.Info.Annotations parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); - } - - public static org.vdaas.vald.api.v1.payload.Info.Annotations 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 org.vdaas.vald.api.v1.payload.Info.Annotations parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); - } - public static org.vdaas.vald.api.v1.payload.Info.Annotations 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(org.vdaas.vald.api.v1.payload.Info.Annotations 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; - } - /** - *
-     * Represent the kubernetes annotations.
-     * 
- * - * Protobuf type {@code payload.v1.Info.Annotations} - */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements - // @@protoc_insertion_point(builder_implements:payload.v1.Info.Annotations) - org.vdaas.vald.api.v1.payload.Info.AnnotationsOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return org.vdaas.vald.api.v1.payload.ValdPayload.internal_static_payload_v1_Info_Annotations_descriptor; - } - - @SuppressWarnings({"rawtypes"}) - protected com.google.protobuf.MapFieldReflectionAccessor internalGetMapFieldReflection( - int number) { - switch (number) { - case 1: - return internalGetAnnotations(); - default: - throw new RuntimeException( - "Invalid map field number: " + number); - } - } - @SuppressWarnings({"rawtypes"}) - protected com.google.protobuf.MapFieldReflectionAccessor internalGetMutableMapFieldReflection( - int number) { - switch (number) { - case 1: - return internalGetMutableAnnotations(); - default: - throw new RuntimeException( - "Invalid map field number: " + number); - } - } - @java.lang.Override - protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internalGetFieldAccessorTable() { - return org.vdaas.vald.api.v1.payload.ValdPayload.internal_static_payload_v1_Info_Annotations_fieldAccessorTable - .ensureFieldAccessorsInitialized( - org.vdaas.vald.api.v1.payload.Info.Annotations.class, org.vdaas.vald.api.v1.payload.Info.Annotations.Builder.class); - } - - // Construct using org.vdaas.vald.api.v1.payload.Info.Annotations.newBuilder() - private Builder() { - - } - - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { - super(parent); - - } - @java.lang.Override - public Builder clear() { - super.clear(); - bitField0_ = 0; - internalGetMutableAnnotations().clear(); - return this; - } - - @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return org.vdaas.vald.api.v1.payload.ValdPayload.internal_static_payload_v1_Info_Annotations_descriptor; - } - - @java.lang.Override - public org.vdaas.vald.api.v1.payload.Info.Annotations getDefaultInstanceForType() { - return org.vdaas.vald.api.v1.payload.Info.Annotations.getDefaultInstance(); - } - - @java.lang.Override - public org.vdaas.vald.api.v1.payload.Info.Annotations build() { - org.vdaas.vald.api.v1.payload.Info.Annotations result = buildPartial(); - if (!result.isInitialized()) { - throw newUninitializedMessageException(result); - } - return result; - } - - @java.lang.Override - public org.vdaas.vald.api.v1.payload.Info.Annotations buildPartial() { - org.vdaas.vald.api.v1.payload.Info.Annotations result = new org.vdaas.vald.api.v1.payload.Info.Annotations(this); - if (bitField0_ != 0) { buildPartial0(result); } - onBuilt(); - return result; - } - - private void buildPartial0(org.vdaas.vald.api.v1.payload.Info.Annotations result) { - int from_bitField0_ = bitField0_; - if (((from_bitField0_ & 0x00000001) != 0)) { - result.annotations_ = internalGetAnnotations(); - result.annotations_.makeImmutable(); - } - } - - @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 org.vdaas.vald.api.v1.payload.Info.Annotations) { - return mergeFrom((org.vdaas.vald.api.v1.payload.Info.Annotations)other); - } else { - super.mergeFrom(other); - return this; - } - } - - public Builder mergeFrom(org.vdaas.vald.api.v1.payload.Info.Annotations other) { - if (other == org.vdaas.vald.api.v1.payload.Info.Annotations.getDefaultInstance()) return this; - internalGetMutableAnnotations().mergeFrom( - other.internalGetAnnotations()); - bitField0_ |= 0x00000001; - 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: { - com.google.protobuf.MapEntry - annotations__ = input.readMessage( - AnnotationsDefaultEntryHolder.defaultEntry.getParserForType(), extensionRegistry); - internalGetMutableAnnotations().getMutableMap().put( - annotations__.getKey(), annotations__.getValue()); - bitField0_ |= 0x00000001; - 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 com.google.protobuf.MapField< - java.lang.String, java.lang.String> annotations_; - private com.google.protobuf.MapField - internalGetAnnotations() { - if (annotations_ == null) { - return com.google.protobuf.MapField.emptyMapField( - AnnotationsDefaultEntryHolder.defaultEntry); - } - return annotations_; - } - private com.google.protobuf.MapField - internalGetMutableAnnotations() { - if (annotations_ == null) { - annotations_ = com.google.protobuf.MapField.newMapField( - AnnotationsDefaultEntryHolder.defaultEntry); - } - if (!annotations_.isMutable()) { - annotations_ = annotations_.copy(); - } - bitField0_ |= 0x00000001; - onChanged(); - return annotations_; - } - public int getAnnotationsCount() { - return internalGetAnnotations().getMap().size(); - } - /** - * map<string, string> annotations = 1 [json_name = "annotations"]; - */ - @java.lang.Override - public boolean containsAnnotations( - java.lang.String key) { - if (key == null) { throw new NullPointerException("map key"); } - return internalGetAnnotations().getMap().containsKey(key); - } - /** - * Use {@link #getAnnotationsMap()} instead. - */ - @java.lang.Override - @java.lang.Deprecated - public java.util.Map getAnnotations() { - return getAnnotationsMap(); - } - /** - * map<string, string> annotations = 1 [json_name = "annotations"]; - */ - @java.lang.Override - public java.util.Map getAnnotationsMap() { - return internalGetAnnotations().getMap(); - } - /** - * map<string, string> annotations = 1 [json_name = "annotations"]; - */ - @java.lang.Override - public /* nullable */ -java.lang.String getAnnotationsOrDefault( - java.lang.String key, - /* nullable */ -java.lang.String defaultValue) { - if (key == null) { throw new NullPointerException("map key"); } - java.util.Map map = - internalGetAnnotations().getMap(); - return map.containsKey(key) ? map.get(key) : defaultValue; - } - /** - * map<string, string> annotations = 1 [json_name = "annotations"]; - */ - @java.lang.Override - public java.lang.String getAnnotationsOrThrow( - java.lang.String key) { - if (key == null) { throw new NullPointerException("map key"); } - java.util.Map map = - internalGetAnnotations().getMap(); - if (!map.containsKey(key)) { - throw new java.lang.IllegalArgumentException(); - } - return map.get(key); - } - public Builder clearAnnotations() { - bitField0_ = (bitField0_ & ~0x00000001); - internalGetMutableAnnotations().getMutableMap() - .clear(); - return this; - } - /** - * map<string, string> annotations = 1 [json_name = "annotations"]; - */ - public Builder removeAnnotations( - java.lang.String key) { - if (key == null) { throw new NullPointerException("map key"); } - internalGetMutableAnnotations().getMutableMap() - .remove(key); - return this; - } - /** - * Use alternate mutation accessors instead. - */ - @java.lang.Deprecated - public java.util.Map - getMutableAnnotations() { - bitField0_ |= 0x00000001; - return internalGetMutableAnnotations().getMutableMap(); - } - /** - * map<string, string> annotations = 1 [json_name = "annotations"]; - */ - public Builder putAnnotations( - java.lang.String key, - java.lang.String value) { - if (key == null) { throw new NullPointerException("map key"); } - if (value == null) { throw new NullPointerException("map value"); } - internalGetMutableAnnotations().getMutableMap() - .put(key, value); - bitField0_ |= 0x00000001; - return this; - } - /** - * map<string, string> annotations = 1 [json_name = "annotations"]; - */ - public Builder putAllAnnotations( - java.util.Map values) { - internalGetMutableAnnotations().getMutableMap() - .putAll(values); - bitField0_ |= 0x00000001; - 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:payload.v1.Info.Annotations) - } - - // @@protoc_insertion_point(class_scope:payload.v1.Info.Annotations) - private static final org.vdaas.vald.api.v1.payload.Info.Annotations DEFAULT_INSTANCE; - static { - DEFAULT_INSTANCE = new org.vdaas.vald.api.v1.payload.Info.Annotations(); - } - - public static org.vdaas.vald.api.v1.payload.Info.Annotations getDefaultInstance() { - return DEFAULT_INSTANCE; - } - - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public Annotations 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 org.vdaas.vald.api.v1.payload.Info.Annotations getDefaultInstanceForType() { - return DEFAULT_INSTANCE; - } - - } - - public interface CPUOrBuilder extends - // @@protoc_insertion_point(interface_extends:payload.v1.Info.CPU) - com.google.protobuf.MessageOrBuilder { - - /** - *
-     * The CPU resource limit.
-     * 
- * - * double limit = 1 [json_name = "limit"]; - * @return The limit. - */ - double getLimit(); - - /** - *
-     * The CPU resource requested.
-     * 
- * - * double request = 2 [json_name = "request"]; - * @return The request. - */ - double getRequest(); - - /** - *
-     * The CPU usage.
-     * 
- * - * double usage = 3 [json_name = "usage"]; - * @return The usage. - */ - double getUsage(); - } - /** - *
-   * Represent the CPU information message.
-   * 
- * - * Protobuf type {@code payload.v1.Info.CPU} - */ - public static final class CPU extends - com.google.protobuf.GeneratedMessageV3 implements - // @@protoc_insertion_point(message_implements:payload.v1.Info.CPU) - CPUOrBuilder { - private static final long serialVersionUID = 0L; - // Use CPU.newBuilder() to construct. - private CPU(com.google.protobuf.GeneratedMessageV3.Builder builder) { - super(builder); - } - private CPU() { - } - - @java.lang.Override - @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { - return new CPU(); - } - - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return org.vdaas.vald.api.v1.payload.ValdPayload.internal_static_payload_v1_Info_CPU_descriptor; - } - - @java.lang.Override - protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internalGetFieldAccessorTable() { - return org.vdaas.vald.api.v1.payload.ValdPayload.internal_static_payload_v1_Info_CPU_fieldAccessorTable - .ensureFieldAccessorsInitialized( - org.vdaas.vald.api.v1.payload.Info.CPU.class, org.vdaas.vald.api.v1.payload.Info.CPU.Builder.class); - } - - public static final int LIMIT_FIELD_NUMBER = 1; - private double limit_ = 0D; - /** - *
-     * The CPU resource limit.
-     * 
- * - * double limit = 1 [json_name = "limit"]; - * @return The limit. - */ - @java.lang.Override - public double getLimit() { - return limit_; - } - - public static final int REQUEST_FIELD_NUMBER = 2; - private double request_ = 0D; - /** - *
-     * The CPU resource requested.
-     * 
- * - * double request = 2 [json_name = "request"]; - * @return The request. - */ - @java.lang.Override - public double getRequest() { - return request_; - } - - public static final int USAGE_FIELD_NUMBER = 3; - private double usage_ = 0D; - /** - *
-     * The CPU usage.
-     * 
- * - * double usage = 3 [json_name = "usage"]; - * @return The usage. - */ - @java.lang.Override - public double getUsage() { - return usage_; - } - - 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 (java.lang.Double.doubleToRawLongBits(limit_) != 0) { - output.writeDouble(1, limit_); - } - if (java.lang.Double.doubleToRawLongBits(request_) != 0) { - output.writeDouble(2, request_); - } - if (java.lang.Double.doubleToRawLongBits(usage_) != 0) { - output.writeDouble(3, usage_); - } - getUnknownFields().writeTo(output); - } - - @java.lang.Override - public int getSerializedSize() { - int size = memoizedSize; - if (size != -1) return size; - - size = 0; - if (java.lang.Double.doubleToRawLongBits(limit_) != 0) { - size += com.google.protobuf.CodedOutputStream - .computeDoubleSize(1, limit_); - } - if (java.lang.Double.doubleToRawLongBits(request_) != 0) { - size += com.google.protobuf.CodedOutputStream - .computeDoubleSize(2, request_); - } - if (java.lang.Double.doubleToRawLongBits(usage_) != 0) { - size += com.google.protobuf.CodedOutputStream - .computeDoubleSize(3, usage_); - } - 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 org.vdaas.vald.api.v1.payload.Info.CPU)) { - return super.equals(obj); - } - org.vdaas.vald.api.v1.payload.Info.CPU other = (org.vdaas.vald.api.v1.payload.Info.CPU) obj; - - if (java.lang.Double.doubleToLongBits(getLimit()) - != java.lang.Double.doubleToLongBits( - other.getLimit())) return false; - if (java.lang.Double.doubleToLongBits(getRequest()) - != java.lang.Double.doubleToLongBits( - other.getRequest())) return false; - if (java.lang.Double.doubleToLongBits(getUsage()) - != java.lang.Double.doubleToLongBits( - other.getUsage())) 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) + LIMIT_FIELD_NUMBER; - hash = (53 * hash) + com.google.protobuf.Internal.hashLong( - java.lang.Double.doubleToLongBits(getLimit())); - hash = (37 * hash) + REQUEST_FIELD_NUMBER; - hash = (53 * hash) + com.google.protobuf.Internal.hashLong( - java.lang.Double.doubleToLongBits(getRequest())); - hash = (37 * hash) + USAGE_FIELD_NUMBER; - hash = (53 * hash) + com.google.protobuf.Internal.hashLong( - java.lang.Double.doubleToLongBits(getUsage())); - hash = (29 * hash) + getUnknownFields().hashCode(); - memoizedHashCode = hash; - return hash; - } - - public static org.vdaas.vald.api.v1.payload.Info.CPU parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data); - } - public static org.vdaas.vald.api.v1.payload.Info.CPU parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data, extensionRegistry); - } - public static org.vdaas.vald.api.v1.payload.Info.CPU parseFrom( - com.google.protobuf.ByteString data) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data); - } - public static org.vdaas.vald.api.v1.payload.Info.CPU parseFrom( - com.google.protobuf.ByteString data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data, extensionRegistry); - } - public static org.vdaas.vald.api.v1.payload.Info.CPU parseFrom(byte[] data) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data); - } - public static org.vdaas.vald.api.v1.payload.Info.CPU parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data, extensionRegistry); - } - public static org.vdaas.vald.api.v1.payload.Info.CPU parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); - } - public static org.vdaas.vald.api.v1.payload.Info.CPU 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 org.vdaas.vald.api.v1.payload.Info.CPU parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); - } - - public static org.vdaas.vald.api.v1.payload.Info.CPU 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 org.vdaas.vald.api.v1.payload.Info.CPU parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); - } - public static org.vdaas.vald.api.v1.payload.Info.CPU 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(org.vdaas.vald.api.v1.payload.Info.CPU 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; - } - /** - *
-     * Represent the CPU information message.
-     * 
- * - * Protobuf type {@code payload.v1.Info.CPU} - */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements - // @@protoc_insertion_point(builder_implements:payload.v1.Info.CPU) - org.vdaas.vald.api.v1.payload.Info.CPUOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return org.vdaas.vald.api.v1.payload.ValdPayload.internal_static_payload_v1_Info_CPU_descriptor; - } - - @java.lang.Override - protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internalGetFieldAccessorTable() { - return org.vdaas.vald.api.v1.payload.ValdPayload.internal_static_payload_v1_Info_CPU_fieldAccessorTable - .ensureFieldAccessorsInitialized( - org.vdaas.vald.api.v1.payload.Info.CPU.class, org.vdaas.vald.api.v1.payload.Info.CPU.Builder.class); - } - - // Construct using org.vdaas.vald.api.v1.payload.Info.CPU.newBuilder() - private Builder() { - - } - - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { - super(parent); - - } - @java.lang.Override - public Builder clear() { - super.clear(); - bitField0_ = 0; - limit_ = 0D; - request_ = 0D; - usage_ = 0D; - return this; - } - - @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return org.vdaas.vald.api.v1.payload.ValdPayload.internal_static_payload_v1_Info_CPU_descriptor; - } - - @java.lang.Override - public org.vdaas.vald.api.v1.payload.Info.CPU getDefaultInstanceForType() { - return org.vdaas.vald.api.v1.payload.Info.CPU.getDefaultInstance(); - } - - @java.lang.Override - public org.vdaas.vald.api.v1.payload.Info.CPU build() { - org.vdaas.vald.api.v1.payload.Info.CPU result = buildPartial(); - if (!result.isInitialized()) { - throw newUninitializedMessageException(result); - } - return result; - } - - @java.lang.Override - public org.vdaas.vald.api.v1.payload.Info.CPU buildPartial() { - org.vdaas.vald.api.v1.payload.Info.CPU result = new org.vdaas.vald.api.v1.payload.Info.CPU(this); - if (bitField0_ != 0) { buildPartial0(result); } - onBuilt(); - return result; - } - - private void buildPartial0(org.vdaas.vald.api.v1.payload.Info.CPU result) { - int from_bitField0_ = bitField0_; - if (((from_bitField0_ & 0x00000001) != 0)) { - result.limit_ = limit_; - } - if (((from_bitField0_ & 0x00000002) != 0)) { - result.request_ = request_; - } - if (((from_bitField0_ & 0x00000004) != 0)) { - result.usage_ = usage_; - } - } - - @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 org.vdaas.vald.api.v1.payload.Info.CPU) { - return mergeFrom((org.vdaas.vald.api.v1.payload.Info.CPU)other); - } else { - super.mergeFrom(other); - return this; - } - } - - public Builder mergeFrom(org.vdaas.vald.api.v1.payload.Info.CPU other) { - if (other == org.vdaas.vald.api.v1.payload.Info.CPU.getDefaultInstance()) return this; - if (other.getLimit() != 0D) { - setLimit(other.getLimit()); - } - if (other.getRequest() != 0D) { - setRequest(other.getRequest()); - } - if (other.getUsage() != 0D) { - setUsage(other.getUsage()); - } - 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 9: { - limit_ = input.readDouble(); - bitField0_ |= 0x00000001; - break; - } // case 9 - case 17: { - request_ = input.readDouble(); - bitField0_ |= 0x00000002; - break; - } // case 17 - case 25: { - usage_ = input.readDouble(); - bitField0_ |= 0x00000004; - break; - } // case 25 - 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 double limit_ ; - /** - *
-       * The CPU resource limit.
-       * 
- * - * double limit = 1 [json_name = "limit"]; - * @return The limit. - */ - @java.lang.Override - public double getLimit() { - return limit_; - } - /** - *
-       * The CPU resource limit.
-       * 
- * - * double limit = 1 [json_name = "limit"]; - * @param value The limit to set. - * @return This builder for chaining. - */ - public Builder setLimit(double value) { - - limit_ = value; - bitField0_ |= 0x00000001; - onChanged(); - return this; - } - /** - *
-       * The CPU resource limit.
-       * 
- * - * double limit = 1 [json_name = "limit"]; - * @return This builder for chaining. - */ - public Builder clearLimit() { - bitField0_ = (bitField0_ & ~0x00000001); - limit_ = 0D; - onChanged(); - return this; - } - - private double request_ ; - /** - *
-       * The CPU resource requested.
-       * 
- * - * double request = 2 [json_name = "request"]; - * @return The request. - */ - @java.lang.Override - public double getRequest() { - return request_; - } - /** - *
-       * The CPU resource requested.
-       * 
- * - * double request = 2 [json_name = "request"]; - * @param value The request to set. - * @return This builder for chaining. - */ - public Builder setRequest(double value) { - - request_ = value; - bitField0_ |= 0x00000002; - onChanged(); - return this; - } - /** - *
-       * The CPU resource requested.
-       * 
- * - * double request = 2 [json_name = "request"]; - * @return This builder for chaining. - */ - public Builder clearRequest() { - bitField0_ = (bitField0_ & ~0x00000002); - request_ = 0D; - onChanged(); - return this; - } - - private double usage_ ; - /** - *
-       * The CPU usage.
-       * 
- * - * double usage = 3 [json_name = "usage"]; - * @return The usage. - */ - @java.lang.Override - public double getUsage() { - return usage_; - } - /** - *
-       * The CPU usage.
-       * 
- * - * double usage = 3 [json_name = "usage"]; - * @param value The usage to set. - * @return This builder for chaining. - */ - public Builder setUsage(double value) { - - usage_ = value; - bitField0_ |= 0x00000004; - onChanged(); - return this; - } - /** - *
-       * The CPU usage.
-       * 
- * - * double usage = 3 [json_name = "usage"]; - * @return This builder for chaining. - */ - public Builder clearUsage() { - bitField0_ = (bitField0_ & ~0x00000004); - usage_ = 0D; - 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:payload.v1.Info.CPU) - } - - // @@protoc_insertion_point(class_scope:payload.v1.Info.CPU) - private static final org.vdaas.vald.api.v1.payload.Info.CPU DEFAULT_INSTANCE; - static { - DEFAULT_INSTANCE = new org.vdaas.vald.api.v1.payload.Info.CPU(); - } - - public static org.vdaas.vald.api.v1.payload.Info.CPU getDefaultInstance() { - return DEFAULT_INSTANCE; - } - - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public CPU 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 org.vdaas.vald.api.v1.payload.Info.CPU getDefaultInstanceForType() { - return DEFAULT_INSTANCE; - } - - } - - public interface MemoryOrBuilder extends - // @@protoc_insertion_point(interface_extends:payload.v1.Info.Memory) - com.google.protobuf.MessageOrBuilder { - - /** - *
-     * The memory limit.
-     * 
- * - * double limit = 1 [json_name = "limit"]; - * @return The limit. - */ - double getLimit(); - - /** - *
-     * The memory requested.
-     * 
- * - * double request = 2 [json_name = "request"]; - * @return The request. - */ - double getRequest(); - - /** - *
-     * The memory usage.
-     * 
- * - * double usage = 3 [json_name = "usage"]; - * @return The usage. - */ - double getUsage(); - } - /** - *
-   * Represent the memory information message.
-   * 
- * - * Protobuf type {@code payload.v1.Info.Memory} - */ - public static final class Memory extends - com.google.protobuf.GeneratedMessageV3 implements - // @@protoc_insertion_point(message_implements:payload.v1.Info.Memory) - MemoryOrBuilder { - private static final long serialVersionUID = 0L; - // Use Memory.newBuilder() to construct. - private Memory(com.google.protobuf.GeneratedMessageV3.Builder builder) { - super(builder); - } - private Memory() { - } - - @java.lang.Override - @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { - return new Memory(); - } - - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return org.vdaas.vald.api.v1.payload.ValdPayload.internal_static_payload_v1_Info_Memory_descriptor; - } - - @java.lang.Override - protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internalGetFieldAccessorTable() { - return org.vdaas.vald.api.v1.payload.ValdPayload.internal_static_payload_v1_Info_Memory_fieldAccessorTable - .ensureFieldAccessorsInitialized( - org.vdaas.vald.api.v1.payload.Info.Memory.class, org.vdaas.vald.api.v1.payload.Info.Memory.Builder.class); - } - - public static final int LIMIT_FIELD_NUMBER = 1; - private double limit_ = 0D; - /** - *
-     * The memory limit.
-     * 
- * - * double limit = 1 [json_name = "limit"]; - * @return The limit. - */ - @java.lang.Override - public double getLimit() { - return limit_; - } - - public static final int REQUEST_FIELD_NUMBER = 2; - private double request_ = 0D; - /** - *
-     * The memory requested.
-     * 
- * - * double request = 2 [json_name = "request"]; - * @return The request. - */ - @java.lang.Override - public double getRequest() { - return request_; - } - - public static final int USAGE_FIELD_NUMBER = 3; - private double usage_ = 0D; - /** - *
-     * The memory usage.
-     * 
- * - * double usage = 3 [json_name = "usage"]; - * @return The usage. - */ - @java.lang.Override - public double getUsage() { - return usage_; - } - - 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 (java.lang.Double.doubleToRawLongBits(limit_) != 0) { - output.writeDouble(1, limit_); - } - if (java.lang.Double.doubleToRawLongBits(request_) != 0) { - output.writeDouble(2, request_); - } - if (java.lang.Double.doubleToRawLongBits(usage_) != 0) { - output.writeDouble(3, usage_); - } - getUnknownFields().writeTo(output); - } - - @java.lang.Override - public int getSerializedSize() { - int size = memoizedSize; - if (size != -1) return size; - - size = 0; - if (java.lang.Double.doubleToRawLongBits(limit_) != 0) { - size += com.google.protobuf.CodedOutputStream - .computeDoubleSize(1, limit_); - } - if (java.lang.Double.doubleToRawLongBits(request_) != 0) { - size += com.google.protobuf.CodedOutputStream - .computeDoubleSize(2, request_); - } - if (java.lang.Double.doubleToRawLongBits(usage_) != 0) { - size += com.google.protobuf.CodedOutputStream - .computeDoubleSize(3, usage_); - } - 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 org.vdaas.vald.api.v1.payload.Info.Memory)) { - return super.equals(obj); - } - org.vdaas.vald.api.v1.payload.Info.Memory other = (org.vdaas.vald.api.v1.payload.Info.Memory) obj; - - if (java.lang.Double.doubleToLongBits(getLimit()) - != java.lang.Double.doubleToLongBits( - other.getLimit())) return false; - if (java.lang.Double.doubleToLongBits(getRequest()) - != java.lang.Double.doubleToLongBits( - other.getRequest())) return false; - if (java.lang.Double.doubleToLongBits(getUsage()) - != java.lang.Double.doubleToLongBits( - other.getUsage())) 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) + LIMIT_FIELD_NUMBER; - hash = (53 * hash) + com.google.protobuf.Internal.hashLong( - java.lang.Double.doubleToLongBits(getLimit())); - hash = (37 * hash) + REQUEST_FIELD_NUMBER; - hash = (53 * hash) + com.google.protobuf.Internal.hashLong( - java.lang.Double.doubleToLongBits(getRequest())); - hash = (37 * hash) + USAGE_FIELD_NUMBER; - hash = (53 * hash) + com.google.protobuf.Internal.hashLong( - java.lang.Double.doubleToLongBits(getUsage())); - hash = (29 * hash) + getUnknownFields().hashCode(); - memoizedHashCode = hash; - return hash; - } - - public static org.vdaas.vald.api.v1.payload.Info.Memory parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data); - } - public static org.vdaas.vald.api.v1.payload.Info.Memory parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data, extensionRegistry); - } - public static org.vdaas.vald.api.v1.payload.Info.Memory parseFrom( - com.google.protobuf.ByteString data) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data); - } - public static org.vdaas.vald.api.v1.payload.Info.Memory parseFrom( - com.google.protobuf.ByteString data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data, extensionRegistry); - } - public static org.vdaas.vald.api.v1.payload.Info.Memory parseFrom(byte[] data) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data); - } - public static org.vdaas.vald.api.v1.payload.Info.Memory parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data, extensionRegistry); - } - public static org.vdaas.vald.api.v1.payload.Info.Memory parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); - } - public static org.vdaas.vald.api.v1.payload.Info.Memory 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 org.vdaas.vald.api.v1.payload.Info.Memory parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); - } - - public static org.vdaas.vald.api.v1.payload.Info.Memory 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 org.vdaas.vald.api.v1.payload.Info.Memory parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); - } - public static org.vdaas.vald.api.v1.payload.Info.Memory 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(org.vdaas.vald.api.v1.payload.Info.Memory 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; - } - /** - *
-     * Represent the memory information message.
-     * 
- * - * Protobuf type {@code payload.v1.Info.Memory} - */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements - // @@protoc_insertion_point(builder_implements:payload.v1.Info.Memory) - org.vdaas.vald.api.v1.payload.Info.MemoryOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return org.vdaas.vald.api.v1.payload.ValdPayload.internal_static_payload_v1_Info_Memory_descriptor; - } - - @java.lang.Override - protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internalGetFieldAccessorTable() { - return org.vdaas.vald.api.v1.payload.ValdPayload.internal_static_payload_v1_Info_Memory_fieldAccessorTable - .ensureFieldAccessorsInitialized( - org.vdaas.vald.api.v1.payload.Info.Memory.class, org.vdaas.vald.api.v1.payload.Info.Memory.Builder.class); - } - - // Construct using org.vdaas.vald.api.v1.payload.Info.Memory.newBuilder() - private Builder() { - - } - - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { - super(parent); - - } - @java.lang.Override - public Builder clear() { - super.clear(); - bitField0_ = 0; - limit_ = 0D; - request_ = 0D; - usage_ = 0D; - return this; - } - - @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return org.vdaas.vald.api.v1.payload.ValdPayload.internal_static_payload_v1_Info_Memory_descriptor; - } - - @java.lang.Override - public org.vdaas.vald.api.v1.payload.Info.Memory getDefaultInstanceForType() { - return org.vdaas.vald.api.v1.payload.Info.Memory.getDefaultInstance(); - } - - @java.lang.Override - public org.vdaas.vald.api.v1.payload.Info.Memory build() { - org.vdaas.vald.api.v1.payload.Info.Memory result = buildPartial(); - if (!result.isInitialized()) { - throw newUninitializedMessageException(result); - } - return result; - } - - @java.lang.Override - public org.vdaas.vald.api.v1.payload.Info.Memory buildPartial() { - org.vdaas.vald.api.v1.payload.Info.Memory result = new org.vdaas.vald.api.v1.payload.Info.Memory(this); - if (bitField0_ != 0) { buildPartial0(result); } - onBuilt(); - return result; - } - - private void buildPartial0(org.vdaas.vald.api.v1.payload.Info.Memory result) { - int from_bitField0_ = bitField0_; - if (((from_bitField0_ & 0x00000001) != 0)) { - result.limit_ = limit_; - } - if (((from_bitField0_ & 0x00000002) != 0)) { - result.request_ = request_; - } - if (((from_bitField0_ & 0x00000004) != 0)) { - result.usage_ = usage_; - } - } - - @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 org.vdaas.vald.api.v1.payload.Info.Memory) { - return mergeFrom((org.vdaas.vald.api.v1.payload.Info.Memory)other); - } else { - super.mergeFrom(other); - return this; - } - } - - public Builder mergeFrom(org.vdaas.vald.api.v1.payload.Info.Memory other) { - if (other == org.vdaas.vald.api.v1.payload.Info.Memory.getDefaultInstance()) return this; - if (other.getLimit() != 0D) { - setLimit(other.getLimit()); - } - if (other.getRequest() != 0D) { - setRequest(other.getRequest()); - } - if (other.getUsage() != 0D) { - setUsage(other.getUsage()); - } - 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 9: { - limit_ = input.readDouble(); - bitField0_ |= 0x00000001; - break; - } // case 9 - case 17: { - request_ = input.readDouble(); - bitField0_ |= 0x00000002; - break; - } // case 17 - case 25: { - usage_ = input.readDouble(); - bitField0_ |= 0x00000004; - break; - } // case 25 - 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 double limit_ ; - /** - *
-       * The memory limit.
-       * 
- * - * double limit = 1 [json_name = "limit"]; - * @return The limit. - */ - @java.lang.Override - public double getLimit() { - return limit_; - } - /** - *
-       * The memory limit.
-       * 
- * - * double limit = 1 [json_name = "limit"]; - * @param value The limit to set. - * @return This builder for chaining. - */ - public Builder setLimit(double value) { - - limit_ = value; - bitField0_ |= 0x00000001; - onChanged(); - return this; - } - /** - *
-       * The memory limit.
-       * 
- * - * double limit = 1 [json_name = "limit"]; - * @return This builder for chaining. - */ - public Builder clearLimit() { - bitField0_ = (bitField0_ & ~0x00000001); - limit_ = 0D; - onChanged(); - return this; - } - - private double request_ ; - /** - *
-       * The memory requested.
-       * 
- * - * double request = 2 [json_name = "request"]; - * @return The request. - */ - @java.lang.Override - public double getRequest() { - return request_; - } - /** - *
-       * The memory requested.
-       * 
- * - * double request = 2 [json_name = "request"]; - * @param value The request to set. - * @return This builder for chaining. - */ - public Builder setRequest(double value) { - - request_ = value; - bitField0_ |= 0x00000002; - onChanged(); - return this; - } - /** - *
-       * The memory requested.
-       * 
- * - * double request = 2 [json_name = "request"]; - * @return This builder for chaining. - */ - public Builder clearRequest() { - bitField0_ = (bitField0_ & ~0x00000002); - request_ = 0D; - onChanged(); - return this; - } - - private double usage_ ; - /** - *
-       * The memory usage.
-       * 
- * - * double usage = 3 [json_name = "usage"]; - * @return The usage. - */ - @java.lang.Override - public double getUsage() { - return usage_; - } - /** - *
-       * The memory usage.
-       * 
- * - * double usage = 3 [json_name = "usage"]; - * @param value The usage to set. - * @return This builder for chaining. - */ - public Builder setUsage(double value) { - - usage_ = value; - bitField0_ |= 0x00000004; - onChanged(); - return this; - } - /** - *
-       * The memory usage.
-       * 
- * - * double usage = 3 [json_name = "usage"]; - * @return This builder for chaining. - */ - public Builder clearUsage() { - bitField0_ = (bitField0_ & ~0x00000004); - usage_ = 0D; - 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:payload.v1.Info.Memory) + // @@protoc_insertion_point(builder_scope:payload.v1.Info.CPU) } - // @@protoc_insertion_point(class_scope:payload.v1.Info.Memory) - private static final org.vdaas.vald.api.v1.payload.Info.Memory DEFAULT_INSTANCE; + // @@protoc_insertion_point(class_scope:payload.v1.Info.CPU) + private static final org.vdaas.vald.api.v1.payload.Info.CPU DEFAULT_INSTANCE; static { - DEFAULT_INSTANCE = new org.vdaas.vald.api.v1.payload.Info.Memory(); + DEFAULT_INSTANCE = new org.vdaas.vald.api.v1.payload.Info.CPU(); } - public static org.vdaas.vald.api.v1.payload.Info.Memory getDefaultInstance() { + public static org.vdaas.vald.api.v1.payload.Info.CPU 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 Memory parsePartialFrom( + public CPU parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { @@ -12034,169 +7120,138 @@ public Memory 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 org.vdaas.vald.api.v1.payload.Info.Memory getDefaultInstanceForType() { + public org.vdaas.vald.api.v1.payload.Info.CPU getDefaultInstanceForType() { return DEFAULT_INSTANCE; } } - public interface PodsOrBuilder extends - // @@protoc_insertion_point(interface_extends:payload.v1.Info.Pods) + public interface MemoryOrBuilder extends + // @@protoc_insertion_point(interface_extends:payload.v1.Info.Memory) com.google.protobuf.MessageOrBuilder { /** *
-     * The multiple pod information.
-     * 
- * - * repeated .payload.v1.Info.Pod pods = 1 [json_name = "pods", (.buf.validate.field) = { ... } - */ - java.util.List - getPodsList(); - /** - *
-     * The multiple pod information.
-     * 
- * - * repeated .payload.v1.Info.Pod pods = 1 [json_name = "pods", (.buf.validate.field) = { ... } - */ - org.vdaas.vald.api.v1.payload.Info.Pod getPods(int index); - /** - *
-     * The multiple pod information.
+     * The memory limit.
      * 
* - * repeated .payload.v1.Info.Pod pods = 1 [json_name = "pods", (.buf.validate.field) = { ... } + * double limit = 1; + * @return The limit. */ - int getPodsCount(); + double getLimit(); + /** *
-     * The multiple pod information.
+     * The memory requested.
      * 
* - * repeated .payload.v1.Info.Pod pods = 1 [json_name = "pods", (.buf.validate.field) = { ... } + * double request = 2; + * @return The request. */ - java.util.List - getPodsOrBuilderList(); + double getRequest(); + /** *
-     * The multiple pod information.
+     * The memory usage.
      * 
* - * repeated .payload.v1.Info.Pod pods = 1 [json_name = "pods", (.buf.validate.field) = { ... } + * double usage = 3; + * @return The usage. */ - org.vdaas.vald.api.v1.payload.Info.PodOrBuilder getPodsOrBuilder( - int index); + double getUsage(); } /** *
-   * Represent the multiple pod information message.
+   * Represent the memory information message.
    * 
* - * Protobuf type {@code payload.v1.Info.Pods} + * Protobuf type {@code payload.v1.Info.Memory} */ - public static final class Pods extends + public static final class Memory extends com.google.protobuf.GeneratedMessageV3 implements - // @@protoc_insertion_point(message_implements:payload.v1.Info.Pods) - PodsOrBuilder { + // @@protoc_insertion_point(message_implements:payload.v1.Info.Memory) + MemoryOrBuilder { private static final long serialVersionUID = 0L; - // Use Pods.newBuilder() to construct. - private Pods(com.google.protobuf.GeneratedMessageV3.Builder builder) { + // Use Memory.newBuilder() to construct. + private Memory(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private Pods() { - pods_ = java.util.Collections.emptyList(); + private Memory() { } @java.lang.Override @SuppressWarnings({"unused"}) protected java.lang.Object newInstance( UnusedPrivateParameter unused) { - return new Pods(); + return new Memory(); } public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return org.vdaas.vald.api.v1.payload.ValdPayload.internal_static_payload_v1_Info_Pods_descriptor; + return org.vdaas.vald.api.v1.payload.ValdPayload.internal_static_payload_v1_Info_Memory_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return org.vdaas.vald.api.v1.payload.ValdPayload.internal_static_payload_v1_Info_Pods_fieldAccessorTable + return org.vdaas.vald.api.v1.payload.ValdPayload.internal_static_payload_v1_Info_Memory_fieldAccessorTable .ensureFieldAccessorsInitialized( - org.vdaas.vald.api.v1.payload.Info.Pods.class, org.vdaas.vald.api.v1.payload.Info.Pods.Builder.class); + org.vdaas.vald.api.v1.payload.Info.Memory.class, org.vdaas.vald.api.v1.payload.Info.Memory.Builder.class); } - public static final int PODS_FIELD_NUMBER = 1; - @SuppressWarnings("serial") - private java.util.List pods_; - /** - *
-     * The multiple pod information.
-     * 
- * - * repeated .payload.v1.Info.Pod pods = 1 [json_name = "pods", (.buf.validate.field) = { ... } - */ - @java.lang.Override - public java.util.List getPodsList() { - return pods_; - } - /** - *
-     * The multiple pod information.
-     * 
- * - * repeated .payload.v1.Info.Pod pods = 1 [json_name = "pods", (.buf.validate.field) = { ... } - */ - @java.lang.Override - public java.util.List - getPodsOrBuilderList() { - return pods_; - } + public static final int LIMIT_FIELD_NUMBER = 1; + private double limit_ = 0D; /** *
-     * The multiple pod information.
+     * The memory limit.
      * 
* - * repeated .payload.v1.Info.Pod pods = 1 [json_name = "pods", (.buf.validate.field) = { ... } + * double limit = 1; + * @return The limit. */ @java.lang.Override - public int getPodsCount() { - return pods_.size(); + public double getLimit() { + return limit_; } + + public static final int REQUEST_FIELD_NUMBER = 2; + private double request_ = 0D; /** *
-     * The multiple pod information.
+     * The memory requested.
      * 
* - * repeated .payload.v1.Info.Pod pods = 1 [json_name = "pods", (.buf.validate.field) = { ... } + * double request = 2; + * @return The request. */ @java.lang.Override - public org.vdaas.vald.api.v1.payload.Info.Pod getPods(int index) { - return pods_.get(index); + public double getRequest() { + return request_; } + + public static final int USAGE_FIELD_NUMBER = 3; + private double usage_ = 0D; /** *
-     * The multiple pod information.
+     * The memory usage.
      * 
* - * repeated .payload.v1.Info.Pod pods = 1 [json_name = "pods", (.buf.validate.field) = { ... } + * double usage = 3; + * @return The usage. */ @java.lang.Override - public org.vdaas.vald.api.v1.payload.Info.PodOrBuilder getPodsOrBuilder( - int index) { - return pods_.get(index); + public double getUsage() { + return usage_; } private byte memoizedIsInitialized = -1; @@ -12213,8 +7268,14 @@ public final boolean isInitialized() { @java.lang.Override public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { - for (int i = 0; i < pods_.size(); i++) { - output.writeMessage(1, pods_.get(i)); + if (java.lang.Double.doubleToRawLongBits(limit_) != 0) { + output.writeDouble(1, limit_); + } + if (java.lang.Double.doubleToRawLongBits(request_) != 0) { + output.writeDouble(2, request_); + } + if (java.lang.Double.doubleToRawLongBits(usage_) != 0) { + output.writeDouble(3, usage_); } getUnknownFields().writeTo(output); } @@ -12225,9 +7286,17 @@ public int getSerializedSize() { if (size != -1) return size; size = 0; - for (int i = 0; i < pods_.size(); i++) { + if (java.lang.Double.doubleToRawLongBits(limit_) != 0) { size += com.google.protobuf.CodedOutputStream - .computeMessageSize(1, pods_.get(i)); + .computeDoubleSize(1, limit_); + } + if (java.lang.Double.doubleToRawLongBits(request_) != 0) { + size += com.google.protobuf.CodedOutputStream + .computeDoubleSize(2, request_); + } + if (java.lang.Double.doubleToRawLongBits(usage_) != 0) { + size += com.google.protobuf.CodedOutputStream + .computeDoubleSize(3, usage_); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -12239,13 +7308,20 @@ public boolean equals(final java.lang.Object obj) { if (obj == this) { return true; } - if (!(obj instanceof org.vdaas.vald.api.v1.payload.Info.Pods)) { + if (!(obj instanceof org.vdaas.vald.api.v1.payload.Info.Memory)) { return super.equals(obj); } - org.vdaas.vald.api.v1.payload.Info.Pods other = (org.vdaas.vald.api.v1.payload.Info.Pods) obj; + org.vdaas.vald.api.v1.payload.Info.Memory other = (org.vdaas.vald.api.v1.payload.Info.Memory) obj; - if (!getPodsList() - .equals(other.getPodsList())) return false; + if (java.lang.Double.doubleToLongBits(getLimit()) + != java.lang.Double.doubleToLongBits( + other.getLimit())) return false; + if (java.lang.Double.doubleToLongBits(getRequest()) + != java.lang.Double.doubleToLongBits( + other.getRequest())) return false; + if (java.lang.Double.doubleToLongBits(getUsage()) + != java.lang.Double.doubleToLongBits( + other.getUsage())) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -12257,53 +7333,58 @@ public int hashCode() { } int hash = 41; hash = (19 * hash) + getDescriptor().hashCode(); - if (getPodsCount() > 0) { - hash = (37 * hash) + PODS_FIELD_NUMBER; - hash = (53 * hash) + getPodsList().hashCode(); - } + hash = (37 * hash) + LIMIT_FIELD_NUMBER; + hash = (53 * hash) + com.google.protobuf.Internal.hashLong( + java.lang.Double.doubleToLongBits(getLimit())); + hash = (37 * hash) + REQUEST_FIELD_NUMBER; + hash = (53 * hash) + com.google.protobuf.Internal.hashLong( + java.lang.Double.doubleToLongBits(getRequest())); + hash = (37 * hash) + USAGE_FIELD_NUMBER; + hash = (53 * hash) + com.google.protobuf.Internal.hashLong( + java.lang.Double.doubleToLongBits(getUsage())); hash = (29 * hash) + getUnknownFields().hashCode(); memoizedHashCode = hash; return hash; } - public static org.vdaas.vald.api.v1.payload.Info.Pods parseFrom( + public static org.vdaas.vald.api.v1.payload.Info.Memory parseFrom( java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static org.vdaas.vald.api.v1.payload.Info.Pods parseFrom( + public static org.vdaas.vald.api.v1.payload.Info.Memory parseFrom( java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static org.vdaas.vald.api.v1.payload.Info.Pods parseFrom( + public static org.vdaas.vald.api.v1.payload.Info.Memory parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static org.vdaas.vald.api.v1.payload.Info.Pods parseFrom( + public static org.vdaas.vald.api.v1.payload.Info.Memory parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static org.vdaas.vald.api.v1.payload.Info.Pods parseFrom(byte[] data) + public static org.vdaas.vald.api.v1.payload.Info.Memory parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static org.vdaas.vald.api.v1.payload.Info.Pods parseFrom( + public static org.vdaas.vald.api.v1.payload.Info.Memory parseFrom( byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static org.vdaas.vald.api.v1.payload.Info.Pods parseFrom(java.io.InputStream input) + public static org.vdaas.vald.api.v1.payload.Info.Memory parseFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } - public static org.vdaas.vald.api.v1.payload.Info.Pods parseFrom( + public static org.vdaas.vald.api.v1.payload.Info.Memory parseFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { @@ -12311,26 +7392,26 @@ public static org.vdaas.vald.api.v1.payload.Info.Pods parseFrom( .parseWithIOException(PARSER, input, extensionRegistry); } - public static org.vdaas.vald.api.v1.payload.Info.Pods parseDelimitedFrom(java.io.InputStream input) + public static org.vdaas.vald.api.v1.payload.Info.Memory parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseDelimitedWithIOException(PARSER, input); } - public static org.vdaas.vald.api.v1.payload.Info.Pods parseDelimitedFrom( + public static org.vdaas.vald.api.v1.payload.Info.Memory 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 org.vdaas.vald.api.v1.payload.Info.Pods parseFrom( + public static org.vdaas.vald.api.v1.payload.Info.Memory parseFrom( com.google.protobuf.CodedInputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } - public static org.vdaas.vald.api.v1.payload.Info.Pods parseFrom( + public static org.vdaas.vald.api.v1.payload.Info.Memory parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { @@ -12343,7 +7424,7 @@ public static org.vdaas.vald.api.v1.payload.Info.Pods parseFrom( public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(org.vdaas.vald.api.v1.payload.Info.Pods prototype) { + public static Builder newBuilder(org.vdaas.vald.api.v1.payload.Info.Memory prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } @java.lang.Override @@ -12360,29 +7441,29 @@ protected Builder newBuilderForType( } /** *
-     * Represent the multiple pod information message.
+     * Represent the memory information message.
      * 
* - * Protobuf type {@code payload.v1.Info.Pods} + * Protobuf type {@code payload.v1.Info.Memory} */ public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder implements - // @@protoc_insertion_point(builder_implements:payload.v1.Info.Pods) - org.vdaas.vald.api.v1.payload.Info.PodsOrBuilder { + // @@protoc_insertion_point(builder_implements:payload.v1.Info.Memory) + org.vdaas.vald.api.v1.payload.Info.MemoryOrBuilder { public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return org.vdaas.vald.api.v1.payload.ValdPayload.internal_static_payload_v1_Info_Pods_descriptor; + return org.vdaas.vald.api.v1.payload.ValdPayload.internal_static_payload_v1_Info_Memory_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return org.vdaas.vald.api.v1.payload.ValdPayload.internal_static_payload_v1_Info_Pods_fieldAccessorTable + return org.vdaas.vald.api.v1.payload.ValdPayload.internal_static_payload_v1_Info_Memory_fieldAccessorTable .ensureFieldAccessorsInitialized( - org.vdaas.vald.api.v1.payload.Info.Pods.class, org.vdaas.vald.api.v1.payload.Info.Pods.Builder.class); + org.vdaas.vald.api.v1.payload.Info.Memory.class, org.vdaas.vald.api.v1.payload.Info.Memory.Builder.class); } - // Construct using org.vdaas.vald.api.v1.payload.Info.Pods.newBuilder() + // Construct using org.vdaas.vald.api.v1.payload.Info.Memory.newBuilder() private Builder() { } @@ -12396,30 +7477,26 @@ private Builder( public Builder clear() { super.clear(); bitField0_ = 0; - if (podsBuilder_ == null) { - pods_ = java.util.Collections.emptyList(); - } else { - pods_ = null; - podsBuilder_.clear(); - } - bitField0_ = (bitField0_ & ~0x00000001); + limit_ = 0D; + request_ = 0D; + usage_ = 0D; return this; } @java.lang.Override public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return org.vdaas.vald.api.v1.payload.ValdPayload.internal_static_payload_v1_Info_Pods_descriptor; + return org.vdaas.vald.api.v1.payload.ValdPayload.internal_static_payload_v1_Info_Memory_descriptor; } @java.lang.Override - public org.vdaas.vald.api.v1.payload.Info.Pods getDefaultInstanceForType() { - return org.vdaas.vald.api.v1.payload.Info.Pods.getDefaultInstance(); + public org.vdaas.vald.api.v1.payload.Info.Memory getDefaultInstanceForType() { + return org.vdaas.vald.api.v1.payload.Info.Memory.getDefaultInstance(); } @java.lang.Override - public org.vdaas.vald.api.v1.payload.Info.Pods build() { - org.vdaas.vald.api.v1.payload.Info.Pods result = buildPartial(); + public org.vdaas.vald.api.v1.payload.Info.Memory build() { + org.vdaas.vald.api.v1.payload.Info.Memory result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } @@ -12427,28 +7504,24 @@ public org.vdaas.vald.api.v1.payload.Info.Pods build() { } @java.lang.Override - public org.vdaas.vald.api.v1.payload.Info.Pods buildPartial() { - org.vdaas.vald.api.v1.payload.Info.Pods result = new org.vdaas.vald.api.v1.payload.Info.Pods(this); - buildPartialRepeatedFields(result); + public org.vdaas.vald.api.v1.payload.Info.Memory buildPartial() { + org.vdaas.vald.api.v1.payload.Info.Memory result = new org.vdaas.vald.api.v1.payload.Info.Memory(this); if (bitField0_ != 0) { buildPartial0(result); } onBuilt(); return result; } - private void buildPartialRepeatedFields(org.vdaas.vald.api.v1.payload.Info.Pods result) { - if (podsBuilder_ == null) { - if (((bitField0_ & 0x00000001) != 0)) { - pods_ = java.util.Collections.unmodifiableList(pods_); - bitField0_ = (bitField0_ & ~0x00000001); - } - result.pods_ = pods_; - } else { - result.pods_ = podsBuilder_.build(); - } - } - - private void buildPartial0(org.vdaas.vald.api.v1.payload.Info.Pods result) { + private void buildPartial0(org.vdaas.vald.api.v1.payload.Info.Memory result) { int from_bitField0_ = bitField0_; + if (((from_bitField0_ & 0x00000001) != 0)) { + result.limit_ = limit_; + } + if (((from_bitField0_ & 0x00000002) != 0)) { + result.request_ = request_; + } + if (((from_bitField0_ & 0x00000004) != 0)) { + result.usage_ = usage_; + } } @java.lang.Override @@ -12477,416 +7550,221 @@ public Builder setRepeatedField( 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 org.vdaas.vald.api.v1.payload.Info.Pods) { - return mergeFrom((org.vdaas.vald.api.v1.payload.Info.Pods)other); - } else { - super.mergeFrom(other); - return this; - } - } - - public Builder mergeFrom(org.vdaas.vald.api.v1.payload.Info.Pods other) { - if (other == org.vdaas.vald.api.v1.payload.Info.Pods.getDefaultInstance()) return this; - if (podsBuilder_ == null) { - if (!other.pods_.isEmpty()) { - if (pods_.isEmpty()) { - pods_ = other.pods_; - bitField0_ = (bitField0_ & ~0x00000001); - } else { - ensurePodsIsMutable(); - pods_.addAll(other.pods_); - } - onChanged(); - } - } else { - if (!other.pods_.isEmpty()) { - if (podsBuilder_.isEmpty()) { - podsBuilder_.dispose(); - podsBuilder_ = null; - pods_ = other.pods_; - bitField0_ = (bitField0_ & ~0x00000001); - podsBuilder_ = - com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? - getPodsFieldBuilder() : null; - } else { - podsBuilder_.addAllMessages(other.pods_); - } - } - } - 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: { - org.vdaas.vald.api.v1.payload.Info.Pod m = - input.readMessage( - org.vdaas.vald.api.v1.payload.Info.Pod.parser(), - extensionRegistry); - if (podsBuilder_ == null) { - ensurePodsIsMutable(); - pods_.add(m); - } else { - podsBuilder_.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 pods_ = - java.util.Collections.emptyList(); - private void ensurePodsIsMutable() { - if (!((bitField0_ & 0x00000001) != 0)) { - pods_ = new java.util.ArrayList(pods_); - bitField0_ |= 0x00000001; - } - } - - private com.google.protobuf.RepeatedFieldBuilderV3< - org.vdaas.vald.api.v1.payload.Info.Pod, org.vdaas.vald.api.v1.payload.Info.Pod.Builder, org.vdaas.vald.api.v1.payload.Info.PodOrBuilder> podsBuilder_; - - /** - *
-       * The multiple pod information.
-       * 
- * - * repeated .payload.v1.Info.Pod pods = 1 [json_name = "pods", (.buf.validate.field) = { ... } - */ - public java.util.List getPodsList() { - if (podsBuilder_ == null) { - return java.util.Collections.unmodifiableList(pods_); - } else { - return podsBuilder_.getMessageList(); - } - } - /** - *
-       * The multiple pod information.
-       * 
- * - * repeated .payload.v1.Info.Pod pods = 1 [json_name = "pods", (.buf.validate.field) = { ... } - */ - public int getPodsCount() { - if (podsBuilder_ == null) { - return pods_.size(); - } else { - return podsBuilder_.getCount(); - } - } - /** - *
-       * The multiple pod information.
-       * 
- * - * repeated .payload.v1.Info.Pod pods = 1 [json_name = "pods", (.buf.validate.field) = { ... } - */ - public org.vdaas.vald.api.v1.payload.Info.Pod getPods(int index) { - if (podsBuilder_ == null) { - return pods_.get(index); - } else { - return podsBuilder_.getMessage(index); - } - } - /** - *
-       * The multiple pod information.
-       * 
- * - * repeated .payload.v1.Info.Pod pods = 1 [json_name = "pods", (.buf.validate.field) = { ... } - */ - public Builder setPods( - int index, org.vdaas.vald.api.v1.payload.Info.Pod value) { - if (podsBuilder_ == null) { - if (value == null) { - throw new NullPointerException(); - } - ensurePodsIsMutable(); - pods_.set(index, value); - onChanged(); - } else { - podsBuilder_.setMessage(index, value); - } - return this; - } - /** - *
-       * The multiple pod information.
-       * 
- * - * repeated .payload.v1.Info.Pod pods = 1 [json_name = "pods", (.buf.validate.field) = { ... } - */ - public Builder setPods( - int index, org.vdaas.vald.api.v1.payload.Info.Pod.Builder builderForValue) { - if (podsBuilder_ == null) { - ensurePodsIsMutable(); - pods_.set(index, builderForValue.build()); - onChanged(); - } else { - podsBuilder_.setMessage(index, builderForValue.build()); - } - return this; - } - /** - *
-       * The multiple pod information.
-       * 
- * - * repeated .payload.v1.Info.Pod pods = 1 [json_name = "pods", (.buf.validate.field) = { ... } - */ - public Builder addPods(org.vdaas.vald.api.v1.payload.Info.Pod value) { - if (podsBuilder_ == null) { - if (value == null) { - throw new NullPointerException(); - } - ensurePodsIsMutable(); - pods_.add(value); - onChanged(); - } else { - podsBuilder_.addMessage(value); - } - return this; - } - /** - *
-       * The multiple pod information.
-       * 
- * - * repeated .payload.v1.Info.Pod pods = 1 [json_name = "pods", (.buf.validate.field) = { ... } - */ - public Builder addPods( - int index, org.vdaas.vald.api.v1.payload.Info.Pod value) { - if (podsBuilder_ == null) { - if (value == null) { - throw new NullPointerException(); - } - ensurePodsIsMutable(); - pods_.add(index, value); - onChanged(); - } else { - podsBuilder_.addMessage(index, value); - } - return this; + @java.lang.Override + public Builder addRepeatedField( + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { + return super.addRepeatedField(field, value); } - /** - *
-       * The multiple pod information.
-       * 
- * - * repeated .payload.v1.Info.Pod pods = 1 [json_name = "pods", (.buf.validate.field) = { ... } - */ - public Builder addPods( - org.vdaas.vald.api.v1.payload.Info.Pod.Builder builderForValue) { - if (podsBuilder_ == null) { - ensurePodsIsMutable(); - pods_.add(builderForValue.build()); - onChanged(); + @java.lang.Override + public Builder mergeFrom(com.google.protobuf.Message other) { + if (other instanceof org.vdaas.vald.api.v1.payload.Info.Memory) { + return mergeFrom((org.vdaas.vald.api.v1.payload.Info.Memory)other); } else { - podsBuilder_.addMessage(builderForValue.build()); + super.mergeFrom(other); + return this; } - return this; } - /** - *
-       * The multiple pod information.
-       * 
- * - * repeated .payload.v1.Info.Pod pods = 1 [json_name = "pods", (.buf.validate.field) = { ... } - */ - public Builder addPods( - int index, org.vdaas.vald.api.v1.payload.Info.Pod.Builder builderForValue) { - if (podsBuilder_ == null) { - ensurePodsIsMutable(); - pods_.add(index, builderForValue.build()); - onChanged(); - } else { - podsBuilder_.addMessage(index, builderForValue.build()); + + public Builder mergeFrom(org.vdaas.vald.api.v1.payload.Info.Memory other) { + if (other == org.vdaas.vald.api.v1.payload.Info.Memory.getDefaultInstance()) return this; + if (other.getLimit() != 0D) { + setLimit(other.getLimit()); + } + if (other.getRequest() != 0D) { + setRequest(other.getRequest()); + } + if (other.getUsage() != 0D) { + setUsage(other.getUsage()); } + this.mergeUnknownFields(other.getUnknownFields()); + onChanged(); return this; } - /** - *
-       * The multiple pod information.
-       * 
- * - * repeated .payload.v1.Info.Pod pods = 1 [json_name = "pods", (.buf.validate.field) = { ... } - */ - public Builder addAllPods( - java.lang.Iterable values) { - if (podsBuilder_ == null) { - ensurePodsIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll( - values, pods_); - onChanged(); - } else { - podsBuilder_.addAllMessages(values); + + @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 9: { + limit_ = input.readDouble(); + bitField0_ |= 0x00000001; + break; + } // case 9 + case 17: { + request_ = input.readDouble(); + bitField0_ |= 0x00000002; + break; + } // case 17 + case 25: { + usage_ = input.readDouble(); + bitField0_ |= 0x00000004; + break; + } // case 25 + 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 double limit_ ; /** *
-       * The multiple pod information.
+       * The memory limit.
        * 
* - * repeated .payload.v1.Info.Pod pods = 1 [json_name = "pods", (.buf.validate.field) = { ... } + * double limit = 1; + * @return The limit. */ - public Builder clearPods() { - if (podsBuilder_ == null) { - pods_ = java.util.Collections.emptyList(); - bitField0_ = (bitField0_ & ~0x00000001); - onChanged(); - } else { - podsBuilder_.clear(); - } - return this; + @java.lang.Override + public double getLimit() { + return limit_; } /** *
-       * The multiple pod information.
+       * The memory limit.
        * 
* - * repeated .payload.v1.Info.Pod pods = 1 [json_name = "pods", (.buf.validate.field) = { ... } + * double limit = 1; + * @param value The limit to set. + * @return This builder for chaining. */ - public Builder removePods(int index) { - if (podsBuilder_ == null) { - ensurePodsIsMutable(); - pods_.remove(index); - onChanged(); - } else { - podsBuilder_.remove(index); - } + public Builder setLimit(double value) { + + limit_ = value; + bitField0_ |= 0x00000001; + onChanged(); return this; } /** *
-       * The multiple pod information.
+       * The memory limit.
        * 
* - * repeated .payload.v1.Info.Pod pods = 1 [json_name = "pods", (.buf.validate.field) = { ... } + * double limit = 1; + * @return This builder for chaining. */ - public org.vdaas.vald.api.v1.payload.Info.Pod.Builder getPodsBuilder( - int index) { - return getPodsFieldBuilder().getBuilder(index); + public Builder clearLimit() { + bitField0_ = (bitField0_ & ~0x00000001); + limit_ = 0D; + onChanged(); + return this; } + + private double request_ ; /** *
-       * The multiple pod information.
+       * The memory requested.
        * 
* - * repeated .payload.v1.Info.Pod pods = 1 [json_name = "pods", (.buf.validate.field) = { ... } + * double request = 2; + * @return The request. */ - public org.vdaas.vald.api.v1.payload.Info.PodOrBuilder getPodsOrBuilder( - int index) { - if (podsBuilder_ == null) { - return pods_.get(index); } else { - return podsBuilder_.getMessageOrBuilder(index); - } + @java.lang.Override + public double getRequest() { + return request_; } /** *
-       * The multiple pod information.
+       * The memory requested.
        * 
* - * repeated .payload.v1.Info.Pod pods = 1 [json_name = "pods", (.buf.validate.field) = { ... } + * double request = 2; + * @param value The request to set. + * @return This builder for chaining. */ - public java.util.List - getPodsOrBuilderList() { - if (podsBuilder_ != null) { - return podsBuilder_.getMessageOrBuilderList(); - } else { - return java.util.Collections.unmodifiableList(pods_); - } + public Builder setRequest(double value) { + + request_ = value; + bitField0_ |= 0x00000002; + onChanged(); + return this; } /** *
-       * The multiple pod information.
+       * The memory requested.
        * 
* - * repeated .payload.v1.Info.Pod pods = 1 [json_name = "pods", (.buf.validate.field) = { ... } + * double request = 2; + * @return This builder for chaining. */ - public org.vdaas.vald.api.v1.payload.Info.Pod.Builder addPodsBuilder() { - return getPodsFieldBuilder().addBuilder( - org.vdaas.vald.api.v1.payload.Info.Pod.getDefaultInstance()); + public Builder clearRequest() { + bitField0_ = (bitField0_ & ~0x00000002); + request_ = 0D; + onChanged(); + return this; } + + private double usage_ ; /** *
-       * The multiple pod information.
+       * The memory usage.
        * 
* - * repeated .payload.v1.Info.Pod pods = 1 [json_name = "pods", (.buf.validate.field) = { ... } + * double usage = 3; + * @return The usage. */ - public org.vdaas.vald.api.v1.payload.Info.Pod.Builder addPodsBuilder( - int index) { - return getPodsFieldBuilder().addBuilder( - index, org.vdaas.vald.api.v1.payload.Info.Pod.getDefaultInstance()); + @java.lang.Override + public double getUsage() { + return usage_; } /** *
-       * The multiple pod information.
+       * The memory usage.
        * 
* - * repeated .payload.v1.Info.Pod pods = 1 [json_name = "pods", (.buf.validate.field) = { ... } + * double usage = 3; + * @param value The usage to set. + * @return This builder for chaining. */ - public java.util.List - getPodsBuilderList() { - return getPodsFieldBuilder().getBuilderList(); - } - private com.google.protobuf.RepeatedFieldBuilderV3< - org.vdaas.vald.api.v1.payload.Info.Pod, org.vdaas.vald.api.v1.payload.Info.Pod.Builder, org.vdaas.vald.api.v1.payload.Info.PodOrBuilder> - getPodsFieldBuilder() { - if (podsBuilder_ == null) { - podsBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< - org.vdaas.vald.api.v1.payload.Info.Pod, org.vdaas.vald.api.v1.payload.Info.Pod.Builder, org.vdaas.vald.api.v1.payload.Info.PodOrBuilder>( - pods_, - ((bitField0_ & 0x00000001) != 0), - getParentForChildren(), - isClean()); - pods_ = null; - } - return podsBuilder_; + public Builder setUsage(double value) { + + usage_ = value; + bitField0_ |= 0x00000004; + onChanged(); + return this; + } + /** + *
+       * The memory usage.
+       * 
+ * + * double usage = 3; + * @return This builder for chaining. + */ + public Builder clearUsage() { + bitField0_ = (bitField0_ & ~0x00000004); + usage_ = 0D; + onChanged(); + return this; } @java.lang.Override public final Builder setUnknownFields( @@ -12901,23 +7779,23 @@ public final Builder mergeUnknownFields( } - // @@protoc_insertion_point(builder_scope:payload.v1.Info.Pods) + // @@protoc_insertion_point(builder_scope:payload.v1.Info.Memory) } - // @@protoc_insertion_point(class_scope:payload.v1.Info.Pods) - private static final org.vdaas.vald.api.v1.payload.Info.Pods DEFAULT_INSTANCE; + // @@protoc_insertion_point(class_scope:payload.v1.Info.Memory) + private static final org.vdaas.vald.api.v1.payload.Info.Memory DEFAULT_INSTANCE; static { - DEFAULT_INSTANCE = new org.vdaas.vald.api.v1.payload.Info.Pods(); + DEFAULT_INSTANCE = new org.vdaas.vald.api.v1.payload.Info.Memory(); } - public static org.vdaas.vald.api.v1.payload.Info.Pods getDefaultInstance() { + public static org.vdaas.vald.api.v1.payload.Info.Memory 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 Pods parsePartialFrom( + public Memory parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { @@ -12936,169 +7814,169 @@ public Pods 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 org.vdaas.vald.api.v1.payload.Info.Pods getDefaultInstanceForType() { + public org.vdaas.vald.api.v1.payload.Info.Memory getDefaultInstanceForType() { return DEFAULT_INSTANCE; } } - public interface NodesOrBuilder extends - // @@protoc_insertion_point(interface_extends:payload.v1.Info.Nodes) + public interface PodsOrBuilder extends + // @@protoc_insertion_point(interface_extends:payload.v1.Info.Pods) com.google.protobuf.MessageOrBuilder { /** *
-     * The multiple node information.
+     * The multiple pod information.
      * 
* - * repeated .payload.v1.Info.Node nodes = 1 [json_name = "nodes", (.buf.validate.field) = { ... } + * repeated .payload.v1.Info.Pod pods = 1 [(.validate.rules) = { ... } */ - java.util.List - getNodesList(); + java.util.List + getPodsList(); /** *
-     * The multiple node information.
+     * The multiple pod information.
      * 
* - * repeated .payload.v1.Info.Node nodes = 1 [json_name = "nodes", (.buf.validate.field) = { ... } + * repeated .payload.v1.Info.Pod pods = 1 [(.validate.rules) = { ... } */ - org.vdaas.vald.api.v1.payload.Info.Node getNodes(int index); + org.vdaas.vald.api.v1.payload.Info.Pod getPods(int index); /** *
-     * The multiple node information.
+     * The multiple pod information.
      * 
* - * repeated .payload.v1.Info.Node nodes = 1 [json_name = "nodes", (.buf.validate.field) = { ... } + * repeated .payload.v1.Info.Pod pods = 1 [(.validate.rules) = { ... } */ - int getNodesCount(); + int getPodsCount(); /** *
-     * The multiple node information.
+     * The multiple pod information.
      * 
* - * repeated .payload.v1.Info.Node nodes = 1 [json_name = "nodes", (.buf.validate.field) = { ... } + * repeated .payload.v1.Info.Pod pods = 1 [(.validate.rules) = { ... } */ - java.util.List - getNodesOrBuilderList(); + java.util.List + getPodsOrBuilderList(); /** *
-     * The multiple node information.
+     * The multiple pod information.
      * 
* - * repeated .payload.v1.Info.Node nodes = 1 [json_name = "nodes", (.buf.validate.field) = { ... } + * repeated .payload.v1.Info.Pod pods = 1 [(.validate.rules) = { ... } */ - org.vdaas.vald.api.v1.payload.Info.NodeOrBuilder getNodesOrBuilder( + org.vdaas.vald.api.v1.payload.Info.PodOrBuilder getPodsOrBuilder( int index); } /** *
-   * Represent the multiple node information message.
+   * Represent the multiple pod information message.
    * 
* - * Protobuf type {@code payload.v1.Info.Nodes} + * Protobuf type {@code payload.v1.Info.Pods} */ - public static final class Nodes extends + public static final class Pods extends com.google.protobuf.GeneratedMessageV3 implements - // @@protoc_insertion_point(message_implements:payload.v1.Info.Nodes) - NodesOrBuilder { + // @@protoc_insertion_point(message_implements:payload.v1.Info.Pods) + PodsOrBuilder { private static final long serialVersionUID = 0L; - // Use Nodes.newBuilder() to construct. - private Nodes(com.google.protobuf.GeneratedMessageV3.Builder builder) { + // Use Pods.newBuilder() to construct. + private Pods(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private Nodes() { - nodes_ = java.util.Collections.emptyList(); + private Pods() { + pods_ = java.util.Collections.emptyList(); } @java.lang.Override @SuppressWarnings({"unused"}) protected java.lang.Object newInstance( UnusedPrivateParameter unused) { - return new Nodes(); + return new Pods(); } public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return org.vdaas.vald.api.v1.payload.ValdPayload.internal_static_payload_v1_Info_Nodes_descriptor; + return org.vdaas.vald.api.v1.payload.ValdPayload.internal_static_payload_v1_Info_Pods_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return org.vdaas.vald.api.v1.payload.ValdPayload.internal_static_payload_v1_Info_Nodes_fieldAccessorTable + return org.vdaas.vald.api.v1.payload.ValdPayload.internal_static_payload_v1_Info_Pods_fieldAccessorTable .ensureFieldAccessorsInitialized( - org.vdaas.vald.api.v1.payload.Info.Nodes.class, org.vdaas.vald.api.v1.payload.Info.Nodes.Builder.class); + org.vdaas.vald.api.v1.payload.Info.Pods.class, org.vdaas.vald.api.v1.payload.Info.Pods.Builder.class); } - public static final int NODES_FIELD_NUMBER = 1; + public static final int PODS_FIELD_NUMBER = 1; @SuppressWarnings("serial") - private java.util.List nodes_; + private java.util.List pods_; /** *
-     * The multiple node information.
+     * The multiple pod information.
      * 
* - * repeated .payload.v1.Info.Node nodes = 1 [json_name = "nodes", (.buf.validate.field) = { ... } + * repeated .payload.v1.Info.Pod pods = 1 [(.validate.rules) = { ... } */ @java.lang.Override - public java.util.List getNodesList() { - return nodes_; + public java.util.List getPodsList() { + return pods_; } /** *
-     * The multiple node information.
+     * The multiple pod information.
      * 
* - * repeated .payload.v1.Info.Node nodes = 1 [json_name = "nodes", (.buf.validate.field) = { ... } + * repeated .payload.v1.Info.Pod pods = 1 [(.validate.rules) = { ... } */ @java.lang.Override - public java.util.List - getNodesOrBuilderList() { - return nodes_; + public java.util.List + getPodsOrBuilderList() { + return pods_; } /** *
-     * The multiple node information.
+     * The multiple pod information.
      * 
* - * repeated .payload.v1.Info.Node nodes = 1 [json_name = "nodes", (.buf.validate.field) = { ... } + * repeated .payload.v1.Info.Pod pods = 1 [(.validate.rules) = { ... } */ @java.lang.Override - public int getNodesCount() { - return nodes_.size(); + public int getPodsCount() { + return pods_.size(); } /** *
-     * The multiple node information.
+     * The multiple pod information.
      * 
* - * repeated .payload.v1.Info.Node nodes = 1 [json_name = "nodes", (.buf.validate.field) = { ... } + * repeated .payload.v1.Info.Pod pods = 1 [(.validate.rules) = { ... } */ @java.lang.Override - public org.vdaas.vald.api.v1.payload.Info.Node getNodes(int index) { - return nodes_.get(index); + public org.vdaas.vald.api.v1.payload.Info.Pod getPods(int index) { + return pods_.get(index); } /** *
-     * The multiple node information.
+     * The multiple pod information.
      * 
* - * repeated .payload.v1.Info.Node nodes = 1 [json_name = "nodes", (.buf.validate.field) = { ... } + * repeated .payload.v1.Info.Pod pods = 1 [(.validate.rules) = { ... } */ @java.lang.Override - public org.vdaas.vald.api.v1.payload.Info.NodeOrBuilder getNodesOrBuilder( + public org.vdaas.vald.api.v1.payload.Info.PodOrBuilder getPodsOrBuilder( int index) { - return nodes_.get(index); + return pods_.get(index); } private byte memoizedIsInitialized = -1; @@ -13115,8 +7993,8 @@ public final boolean isInitialized() { @java.lang.Override public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { - for (int i = 0; i < nodes_.size(); i++) { - output.writeMessage(1, nodes_.get(i)); + for (int i = 0; i < pods_.size(); i++) { + output.writeMessage(1, pods_.get(i)); } getUnknownFields().writeTo(output); } @@ -13127,9 +8005,9 @@ public int getSerializedSize() { if (size != -1) return size; size = 0; - for (int i = 0; i < nodes_.size(); i++) { + for (int i = 0; i < pods_.size(); i++) { size += com.google.protobuf.CodedOutputStream - .computeMessageSize(1, nodes_.get(i)); + .computeMessageSize(1, pods_.get(i)); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -13141,13 +8019,13 @@ public boolean equals(final java.lang.Object obj) { if (obj == this) { return true; } - if (!(obj instanceof org.vdaas.vald.api.v1.payload.Info.Nodes)) { + if (!(obj instanceof org.vdaas.vald.api.v1.payload.Info.Pods)) { return super.equals(obj); } - org.vdaas.vald.api.v1.payload.Info.Nodes other = (org.vdaas.vald.api.v1.payload.Info.Nodes) obj; + org.vdaas.vald.api.v1.payload.Info.Pods other = (org.vdaas.vald.api.v1.payload.Info.Pods) obj; - if (!getNodesList() - .equals(other.getNodesList())) return false; + if (!getPodsList() + .equals(other.getPodsList())) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -13159,53 +8037,53 @@ public int hashCode() { } int hash = 41; hash = (19 * hash) + getDescriptor().hashCode(); - if (getNodesCount() > 0) { - hash = (37 * hash) + NODES_FIELD_NUMBER; - hash = (53 * hash) + getNodesList().hashCode(); + if (getPodsCount() > 0) { + hash = (37 * hash) + PODS_FIELD_NUMBER; + hash = (53 * hash) + getPodsList().hashCode(); } hash = (29 * hash) + getUnknownFields().hashCode(); memoizedHashCode = hash; return hash; } - public static org.vdaas.vald.api.v1.payload.Info.Nodes parseFrom( + public static org.vdaas.vald.api.v1.payload.Info.Pods parseFrom( java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static org.vdaas.vald.api.v1.payload.Info.Nodes parseFrom( + public static org.vdaas.vald.api.v1.payload.Info.Pods parseFrom( java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static org.vdaas.vald.api.v1.payload.Info.Nodes parseFrom( + public static org.vdaas.vald.api.v1.payload.Info.Pods parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static org.vdaas.vald.api.v1.payload.Info.Nodes parseFrom( + public static org.vdaas.vald.api.v1.payload.Info.Pods parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static org.vdaas.vald.api.v1.payload.Info.Nodes parseFrom(byte[] data) + public static org.vdaas.vald.api.v1.payload.Info.Pods parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static org.vdaas.vald.api.v1.payload.Info.Nodes parseFrom( + public static org.vdaas.vald.api.v1.payload.Info.Pods parseFrom( byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static org.vdaas.vald.api.v1.payload.Info.Nodes parseFrom(java.io.InputStream input) + public static org.vdaas.vald.api.v1.payload.Info.Pods parseFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } - public static org.vdaas.vald.api.v1.payload.Info.Nodes parseFrom( + public static org.vdaas.vald.api.v1.payload.Info.Pods parseFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { @@ -13213,26 +8091,26 @@ public static org.vdaas.vald.api.v1.payload.Info.Nodes parseFrom( .parseWithIOException(PARSER, input, extensionRegistry); } - public static org.vdaas.vald.api.v1.payload.Info.Nodes parseDelimitedFrom(java.io.InputStream input) + public static org.vdaas.vald.api.v1.payload.Info.Pods parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseDelimitedWithIOException(PARSER, input); } - public static org.vdaas.vald.api.v1.payload.Info.Nodes parseDelimitedFrom( + public static org.vdaas.vald.api.v1.payload.Info.Pods 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 org.vdaas.vald.api.v1.payload.Info.Nodes parseFrom( + public static org.vdaas.vald.api.v1.payload.Info.Pods parseFrom( com.google.protobuf.CodedInputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } - public static org.vdaas.vald.api.v1.payload.Info.Nodes parseFrom( + public static org.vdaas.vald.api.v1.payload.Info.Pods parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { @@ -13245,7 +8123,7 @@ public static org.vdaas.vald.api.v1.payload.Info.Nodes parseFrom( public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(org.vdaas.vald.api.v1.payload.Info.Nodes prototype) { + public static Builder newBuilder(org.vdaas.vald.api.v1.payload.Info.Pods prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } @java.lang.Override @@ -13262,29 +8140,29 @@ protected Builder newBuilderForType( } /** *
-     * Represent the multiple node information message.
+     * Represent the multiple pod information message.
      * 
* - * Protobuf type {@code payload.v1.Info.Nodes} + * Protobuf type {@code payload.v1.Info.Pods} */ public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder implements - // @@protoc_insertion_point(builder_implements:payload.v1.Info.Nodes) - org.vdaas.vald.api.v1.payload.Info.NodesOrBuilder { + // @@protoc_insertion_point(builder_implements:payload.v1.Info.Pods) + org.vdaas.vald.api.v1.payload.Info.PodsOrBuilder { public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return org.vdaas.vald.api.v1.payload.ValdPayload.internal_static_payload_v1_Info_Nodes_descriptor; + return org.vdaas.vald.api.v1.payload.ValdPayload.internal_static_payload_v1_Info_Pods_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return org.vdaas.vald.api.v1.payload.ValdPayload.internal_static_payload_v1_Info_Nodes_fieldAccessorTable + return org.vdaas.vald.api.v1.payload.ValdPayload.internal_static_payload_v1_Info_Pods_fieldAccessorTable .ensureFieldAccessorsInitialized( - org.vdaas.vald.api.v1.payload.Info.Nodes.class, org.vdaas.vald.api.v1.payload.Info.Nodes.Builder.class); + org.vdaas.vald.api.v1.payload.Info.Pods.class, org.vdaas.vald.api.v1.payload.Info.Pods.Builder.class); } - // Construct using org.vdaas.vald.api.v1.payload.Info.Nodes.newBuilder() + // Construct using org.vdaas.vald.api.v1.payload.Info.Pods.newBuilder() private Builder() { } @@ -13298,11 +8176,11 @@ private Builder( public Builder clear() { super.clear(); bitField0_ = 0; - if (nodesBuilder_ == null) { - nodes_ = java.util.Collections.emptyList(); + if (podsBuilder_ == null) { + pods_ = java.util.Collections.emptyList(); } else { - nodes_ = null; - nodesBuilder_.clear(); + pods_ = null; + podsBuilder_.clear(); } bitField0_ = (bitField0_ & ~0x00000001); return this; @@ -13311,17 +8189,17 @@ public Builder clear() { @java.lang.Override public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return org.vdaas.vald.api.v1.payload.ValdPayload.internal_static_payload_v1_Info_Nodes_descriptor; + return org.vdaas.vald.api.v1.payload.ValdPayload.internal_static_payload_v1_Info_Pods_descriptor; } @java.lang.Override - public org.vdaas.vald.api.v1.payload.Info.Nodes getDefaultInstanceForType() { - return org.vdaas.vald.api.v1.payload.Info.Nodes.getDefaultInstance(); + public org.vdaas.vald.api.v1.payload.Info.Pods getDefaultInstanceForType() { + return org.vdaas.vald.api.v1.payload.Info.Pods.getDefaultInstance(); } @java.lang.Override - public org.vdaas.vald.api.v1.payload.Info.Nodes build() { - org.vdaas.vald.api.v1.payload.Info.Nodes result = buildPartial(); + public org.vdaas.vald.api.v1.payload.Info.Pods build() { + org.vdaas.vald.api.v1.payload.Info.Pods result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } @@ -13329,27 +8207,27 @@ public org.vdaas.vald.api.v1.payload.Info.Nodes build() { } @java.lang.Override - public org.vdaas.vald.api.v1.payload.Info.Nodes buildPartial() { - org.vdaas.vald.api.v1.payload.Info.Nodes result = new org.vdaas.vald.api.v1.payload.Info.Nodes(this); + public org.vdaas.vald.api.v1.payload.Info.Pods buildPartial() { + org.vdaas.vald.api.v1.payload.Info.Pods result = new org.vdaas.vald.api.v1.payload.Info.Pods(this); buildPartialRepeatedFields(result); if (bitField0_ != 0) { buildPartial0(result); } onBuilt(); return result; } - private void buildPartialRepeatedFields(org.vdaas.vald.api.v1.payload.Info.Nodes result) { - if (nodesBuilder_ == null) { + private void buildPartialRepeatedFields(org.vdaas.vald.api.v1.payload.Info.Pods result) { + if (podsBuilder_ == null) { if (((bitField0_ & 0x00000001) != 0)) { - nodes_ = java.util.Collections.unmodifiableList(nodes_); + pods_ = java.util.Collections.unmodifiableList(pods_); bitField0_ = (bitField0_ & ~0x00000001); } - result.nodes_ = nodes_; + result.pods_ = pods_; } else { - result.nodes_ = nodesBuilder_.build(); + result.pods_ = podsBuilder_.build(); } } - private void buildPartial0(org.vdaas.vald.api.v1.payload.Info.Nodes result) { + private void buildPartial0(org.vdaas.vald.api.v1.payload.Info.Pods result) { int from_bitField0_ = bitField0_; } @@ -13387,39 +8265,39 @@ public Builder addRepeatedField( } @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { - if (other instanceof org.vdaas.vald.api.v1.payload.Info.Nodes) { - return mergeFrom((org.vdaas.vald.api.v1.payload.Info.Nodes)other); + if (other instanceof org.vdaas.vald.api.v1.payload.Info.Pods) { + return mergeFrom((org.vdaas.vald.api.v1.payload.Info.Pods)other); } else { super.mergeFrom(other); return this; } } - public Builder mergeFrom(org.vdaas.vald.api.v1.payload.Info.Nodes other) { - if (other == org.vdaas.vald.api.v1.payload.Info.Nodes.getDefaultInstance()) return this; - if (nodesBuilder_ == null) { - if (!other.nodes_.isEmpty()) { - if (nodes_.isEmpty()) { - nodes_ = other.nodes_; + public Builder mergeFrom(org.vdaas.vald.api.v1.payload.Info.Pods other) { + if (other == org.vdaas.vald.api.v1.payload.Info.Pods.getDefaultInstance()) return this; + if (podsBuilder_ == null) { + if (!other.pods_.isEmpty()) { + if (pods_.isEmpty()) { + pods_ = other.pods_; bitField0_ = (bitField0_ & ~0x00000001); } else { - ensureNodesIsMutable(); - nodes_.addAll(other.nodes_); + ensurePodsIsMutable(); + pods_.addAll(other.pods_); } onChanged(); - } - } else { - if (!other.nodes_.isEmpty()) { - if (nodesBuilder_.isEmpty()) { - nodesBuilder_.dispose(); - nodesBuilder_ = null; - nodes_ = other.nodes_; + } + } else { + if (!other.pods_.isEmpty()) { + if (podsBuilder_.isEmpty()) { + podsBuilder_.dispose(); + podsBuilder_ = null; + pods_ = other.pods_; bitField0_ = (bitField0_ & ~0x00000001); - nodesBuilder_ = + podsBuilder_ = com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? - getNodesFieldBuilder() : null; + getPodsFieldBuilder() : null; } else { - nodesBuilder_.addAllMessages(other.nodes_); + podsBuilder_.addAllMessages(other.pods_); } } } @@ -13450,15 +8328,15 @@ public Builder mergeFrom( done = true; break; case 10: { - org.vdaas.vald.api.v1.payload.Info.Node m = + org.vdaas.vald.api.v1.payload.Info.Pod m = input.readMessage( - org.vdaas.vald.api.v1.payload.Info.Node.parser(), + org.vdaas.vald.api.v1.payload.Info.Pod.parser(), extensionRegistry); - if (nodesBuilder_ == null) { - ensureNodesIsMutable(); - nodes_.add(m); + if (podsBuilder_ == null) { + ensurePodsIsMutable(); + pods_.add(m); } else { - nodesBuilder_.addMessage(m); + podsBuilder_.addMessage(m); } break; } // case 10 @@ -13479,316 +8357,316 @@ public Builder mergeFrom( } private int bitField0_; - private java.util.List nodes_ = + private java.util.List pods_ = java.util.Collections.emptyList(); - private void ensureNodesIsMutable() { + private void ensurePodsIsMutable() { if (!((bitField0_ & 0x00000001) != 0)) { - nodes_ = new java.util.ArrayList(nodes_); + pods_ = new java.util.ArrayList(pods_); bitField0_ |= 0x00000001; } } private com.google.protobuf.RepeatedFieldBuilderV3< - org.vdaas.vald.api.v1.payload.Info.Node, org.vdaas.vald.api.v1.payload.Info.Node.Builder, org.vdaas.vald.api.v1.payload.Info.NodeOrBuilder> nodesBuilder_; + org.vdaas.vald.api.v1.payload.Info.Pod, org.vdaas.vald.api.v1.payload.Info.Pod.Builder, org.vdaas.vald.api.v1.payload.Info.PodOrBuilder> podsBuilder_; /** *
-       * The multiple node information.
+       * The multiple pod information.
        * 
* - * repeated .payload.v1.Info.Node nodes = 1 [json_name = "nodes", (.buf.validate.field) = { ... } + * repeated .payload.v1.Info.Pod pods = 1 [(.validate.rules) = { ... } */ - public java.util.List getNodesList() { - if (nodesBuilder_ == null) { - return java.util.Collections.unmodifiableList(nodes_); + public java.util.List getPodsList() { + if (podsBuilder_ == null) { + return java.util.Collections.unmodifiableList(pods_); } else { - return nodesBuilder_.getMessageList(); + return podsBuilder_.getMessageList(); } } /** *
-       * The multiple node information.
+       * The multiple pod information.
        * 
* - * repeated .payload.v1.Info.Node nodes = 1 [json_name = "nodes", (.buf.validate.field) = { ... } + * repeated .payload.v1.Info.Pod pods = 1 [(.validate.rules) = { ... } */ - public int getNodesCount() { - if (nodesBuilder_ == null) { - return nodes_.size(); + public int getPodsCount() { + if (podsBuilder_ == null) { + return pods_.size(); } else { - return nodesBuilder_.getCount(); + return podsBuilder_.getCount(); } } /** *
-       * The multiple node information.
+       * The multiple pod information.
        * 
* - * repeated .payload.v1.Info.Node nodes = 1 [json_name = "nodes", (.buf.validate.field) = { ... } + * repeated .payload.v1.Info.Pod pods = 1 [(.validate.rules) = { ... } */ - public org.vdaas.vald.api.v1.payload.Info.Node getNodes(int index) { - if (nodesBuilder_ == null) { - return nodes_.get(index); + public org.vdaas.vald.api.v1.payload.Info.Pod getPods(int index) { + if (podsBuilder_ == null) { + return pods_.get(index); } else { - return nodesBuilder_.getMessage(index); + return podsBuilder_.getMessage(index); } } /** *
-       * The multiple node information.
+       * The multiple pod information.
        * 
* - * repeated .payload.v1.Info.Node nodes = 1 [json_name = "nodes", (.buf.validate.field) = { ... } + * repeated .payload.v1.Info.Pod pods = 1 [(.validate.rules) = { ... } */ - public Builder setNodes( - int index, org.vdaas.vald.api.v1.payload.Info.Node value) { - if (nodesBuilder_ == null) { + public Builder setPods( + int index, org.vdaas.vald.api.v1.payload.Info.Pod value) { + if (podsBuilder_ == null) { if (value == null) { throw new NullPointerException(); } - ensureNodesIsMutable(); - nodes_.set(index, value); + ensurePodsIsMutable(); + pods_.set(index, value); onChanged(); } else { - nodesBuilder_.setMessage(index, value); + podsBuilder_.setMessage(index, value); } return this; } /** *
-       * The multiple node information.
+       * The multiple pod information.
        * 
* - * repeated .payload.v1.Info.Node nodes = 1 [json_name = "nodes", (.buf.validate.field) = { ... } + * repeated .payload.v1.Info.Pod pods = 1 [(.validate.rules) = { ... } */ - public Builder setNodes( - int index, org.vdaas.vald.api.v1.payload.Info.Node.Builder builderForValue) { - if (nodesBuilder_ == null) { - ensureNodesIsMutable(); - nodes_.set(index, builderForValue.build()); + public Builder setPods( + int index, org.vdaas.vald.api.v1.payload.Info.Pod.Builder builderForValue) { + if (podsBuilder_ == null) { + ensurePodsIsMutable(); + pods_.set(index, builderForValue.build()); onChanged(); } else { - nodesBuilder_.setMessage(index, builderForValue.build()); + podsBuilder_.setMessage(index, builderForValue.build()); } return this; } /** *
-       * The multiple node information.
+       * The multiple pod information.
        * 
* - * repeated .payload.v1.Info.Node nodes = 1 [json_name = "nodes", (.buf.validate.field) = { ... } + * repeated .payload.v1.Info.Pod pods = 1 [(.validate.rules) = { ... } */ - public Builder addNodes(org.vdaas.vald.api.v1.payload.Info.Node value) { - if (nodesBuilder_ == null) { + public Builder addPods(org.vdaas.vald.api.v1.payload.Info.Pod value) { + if (podsBuilder_ == null) { if (value == null) { throw new NullPointerException(); } - ensureNodesIsMutable(); - nodes_.add(value); + ensurePodsIsMutable(); + pods_.add(value); onChanged(); } else { - nodesBuilder_.addMessage(value); + podsBuilder_.addMessage(value); } return this; } /** *
-       * The multiple node information.
+       * The multiple pod information.
        * 
* - * repeated .payload.v1.Info.Node nodes = 1 [json_name = "nodes", (.buf.validate.field) = { ... } + * repeated .payload.v1.Info.Pod pods = 1 [(.validate.rules) = { ... } */ - public Builder addNodes( - int index, org.vdaas.vald.api.v1.payload.Info.Node value) { - if (nodesBuilder_ == null) { + public Builder addPods( + int index, org.vdaas.vald.api.v1.payload.Info.Pod value) { + if (podsBuilder_ == null) { if (value == null) { throw new NullPointerException(); } - ensureNodesIsMutable(); - nodes_.add(index, value); + ensurePodsIsMutable(); + pods_.add(index, value); onChanged(); } else { - nodesBuilder_.addMessage(index, value); + podsBuilder_.addMessage(index, value); } return this; } /** *
-       * The multiple node information.
+       * The multiple pod information.
        * 
* - * repeated .payload.v1.Info.Node nodes = 1 [json_name = "nodes", (.buf.validate.field) = { ... } + * repeated .payload.v1.Info.Pod pods = 1 [(.validate.rules) = { ... } */ - public Builder addNodes( - org.vdaas.vald.api.v1.payload.Info.Node.Builder builderForValue) { - if (nodesBuilder_ == null) { - ensureNodesIsMutable(); - nodes_.add(builderForValue.build()); + public Builder addPods( + org.vdaas.vald.api.v1.payload.Info.Pod.Builder builderForValue) { + if (podsBuilder_ == null) { + ensurePodsIsMutable(); + pods_.add(builderForValue.build()); onChanged(); } else { - nodesBuilder_.addMessage(builderForValue.build()); + podsBuilder_.addMessage(builderForValue.build()); } return this; } /** *
-       * The multiple node information.
+       * The multiple pod information.
        * 
* - * repeated .payload.v1.Info.Node nodes = 1 [json_name = "nodes", (.buf.validate.field) = { ... } + * repeated .payload.v1.Info.Pod pods = 1 [(.validate.rules) = { ... } */ - public Builder addNodes( - int index, org.vdaas.vald.api.v1.payload.Info.Node.Builder builderForValue) { - if (nodesBuilder_ == null) { - ensureNodesIsMutable(); - nodes_.add(index, builderForValue.build()); + public Builder addPods( + int index, org.vdaas.vald.api.v1.payload.Info.Pod.Builder builderForValue) { + if (podsBuilder_ == null) { + ensurePodsIsMutable(); + pods_.add(index, builderForValue.build()); onChanged(); } else { - nodesBuilder_.addMessage(index, builderForValue.build()); + podsBuilder_.addMessage(index, builderForValue.build()); } return this; } /** *
-       * The multiple node information.
+       * The multiple pod information.
        * 
* - * repeated .payload.v1.Info.Node nodes = 1 [json_name = "nodes", (.buf.validate.field) = { ... } + * repeated .payload.v1.Info.Pod pods = 1 [(.validate.rules) = { ... } */ - public Builder addAllNodes( - java.lang.Iterable values) { - if (nodesBuilder_ == null) { - ensureNodesIsMutable(); + public Builder addAllPods( + java.lang.Iterable values) { + if (podsBuilder_ == null) { + ensurePodsIsMutable(); com.google.protobuf.AbstractMessageLite.Builder.addAll( - values, nodes_); + values, pods_); onChanged(); } else { - nodesBuilder_.addAllMessages(values); + podsBuilder_.addAllMessages(values); } return this; } /** *
-       * The multiple node information.
+       * The multiple pod information.
        * 
* - * repeated .payload.v1.Info.Node nodes = 1 [json_name = "nodes", (.buf.validate.field) = { ... } + * repeated .payload.v1.Info.Pod pods = 1 [(.validate.rules) = { ... } */ - public Builder clearNodes() { - if (nodesBuilder_ == null) { - nodes_ = java.util.Collections.emptyList(); + public Builder clearPods() { + if (podsBuilder_ == null) { + pods_ = java.util.Collections.emptyList(); bitField0_ = (bitField0_ & ~0x00000001); onChanged(); } else { - nodesBuilder_.clear(); + podsBuilder_.clear(); } return this; } /** *
-       * The multiple node information.
+       * The multiple pod information.
        * 
* - * repeated .payload.v1.Info.Node nodes = 1 [json_name = "nodes", (.buf.validate.field) = { ... } + * repeated .payload.v1.Info.Pod pods = 1 [(.validate.rules) = { ... } */ - public Builder removeNodes(int index) { - if (nodesBuilder_ == null) { - ensureNodesIsMutable(); - nodes_.remove(index); + public Builder removePods(int index) { + if (podsBuilder_ == null) { + ensurePodsIsMutable(); + pods_.remove(index); onChanged(); } else { - nodesBuilder_.remove(index); + podsBuilder_.remove(index); } return this; } /** *
-       * The multiple node information.
+       * The multiple pod information.
        * 
* - * repeated .payload.v1.Info.Node nodes = 1 [json_name = "nodes", (.buf.validate.field) = { ... } + * repeated .payload.v1.Info.Pod pods = 1 [(.validate.rules) = { ... } */ - public org.vdaas.vald.api.v1.payload.Info.Node.Builder getNodesBuilder( + public org.vdaas.vald.api.v1.payload.Info.Pod.Builder getPodsBuilder( int index) { - return getNodesFieldBuilder().getBuilder(index); + return getPodsFieldBuilder().getBuilder(index); } /** *
-       * The multiple node information.
+       * The multiple pod information.
        * 
* - * repeated .payload.v1.Info.Node nodes = 1 [json_name = "nodes", (.buf.validate.field) = { ... } + * repeated .payload.v1.Info.Pod pods = 1 [(.validate.rules) = { ... } */ - public org.vdaas.vald.api.v1.payload.Info.NodeOrBuilder getNodesOrBuilder( + public org.vdaas.vald.api.v1.payload.Info.PodOrBuilder getPodsOrBuilder( int index) { - if (nodesBuilder_ == null) { - return nodes_.get(index); } else { - return nodesBuilder_.getMessageOrBuilder(index); + if (podsBuilder_ == null) { + return pods_.get(index); } else { + return podsBuilder_.getMessageOrBuilder(index); } } /** *
-       * The multiple node information.
+       * The multiple pod information.
        * 
* - * repeated .payload.v1.Info.Node nodes = 1 [json_name = "nodes", (.buf.validate.field) = { ... } + * repeated .payload.v1.Info.Pod pods = 1 [(.validate.rules) = { ... } */ - public java.util.List - getNodesOrBuilderList() { - if (nodesBuilder_ != null) { - return nodesBuilder_.getMessageOrBuilderList(); + public java.util.List + getPodsOrBuilderList() { + if (podsBuilder_ != null) { + return podsBuilder_.getMessageOrBuilderList(); } else { - return java.util.Collections.unmodifiableList(nodes_); + return java.util.Collections.unmodifiableList(pods_); } } /** *
-       * The multiple node information.
+       * The multiple pod information.
        * 
* - * repeated .payload.v1.Info.Node nodes = 1 [json_name = "nodes", (.buf.validate.field) = { ... } + * repeated .payload.v1.Info.Pod pods = 1 [(.validate.rules) = { ... } */ - public org.vdaas.vald.api.v1.payload.Info.Node.Builder addNodesBuilder() { - return getNodesFieldBuilder().addBuilder( - org.vdaas.vald.api.v1.payload.Info.Node.getDefaultInstance()); + public org.vdaas.vald.api.v1.payload.Info.Pod.Builder addPodsBuilder() { + return getPodsFieldBuilder().addBuilder( + org.vdaas.vald.api.v1.payload.Info.Pod.getDefaultInstance()); } /** *
-       * The multiple node information.
+       * The multiple pod information.
        * 
* - * repeated .payload.v1.Info.Node nodes = 1 [json_name = "nodes", (.buf.validate.field) = { ... } + * repeated .payload.v1.Info.Pod pods = 1 [(.validate.rules) = { ... } */ - public org.vdaas.vald.api.v1.payload.Info.Node.Builder addNodesBuilder( + public org.vdaas.vald.api.v1.payload.Info.Pod.Builder addPodsBuilder( int index) { - return getNodesFieldBuilder().addBuilder( - index, org.vdaas.vald.api.v1.payload.Info.Node.getDefaultInstance()); + return getPodsFieldBuilder().addBuilder( + index, org.vdaas.vald.api.v1.payload.Info.Pod.getDefaultInstance()); } /** *
-       * The multiple node information.
+       * The multiple pod information.
        * 
* - * repeated .payload.v1.Info.Node nodes = 1 [json_name = "nodes", (.buf.validate.field) = { ... } + * repeated .payload.v1.Info.Pod pods = 1 [(.validate.rules) = { ... } */ - public java.util.List - getNodesBuilderList() { - return getNodesFieldBuilder().getBuilderList(); + public java.util.List + getPodsBuilderList() { + return getPodsFieldBuilder().getBuilderList(); } private com.google.protobuf.RepeatedFieldBuilderV3< - org.vdaas.vald.api.v1.payload.Info.Node, org.vdaas.vald.api.v1.payload.Info.Node.Builder, org.vdaas.vald.api.v1.payload.Info.NodeOrBuilder> - getNodesFieldBuilder() { - if (nodesBuilder_ == null) { - nodesBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< - org.vdaas.vald.api.v1.payload.Info.Node, org.vdaas.vald.api.v1.payload.Info.Node.Builder, org.vdaas.vald.api.v1.payload.Info.NodeOrBuilder>( - nodes_, + org.vdaas.vald.api.v1.payload.Info.Pod, org.vdaas.vald.api.v1.payload.Info.Pod.Builder, org.vdaas.vald.api.v1.payload.Info.PodOrBuilder> + getPodsFieldBuilder() { + if (podsBuilder_ == null) { + podsBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< + org.vdaas.vald.api.v1.payload.Info.Pod, org.vdaas.vald.api.v1.payload.Info.Pod.Builder, org.vdaas.vald.api.v1.payload.Info.PodOrBuilder>( + pods_, ((bitField0_ & 0x00000001) != 0), getParentForChildren(), isClean()); - nodes_ = null; + pods_ = null; } - return nodesBuilder_; + return podsBuilder_; } @java.lang.Override public final Builder setUnknownFields( @@ -13803,23 +8681,23 @@ public final Builder mergeUnknownFields( } - // @@protoc_insertion_point(builder_scope:payload.v1.Info.Nodes) + // @@protoc_insertion_point(builder_scope:payload.v1.Info.Pods) } - // @@protoc_insertion_point(class_scope:payload.v1.Info.Nodes) - private static final org.vdaas.vald.api.v1.payload.Info.Nodes DEFAULT_INSTANCE; + // @@protoc_insertion_point(class_scope:payload.v1.Info.Pods) + private static final org.vdaas.vald.api.v1.payload.Info.Pods DEFAULT_INSTANCE; static { - DEFAULT_INSTANCE = new org.vdaas.vald.api.v1.payload.Info.Nodes(); + DEFAULT_INSTANCE = new org.vdaas.vald.api.v1.payload.Info.Pods(); } - public static org.vdaas.vald.api.v1.payload.Info.Nodes getDefaultInstance() { + public static org.vdaas.vald.api.v1.payload.Info.Pods 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 Nodes parsePartialFrom( + public Pods parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { @@ -13838,169 +8716,169 @@ public Nodes 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 org.vdaas.vald.api.v1.payload.Info.Nodes getDefaultInstanceForType() { + public org.vdaas.vald.api.v1.payload.Info.Pods getDefaultInstanceForType() { return DEFAULT_INSTANCE; } } - public interface ServicesOrBuilder extends - // @@protoc_insertion_point(interface_extends:payload.v1.Info.Services) + public interface NodesOrBuilder extends + // @@protoc_insertion_point(interface_extends:payload.v1.Info.Nodes) com.google.protobuf.MessageOrBuilder { /** *
-     * The multiple service information.
+     * The multiple node information.
      * 
* - * repeated .payload.v1.Info.Service services = 1 [json_name = "services", (.buf.validate.field) = { ... } + * repeated .payload.v1.Info.Node nodes = 1 [(.validate.rules) = { ... } */ - java.util.List - getServicesList(); + java.util.List + getNodesList(); /** *
-     * The multiple service information.
+     * The multiple node information.
      * 
* - * repeated .payload.v1.Info.Service services = 1 [json_name = "services", (.buf.validate.field) = { ... } + * repeated .payload.v1.Info.Node nodes = 1 [(.validate.rules) = { ... } */ - org.vdaas.vald.api.v1.payload.Info.Service getServices(int index); + org.vdaas.vald.api.v1.payload.Info.Node getNodes(int index); /** *
-     * The multiple service information.
+     * The multiple node information.
      * 
* - * repeated .payload.v1.Info.Service services = 1 [json_name = "services", (.buf.validate.field) = { ... } + * repeated .payload.v1.Info.Node nodes = 1 [(.validate.rules) = { ... } */ - int getServicesCount(); + int getNodesCount(); /** *
-     * The multiple service information.
+     * The multiple node information.
      * 
* - * repeated .payload.v1.Info.Service services = 1 [json_name = "services", (.buf.validate.field) = { ... } + * repeated .payload.v1.Info.Node nodes = 1 [(.validate.rules) = { ... } */ - java.util.List - getServicesOrBuilderList(); + java.util.List + getNodesOrBuilderList(); /** *
-     * The multiple service information.
+     * The multiple node information.
      * 
* - * repeated .payload.v1.Info.Service services = 1 [json_name = "services", (.buf.validate.field) = { ... } + * repeated .payload.v1.Info.Node nodes = 1 [(.validate.rules) = { ... } */ - org.vdaas.vald.api.v1.payload.Info.ServiceOrBuilder getServicesOrBuilder( + org.vdaas.vald.api.v1.payload.Info.NodeOrBuilder getNodesOrBuilder( int index); } /** *
-   * Represent the multiple service information message.
+   * Represent the multiple node information message.
    * 
* - * Protobuf type {@code payload.v1.Info.Services} + * Protobuf type {@code payload.v1.Info.Nodes} */ - public static final class Services extends + public static final class Nodes extends com.google.protobuf.GeneratedMessageV3 implements - // @@protoc_insertion_point(message_implements:payload.v1.Info.Services) - ServicesOrBuilder { + // @@protoc_insertion_point(message_implements:payload.v1.Info.Nodes) + NodesOrBuilder { private static final long serialVersionUID = 0L; - // Use Services.newBuilder() to construct. - private Services(com.google.protobuf.GeneratedMessageV3.Builder builder) { + // Use Nodes.newBuilder() to construct. + private Nodes(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private Services() { - services_ = java.util.Collections.emptyList(); + private Nodes() { + nodes_ = java.util.Collections.emptyList(); } @java.lang.Override @SuppressWarnings({"unused"}) protected java.lang.Object newInstance( UnusedPrivateParameter unused) { - return new Services(); + return new Nodes(); } public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return org.vdaas.vald.api.v1.payload.ValdPayload.internal_static_payload_v1_Info_Services_descriptor; + return org.vdaas.vald.api.v1.payload.ValdPayload.internal_static_payload_v1_Info_Nodes_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return org.vdaas.vald.api.v1.payload.ValdPayload.internal_static_payload_v1_Info_Services_fieldAccessorTable + return org.vdaas.vald.api.v1.payload.ValdPayload.internal_static_payload_v1_Info_Nodes_fieldAccessorTable .ensureFieldAccessorsInitialized( - org.vdaas.vald.api.v1.payload.Info.Services.class, org.vdaas.vald.api.v1.payload.Info.Services.Builder.class); + org.vdaas.vald.api.v1.payload.Info.Nodes.class, org.vdaas.vald.api.v1.payload.Info.Nodes.Builder.class); } - public static final int SERVICES_FIELD_NUMBER = 1; + public static final int NODES_FIELD_NUMBER = 1; @SuppressWarnings("serial") - private java.util.List services_; + private java.util.List nodes_; /** *
-     * The multiple service information.
+     * The multiple node information.
      * 
* - * repeated .payload.v1.Info.Service services = 1 [json_name = "services", (.buf.validate.field) = { ... } + * repeated .payload.v1.Info.Node nodes = 1 [(.validate.rules) = { ... } */ @java.lang.Override - public java.util.List getServicesList() { - return services_; + public java.util.List getNodesList() { + return nodes_; } /** *
-     * The multiple service information.
+     * The multiple node information.
      * 
* - * repeated .payload.v1.Info.Service services = 1 [json_name = "services", (.buf.validate.field) = { ... } + * repeated .payload.v1.Info.Node nodes = 1 [(.validate.rules) = { ... } */ @java.lang.Override - public java.util.List - getServicesOrBuilderList() { - return services_; + public java.util.List + getNodesOrBuilderList() { + return nodes_; } /** *
-     * The multiple service information.
+     * The multiple node information.
      * 
* - * repeated .payload.v1.Info.Service services = 1 [json_name = "services", (.buf.validate.field) = { ... } + * repeated .payload.v1.Info.Node nodes = 1 [(.validate.rules) = { ... } */ @java.lang.Override - public int getServicesCount() { - return services_.size(); + public int getNodesCount() { + return nodes_.size(); } /** *
-     * The multiple service information.
+     * The multiple node information.
      * 
* - * repeated .payload.v1.Info.Service services = 1 [json_name = "services", (.buf.validate.field) = { ... } + * repeated .payload.v1.Info.Node nodes = 1 [(.validate.rules) = { ... } */ @java.lang.Override - public org.vdaas.vald.api.v1.payload.Info.Service getServices(int index) { - return services_.get(index); + public org.vdaas.vald.api.v1.payload.Info.Node getNodes(int index) { + return nodes_.get(index); } /** *
-     * The multiple service information.
+     * The multiple node information.
      * 
* - * repeated .payload.v1.Info.Service services = 1 [json_name = "services", (.buf.validate.field) = { ... } + * repeated .payload.v1.Info.Node nodes = 1 [(.validate.rules) = { ... } */ @java.lang.Override - public org.vdaas.vald.api.v1.payload.Info.ServiceOrBuilder getServicesOrBuilder( + public org.vdaas.vald.api.v1.payload.Info.NodeOrBuilder getNodesOrBuilder( int index) { - return services_.get(index); + return nodes_.get(index); } private byte memoizedIsInitialized = -1; @@ -14017,8 +8895,8 @@ public final boolean isInitialized() { @java.lang.Override public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { - for (int i = 0; i < services_.size(); i++) { - output.writeMessage(1, services_.get(i)); + for (int i = 0; i < nodes_.size(); i++) { + output.writeMessage(1, nodes_.get(i)); } getUnknownFields().writeTo(output); } @@ -14029,9 +8907,9 @@ public int getSerializedSize() { if (size != -1) return size; size = 0; - for (int i = 0; i < services_.size(); i++) { + for (int i = 0; i < nodes_.size(); i++) { size += com.google.protobuf.CodedOutputStream - .computeMessageSize(1, services_.get(i)); + .computeMessageSize(1, nodes_.get(i)); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -14043,13 +8921,13 @@ public boolean equals(final java.lang.Object obj) { if (obj == this) { return true; } - if (!(obj instanceof org.vdaas.vald.api.v1.payload.Info.Services)) { + if (!(obj instanceof org.vdaas.vald.api.v1.payload.Info.Nodes)) { return super.equals(obj); } - org.vdaas.vald.api.v1.payload.Info.Services other = (org.vdaas.vald.api.v1.payload.Info.Services) obj; + org.vdaas.vald.api.v1.payload.Info.Nodes other = (org.vdaas.vald.api.v1.payload.Info.Nodes) obj; - if (!getServicesList() - .equals(other.getServicesList())) return false; + if (!getNodesList() + .equals(other.getNodesList())) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -14061,53 +8939,53 @@ public int hashCode() { } int hash = 41; hash = (19 * hash) + getDescriptor().hashCode(); - if (getServicesCount() > 0) { - hash = (37 * hash) + SERVICES_FIELD_NUMBER; - hash = (53 * hash) + getServicesList().hashCode(); + if (getNodesCount() > 0) { + hash = (37 * hash) + NODES_FIELD_NUMBER; + hash = (53 * hash) + getNodesList().hashCode(); } hash = (29 * hash) + getUnknownFields().hashCode(); memoizedHashCode = hash; return hash; } - public static org.vdaas.vald.api.v1.payload.Info.Services parseFrom( + public static org.vdaas.vald.api.v1.payload.Info.Nodes parseFrom( java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static org.vdaas.vald.api.v1.payload.Info.Services parseFrom( + public static org.vdaas.vald.api.v1.payload.Info.Nodes parseFrom( java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static org.vdaas.vald.api.v1.payload.Info.Services parseFrom( + public static org.vdaas.vald.api.v1.payload.Info.Nodes parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static org.vdaas.vald.api.v1.payload.Info.Services parseFrom( + public static org.vdaas.vald.api.v1.payload.Info.Nodes parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static org.vdaas.vald.api.v1.payload.Info.Services parseFrom(byte[] data) + public static org.vdaas.vald.api.v1.payload.Info.Nodes parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static org.vdaas.vald.api.v1.payload.Info.Services parseFrom( + public static org.vdaas.vald.api.v1.payload.Info.Nodes parseFrom( byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static org.vdaas.vald.api.v1.payload.Info.Services parseFrom(java.io.InputStream input) + public static org.vdaas.vald.api.v1.payload.Info.Nodes parseFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } - public static org.vdaas.vald.api.v1.payload.Info.Services parseFrom( + public static org.vdaas.vald.api.v1.payload.Info.Nodes parseFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { @@ -14115,26 +8993,26 @@ public static org.vdaas.vald.api.v1.payload.Info.Services parseFrom( .parseWithIOException(PARSER, input, extensionRegistry); } - public static org.vdaas.vald.api.v1.payload.Info.Services parseDelimitedFrom(java.io.InputStream input) + public static org.vdaas.vald.api.v1.payload.Info.Nodes parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseDelimitedWithIOException(PARSER, input); } - public static org.vdaas.vald.api.v1.payload.Info.Services parseDelimitedFrom( + public static org.vdaas.vald.api.v1.payload.Info.Nodes 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 org.vdaas.vald.api.v1.payload.Info.Services parseFrom( + public static org.vdaas.vald.api.v1.payload.Info.Nodes parseFrom( com.google.protobuf.CodedInputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } - public static org.vdaas.vald.api.v1.payload.Info.Services parseFrom( + public static org.vdaas.vald.api.v1.payload.Info.Nodes parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { @@ -14147,7 +9025,7 @@ public static org.vdaas.vald.api.v1.payload.Info.Services parseFrom( public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(org.vdaas.vald.api.v1.payload.Info.Services prototype) { + public static Builder newBuilder(org.vdaas.vald.api.v1.payload.Info.Nodes prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } @java.lang.Override @@ -14164,29 +9042,29 @@ protected Builder newBuilderForType( } /** *
-     * Represent the multiple service information message.
+     * Represent the multiple node information message.
      * 
* - * Protobuf type {@code payload.v1.Info.Services} + * Protobuf type {@code payload.v1.Info.Nodes} */ public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder implements - // @@protoc_insertion_point(builder_implements:payload.v1.Info.Services) - org.vdaas.vald.api.v1.payload.Info.ServicesOrBuilder { + // @@protoc_insertion_point(builder_implements:payload.v1.Info.Nodes) + org.vdaas.vald.api.v1.payload.Info.NodesOrBuilder { public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return org.vdaas.vald.api.v1.payload.ValdPayload.internal_static_payload_v1_Info_Services_descriptor; + return org.vdaas.vald.api.v1.payload.ValdPayload.internal_static_payload_v1_Info_Nodes_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return org.vdaas.vald.api.v1.payload.ValdPayload.internal_static_payload_v1_Info_Services_fieldAccessorTable + return org.vdaas.vald.api.v1.payload.ValdPayload.internal_static_payload_v1_Info_Nodes_fieldAccessorTable .ensureFieldAccessorsInitialized( - org.vdaas.vald.api.v1.payload.Info.Services.class, org.vdaas.vald.api.v1.payload.Info.Services.Builder.class); + org.vdaas.vald.api.v1.payload.Info.Nodes.class, org.vdaas.vald.api.v1.payload.Info.Nodes.Builder.class); } - // Construct using org.vdaas.vald.api.v1.payload.Info.Services.newBuilder() + // Construct using org.vdaas.vald.api.v1.payload.Info.Nodes.newBuilder() private Builder() { } @@ -14200,11 +9078,11 @@ private Builder( public Builder clear() { super.clear(); bitField0_ = 0; - if (servicesBuilder_ == null) { - services_ = java.util.Collections.emptyList(); + if (nodesBuilder_ == null) { + nodes_ = java.util.Collections.emptyList(); } else { - services_ = null; - servicesBuilder_.clear(); + nodes_ = null; + nodesBuilder_.clear(); } bitField0_ = (bitField0_ & ~0x00000001); return this; @@ -14213,17 +9091,17 @@ public Builder clear() { @java.lang.Override public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return org.vdaas.vald.api.v1.payload.ValdPayload.internal_static_payload_v1_Info_Services_descriptor; + return org.vdaas.vald.api.v1.payload.ValdPayload.internal_static_payload_v1_Info_Nodes_descriptor; } @java.lang.Override - public org.vdaas.vald.api.v1.payload.Info.Services getDefaultInstanceForType() { - return org.vdaas.vald.api.v1.payload.Info.Services.getDefaultInstance(); + public org.vdaas.vald.api.v1.payload.Info.Nodes getDefaultInstanceForType() { + return org.vdaas.vald.api.v1.payload.Info.Nodes.getDefaultInstance(); } @java.lang.Override - public org.vdaas.vald.api.v1.payload.Info.Services build() { - org.vdaas.vald.api.v1.payload.Info.Services result = buildPartial(); + public org.vdaas.vald.api.v1.payload.Info.Nodes build() { + org.vdaas.vald.api.v1.payload.Info.Nodes result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } @@ -14231,27 +9109,27 @@ public org.vdaas.vald.api.v1.payload.Info.Services build() { } @java.lang.Override - public org.vdaas.vald.api.v1.payload.Info.Services buildPartial() { - org.vdaas.vald.api.v1.payload.Info.Services result = new org.vdaas.vald.api.v1.payload.Info.Services(this); + public org.vdaas.vald.api.v1.payload.Info.Nodes buildPartial() { + org.vdaas.vald.api.v1.payload.Info.Nodes result = new org.vdaas.vald.api.v1.payload.Info.Nodes(this); buildPartialRepeatedFields(result); if (bitField0_ != 0) { buildPartial0(result); } onBuilt(); return result; } - private void buildPartialRepeatedFields(org.vdaas.vald.api.v1.payload.Info.Services result) { - if (servicesBuilder_ == null) { + private void buildPartialRepeatedFields(org.vdaas.vald.api.v1.payload.Info.Nodes result) { + if (nodesBuilder_ == null) { if (((bitField0_ & 0x00000001) != 0)) { - services_ = java.util.Collections.unmodifiableList(services_); + nodes_ = java.util.Collections.unmodifiableList(nodes_); bitField0_ = (bitField0_ & ~0x00000001); } - result.services_ = services_; + result.nodes_ = nodes_; } else { - result.services_ = servicesBuilder_.build(); + result.nodes_ = nodesBuilder_.build(); } } - private void buildPartial0(org.vdaas.vald.api.v1.payload.Info.Services result) { + private void buildPartial0(org.vdaas.vald.api.v1.payload.Info.Nodes result) { int from_bitField0_ = bitField0_; } @@ -14289,39 +9167,39 @@ public Builder addRepeatedField( } @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { - if (other instanceof org.vdaas.vald.api.v1.payload.Info.Services) { - return mergeFrom((org.vdaas.vald.api.v1.payload.Info.Services)other); + if (other instanceof org.vdaas.vald.api.v1.payload.Info.Nodes) { + return mergeFrom((org.vdaas.vald.api.v1.payload.Info.Nodes)other); } else { super.mergeFrom(other); return this; } } - public Builder mergeFrom(org.vdaas.vald.api.v1.payload.Info.Services other) { - if (other == org.vdaas.vald.api.v1.payload.Info.Services.getDefaultInstance()) return this; - if (servicesBuilder_ == null) { - if (!other.services_.isEmpty()) { - if (services_.isEmpty()) { - services_ = other.services_; + public Builder mergeFrom(org.vdaas.vald.api.v1.payload.Info.Nodes other) { + if (other == org.vdaas.vald.api.v1.payload.Info.Nodes.getDefaultInstance()) return this; + if (nodesBuilder_ == null) { + if (!other.nodes_.isEmpty()) { + if (nodes_.isEmpty()) { + nodes_ = other.nodes_; bitField0_ = (bitField0_ & ~0x00000001); } else { - ensureServicesIsMutable(); - services_.addAll(other.services_); + ensureNodesIsMutable(); + nodes_.addAll(other.nodes_); } onChanged(); } } else { - if (!other.services_.isEmpty()) { - if (servicesBuilder_.isEmpty()) { - servicesBuilder_.dispose(); - servicesBuilder_ = null; - services_ = other.services_; + if (!other.nodes_.isEmpty()) { + if (nodesBuilder_.isEmpty()) { + nodesBuilder_.dispose(); + nodesBuilder_ = null; + nodes_ = other.nodes_; bitField0_ = (bitField0_ & ~0x00000001); - servicesBuilder_ = + nodesBuilder_ = com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? - getServicesFieldBuilder() : null; + getNodesFieldBuilder() : null; } else { - servicesBuilder_.addAllMessages(other.services_); + nodesBuilder_.addAllMessages(other.nodes_); } } } @@ -14352,15 +9230,15 @@ public Builder mergeFrom( done = true; break; case 10: { - org.vdaas.vald.api.v1.payload.Info.Service m = + org.vdaas.vald.api.v1.payload.Info.Node m = input.readMessage( - org.vdaas.vald.api.v1.payload.Info.Service.parser(), + org.vdaas.vald.api.v1.payload.Info.Node.parser(), extensionRegistry); - if (servicesBuilder_ == null) { - ensureServicesIsMutable(); - services_.add(m); + if (nodesBuilder_ == null) { + ensureNodesIsMutable(); + nodes_.add(m); } else { - servicesBuilder_.addMessage(m); + nodesBuilder_.addMessage(m); } break; } // case 10 @@ -14381,316 +9259,316 @@ public Builder mergeFrom( } private int bitField0_; - private java.util.List services_ = + private java.util.List nodes_ = java.util.Collections.emptyList(); - private void ensureServicesIsMutable() { + private void ensureNodesIsMutable() { if (!((bitField0_ & 0x00000001) != 0)) { - services_ = new java.util.ArrayList(services_); + nodes_ = new java.util.ArrayList(nodes_); bitField0_ |= 0x00000001; } } private com.google.protobuf.RepeatedFieldBuilderV3< - org.vdaas.vald.api.v1.payload.Info.Service, org.vdaas.vald.api.v1.payload.Info.Service.Builder, org.vdaas.vald.api.v1.payload.Info.ServiceOrBuilder> servicesBuilder_; + org.vdaas.vald.api.v1.payload.Info.Node, org.vdaas.vald.api.v1.payload.Info.Node.Builder, org.vdaas.vald.api.v1.payload.Info.NodeOrBuilder> nodesBuilder_; /** *
-       * The multiple service information.
+       * The multiple node information.
        * 
* - * repeated .payload.v1.Info.Service services = 1 [json_name = "services", (.buf.validate.field) = { ... } + * repeated .payload.v1.Info.Node nodes = 1 [(.validate.rules) = { ... } */ - public java.util.List getServicesList() { - if (servicesBuilder_ == null) { - return java.util.Collections.unmodifiableList(services_); + public java.util.List getNodesList() { + if (nodesBuilder_ == null) { + return java.util.Collections.unmodifiableList(nodes_); } else { - return servicesBuilder_.getMessageList(); + return nodesBuilder_.getMessageList(); } } /** *
-       * The multiple service information.
+       * The multiple node information.
        * 
* - * repeated .payload.v1.Info.Service services = 1 [json_name = "services", (.buf.validate.field) = { ... } + * repeated .payload.v1.Info.Node nodes = 1 [(.validate.rules) = { ... } */ - public int getServicesCount() { - if (servicesBuilder_ == null) { - return services_.size(); + public int getNodesCount() { + if (nodesBuilder_ == null) { + return nodes_.size(); } else { - return servicesBuilder_.getCount(); + return nodesBuilder_.getCount(); } } /** *
-       * The multiple service information.
+       * The multiple node information.
        * 
* - * repeated .payload.v1.Info.Service services = 1 [json_name = "services", (.buf.validate.field) = { ... } + * repeated .payload.v1.Info.Node nodes = 1 [(.validate.rules) = { ... } */ - public org.vdaas.vald.api.v1.payload.Info.Service getServices(int index) { - if (servicesBuilder_ == null) { - return services_.get(index); + public org.vdaas.vald.api.v1.payload.Info.Node getNodes(int index) { + if (nodesBuilder_ == null) { + return nodes_.get(index); } else { - return servicesBuilder_.getMessage(index); + return nodesBuilder_.getMessage(index); } } /** *
-       * The multiple service information.
+       * The multiple node information.
        * 
* - * repeated .payload.v1.Info.Service services = 1 [json_name = "services", (.buf.validate.field) = { ... } + * repeated .payload.v1.Info.Node nodes = 1 [(.validate.rules) = { ... } */ - public Builder setServices( - int index, org.vdaas.vald.api.v1.payload.Info.Service value) { - if (servicesBuilder_ == null) { + public Builder setNodes( + int index, org.vdaas.vald.api.v1.payload.Info.Node value) { + if (nodesBuilder_ == null) { if (value == null) { throw new NullPointerException(); } - ensureServicesIsMutable(); - services_.set(index, value); + ensureNodesIsMutable(); + nodes_.set(index, value); onChanged(); } else { - servicesBuilder_.setMessage(index, value); + nodesBuilder_.setMessage(index, value); } return this; } /** *
-       * The multiple service information.
+       * The multiple node information.
        * 
* - * repeated .payload.v1.Info.Service services = 1 [json_name = "services", (.buf.validate.field) = { ... } + * repeated .payload.v1.Info.Node nodes = 1 [(.validate.rules) = { ... } */ - public Builder setServices( - int index, org.vdaas.vald.api.v1.payload.Info.Service.Builder builderForValue) { - if (servicesBuilder_ == null) { - ensureServicesIsMutable(); - services_.set(index, builderForValue.build()); + public Builder setNodes( + int index, org.vdaas.vald.api.v1.payload.Info.Node.Builder builderForValue) { + if (nodesBuilder_ == null) { + ensureNodesIsMutable(); + nodes_.set(index, builderForValue.build()); onChanged(); } else { - servicesBuilder_.setMessage(index, builderForValue.build()); + nodesBuilder_.setMessage(index, builderForValue.build()); } return this; } /** *
-       * The multiple service information.
+       * The multiple node information.
        * 
* - * repeated .payload.v1.Info.Service services = 1 [json_name = "services", (.buf.validate.field) = { ... } + * repeated .payload.v1.Info.Node nodes = 1 [(.validate.rules) = { ... } */ - public Builder addServices(org.vdaas.vald.api.v1.payload.Info.Service value) { - if (servicesBuilder_ == null) { + public Builder addNodes(org.vdaas.vald.api.v1.payload.Info.Node value) { + if (nodesBuilder_ == null) { if (value == null) { throw new NullPointerException(); } - ensureServicesIsMutable(); - services_.add(value); + ensureNodesIsMutable(); + nodes_.add(value); onChanged(); } else { - servicesBuilder_.addMessage(value); + nodesBuilder_.addMessage(value); } return this; } /** *
-       * The multiple service information.
+       * The multiple node information.
        * 
* - * repeated .payload.v1.Info.Service services = 1 [json_name = "services", (.buf.validate.field) = { ... } + * repeated .payload.v1.Info.Node nodes = 1 [(.validate.rules) = { ... } */ - public Builder addServices( - int index, org.vdaas.vald.api.v1.payload.Info.Service value) { - if (servicesBuilder_ == null) { + public Builder addNodes( + int index, org.vdaas.vald.api.v1.payload.Info.Node value) { + if (nodesBuilder_ == null) { if (value == null) { throw new NullPointerException(); } - ensureServicesIsMutable(); - services_.add(index, value); + ensureNodesIsMutable(); + nodes_.add(index, value); onChanged(); } else { - servicesBuilder_.addMessage(index, value); + nodesBuilder_.addMessage(index, value); } return this; } /** *
-       * The multiple service information.
+       * The multiple node information.
        * 
* - * repeated .payload.v1.Info.Service services = 1 [json_name = "services", (.buf.validate.field) = { ... } + * repeated .payload.v1.Info.Node nodes = 1 [(.validate.rules) = { ... } */ - public Builder addServices( - org.vdaas.vald.api.v1.payload.Info.Service.Builder builderForValue) { - if (servicesBuilder_ == null) { - ensureServicesIsMutable(); - services_.add(builderForValue.build()); + public Builder addNodes( + org.vdaas.vald.api.v1.payload.Info.Node.Builder builderForValue) { + if (nodesBuilder_ == null) { + ensureNodesIsMutable(); + nodes_.add(builderForValue.build()); onChanged(); } else { - servicesBuilder_.addMessage(builderForValue.build()); + nodesBuilder_.addMessage(builderForValue.build()); } return this; } /** *
-       * The multiple service information.
+       * The multiple node information.
        * 
* - * repeated .payload.v1.Info.Service services = 1 [json_name = "services", (.buf.validate.field) = { ... } + * repeated .payload.v1.Info.Node nodes = 1 [(.validate.rules) = { ... } */ - public Builder addServices( - int index, org.vdaas.vald.api.v1.payload.Info.Service.Builder builderForValue) { - if (servicesBuilder_ == null) { - ensureServicesIsMutable(); - services_.add(index, builderForValue.build()); + public Builder addNodes( + int index, org.vdaas.vald.api.v1.payload.Info.Node.Builder builderForValue) { + if (nodesBuilder_ == null) { + ensureNodesIsMutable(); + nodes_.add(index, builderForValue.build()); onChanged(); } else { - servicesBuilder_.addMessage(index, builderForValue.build()); + nodesBuilder_.addMessage(index, builderForValue.build()); } return this; } /** *
-       * The multiple service information.
+       * The multiple node information.
        * 
* - * repeated .payload.v1.Info.Service services = 1 [json_name = "services", (.buf.validate.field) = { ... } + * repeated .payload.v1.Info.Node nodes = 1 [(.validate.rules) = { ... } */ - public Builder addAllServices( - java.lang.Iterable values) { - if (servicesBuilder_ == null) { - ensureServicesIsMutable(); + public Builder addAllNodes( + java.lang.Iterable values) { + if (nodesBuilder_ == null) { + ensureNodesIsMutable(); com.google.protobuf.AbstractMessageLite.Builder.addAll( - values, services_); + values, nodes_); onChanged(); } else { - servicesBuilder_.addAllMessages(values); + nodesBuilder_.addAllMessages(values); } return this; } /** *
-       * The multiple service information.
+       * The multiple node information.
        * 
* - * repeated .payload.v1.Info.Service services = 1 [json_name = "services", (.buf.validate.field) = { ... } + * repeated .payload.v1.Info.Node nodes = 1 [(.validate.rules) = { ... } */ - public Builder clearServices() { - if (servicesBuilder_ == null) { - services_ = java.util.Collections.emptyList(); + public Builder clearNodes() { + if (nodesBuilder_ == null) { + nodes_ = java.util.Collections.emptyList(); bitField0_ = (bitField0_ & ~0x00000001); onChanged(); } else { - servicesBuilder_.clear(); + nodesBuilder_.clear(); } return this; } /** *
-       * The multiple service information.
+       * The multiple node information.
        * 
* - * repeated .payload.v1.Info.Service services = 1 [json_name = "services", (.buf.validate.field) = { ... } + * repeated .payload.v1.Info.Node nodes = 1 [(.validate.rules) = { ... } */ - public Builder removeServices(int index) { - if (servicesBuilder_ == null) { - ensureServicesIsMutable(); - services_.remove(index); + public Builder removeNodes(int index) { + if (nodesBuilder_ == null) { + ensureNodesIsMutable(); + nodes_.remove(index); onChanged(); } else { - servicesBuilder_.remove(index); + nodesBuilder_.remove(index); } return this; } /** *
-       * The multiple service information.
+       * The multiple node information.
        * 
* - * repeated .payload.v1.Info.Service services = 1 [json_name = "services", (.buf.validate.field) = { ... } + * repeated .payload.v1.Info.Node nodes = 1 [(.validate.rules) = { ... } */ - public org.vdaas.vald.api.v1.payload.Info.Service.Builder getServicesBuilder( + public org.vdaas.vald.api.v1.payload.Info.Node.Builder getNodesBuilder( int index) { - return getServicesFieldBuilder().getBuilder(index); + return getNodesFieldBuilder().getBuilder(index); } /** *
-       * The multiple service information.
+       * The multiple node information.
        * 
* - * repeated .payload.v1.Info.Service services = 1 [json_name = "services", (.buf.validate.field) = { ... } + * repeated .payload.v1.Info.Node nodes = 1 [(.validate.rules) = { ... } */ - public org.vdaas.vald.api.v1.payload.Info.ServiceOrBuilder getServicesOrBuilder( + public org.vdaas.vald.api.v1.payload.Info.NodeOrBuilder getNodesOrBuilder( int index) { - if (servicesBuilder_ == null) { - return services_.get(index); } else { - return servicesBuilder_.getMessageOrBuilder(index); + if (nodesBuilder_ == null) { + return nodes_.get(index); } else { + return nodesBuilder_.getMessageOrBuilder(index); } } /** *
-       * The multiple service information.
+       * The multiple node information.
        * 
* - * repeated .payload.v1.Info.Service services = 1 [json_name = "services", (.buf.validate.field) = { ... } + * repeated .payload.v1.Info.Node nodes = 1 [(.validate.rules) = { ... } */ - public java.util.List - getServicesOrBuilderList() { - if (servicesBuilder_ != null) { - return servicesBuilder_.getMessageOrBuilderList(); + public java.util.List + getNodesOrBuilderList() { + if (nodesBuilder_ != null) { + return nodesBuilder_.getMessageOrBuilderList(); } else { - return java.util.Collections.unmodifiableList(services_); + return java.util.Collections.unmodifiableList(nodes_); } } /** *
-       * The multiple service information.
+       * The multiple node information.
        * 
* - * repeated .payload.v1.Info.Service services = 1 [json_name = "services", (.buf.validate.field) = { ... } + * repeated .payload.v1.Info.Node nodes = 1 [(.validate.rules) = { ... } */ - public org.vdaas.vald.api.v1.payload.Info.Service.Builder addServicesBuilder() { - return getServicesFieldBuilder().addBuilder( - org.vdaas.vald.api.v1.payload.Info.Service.getDefaultInstance()); + public org.vdaas.vald.api.v1.payload.Info.Node.Builder addNodesBuilder() { + return getNodesFieldBuilder().addBuilder( + org.vdaas.vald.api.v1.payload.Info.Node.getDefaultInstance()); } /** *
-       * The multiple service information.
+       * The multiple node information.
        * 
* - * repeated .payload.v1.Info.Service services = 1 [json_name = "services", (.buf.validate.field) = { ... } + * repeated .payload.v1.Info.Node nodes = 1 [(.validate.rules) = { ... } */ - public org.vdaas.vald.api.v1.payload.Info.Service.Builder addServicesBuilder( + public org.vdaas.vald.api.v1.payload.Info.Node.Builder addNodesBuilder( int index) { - return getServicesFieldBuilder().addBuilder( - index, org.vdaas.vald.api.v1.payload.Info.Service.getDefaultInstance()); + return getNodesFieldBuilder().addBuilder( + index, org.vdaas.vald.api.v1.payload.Info.Node.getDefaultInstance()); } /** *
-       * The multiple service information.
+       * The multiple node information.
        * 
* - * repeated .payload.v1.Info.Service services = 1 [json_name = "services", (.buf.validate.field) = { ... } + * repeated .payload.v1.Info.Node nodes = 1 [(.validate.rules) = { ... } */ - public java.util.List - getServicesBuilderList() { - return getServicesFieldBuilder().getBuilderList(); + public java.util.List + getNodesBuilderList() { + return getNodesFieldBuilder().getBuilderList(); } private com.google.protobuf.RepeatedFieldBuilderV3< - org.vdaas.vald.api.v1.payload.Info.Service, org.vdaas.vald.api.v1.payload.Info.Service.Builder, org.vdaas.vald.api.v1.payload.Info.ServiceOrBuilder> - getServicesFieldBuilder() { - if (servicesBuilder_ == null) { - servicesBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< - org.vdaas.vald.api.v1.payload.Info.Service, org.vdaas.vald.api.v1.payload.Info.Service.Builder, org.vdaas.vald.api.v1.payload.Info.ServiceOrBuilder>( - services_, + org.vdaas.vald.api.v1.payload.Info.Node, org.vdaas.vald.api.v1.payload.Info.Node.Builder, org.vdaas.vald.api.v1.payload.Info.NodeOrBuilder> + getNodesFieldBuilder() { + if (nodesBuilder_ == null) { + nodesBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< + org.vdaas.vald.api.v1.payload.Info.Node, org.vdaas.vald.api.v1.payload.Info.Node.Builder, org.vdaas.vald.api.v1.payload.Info.NodeOrBuilder>( + nodes_, ((bitField0_ & 0x00000001) != 0), getParentForChildren(), isClean()); - services_ = null; + nodes_ = null; } - return servicesBuilder_; + return nodesBuilder_; } @java.lang.Override public final Builder setUnknownFields( @@ -14705,23 +9583,23 @@ public final Builder mergeUnknownFields( } - // @@protoc_insertion_point(builder_scope:payload.v1.Info.Services) + // @@protoc_insertion_point(builder_scope:payload.v1.Info.Nodes) } - // @@protoc_insertion_point(class_scope:payload.v1.Info.Services) - private static final org.vdaas.vald.api.v1.payload.Info.Services DEFAULT_INSTANCE; + // @@protoc_insertion_point(class_scope:payload.v1.Info.Nodes) + private static final org.vdaas.vald.api.v1.payload.Info.Nodes DEFAULT_INSTANCE; static { - DEFAULT_INSTANCE = new org.vdaas.vald.api.v1.payload.Info.Services(); + DEFAULT_INSTANCE = new org.vdaas.vald.api.v1.payload.Info.Nodes(); } - public static org.vdaas.vald.api.v1.payload.Info.Services getDefaultInstance() { + public static org.vdaas.vald.api.v1.payload.Info.Nodes 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 Services parsePartialFrom( + public Nodes parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { @@ -14740,17 +9618,17 @@ public Services 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 org.vdaas.vald.api.v1.payload.Info.Services getDefaultInstanceForType() { + public org.vdaas.vald.api.v1.payload.Info.Nodes getDefaultInstanceForType() { return DEFAULT_INSTANCE; } @@ -14761,24 +9639,24 @@ public interface IPsOrBuilder extends com.google.protobuf.MessageOrBuilder { /** - * repeated string ip = 1 [json_name = "ip"]; + * repeated string ip = 1; * @return A list containing the ip. */ java.util.List getIpList(); /** - * repeated string ip = 1 [json_name = "ip"]; + * repeated string ip = 1; * @return The count of ip. */ int getIpCount(); /** - * repeated string ip = 1 [json_name = "ip"]; + * repeated string ip = 1; * @param index The index of the element to return. * @return The ip at the given index. */ java.lang.String getIp(int index); /** - * repeated string ip = 1 [json_name = "ip"]; + * repeated string ip = 1; * @param index The index of the value to return. * @return The bytes of the ip at the given index. */ @@ -14831,7 +9709,7 @@ protected java.lang.Object newInstance( private com.google.protobuf.LazyStringArrayList ip_ = com.google.protobuf.LazyStringArrayList.emptyList(); /** - * repeated string ip = 1 [json_name = "ip"]; + * repeated string ip = 1; * @return A list containing the ip. */ public com.google.protobuf.ProtocolStringList @@ -14839,14 +9717,14 @@ protected java.lang.Object newInstance( return ip_; } /** - * repeated string ip = 1 [json_name = "ip"]; + * repeated string ip = 1; * @return The count of ip. */ public int getIpCount() { return ip_.size(); } /** - * repeated string ip = 1 [json_name = "ip"]; + * repeated string ip = 1; * @param index The index of the element to return. * @return The ip at the given index. */ @@ -14854,7 +9732,7 @@ public java.lang.String getIp(int index) { return ip_.get(index); } /** - * repeated string ip = 1 [json_name = "ip"]; + * repeated string ip = 1; * @param index The index of the value to return. * @return The bytes of the ip at the given index. */ @@ -15217,7 +10095,7 @@ private void ensureIpIsMutable() { bitField0_ |= 0x00000001; } /** - * repeated string ip = 1 [json_name = "ip"]; + * repeated string ip = 1; * @return A list containing the ip. */ public com.google.protobuf.ProtocolStringList @@ -15226,14 +10104,14 @@ private void ensureIpIsMutable() { return ip_; } /** - * repeated string ip = 1 [json_name = "ip"]; + * repeated string ip = 1; * @return The count of ip. */ public int getIpCount() { return ip_.size(); } /** - * repeated string ip = 1 [json_name = "ip"]; + * repeated string ip = 1; * @param index The index of the element to return. * @return The ip at the given index. */ @@ -15241,7 +10119,7 @@ public java.lang.String getIp(int index) { return ip_.get(index); } /** - * repeated string ip = 1 [json_name = "ip"]; + * repeated string ip = 1; * @param index The index of the value to return. * @return The bytes of the ip at the given index. */ @@ -15250,7 +10128,7 @@ public java.lang.String getIp(int index) { return ip_.getByteString(index); } /** - * repeated string ip = 1 [json_name = "ip"]; + * repeated string ip = 1; * @param index The index to set the value at. * @param value The ip to set. * @return This builder for chaining. @@ -15265,7 +10143,7 @@ public Builder setIp( return this; } /** - * repeated string ip = 1 [json_name = "ip"]; + * repeated string ip = 1; * @param value The ip to add. * @return This builder for chaining. */ @@ -15279,7 +10157,7 @@ public Builder addIp( return this; } /** - * repeated string ip = 1 [json_name = "ip"]; + * repeated string ip = 1; * @param values The ip to add. * @return This builder for chaining. */ @@ -15293,7 +10171,7 @@ public Builder addAllIp( return this; } /** - * repeated string ip = 1 [json_name = "ip"]; + * repeated string ip = 1; * @return This builder for chaining. */ public Builder clearIp() { @@ -15304,7 +10182,7 @@ public Builder clearIp() { return this; } /** - * repeated string ip = 1 [json_name = "ip"]; + * repeated string ip = 1; * @param value The bytes of the ip to add. * @return This builder for chaining. */ diff --git a/src/main/java/org/vdaas/vald/api/v1/payload/InfoOrBuilder.java b/src/main/java/org/vdaas/vald/api/v1/payload/InfoOrBuilder.java index 5f50ed30..8cf6c1e1 100644 --- a/src/main/java/org/vdaas/vald/api/v1/payload/InfoOrBuilder.java +++ b/src/main/java/org/vdaas/vald/api/v1/payload/InfoOrBuilder.java @@ -1,7 +1,6 @@ // Generated by the protocol buffer compiler. DO NOT EDIT! -// source: v1/payload/payload.proto +// source: apis/proto/v1/payload/payload.proto -// Protobuf Java Version: 3.25.1 package org.vdaas.vald.api.v1.payload; public interface InfoOrBuilder extends diff --git a/src/main/java/org/vdaas/vald/api/v1/payload/Insert.java b/src/main/java/org/vdaas/vald/api/v1/payload/Insert.java index 713e5cdd..c5730911 100644 --- a/src/main/java/org/vdaas/vald/api/v1/payload/Insert.java +++ b/src/main/java/org/vdaas/vald/api/v1/payload/Insert.java @@ -1,7 +1,6 @@ // Generated by the protocol buffer compiler. DO NOT EDIT! -// source: v1/payload/payload.proto +// source: apis/proto/v1/payload/payload.proto -// Protobuf Java Version: 3.25.1 package org.vdaas.vald.api.v1.payload; /** @@ -52,7 +51,7 @@ public interface RequestOrBuilder extends * The vector to be inserted. * * - * .payload.v1.Object.Vector vector = 1 [json_name = "vector", (.buf.validate.field) = { ... } + * .payload.v1.Object.Vector vector = 1 [(.validate.rules) = { ... } * @return Whether the vector field is set. */ boolean hasVector(); @@ -61,7 +60,7 @@ public interface RequestOrBuilder extends * The vector to be inserted. * * - * .payload.v1.Object.Vector vector = 1 [json_name = "vector", (.buf.validate.field) = { ... } + * .payload.v1.Object.Vector vector = 1 [(.validate.rules) = { ... } * @return The vector. */ org.vdaas.vald.api.v1.payload.Object.Vector getVector(); @@ -70,7 +69,7 @@ public interface RequestOrBuilder extends * The vector to be inserted. * * - * .payload.v1.Object.Vector vector = 1 [json_name = "vector", (.buf.validate.field) = { ... } + * .payload.v1.Object.Vector vector = 1 [(.validate.rules) = { ... } */ org.vdaas.vald.api.v1.payload.Object.VectorOrBuilder getVectorOrBuilder(); @@ -79,7 +78,7 @@ public interface RequestOrBuilder extends * The configuration of the insert request. * * - * .payload.v1.Insert.Config config = 2 [json_name = "config"]; + * .payload.v1.Insert.Config config = 2; * @return Whether the config field is set. */ boolean hasConfig(); @@ -88,7 +87,7 @@ public interface RequestOrBuilder extends * The configuration of the insert request. * * - * .payload.v1.Insert.Config config = 2 [json_name = "config"]; + * .payload.v1.Insert.Config config = 2; * @return The config. */ org.vdaas.vald.api.v1.payload.Insert.Config getConfig(); @@ -97,7 +96,7 @@ public interface RequestOrBuilder extends * The configuration of the insert request. * * - * .payload.v1.Insert.Config config = 2 [json_name = "config"]; + * .payload.v1.Insert.Config config = 2; */ org.vdaas.vald.api.v1.payload.Insert.ConfigOrBuilder getConfigOrBuilder(); } @@ -148,7 +147,7 @@ protected java.lang.Object newInstance( * The vector to be inserted. * * - * .payload.v1.Object.Vector vector = 1 [json_name = "vector", (.buf.validate.field) = { ... } + * .payload.v1.Object.Vector vector = 1 [(.validate.rules) = { ... } * @return Whether the vector field is set. */ @java.lang.Override @@ -160,7 +159,7 @@ public boolean hasVector() { * The vector to be inserted. * * - * .payload.v1.Object.Vector vector = 1 [json_name = "vector", (.buf.validate.field) = { ... } + * .payload.v1.Object.Vector vector = 1 [(.validate.rules) = { ... } * @return The vector. */ @java.lang.Override @@ -172,7 +171,7 @@ public org.vdaas.vald.api.v1.payload.Object.Vector getVector() { * The vector to be inserted. * * - * .payload.v1.Object.Vector vector = 1 [json_name = "vector", (.buf.validate.field) = { ... } + * .payload.v1.Object.Vector vector = 1 [(.validate.rules) = { ... } */ @java.lang.Override public org.vdaas.vald.api.v1.payload.Object.VectorOrBuilder getVectorOrBuilder() { @@ -186,7 +185,7 @@ public org.vdaas.vald.api.v1.payload.Object.VectorOrBuilder getVectorOrBuilder() * The configuration of the insert request. * * - * .payload.v1.Insert.Config config = 2 [json_name = "config"]; + * .payload.v1.Insert.Config config = 2; * @return Whether the config field is set. */ @java.lang.Override @@ -198,7 +197,7 @@ public boolean hasConfig() { * The configuration of the insert request. * * - * .payload.v1.Insert.Config config = 2 [json_name = "config"]; + * .payload.v1.Insert.Config config = 2; * @return The config. */ @java.lang.Override @@ -210,7 +209,7 @@ public org.vdaas.vald.api.v1.payload.Insert.Config getConfig() { * The configuration of the insert request. * * - * .payload.v1.Insert.Config config = 2 [json_name = "config"]; + * .payload.v1.Insert.Config config = 2; */ @java.lang.Override public org.vdaas.vald.api.v1.payload.Insert.ConfigOrBuilder getConfigOrBuilder() { @@ -614,7 +613,7 @@ public Builder mergeFrom( * The vector to be inserted. * * - * .payload.v1.Object.Vector vector = 1 [json_name = "vector", (.buf.validate.field) = { ... } + * .payload.v1.Object.Vector vector = 1 [(.validate.rules) = { ... } * @return Whether the vector field is set. */ public boolean hasVector() { @@ -625,7 +624,7 @@ public boolean hasVector() { * The vector to be inserted. * * - * .payload.v1.Object.Vector vector = 1 [json_name = "vector", (.buf.validate.field) = { ... } + * .payload.v1.Object.Vector vector = 1 [(.validate.rules) = { ... } * @return The vector. */ public org.vdaas.vald.api.v1.payload.Object.Vector getVector() { @@ -640,7 +639,7 @@ public org.vdaas.vald.api.v1.payload.Object.Vector getVector() { * The vector to be inserted. * * - * .payload.v1.Object.Vector vector = 1 [json_name = "vector", (.buf.validate.field) = { ... } + * .payload.v1.Object.Vector vector = 1 [(.validate.rules) = { ... } */ public Builder setVector(org.vdaas.vald.api.v1.payload.Object.Vector value) { if (vectorBuilder_ == null) { @@ -660,7 +659,7 @@ public Builder setVector(org.vdaas.vald.api.v1.payload.Object.Vector value) { * The vector to be inserted. * * - * .payload.v1.Object.Vector vector = 1 [json_name = "vector", (.buf.validate.field) = { ... } + * .payload.v1.Object.Vector vector = 1 [(.validate.rules) = { ... } */ public Builder setVector( org.vdaas.vald.api.v1.payload.Object.Vector.Builder builderForValue) { @@ -678,7 +677,7 @@ public Builder setVector( * The vector to be inserted. * * - * .payload.v1.Object.Vector vector = 1 [json_name = "vector", (.buf.validate.field) = { ... } + * .payload.v1.Object.Vector vector = 1 [(.validate.rules) = { ... } */ public Builder mergeVector(org.vdaas.vald.api.v1.payload.Object.Vector value) { if (vectorBuilder_ == null) { @@ -703,7 +702,7 @@ public Builder mergeVector(org.vdaas.vald.api.v1.payload.Object.Vector value) { * The vector to be inserted. * * - * .payload.v1.Object.Vector vector = 1 [json_name = "vector", (.buf.validate.field) = { ... } + * .payload.v1.Object.Vector vector = 1 [(.validate.rules) = { ... } */ public Builder clearVector() { bitField0_ = (bitField0_ & ~0x00000001); @@ -720,7 +719,7 @@ public Builder clearVector() { * The vector to be inserted. * * - * .payload.v1.Object.Vector vector = 1 [json_name = "vector", (.buf.validate.field) = { ... } + * .payload.v1.Object.Vector vector = 1 [(.validate.rules) = { ... } */ public org.vdaas.vald.api.v1.payload.Object.Vector.Builder getVectorBuilder() { bitField0_ |= 0x00000001; @@ -732,7 +731,7 @@ public org.vdaas.vald.api.v1.payload.Object.Vector.Builder getVectorBuilder() { * The vector to be inserted. * * - * .payload.v1.Object.Vector vector = 1 [json_name = "vector", (.buf.validate.field) = { ... } + * .payload.v1.Object.Vector vector = 1 [(.validate.rules) = { ... } */ public org.vdaas.vald.api.v1.payload.Object.VectorOrBuilder getVectorOrBuilder() { if (vectorBuilder_ != null) { @@ -747,7 +746,7 @@ public org.vdaas.vald.api.v1.payload.Object.VectorOrBuilder getVectorOrBuilder() * The vector to be inserted. * * - * .payload.v1.Object.Vector vector = 1 [json_name = "vector", (.buf.validate.field) = { ... } + * .payload.v1.Object.Vector vector = 1 [(.validate.rules) = { ... } */ private com.google.protobuf.SingleFieldBuilderV3< org.vdaas.vald.api.v1.payload.Object.Vector, org.vdaas.vald.api.v1.payload.Object.Vector.Builder, org.vdaas.vald.api.v1.payload.Object.VectorOrBuilder> @@ -771,7 +770,7 @@ public org.vdaas.vald.api.v1.payload.Object.VectorOrBuilder getVectorOrBuilder() * The configuration of the insert request. * * - * .payload.v1.Insert.Config config = 2 [json_name = "config"]; + * .payload.v1.Insert.Config config = 2; * @return Whether the config field is set. */ public boolean hasConfig() { @@ -782,7 +781,7 @@ public boolean hasConfig() { * The configuration of the insert request. * * - * .payload.v1.Insert.Config config = 2 [json_name = "config"]; + * .payload.v1.Insert.Config config = 2; * @return The config. */ public org.vdaas.vald.api.v1.payload.Insert.Config getConfig() { @@ -797,7 +796,7 @@ public org.vdaas.vald.api.v1.payload.Insert.Config getConfig() { * The configuration of the insert request. * * - * .payload.v1.Insert.Config config = 2 [json_name = "config"]; + * .payload.v1.Insert.Config config = 2; */ public Builder setConfig(org.vdaas.vald.api.v1.payload.Insert.Config value) { if (configBuilder_ == null) { @@ -817,7 +816,7 @@ public Builder setConfig(org.vdaas.vald.api.v1.payload.Insert.Config value) { * The configuration of the insert request. * * - * .payload.v1.Insert.Config config = 2 [json_name = "config"]; + * .payload.v1.Insert.Config config = 2; */ public Builder setConfig( org.vdaas.vald.api.v1.payload.Insert.Config.Builder builderForValue) { @@ -835,7 +834,7 @@ public Builder setConfig( * The configuration of the insert request. * * - * .payload.v1.Insert.Config config = 2 [json_name = "config"]; + * .payload.v1.Insert.Config config = 2; */ public Builder mergeConfig(org.vdaas.vald.api.v1.payload.Insert.Config value) { if (configBuilder_ == null) { @@ -860,7 +859,7 @@ public Builder mergeConfig(org.vdaas.vald.api.v1.payload.Insert.Config value) { * The configuration of the insert request. * * - * .payload.v1.Insert.Config config = 2 [json_name = "config"]; + * .payload.v1.Insert.Config config = 2; */ public Builder clearConfig() { bitField0_ = (bitField0_ & ~0x00000002); @@ -877,7 +876,7 @@ public Builder clearConfig() { * The configuration of the insert request. * * - * .payload.v1.Insert.Config config = 2 [json_name = "config"]; + * .payload.v1.Insert.Config config = 2; */ public org.vdaas.vald.api.v1.payload.Insert.Config.Builder getConfigBuilder() { bitField0_ |= 0x00000002; @@ -889,7 +888,7 @@ public org.vdaas.vald.api.v1.payload.Insert.Config.Builder getConfigBuilder() { * The configuration of the insert request. * * - * .payload.v1.Insert.Config config = 2 [json_name = "config"]; + * .payload.v1.Insert.Config config = 2; */ public org.vdaas.vald.api.v1.payload.Insert.ConfigOrBuilder getConfigOrBuilder() { if (configBuilder_ != null) { @@ -904,7 +903,7 @@ public org.vdaas.vald.api.v1.payload.Insert.ConfigOrBuilder getConfigOrBuilder() * The configuration of the insert request. * * - * .payload.v1.Insert.Config config = 2 [json_name = "config"]; + * .payload.v1.Insert.Config config = 2; */ private com.google.protobuf.SingleFieldBuilderV3< org.vdaas.vald.api.v1.payload.Insert.Config, org.vdaas.vald.api.v1.payload.Insert.Config.Builder, org.vdaas.vald.api.v1.payload.Insert.ConfigOrBuilder> @@ -992,7 +991,7 @@ public interface MultiRequestOrBuilder extends * Represent multiple insert request content. * * - * repeated .payload.v1.Insert.Request requests = 1 [json_name = "requests"]; + * repeated .payload.v1.Insert.Request requests = 1; */ java.util.List getRequestsList(); @@ -1001,7 +1000,7 @@ public interface MultiRequestOrBuilder extends * Represent multiple insert request content. * * - * repeated .payload.v1.Insert.Request requests = 1 [json_name = "requests"]; + * repeated .payload.v1.Insert.Request requests = 1; */ org.vdaas.vald.api.v1.payload.Insert.Request getRequests(int index); /** @@ -1009,7 +1008,7 @@ public interface MultiRequestOrBuilder extends * Represent multiple insert request content. * * - * repeated .payload.v1.Insert.Request requests = 1 [json_name = "requests"]; + * repeated .payload.v1.Insert.Request requests = 1; */ int getRequestsCount(); /** @@ -1017,7 +1016,7 @@ public interface MultiRequestOrBuilder extends * Represent multiple insert request content. * * - * repeated .payload.v1.Insert.Request requests = 1 [json_name = "requests"]; + * repeated .payload.v1.Insert.Request requests = 1; */ java.util.List getRequestsOrBuilderList(); @@ -1026,7 +1025,7 @@ public interface MultiRequestOrBuilder extends * Represent multiple insert request content. * * - * repeated .payload.v1.Insert.Request requests = 1 [json_name = "requests"]; + * repeated .payload.v1.Insert.Request requests = 1; */ org.vdaas.vald.api.v1.payload.Insert.RequestOrBuilder getRequestsOrBuilder( int index); @@ -1079,7 +1078,7 @@ protected java.lang.Object newInstance( * Represent multiple insert request content. * * - * repeated .payload.v1.Insert.Request requests = 1 [json_name = "requests"]; + * repeated .payload.v1.Insert.Request requests = 1; */ @java.lang.Override public java.util.List getRequestsList() { @@ -1090,7 +1089,7 @@ public java.util.List getRequestsL * Represent multiple insert request content. * * - * repeated .payload.v1.Insert.Request requests = 1 [json_name = "requests"]; + * repeated .payload.v1.Insert.Request requests = 1; */ @java.lang.Override public java.util.List @@ -1102,7 +1101,7 @@ public java.util.List getRequestsL * Represent multiple insert request content. * * - * repeated .payload.v1.Insert.Request requests = 1 [json_name = "requests"]; + * repeated .payload.v1.Insert.Request requests = 1; */ @java.lang.Override public int getRequestsCount() { @@ -1113,7 +1112,7 @@ public int getRequestsCount() { * Represent multiple insert request content. * * - * repeated .payload.v1.Insert.Request requests = 1 [json_name = "requests"]; + * repeated .payload.v1.Insert.Request requests = 1; */ @java.lang.Override public org.vdaas.vald.api.v1.payload.Insert.Request getRequests(int index) { @@ -1124,7 +1123,7 @@ public org.vdaas.vald.api.v1.payload.Insert.Request getRequests(int index) { * Represent multiple insert request content. * * - * repeated .payload.v1.Insert.Request requests = 1 [json_name = "requests"]; + * repeated .payload.v1.Insert.Request requests = 1; */ @java.lang.Override public org.vdaas.vald.api.v1.payload.Insert.RequestOrBuilder getRequestsOrBuilder( @@ -1527,7 +1526,7 @@ private void ensureRequestsIsMutable() { * Represent multiple insert request content. * * - * repeated .payload.v1.Insert.Request requests = 1 [json_name = "requests"]; + * repeated .payload.v1.Insert.Request requests = 1; */ public java.util.List getRequestsList() { if (requestsBuilder_ == null) { @@ -1541,7 +1540,7 @@ public java.util.List getRequestsL * Represent multiple insert request content. * * - * repeated .payload.v1.Insert.Request requests = 1 [json_name = "requests"]; + * repeated .payload.v1.Insert.Request requests = 1; */ public int getRequestsCount() { if (requestsBuilder_ == null) { @@ -1555,7 +1554,7 @@ public int getRequestsCount() { * Represent multiple insert request content. * * - * repeated .payload.v1.Insert.Request requests = 1 [json_name = "requests"]; + * repeated .payload.v1.Insert.Request requests = 1; */ public org.vdaas.vald.api.v1.payload.Insert.Request getRequests(int index) { if (requestsBuilder_ == null) { @@ -1569,7 +1568,7 @@ public org.vdaas.vald.api.v1.payload.Insert.Request getRequests(int index) { * Represent multiple insert request content. * * - * repeated .payload.v1.Insert.Request requests = 1 [json_name = "requests"]; + * repeated .payload.v1.Insert.Request requests = 1; */ public Builder setRequests( int index, org.vdaas.vald.api.v1.payload.Insert.Request value) { @@ -1590,7 +1589,7 @@ public Builder setRequests( * Represent multiple insert request content. * * - * repeated .payload.v1.Insert.Request requests = 1 [json_name = "requests"]; + * repeated .payload.v1.Insert.Request requests = 1; */ public Builder setRequests( int index, org.vdaas.vald.api.v1.payload.Insert.Request.Builder builderForValue) { @@ -1608,7 +1607,7 @@ public Builder setRequests( * Represent multiple insert request content. * * - * repeated .payload.v1.Insert.Request requests = 1 [json_name = "requests"]; + * repeated .payload.v1.Insert.Request requests = 1; */ public Builder addRequests(org.vdaas.vald.api.v1.payload.Insert.Request value) { if (requestsBuilder_ == null) { @@ -1628,7 +1627,7 @@ public Builder addRequests(org.vdaas.vald.api.v1.payload.Insert.Request value) { * Represent multiple insert request content. * * - * repeated .payload.v1.Insert.Request requests = 1 [json_name = "requests"]; + * repeated .payload.v1.Insert.Request requests = 1; */ public Builder addRequests( int index, org.vdaas.vald.api.v1.payload.Insert.Request value) { @@ -1649,7 +1648,7 @@ public Builder addRequests( * Represent multiple insert request content. * * - * repeated .payload.v1.Insert.Request requests = 1 [json_name = "requests"]; + * repeated .payload.v1.Insert.Request requests = 1; */ public Builder addRequests( org.vdaas.vald.api.v1.payload.Insert.Request.Builder builderForValue) { @@ -1667,7 +1666,7 @@ public Builder addRequests( * Represent multiple insert request content. * * - * repeated .payload.v1.Insert.Request requests = 1 [json_name = "requests"]; + * repeated .payload.v1.Insert.Request requests = 1; */ public Builder addRequests( int index, org.vdaas.vald.api.v1.payload.Insert.Request.Builder builderForValue) { @@ -1685,7 +1684,7 @@ public Builder addRequests( * Represent multiple insert request content. * * - * repeated .payload.v1.Insert.Request requests = 1 [json_name = "requests"]; + * repeated .payload.v1.Insert.Request requests = 1; */ public Builder addAllRequests( java.lang.Iterable values) { @@ -1704,7 +1703,7 @@ public Builder addAllRequests( * Represent multiple insert request content. * * - * repeated .payload.v1.Insert.Request requests = 1 [json_name = "requests"]; + * repeated .payload.v1.Insert.Request requests = 1; */ public Builder clearRequests() { if (requestsBuilder_ == null) { @@ -1721,7 +1720,7 @@ public Builder clearRequests() { * Represent multiple insert request content. * * - * repeated .payload.v1.Insert.Request requests = 1 [json_name = "requests"]; + * repeated .payload.v1.Insert.Request requests = 1; */ public Builder removeRequests(int index) { if (requestsBuilder_ == null) { @@ -1738,7 +1737,7 @@ public Builder removeRequests(int index) { * Represent multiple insert request content. * * - * repeated .payload.v1.Insert.Request requests = 1 [json_name = "requests"]; + * repeated .payload.v1.Insert.Request requests = 1; */ public org.vdaas.vald.api.v1.payload.Insert.Request.Builder getRequestsBuilder( int index) { @@ -1749,7 +1748,7 @@ public org.vdaas.vald.api.v1.payload.Insert.Request.Builder getRequestsBuilder( * Represent multiple insert request content. * * - * repeated .payload.v1.Insert.Request requests = 1 [json_name = "requests"]; + * repeated .payload.v1.Insert.Request requests = 1; */ public org.vdaas.vald.api.v1.payload.Insert.RequestOrBuilder getRequestsOrBuilder( int index) { @@ -1763,7 +1762,7 @@ public org.vdaas.vald.api.v1.payload.Insert.RequestOrBuilder getRequestsOrBuilde * Represent multiple insert request content. * * - * repeated .payload.v1.Insert.Request requests = 1 [json_name = "requests"]; + * repeated .payload.v1.Insert.Request requests = 1; */ public java.util.List getRequestsOrBuilderList() { @@ -1778,7 +1777,7 @@ public org.vdaas.vald.api.v1.payload.Insert.RequestOrBuilder getRequestsOrBuilde * Represent multiple insert request content. * * - * repeated .payload.v1.Insert.Request requests = 1 [json_name = "requests"]; + * repeated .payload.v1.Insert.Request requests = 1; */ public org.vdaas.vald.api.v1.payload.Insert.Request.Builder addRequestsBuilder() { return getRequestsFieldBuilder().addBuilder( @@ -1789,7 +1788,7 @@ public org.vdaas.vald.api.v1.payload.Insert.Request.Builder addRequestsBuilder() * Represent multiple insert request content. * * - * repeated .payload.v1.Insert.Request requests = 1 [json_name = "requests"]; + * repeated .payload.v1.Insert.Request requests = 1; */ public org.vdaas.vald.api.v1.payload.Insert.Request.Builder addRequestsBuilder( int index) { @@ -1801,7 +1800,7 @@ public org.vdaas.vald.api.v1.payload.Insert.Request.Builder addRequestsBuilder( * Represent multiple insert request content. * * - * repeated .payload.v1.Insert.Request requests = 1 [json_name = "requests"]; + * repeated .payload.v1.Insert.Request requests = 1; */ public java.util.List getRequestsBuilderList() { @@ -1894,7 +1893,7 @@ public interface ObjectRequestOrBuilder extends * The binary object to be inserted. * * - * .payload.v1.Object.Blob object = 1 [json_name = "object"]; + * .payload.v1.Object.Blob object = 1; * @return Whether the object field is set. */ boolean hasObject(); @@ -1903,7 +1902,7 @@ public interface ObjectRequestOrBuilder extends * The binary object to be inserted. * * - * .payload.v1.Object.Blob object = 1 [json_name = "object"]; + * .payload.v1.Object.Blob object = 1; * @return The object. */ org.vdaas.vald.api.v1.payload.Object.Blob getObject(); @@ -1912,7 +1911,7 @@ public interface ObjectRequestOrBuilder extends * The binary object to be inserted. * * - * .payload.v1.Object.Blob object = 1 [json_name = "object"]; + * .payload.v1.Object.Blob object = 1; */ org.vdaas.vald.api.v1.payload.Object.BlobOrBuilder getObjectOrBuilder(); @@ -1921,7 +1920,7 @@ public interface ObjectRequestOrBuilder extends * The configuration of the insert request. * * - * .payload.v1.Insert.Config config = 2 [json_name = "config"]; + * .payload.v1.Insert.Config config = 2; * @return Whether the config field is set. */ boolean hasConfig(); @@ -1930,7 +1929,7 @@ public interface ObjectRequestOrBuilder extends * The configuration of the insert request. * * - * .payload.v1.Insert.Config config = 2 [json_name = "config"]; + * .payload.v1.Insert.Config config = 2; * @return The config. */ org.vdaas.vald.api.v1.payload.Insert.Config getConfig(); @@ -1939,7 +1938,7 @@ public interface ObjectRequestOrBuilder extends * The configuration of the insert request. * * - * .payload.v1.Insert.Config config = 2 [json_name = "config"]; + * .payload.v1.Insert.Config config = 2; */ org.vdaas.vald.api.v1.payload.Insert.ConfigOrBuilder getConfigOrBuilder(); @@ -1948,7 +1947,7 @@ public interface ObjectRequestOrBuilder extends * Filter configurations. * * - * .payload.v1.Filter.Target vectorizer = 3 [json_name = "vectorizer"]; + * .payload.v1.Filter.Target vectorizer = 3; * @return Whether the vectorizer field is set. */ boolean hasVectorizer(); @@ -1957,7 +1956,7 @@ public interface ObjectRequestOrBuilder extends * Filter configurations. * * - * .payload.v1.Filter.Target vectorizer = 3 [json_name = "vectorizer"]; + * .payload.v1.Filter.Target vectorizer = 3; * @return The vectorizer. */ org.vdaas.vald.api.v1.payload.Filter.Target getVectorizer(); @@ -1966,7 +1965,7 @@ public interface ObjectRequestOrBuilder extends * Filter configurations. * * - * .payload.v1.Filter.Target vectorizer = 3 [json_name = "vectorizer"]; + * .payload.v1.Filter.Target vectorizer = 3; */ org.vdaas.vald.api.v1.payload.Filter.TargetOrBuilder getVectorizerOrBuilder(); } @@ -2017,7 +2016,7 @@ protected java.lang.Object newInstance( * The binary object to be inserted. * * - * .payload.v1.Object.Blob object = 1 [json_name = "object"]; + * .payload.v1.Object.Blob object = 1; * @return Whether the object field is set. */ @java.lang.Override @@ -2029,7 +2028,7 @@ public boolean hasObject() { * The binary object to be inserted. * * - * .payload.v1.Object.Blob object = 1 [json_name = "object"]; + * .payload.v1.Object.Blob object = 1; * @return The object. */ @java.lang.Override @@ -2041,7 +2040,7 @@ public org.vdaas.vald.api.v1.payload.Object.Blob getObject() { * The binary object to be inserted. * * - * .payload.v1.Object.Blob object = 1 [json_name = "object"]; + * .payload.v1.Object.Blob object = 1; */ @java.lang.Override public org.vdaas.vald.api.v1.payload.Object.BlobOrBuilder getObjectOrBuilder() { @@ -2055,7 +2054,7 @@ public org.vdaas.vald.api.v1.payload.Object.BlobOrBuilder getObjectOrBuilder() { * The configuration of the insert request. * * - * .payload.v1.Insert.Config config = 2 [json_name = "config"]; + * .payload.v1.Insert.Config config = 2; * @return Whether the config field is set. */ @java.lang.Override @@ -2067,7 +2066,7 @@ public boolean hasConfig() { * The configuration of the insert request. * * - * .payload.v1.Insert.Config config = 2 [json_name = "config"]; + * .payload.v1.Insert.Config config = 2; * @return The config. */ @java.lang.Override @@ -2079,7 +2078,7 @@ public org.vdaas.vald.api.v1.payload.Insert.Config getConfig() { * The configuration of the insert request. * * - * .payload.v1.Insert.Config config = 2 [json_name = "config"]; + * .payload.v1.Insert.Config config = 2; */ @java.lang.Override public org.vdaas.vald.api.v1.payload.Insert.ConfigOrBuilder getConfigOrBuilder() { @@ -2093,7 +2092,7 @@ public org.vdaas.vald.api.v1.payload.Insert.ConfigOrBuilder getConfigOrBuilder() * Filter configurations. * * - * .payload.v1.Filter.Target vectorizer = 3 [json_name = "vectorizer"]; + * .payload.v1.Filter.Target vectorizer = 3; * @return Whether the vectorizer field is set. */ @java.lang.Override @@ -2105,7 +2104,7 @@ public boolean hasVectorizer() { * Filter configurations. * * - * .payload.v1.Filter.Target vectorizer = 3 [json_name = "vectorizer"]; + * .payload.v1.Filter.Target vectorizer = 3; * @return The vectorizer. */ @java.lang.Override @@ -2117,7 +2116,7 @@ public org.vdaas.vald.api.v1.payload.Filter.Target getVectorizer() { * Filter configurations. * * - * .payload.v1.Filter.Target vectorizer = 3 [json_name = "vectorizer"]; + * .payload.v1.Filter.Target vectorizer = 3; */ @java.lang.Override public org.vdaas.vald.api.v1.payload.Filter.TargetOrBuilder getVectorizerOrBuilder() { @@ -2559,7 +2558,7 @@ public Builder mergeFrom( * The binary object to be inserted. * * - * .payload.v1.Object.Blob object = 1 [json_name = "object"]; + * .payload.v1.Object.Blob object = 1; * @return Whether the object field is set. */ public boolean hasObject() { @@ -2570,7 +2569,7 @@ public boolean hasObject() { * The binary object to be inserted. * * - * .payload.v1.Object.Blob object = 1 [json_name = "object"]; + * .payload.v1.Object.Blob object = 1; * @return The object. */ public org.vdaas.vald.api.v1.payload.Object.Blob getObject() { @@ -2585,7 +2584,7 @@ public org.vdaas.vald.api.v1.payload.Object.Blob getObject() { * The binary object to be inserted. * * - * .payload.v1.Object.Blob object = 1 [json_name = "object"]; + * .payload.v1.Object.Blob object = 1; */ public Builder setObject(org.vdaas.vald.api.v1.payload.Object.Blob value) { if (objectBuilder_ == null) { @@ -2605,7 +2604,7 @@ public Builder setObject(org.vdaas.vald.api.v1.payload.Object.Blob value) { * The binary object to be inserted. * * - * .payload.v1.Object.Blob object = 1 [json_name = "object"]; + * .payload.v1.Object.Blob object = 1; */ public Builder setObject( org.vdaas.vald.api.v1.payload.Object.Blob.Builder builderForValue) { @@ -2623,7 +2622,7 @@ public Builder setObject( * The binary object to be inserted. * * - * .payload.v1.Object.Blob object = 1 [json_name = "object"]; + * .payload.v1.Object.Blob object = 1; */ public Builder mergeObject(org.vdaas.vald.api.v1.payload.Object.Blob value) { if (objectBuilder_ == null) { @@ -2648,7 +2647,7 @@ public Builder mergeObject(org.vdaas.vald.api.v1.payload.Object.Blob value) { * The binary object to be inserted. * * - * .payload.v1.Object.Blob object = 1 [json_name = "object"]; + * .payload.v1.Object.Blob object = 1; */ public Builder clearObject() { bitField0_ = (bitField0_ & ~0x00000001); @@ -2665,7 +2664,7 @@ public Builder clearObject() { * The binary object to be inserted. * * - * .payload.v1.Object.Blob object = 1 [json_name = "object"]; + * .payload.v1.Object.Blob object = 1; */ public org.vdaas.vald.api.v1.payload.Object.Blob.Builder getObjectBuilder() { bitField0_ |= 0x00000001; @@ -2677,7 +2676,7 @@ public org.vdaas.vald.api.v1.payload.Object.Blob.Builder getObjectBuilder() { * The binary object to be inserted. * * - * .payload.v1.Object.Blob object = 1 [json_name = "object"]; + * .payload.v1.Object.Blob object = 1; */ public org.vdaas.vald.api.v1.payload.Object.BlobOrBuilder getObjectOrBuilder() { if (objectBuilder_ != null) { @@ -2692,7 +2691,7 @@ public org.vdaas.vald.api.v1.payload.Object.BlobOrBuilder getObjectOrBuilder() { * The binary object to be inserted. * * - * .payload.v1.Object.Blob object = 1 [json_name = "object"]; + * .payload.v1.Object.Blob object = 1; */ private com.google.protobuf.SingleFieldBuilderV3< org.vdaas.vald.api.v1.payload.Object.Blob, org.vdaas.vald.api.v1.payload.Object.Blob.Builder, org.vdaas.vald.api.v1.payload.Object.BlobOrBuilder> @@ -2716,7 +2715,7 @@ public org.vdaas.vald.api.v1.payload.Object.BlobOrBuilder getObjectOrBuilder() { * The configuration of the insert request. * * - * .payload.v1.Insert.Config config = 2 [json_name = "config"]; + * .payload.v1.Insert.Config config = 2; * @return Whether the config field is set. */ public boolean hasConfig() { @@ -2727,7 +2726,7 @@ public boolean hasConfig() { * The configuration of the insert request. * * - * .payload.v1.Insert.Config config = 2 [json_name = "config"]; + * .payload.v1.Insert.Config config = 2; * @return The config. */ public org.vdaas.vald.api.v1.payload.Insert.Config getConfig() { @@ -2742,7 +2741,7 @@ public org.vdaas.vald.api.v1.payload.Insert.Config getConfig() { * The configuration of the insert request. * * - * .payload.v1.Insert.Config config = 2 [json_name = "config"]; + * .payload.v1.Insert.Config config = 2; */ public Builder setConfig(org.vdaas.vald.api.v1.payload.Insert.Config value) { if (configBuilder_ == null) { @@ -2762,7 +2761,7 @@ public Builder setConfig(org.vdaas.vald.api.v1.payload.Insert.Config value) { * The configuration of the insert request. * * - * .payload.v1.Insert.Config config = 2 [json_name = "config"]; + * .payload.v1.Insert.Config config = 2; */ public Builder setConfig( org.vdaas.vald.api.v1.payload.Insert.Config.Builder builderForValue) { @@ -2780,7 +2779,7 @@ public Builder setConfig( * The configuration of the insert request. * * - * .payload.v1.Insert.Config config = 2 [json_name = "config"]; + * .payload.v1.Insert.Config config = 2; */ public Builder mergeConfig(org.vdaas.vald.api.v1.payload.Insert.Config value) { if (configBuilder_ == null) { @@ -2805,7 +2804,7 @@ public Builder mergeConfig(org.vdaas.vald.api.v1.payload.Insert.Config value) { * The configuration of the insert request. * * - * .payload.v1.Insert.Config config = 2 [json_name = "config"]; + * .payload.v1.Insert.Config config = 2; */ public Builder clearConfig() { bitField0_ = (bitField0_ & ~0x00000002); @@ -2822,7 +2821,7 @@ public Builder clearConfig() { * The configuration of the insert request. * * - * .payload.v1.Insert.Config config = 2 [json_name = "config"]; + * .payload.v1.Insert.Config config = 2; */ public org.vdaas.vald.api.v1.payload.Insert.Config.Builder getConfigBuilder() { bitField0_ |= 0x00000002; @@ -2834,7 +2833,7 @@ public org.vdaas.vald.api.v1.payload.Insert.Config.Builder getConfigBuilder() { * The configuration of the insert request. * * - * .payload.v1.Insert.Config config = 2 [json_name = "config"]; + * .payload.v1.Insert.Config config = 2; */ public org.vdaas.vald.api.v1.payload.Insert.ConfigOrBuilder getConfigOrBuilder() { if (configBuilder_ != null) { @@ -2849,7 +2848,7 @@ public org.vdaas.vald.api.v1.payload.Insert.ConfigOrBuilder getConfigOrBuilder() * The configuration of the insert request. * * - * .payload.v1.Insert.Config config = 2 [json_name = "config"]; + * .payload.v1.Insert.Config config = 2; */ private com.google.protobuf.SingleFieldBuilderV3< org.vdaas.vald.api.v1.payload.Insert.Config, org.vdaas.vald.api.v1.payload.Insert.Config.Builder, org.vdaas.vald.api.v1.payload.Insert.ConfigOrBuilder> @@ -2873,7 +2872,7 @@ public org.vdaas.vald.api.v1.payload.Insert.ConfigOrBuilder getConfigOrBuilder() * Filter configurations. * * - * .payload.v1.Filter.Target vectorizer = 3 [json_name = "vectorizer"]; + * .payload.v1.Filter.Target vectorizer = 3; * @return Whether the vectorizer field is set. */ public boolean hasVectorizer() { @@ -2884,7 +2883,7 @@ public boolean hasVectorizer() { * Filter configurations. * * - * .payload.v1.Filter.Target vectorizer = 3 [json_name = "vectorizer"]; + * .payload.v1.Filter.Target vectorizer = 3; * @return The vectorizer. */ public org.vdaas.vald.api.v1.payload.Filter.Target getVectorizer() { @@ -2899,7 +2898,7 @@ public org.vdaas.vald.api.v1.payload.Filter.Target getVectorizer() { * Filter configurations. * * - * .payload.v1.Filter.Target vectorizer = 3 [json_name = "vectorizer"]; + * .payload.v1.Filter.Target vectorizer = 3; */ public Builder setVectorizer(org.vdaas.vald.api.v1.payload.Filter.Target value) { if (vectorizerBuilder_ == null) { @@ -2919,7 +2918,7 @@ public Builder setVectorizer(org.vdaas.vald.api.v1.payload.Filter.Target value) * Filter configurations. * * - * .payload.v1.Filter.Target vectorizer = 3 [json_name = "vectorizer"]; + * .payload.v1.Filter.Target vectorizer = 3; */ public Builder setVectorizer( org.vdaas.vald.api.v1.payload.Filter.Target.Builder builderForValue) { @@ -2937,7 +2936,7 @@ public Builder setVectorizer( * Filter configurations. * * - * .payload.v1.Filter.Target vectorizer = 3 [json_name = "vectorizer"]; + * .payload.v1.Filter.Target vectorizer = 3; */ public Builder mergeVectorizer(org.vdaas.vald.api.v1.payload.Filter.Target value) { if (vectorizerBuilder_ == null) { @@ -2962,7 +2961,7 @@ public Builder mergeVectorizer(org.vdaas.vald.api.v1.payload.Filter.Target value * Filter configurations. * * - * .payload.v1.Filter.Target vectorizer = 3 [json_name = "vectorizer"]; + * .payload.v1.Filter.Target vectorizer = 3; */ public Builder clearVectorizer() { bitField0_ = (bitField0_ & ~0x00000004); @@ -2979,7 +2978,7 @@ public Builder clearVectorizer() { * Filter configurations. * * - * .payload.v1.Filter.Target vectorizer = 3 [json_name = "vectorizer"]; + * .payload.v1.Filter.Target vectorizer = 3; */ public org.vdaas.vald.api.v1.payload.Filter.Target.Builder getVectorizerBuilder() { bitField0_ |= 0x00000004; @@ -2991,7 +2990,7 @@ public org.vdaas.vald.api.v1.payload.Filter.Target.Builder getVectorizerBuilder( * Filter configurations. * * - * .payload.v1.Filter.Target vectorizer = 3 [json_name = "vectorizer"]; + * .payload.v1.Filter.Target vectorizer = 3; */ public org.vdaas.vald.api.v1.payload.Filter.TargetOrBuilder getVectorizerOrBuilder() { if (vectorizerBuilder_ != null) { @@ -3006,7 +3005,7 @@ public org.vdaas.vald.api.v1.payload.Filter.TargetOrBuilder getVectorizerOrBuild * Filter configurations. * * - * .payload.v1.Filter.Target vectorizer = 3 [json_name = "vectorizer"]; + * .payload.v1.Filter.Target vectorizer = 3; */ private com.google.protobuf.SingleFieldBuilderV3< org.vdaas.vald.api.v1.payload.Filter.Target, org.vdaas.vald.api.v1.payload.Filter.Target.Builder, org.vdaas.vald.api.v1.payload.Filter.TargetOrBuilder> @@ -3094,7 +3093,7 @@ public interface MultiObjectRequestOrBuilder extends * Represent multiple insert by object content. * * - * repeated .payload.v1.Insert.ObjectRequest requests = 1 [json_name = "requests"]; + * repeated .payload.v1.Insert.ObjectRequest requests = 1; */ java.util.List getRequestsList(); @@ -3103,7 +3102,7 @@ public interface MultiObjectRequestOrBuilder extends * Represent multiple insert by object content. * * - * repeated .payload.v1.Insert.ObjectRequest requests = 1 [json_name = "requests"]; + * repeated .payload.v1.Insert.ObjectRequest requests = 1; */ org.vdaas.vald.api.v1.payload.Insert.ObjectRequest getRequests(int index); /** @@ -3111,7 +3110,7 @@ public interface MultiObjectRequestOrBuilder extends * Represent multiple insert by object content. * * - * repeated .payload.v1.Insert.ObjectRequest requests = 1 [json_name = "requests"]; + * repeated .payload.v1.Insert.ObjectRequest requests = 1; */ int getRequestsCount(); /** @@ -3119,7 +3118,7 @@ public interface MultiObjectRequestOrBuilder extends * Represent multiple insert by object content. * * - * repeated .payload.v1.Insert.ObjectRequest requests = 1 [json_name = "requests"]; + * repeated .payload.v1.Insert.ObjectRequest requests = 1; */ java.util.List getRequestsOrBuilderList(); @@ -3128,7 +3127,7 @@ public interface MultiObjectRequestOrBuilder extends * Represent multiple insert by object content. * * - * repeated .payload.v1.Insert.ObjectRequest requests = 1 [json_name = "requests"]; + * repeated .payload.v1.Insert.ObjectRequest requests = 1; */ org.vdaas.vald.api.v1.payload.Insert.ObjectRequestOrBuilder getRequestsOrBuilder( int index); @@ -3181,7 +3180,7 @@ protected java.lang.Object newInstance( * Represent multiple insert by object content. * * - * repeated .payload.v1.Insert.ObjectRequest requests = 1 [json_name = "requests"]; + * repeated .payload.v1.Insert.ObjectRequest requests = 1; */ @java.lang.Override public java.util.List getRequestsList() { @@ -3192,7 +3191,7 @@ public java.util.List getReq * Represent multiple insert by object content. * * - * repeated .payload.v1.Insert.ObjectRequest requests = 1 [json_name = "requests"]; + * repeated .payload.v1.Insert.ObjectRequest requests = 1; */ @java.lang.Override public java.util.List @@ -3204,7 +3203,7 @@ public java.util.List getReq * Represent multiple insert by object content. * * - * repeated .payload.v1.Insert.ObjectRequest requests = 1 [json_name = "requests"]; + * repeated .payload.v1.Insert.ObjectRequest requests = 1; */ @java.lang.Override public int getRequestsCount() { @@ -3215,7 +3214,7 @@ public int getRequestsCount() { * Represent multiple insert by object content. * * - * repeated .payload.v1.Insert.ObjectRequest requests = 1 [json_name = "requests"]; + * repeated .payload.v1.Insert.ObjectRequest requests = 1; */ @java.lang.Override public org.vdaas.vald.api.v1.payload.Insert.ObjectRequest getRequests(int index) { @@ -3226,7 +3225,7 @@ public org.vdaas.vald.api.v1.payload.Insert.ObjectRequest getRequests(int index) * Represent multiple insert by object content. * * - * repeated .payload.v1.Insert.ObjectRequest requests = 1 [json_name = "requests"]; + * repeated .payload.v1.Insert.ObjectRequest requests = 1; */ @java.lang.Override public org.vdaas.vald.api.v1.payload.Insert.ObjectRequestOrBuilder getRequestsOrBuilder( @@ -3629,7 +3628,7 @@ private void ensureRequestsIsMutable() { * Represent multiple insert by object content. * * - * repeated .payload.v1.Insert.ObjectRequest requests = 1 [json_name = "requests"]; + * repeated .payload.v1.Insert.ObjectRequest requests = 1; */ public java.util.List getRequestsList() { if (requestsBuilder_ == null) { @@ -3643,7 +3642,7 @@ public java.util.List getReq * Represent multiple insert by object content. * * - * repeated .payload.v1.Insert.ObjectRequest requests = 1 [json_name = "requests"]; + * repeated .payload.v1.Insert.ObjectRequest requests = 1; */ public int getRequestsCount() { if (requestsBuilder_ == null) { @@ -3657,7 +3656,7 @@ public int getRequestsCount() { * Represent multiple insert by object content. * * - * repeated .payload.v1.Insert.ObjectRequest requests = 1 [json_name = "requests"]; + * repeated .payload.v1.Insert.ObjectRequest requests = 1; */ public org.vdaas.vald.api.v1.payload.Insert.ObjectRequest getRequests(int index) { if (requestsBuilder_ == null) { @@ -3671,7 +3670,7 @@ public org.vdaas.vald.api.v1.payload.Insert.ObjectRequest getRequests(int index) * Represent multiple insert by object content. * * - * repeated .payload.v1.Insert.ObjectRequest requests = 1 [json_name = "requests"]; + * repeated .payload.v1.Insert.ObjectRequest requests = 1; */ public Builder setRequests( int index, org.vdaas.vald.api.v1.payload.Insert.ObjectRequest value) { @@ -3692,7 +3691,7 @@ public Builder setRequests( * Represent multiple insert by object content. * * - * repeated .payload.v1.Insert.ObjectRequest requests = 1 [json_name = "requests"]; + * repeated .payload.v1.Insert.ObjectRequest requests = 1; */ public Builder setRequests( int index, org.vdaas.vald.api.v1.payload.Insert.ObjectRequest.Builder builderForValue) { @@ -3710,7 +3709,7 @@ public Builder setRequests( * Represent multiple insert by object content. * * - * repeated .payload.v1.Insert.ObjectRequest requests = 1 [json_name = "requests"]; + * repeated .payload.v1.Insert.ObjectRequest requests = 1; */ public Builder addRequests(org.vdaas.vald.api.v1.payload.Insert.ObjectRequest value) { if (requestsBuilder_ == null) { @@ -3730,7 +3729,7 @@ public Builder addRequests(org.vdaas.vald.api.v1.payload.Insert.ObjectRequest va * Represent multiple insert by object content. * * - * repeated .payload.v1.Insert.ObjectRequest requests = 1 [json_name = "requests"]; + * repeated .payload.v1.Insert.ObjectRequest requests = 1; */ public Builder addRequests( int index, org.vdaas.vald.api.v1.payload.Insert.ObjectRequest value) { @@ -3751,7 +3750,7 @@ public Builder addRequests( * Represent multiple insert by object content. * * - * repeated .payload.v1.Insert.ObjectRequest requests = 1 [json_name = "requests"]; + * repeated .payload.v1.Insert.ObjectRequest requests = 1; */ public Builder addRequests( org.vdaas.vald.api.v1.payload.Insert.ObjectRequest.Builder builderForValue) { @@ -3769,7 +3768,7 @@ public Builder addRequests( * Represent multiple insert by object content. * * - * repeated .payload.v1.Insert.ObjectRequest requests = 1 [json_name = "requests"]; + * repeated .payload.v1.Insert.ObjectRequest requests = 1; */ public Builder addRequests( int index, org.vdaas.vald.api.v1.payload.Insert.ObjectRequest.Builder builderForValue) { @@ -3787,7 +3786,7 @@ public Builder addRequests( * Represent multiple insert by object content. * * - * repeated .payload.v1.Insert.ObjectRequest requests = 1 [json_name = "requests"]; + * repeated .payload.v1.Insert.ObjectRequest requests = 1; */ public Builder addAllRequests( java.lang.Iterable values) { @@ -3806,7 +3805,7 @@ public Builder addAllRequests( * Represent multiple insert by object content. * * - * repeated .payload.v1.Insert.ObjectRequest requests = 1 [json_name = "requests"]; + * repeated .payload.v1.Insert.ObjectRequest requests = 1; */ public Builder clearRequests() { if (requestsBuilder_ == null) { @@ -3823,7 +3822,7 @@ public Builder clearRequests() { * Represent multiple insert by object content. * * - * repeated .payload.v1.Insert.ObjectRequest requests = 1 [json_name = "requests"]; + * repeated .payload.v1.Insert.ObjectRequest requests = 1; */ public Builder removeRequests(int index) { if (requestsBuilder_ == null) { @@ -3840,7 +3839,7 @@ public Builder removeRequests(int index) { * Represent multiple insert by object content. * * - * repeated .payload.v1.Insert.ObjectRequest requests = 1 [json_name = "requests"]; + * repeated .payload.v1.Insert.ObjectRequest requests = 1; */ public org.vdaas.vald.api.v1.payload.Insert.ObjectRequest.Builder getRequestsBuilder( int index) { @@ -3851,7 +3850,7 @@ public org.vdaas.vald.api.v1.payload.Insert.ObjectRequest.Builder getRequestsBui * Represent multiple insert by object content. * * - * repeated .payload.v1.Insert.ObjectRequest requests = 1 [json_name = "requests"]; + * repeated .payload.v1.Insert.ObjectRequest requests = 1; */ public org.vdaas.vald.api.v1.payload.Insert.ObjectRequestOrBuilder getRequestsOrBuilder( int index) { @@ -3865,7 +3864,7 @@ public org.vdaas.vald.api.v1.payload.Insert.ObjectRequestOrBuilder getRequestsOr * Represent multiple insert by object content. * * - * repeated .payload.v1.Insert.ObjectRequest requests = 1 [json_name = "requests"]; + * repeated .payload.v1.Insert.ObjectRequest requests = 1; */ public java.util.List getRequestsOrBuilderList() { @@ -3880,7 +3879,7 @@ public org.vdaas.vald.api.v1.payload.Insert.ObjectRequestOrBuilder getRequestsOr * Represent multiple insert by object content. * * - * repeated .payload.v1.Insert.ObjectRequest requests = 1 [json_name = "requests"]; + * repeated .payload.v1.Insert.ObjectRequest requests = 1; */ public org.vdaas.vald.api.v1.payload.Insert.ObjectRequest.Builder addRequestsBuilder() { return getRequestsFieldBuilder().addBuilder( @@ -3891,7 +3890,7 @@ public org.vdaas.vald.api.v1.payload.Insert.ObjectRequest.Builder addRequestsBui * Represent multiple insert by object content. * * - * repeated .payload.v1.Insert.ObjectRequest requests = 1 [json_name = "requests"]; + * repeated .payload.v1.Insert.ObjectRequest requests = 1; */ public org.vdaas.vald.api.v1.payload.Insert.ObjectRequest.Builder addRequestsBuilder( int index) { @@ -3903,7 +3902,7 @@ public org.vdaas.vald.api.v1.payload.Insert.ObjectRequest.Builder addRequestsBui * Represent multiple insert by object content. * * - * repeated .payload.v1.Insert.ObjectRequest requests = 1 [json_name = "requests"]; + * repeated .payload.v1.Insert.ObjectRequest requests = 1; */ public java.util.List getRequestsBuilderList() { @@ -3996,7 +3995,7 @@ public interface ConfigOrBuilder extends * A flag to skip exist check during insert operation. * * - * bool skip_strict_exist_check = 1 [json_name = "skipStrictExistCheck"]; + * bool skip_strict_exist_check = 1; * @return The skipStrictExistCheck. */ boolean getSkipStrictExistCheck(); @@ -4006,7 +4005,7 @@ public interface ConfigOrBuilder extends * Filter configurations. * * - * .payload.v1.Filter.Config filters = 2 [json_name = "filters"]; + * .payload.v1.Filter.Config filters = 2; * @return Whether the filters field is set. */ boolean hasFilters(); @@ -4015,7 +4014,7 @@ public interface ConfigOrBuilder extends * Filter configurations. * * - * .payload.v1.Filter.Config filters = 2 [json_name = "filters"]; + * .payload.v1.Filter.Config filters = 2; * @return The filters. */ org.vdaas.vald.api.v1.payload.Filter.Config getFilters(); @@ -4024,7 +4023,7 @@ public interface ConfigOrBuilder extends * Filter configurations. * * - * .payload.v1.Filter.Config filters = 2 [json_name = "filters"]; + * .payload.v1.Filter.Config filters = 2; */ org.vdaas.vald.api.v1.payload.Filter.ConfigOrBuilder getFiltersOrBuilder(); @@ -4033,7 +4032,7 @@ public interface ConfigOrBuilder extends * Insert timestamp. * * - * int64 timestamp = 3 [json_name = "timestamp"]; + * int64 timestamp = 3; * @return The timestamp. */ long getTimestamp(); @@ -4085,7 +4084,7 @@ protected java.lang.Object newInstance( * A flag to skip exist check during insert operation. * * - * bool skip_strict_exist_check = 1 [json_name = "skipStrictExistCheck"]; + * bool skip_strict_exist_check = 1; * @return The skipStrictExistCheck. */ @java.lang.Override @@ -4100,7 +4099,7 @@ public boolean getSkipStrictExistCheck() { * Filter configurations. * * - * .payload.v1.Filter.Config filters = 2 [json_name = "filters"]; + * .payload.v1.Filter.Config filters = 2; * @return Whether the filters field is set. */ @java.lang.Override @@ -4112,7 +4111,7 @@ public boolean hasFilters() { * Filter configurations. * * - * .payload.v1.Filter.Config filters = 2 [json_name = "filters"]; + * .payload.v1.Filter.Config filters = 2; * @return The filters. */ @java.lang.Override @@ -4124,7 +4123,7 @@ public org.vdaas.vald.api.v1.payload.Filter.Config getFilters() { * Filter configurations. * * - * .payload.v1.Filter.Config filters = 2 [json_name = "filters"]; + * .payload.v1.Filter.Config filters = 2; */ @java.lang.Override public org.vdaas.vald.api.v1.payload.Filter.ConfigOrBuilder getFiltersOrBuilder() { @@ -4138,7 +4137,7 @@ public org.vdaas.vald.api.v1.payload.Filter.ConfigOrBuilder getFiltersOrBuilder( * Insert timestamp. * * - * int64 timestamp = 3 [json_name = "timestamp"]; + * int64 timestamp = 3; * @return The timestamp. */ @java.lang.Override @@ -4551,7 +4550,7 @@ public Builder mergeFrom( * A flag to skip exist check during insert operation. * * - * bool skip_strict_exist_check = 1 [json_name = "skipStrictExistCheck"]; + * bool skip_strict_exist_check = 1; * @return The skipStrictExistCheck. */ @java.lang.Override @@ -4563,7 +4562,7 @@ public boolean getSkipStrictExistCheck() { * A flag to skip exist check during insert operation. * * - * bool skip_strict_exist_check = 1 [json_name = "skipStrictExistCheck"]; + * bool skip_strict_exist_check = 1; * @param value The skipStrictExistCheck to set. * @return This builder for chaining. */ @@ -4579,7 +4578,7 @@ public Builder setSkipStrictExistCheck(boolean value) { * A flag to skip exist check during insert operation. * * - * bool skip_strict_exist_check = 1 [json_name = "skipStrictExistCheck"]; + * bool skip_strict_exist_check = 1; * @return This builder for chaining. */ public Builder clearSkipStrictExistCheck() { @@ -4597,7 +4596,7 @@ public Builder clearSkipStrictExistCheck() { * Filter configurations. * * - * .payload.v1.Filter.Config filters = 2 [json_name = "filters"]; + * .payload.v1.Filter.Config filters = 2; * @return Whether the filters field is set. */ public boolean hasFilters() { @@ -4608,7 +4607,7 @@ public boolean hasFilters() { * Filter configurations. * * - * .payload.v1.Filter.Config filters = 2 [json_name = "filters"]; + * .payload.v1.Filter.Config filters = 2; * @return The filters. */ public org.vdaas.vald.api.v1.payload.Filter.Config getFilters() { @@ -4623,7 +4622,7 @@ public org.vdaas.vald.api.v1.payload.Filter.Config getFilters() { * Filter configurations. * * - * .payload.v1.Filter.Config filters = 2 [json_name = "filters"]; + * .payload.v1.Filter.Config filters = 2; */ public Builder setFilters(org.vdaas.vald.api.v1.payload.Filter.Config value) { if (filtersBuilder_ == null) { @@ -4643,7 +4642,7 @@ public Builder setFilters(org.vdaas.vald.api.v1.payload.Filter.Config value) { * Filter configurations. * * - * .payload.v1.Filter.Config filters = 2 [json_name = "filters"]; + * .payload.v1.Filter.Config filters = 2; */ public Builder setFilters( org.vdaas.vald.api.v1.payload.Filter.Config.Builder builderForValue) { @@ -4661,7 +4660,7 @@ public Builder setFilters( * Filter configurations. * * - * .payload.v1.Filter.Config filters = 2 [json_name = "filters"]; + * .payload.v1.Filter.Config filters = 2; */ public Builder mergeFilters(org.vdaas.vald.api.v1.payload.Filter.Config value) { if (filtersBuilder_ == null) { @@ -4686,7 +4685,7 @@ public Builder mergeFilters(org.vdaas.vald.api.v1.payload.Filter.Config value) { * Filter configurations. * * - * .payload.v1.Filter.Config filters = 2 [json_name = "filters"]; + * .payload.v1.Filter.Config filters = 2; */ public Builder clearFilters() { bitField0_ = (bitField0_ & ~0x00000002); @@ -4703,7 +4702,7 @@ public Builder clearFilters() { * Filter configurations. * * - * .payload.v1.Filter.Config filters = 2 [json_name = "filters"]; + * .payload.v1.Filter.Config filters = 2; */ public org.vdaas.vald.api.v1.payload.Filter.Config.Builder getFiltersBuilder() { bitField0_ |= 0x00000002; @@ -4715,7 +4714,7 @@ public org.vdaas.vald.api.v1.payload.Filter.Config.Builder getFiltersBuilder() { * Filter configurations. * * - * .payload.v1.Filter.Config filters = 2 [json_name = "filters"]; + * .payload.v1.Filter.Config filters = 2; */ public org.vdaas.vald.api.v1.payload.Filter.ConfigOrBuilder getFiltersOrBuilder() { if (filtersBuilder_ != null) { @@ -4730,7 +4729,7 @@ public org.vdaas.vald.api.v1.payload.Filter.ConfigOrBuilder getFiltersOrBuilder( * Filter configurations. * * - * .payload.v1.Filter.Config filters = 2 [json_name = "filters"]; + * .payload.v1.Filter.Config filters = 2; */ private com.google.protobuf.SingleFieldBuilderV3< org.vdaas.vald.api.v1.payload.Filter.Config, org.vdaas.vald.api.v1.payload.Filter.Config.Builder, org.vdaas.vald.api.v1.payload.Filter.ConfigOrBuilder> @@ -4752,7 +4751,7 @@ public org.vdaas.vald.api.v1.payload.Filter.ConfigOrBuilder getFiltersOrBuilder( * Insert timestamp. * * - * int64 timestamp = 3 [json_name = "timestamp"]; + * int64 timestamp = 3; * @return The timestamp. */ @java.lang.Override @@ -4764,7 +4763,7 @@ public long getTimestamp() { * Insert timestamp. * * - * int64 timestamp = 3 [json_name = "timestamp"]; + * int64 timestamp = 3; * @param value The timestamp to set. * @return This builder for chaining. */ @@ -4780,7 +4779,7 @@ public Builder setTimestamp(long value) { * Insert timestamp. * * - * int64 timestamp = 3 [json_name = "timestamp"]; + * int64 timestamp = 3; * @return This builder for chaining. */ public Builder clearTimestamp() { diff --git a/src/main/java/org/vdaas/vald/api/v1/payload/InsertOrBuilder.java b/src/main/java/org/vdaas/vald/api/v1/payload/InsertOrBuilder.java index a8f65cc9..bd60334a 100644 --- a/src/main/java/org/vdaas/vald/api/v1/payload/InsertOrBuilder.java +++ b/src/main/java/org/vdaas/vald/api/v1/payload/InsertOrBuilder.java @@ -1,7 +1,6 @@ // Generated by the protocol buffer compiler. DO NOT EDIT! -// source: v1/payload/payload.proto +// source: apis/proto/v1/payload/payload.proto -// Protobuf Java Version: 3.25.1 package org.vdaas.vald.api.v1.payload; public interface InsertOrBuilder extends diff --git a/src/main/java/org/vdaas/vald/api/v1/payload/Object.java b/src/main/java/org/vdaas/vald/api/v1/payload/Object.java index b26348ca..aea25e3b 100644 --- a/src/main/java/org/vdaas/vald/api/v1/payload/Object.java +++ b/src/main/java/org/vdaas/vald/api/v1/payload/Object.java @@ -1,7 +1,6 @@ // Generated by the protocol buffer compiler. DO NOT EDIT! -// source: v1/payload/payload.proto +// source: apis/proto/v1/payload/payload.proto -// Protobuf Java Version: 3.25.1 package org.vdaas.vald.api.v1.payload; /** @@ -52,7 +51,7 @@ public interface VectorRequestOrBuilder extends * The vector ID to be fetched. * * - * .payload.v1.Object.ID id = 1 [json_name = "id", (.buf.validate.field) = { ... } + * .payload.v1.Object.ID id = 1 [(.validate.rules) = { ... } * @return Whether the id field is set. */ boolean hasId(); @@ -61,7 +60,7 @@ public interface VectorRequestOrBuilder extends * The vector ID to be fetched. * * - * .payload.v1.Object.ID id = 1 [json_name = "id", (.buf.validate.field) = { ... } + * .payload.v1.Object.ID id = 1 [(.validate.rules) = { ... } * @return The id. */ org.vdaas.vald.api.v1.payload.Object.ID getId(); @@ -70,7 +69,7 @@ public interface VectorRequestOrBuilder extends * The vector ID to be fetched. * * - * .payload.v1.Object.ID id = 1 [json_name = "id", (.buf.validate.field) = { ... } + * .payload.v1.Object.ID id = 1 [(.validate.rules) = { ... } */ org.vdaas.vald.api.v1.payload.Object.IDOrBuilder getIdOrBuilder(); @@ -79,7 +78,7 @@ public interface VectorRequestOrBuilder extends * Filter configurations. * * - * .payload.v1.Filter.Config filters = 2 [json_name = "filters"]; + * .payload.v1.Filter.Config filters = 2; * @return Whether the filters field is set. */ boolean hasFilters(); @@ -88,7 +87,7 @@ public interface VectorRequestOrBuilder extends * Filter configurations. * * - * .payload.v1.Filter.Config filters = 2 [json_name = "filters"]; + * .payload.v1.Filter.Config filters = 2; * @return The filters. */ org.vdaas.vald.api.v1.payload.Filter.Config getFilters(); @@ -97,7 +96,7 @@ public interface VectorRequestOrBuilder extends * Filter configurations. * * - * .payload.v1.Filter.Config filters = 2 [json_name = "filters"]; + * .payload.v1.Filter.Config filters = 2; */ org.vdaas.vald.api.v1.payload.Filter.ConfigOrBuilder getFiltersOrBuilder(); } @@ -148,7 +147,7 @@ protected java.lang.Object newInstance( * The vector ID to be fetched. * * - * .payload.v1.Object.ID id = 1 [json_name = "id", (.buf.validate.field) = { ... } + * .payload.v1.Object.ID id = 1 [(.validate.rules) = { ... } * @return Whether the id field is set. */ @java.lang.Override @@ -160,7 +159,7 @@ public boolean hasId() { * The vector ID to be fetched. * * - * .payload.v1.Object.ID id = 1 [json_name = "id", (.buf.validate.field) = { ... } + * .payload.v1.Object.ID id = 1 [(.validate.rules) = { ... } * @return The id. */ @java.lang.Override @@ -172,7 +171,7 @@ public org.vdaas.vald.api.v1.payload.Object.ID getId() { * The vector ID to be fetched. * * - * .payload.v1.Object.ID id = 1 [json_name = "id", (.buf.validate.field) = { ... } + * .payload.v1.Object.ID id = 1 [(.validate.rules) = { ... } */ @java.lang.Override public org.vdaas.vald.api.v1.payload.Object.IDOrBuilder getIdOrBuilder() { @@ -186,7 +185,7 @@ public org.vdaas.vald.api.v1.payload.Object.IDOrBuilder getIdOrBuilder() { * Filter configurations. * * - * .payload.v1.Filter.Config filters = 2 [json_name = "filters"]; + * .payload.v1.Filter.Config filters = 2; * @return Whether the filters field is set. */ @java.lang.Override @@ -198,7 +197,7 @@ public boolean hasFilters() { * Filter configurations. * * - * .payload.v1.Filter.Config filters = 2 [json_name = "filters"]; + * .payload.v1.Filter.Config filters = 2; * @return The filters. */ @java.lang.Override @@ -210,7 +209,7 @@ public org.vdaas.vald.api.v1.payload.Filter.Config getFilters() { * Filter configurations. * * - * .payload.v1.Filter.Config filters = 2 [json_name = "filters"]; + * .payload.v1.Filter.Config filters = 2; */ @java.lang.Override public org.vdaas.vald.api.v1.payload.Filter.ConfigOrBuilder getFiltersOrBuilder() { @@ -614,7 +613,7 @@ public Builder mergeFrom( * The vector ID to be fetched. * * - * .payload.v1.Object.ID id = 1 [json_name = "id", (.buf.validate.field) = { ... } + * .payload.v1.Object.ID id = 1 [(.validate.rules) = { ... } * @return Whether the id field is set. */ public boolean hasId() { @@ -625,7 +624,7 @@ public boolean hasId() { * The vector ID to be fetched. * * - * .payload.v1.Object.ID id = 1 [json_name = "id", (.buf.validate.field) = { ... } + * .payload.v1.Object.ID id = 1 [(.validate.rules) = { ... } * @return The id. */ public org.vdaas.vald.api.v1.payload.Object.ID getId() { @@ -640,7 +639,7 @@ public org.vdaas.vald.api.v1.payload.Object.ID getId() { * The vector ID to be fetched. * * - * .payload.v1.Object.ID id = 1 [json_name = "id", (.buf.validate.field) = { ... } + * .payload.v1.Object.ID id = 1 [(.validate.rules) = { ... } */ public Builder setId(org.vdaas.vald.api.v1.payload.Object.ID value) { if (idBuilder_ == null) { @@ -660,7 +659,7 @@ public Builder setId(org.vdaas.vald.api.v1.payload.Object.ID value) { * The vector ID to be fetched. * * - * .payload.v1.Object.ID id = 1 [json_name = "id", (.buf.validate.field) = { ... } + * .payload.v1.Object.ID id = 1 [(.validate.rules) = { ... } */ public Builder setId( org.vdaas.vald.api.v1.payload.Object.ID.Builder builderForValue) { @@ -678,7 +677,7 @@ public Builder setId( * The vector ID to be fetched. * * - * .payload.v1.Object.ID id = 1 [json_name = "id", (.buf.validate.field) = { ... } + * .payload.v1.Object.ID id = 1 [(.validate.rules) = { ... } */ public Builder mergeId(org.vdaas.vald.api.v1.payload.Object.ID value) { if (idBuilder_ == null) { @@ -703,7 +702,7 @@ public Builder mergeId(org.vdaas.vald.api.v1.payload.Object.ID value) { * The vector ID to be fetched. * * - * .payload.v1.Object.ID id = 1 [json_name = "id", (.buf.validate.field) = { ... } + * .payload.v1.Object.ID id = 1 [(.validate.rules) = { ... } */ public Builder clearId() { bitField0_ = (bitField0_ & ~0x00000001); @@ -720,7 +719,7 @@ public Builder clearId() { * The vector ID to be fetched. * * - * .payload.v1.Object.ID id = 1 [json_name = "id", (.buf.validate.field) = { ... } + * .payload.v1.Object.ID id = 1 [(.validate.rules) = { ... } */ public org.vdaas.vald.api.v1.payload.Object.ID.Builder getIdBuilder() { bitField0_ |= 0x00000001; @@ -732,7 +731,7 @@ public org.vdaas.vald.api.v1.payload.Object.ID.Builder getIdBuilder() { * The vector ID to be fetched. * * - * .payload.v1.Object.ID id = 1 [json_name = "id", (.buf.validate.field) = { ... } + * .payload.v1.Object.ID id = 1 [(.validate.rules) = { ... } */ public org.vdaas.vald.api.v1.payload.Object.IDOrBuilder getIdOrBuilder() { if (idBuilder_ != null) { @@ -747,7 +746,7 @@ public org.vdaas.vald.api.v1.payload.Object.IDOrBuilder getIdOrBuilder() { * The vector ID to be fetched. * * - * .payload.v1.Object.ID id = 1 [json_name = "id", (.buf.validate.field) = { ... } + * .payload.v1.Object.ID id = 1 [(.validate.rules) = { ... } */ private com.google.protobuf.SingleFieldBuilderV3< org.vdaas.vald.api.v1.payload.Object.ID, org.vdaas.vald.api.v1.payload.Object.ID.Builder, org.vdaas.vald.api.v1.payload.Object.IDOrBuilder> @@ -771,7 +770,7 @@ public org.vdaas.vald.api.v1.payload.Object.IDOrBuilder getIdOrBuilder() { * Filter configurations. * * - * .payload.v1.Filter.Config filters = 2 [json_name = "filters"]; + * .payload.v1.Filter.Config filters = 2; * @return Whether the filters field is set. */ public boolean hasFilters() { @@ -782,7 +781,7 @@ public boolean hasFilters() { * Filter configurations. * * - * .payload.v1.Filter.Config filters = 2 [json_name = "filters"]; + * .payload.v1.Filter.Config filters = 2; * @return The filters. */ public org.vdaas.vald.api.v1.payload.Filter.Config getFilters() { @@ -797,7 +796,7 @@ public org.vdaas.vald.api.v1.payload.Filter.Config getFilters() { * Filter configurations. * * - * .payload.v1.Filter.Config filters = 2 [json_name = "filters"]; + * .payload.v1.Filter.Config filters = 2; */ public Builder setFilters(org.vdaas.vald.api.v1.payload.Filter.Config value) { if (filtersBuilder_ == null) { @@ -817,7 +816,7 @@ public Builder setFilters(org.vdaas.vald.api.v1.payload.Filter.Config value) { * Filter configurations. * * - * .payload.v1.Filter.Config filters = 2 [json_name = "filters"]; + * .payload.v1.Filter.Config filters = 2; */ public Builder setFilters( org.vdaas.vald.api.v1.payload.Filter.Config.Builder builderForValue) { @@ -835,7 +834,7 @@ public Builder setFilters( * Filter configurations. * * - * .payload.v1.Filter.Config filters = 2 [json_name = "filters"]; + * .payload.v1.Filter.Config filters = 2; */ public Builder mergeFilters(org.vdaas.vald.api.v1.payload.Filter.Config value) { if (filtersBuilder_ == null) { @@ -860,7 +859,7 @@ public Builder mergeFilters(org.vdaas.vald.api.v1.payload.Filter.Config value) { * Filter configurations. * * - * .payload.v1.Filter.Config filters = 2 [json_name = "filters"]; + * .payload.v1.Filter.Config filters = 2; */ public Builder clearFilters() { bitField0_ = (bitField0_ & ~0x00000002); @@ -877,7 +876,7 @@ public Builder clearFilters() { * Filter configurations. * * - * .payload.v1.Filter.Config filters = 2 [json_name = "filters"]; + * .payload.v1.Filter.Config filters = 2; */ public org.vdaas.vald.api.v1.payload.Filter.Config.Builder getFiltersBuilder() { bitField0_ |= 0x00000002; @@ -889,7 +888,7 @@ public org.vdaas.vald.api.v1.payload.Filter.Config.Builder getFiltersBuilder() { * Filter configurations. * * - * .payload.v1.Filter.Config filters = 2 [json_name = "filters"]; + * .payload.v1.Filter.Config filters = 2; */ public org.vdaas.vald.api.v1.payload.Filter.ConfigOrBuilder getFiltersOrBuilder() { if (filtersBuilder_ != null) { @@ -904,7 +903,7 @@ public org.vdaas.vald.api.v1.payload.Filter.ConfigOrBuilder getFiltersOrBuilder( * Filter configurations. * * - * .payload.v1.Filter.Config filters = 2 [json_name = "filters"]; + * .payload.v1.Filter.Config filters = 2; */ private com.google.protobuf.SingleFieldBuilderV3< org.vdaas.vald.api.v1.payload.Filter.Config, org.vdaas.vald.api.v1.payload.Filter.Config.Builder, org.vdaas.vald.api.v1.payload.Filter.ConfigOrBuilder> @@ -992,7 +991,7 @@ public interface DistanceOrBuilder extends * The vector ID. * * - * string id = 1 [json_name = "id"]; + * string id = 1; * @return The id. */ java.lang.String getId(); @@ -1001,7 +1000,7 @@ public interface DistanceOrBuilder extends * The vector ID. * * - * string id = 1 [json_name = "id"]; + * string id = 1; * @return The bytes for id. */ com.google.protobuf.ByteString @@ -1012,7 +1011,7 @@ public interface DistanceOrBuilder extends * The distance. * * - * float distance = 2 [json_name = "distance"]; + * float distance = 2; * @return The distance. */ float getDistance(); @@ -1065,7 +1064,7 @@ protected java.lang.Object newInstance( * The vector ID. * * - * string id = 1 [json_name = "id"]; + * string id = 1; * @return The id. */ @java.lang.Override @@ -1086,7 +1085,7 @@ public java.lang.String getId() { * The vector ID. * * - * string id = 1 [json_name = "id"]; + * string id = 1; * @return The bytes for id. */ @java.lang.Override @@ -1111,7 +1110,7 @@ public java.lang.String getId() { * The distance. * * - * float distance = 2 [json_name = "distance"]; + * float distance = 2; * @return The distance. */ @java.lang.Override @@ -1480,7 +1479,7 @@ public Builder mergeFrom( * The vector ID. * * - * string id = 1 [json_name = "id"]; + * string id = 1; * @return The id. */ public java.lang.String getId() { @@ -1500,7 +1499,7 @@ public java.lang.String getId() { * The vector ID. * * - * string id = 1 [json_name = "id"]; + * string id = 1; * @return The bytes for id. */ public com.google.protobuf.ByteString @@ -1521,7 +1520,7 @@ public java.lang.String getId() { * The vector ID. * * - * string id = 1 [json_name = "id"]; + * string id = 1; * @param value The id to set. * @return This builder for chaining. */ @@ -1538,7 +1537,7 @@ public Builder setId( * The vector ID. * * - * string id = 1 [json_name = "id"]; + * string id = 1; * @return This builder for chaining. */ public Builder clearId() { @@ -1552,7 +1551,7 @@ public Builder clearId() { * The vector ID. * * - * string id = 1 [json_name = "id"]; + * string id = 1; * @param value The bytes for id to set. * @return This builder for chaining. */ @@ -1572,7 +1571,7 @@ public Builder setIdBytes( * The distance. * * - * float distance = 2 [json_name = "distance"]; + * float distance = 2; * @return The distance. */ @java.lang.Override @@ -1584,7 +1583,7 @@ public float getDistance() { * The distance. * * - * float distance = 2 [json_name = "distance"]; + * float distance = 2; * @param value The distance to set. * @return This builder for chaining. */ @@ -1600,7 +1599,7 @@ public Builder setDistance(float value) { * The distance. * * - * float distance = 2 [json_name = "distance"]; + * float distance = 2; * @return This builder for chaining. */ public Builder clearDistance() { @@ -1682,7 +1681,7 @@ public interface StreamDistanceOrBuilder extends * The distance. * * - * .payload.v1.Object.Distance distance = 1 [json_name = "distance"]; + * .payload.v1.Object.Distance distance = 1; * @return Whether the distance field is set. */ boolean hasDistance(); @@ -1691,7 +1690,7 @@ public interface StreamDistanceOrBuilder extends * The distance. * * - * .payload.v1.Object.Distance distance = 1 [json_name = "distance"]; + * .payload.v1.Object.Distance distance = 1; * @return The distance. */ org.vdaas.vald.api.v1.payload.Object.Distance getDistance(); @@ -1700,7 +1699,7 @@ public interface StreamDistanceOrBuilder extends * The distance. * * - * .payload.v1.Object.Distance distance = 1 [json_name = "distance"]; + * .payload.v1.Object.Distance distance = 1; */ org.vdaas.vald.api.v1.payload.Object.DistanceOrBuilder getDistanceOrBuilder(); @@ -1709,7 +1708,7 @@ public interface StreamDistanceOrBuilder extends * The RPC error status. * * - * .google.rpc.Status status = 2 [json_name = "status"]; + * .google.rpc.Status status = 2; * @return Whether the status field is set. */ boolean hasStatus(); @@ -1718,7 +1717,7 @@ public interface StreamDistanceOrBuilder extends * The RPC error status. * * - * .google.rpc.Status status = 2 [json_name = "status"]; + * .google.rpc.Status status = 2; * @return The status. */ com.google.rpc.Status getStatus(); @@ -1727,7 +1726,7 @@ public interface StreamDistanceOrBuilder extends * The RPC error status. * * - * .google.rpc.Status status = 2 [json_name = "status"]; + * .google.rpc.Status status = 2; */ com.google.rpc.StatusOrBuilder getStatusOrBuilder(); @@ -1820,7 +1819,7 @@ public int getNumber() { * The distance. * * - * .payload.v1.Object.Distance distance = 1 [json_name = "distance"]; + * .payload.v1.Object.Distance distance = 1; * @return Whether the distance field is set. */ @java.lang.Override @@ -1832,7 +1831,7 @@ public boolean hasDistance() { * The distance. * * - * .payload.v1.Object.Distance distance = 1 [json_name = "distance"]; + * .payload.v1.Object.Distance distance = 1; * @return The distance. */ @java.lang.Override @@ -1847,7 +1846,7 @@ public org.vdaas.vald.api.v1.payload.Object.Distance getDistance() { * The distance. * * - * .payload.v1.Object.Distance distance = 1 [json_name = "distance"]; + * .payload.v1.Object.Distance distance = 1; */ @java.lang.Override public org.vdaas.vald.api.v1.payload.Object.DistanceOrBuilder getDistanceOrBuilder() { @@ -1863,7 +1862,7 @@ public org.vdaas.vald.api.v1.payload.Object.DistanceOrBuilder getDistanceOrBuild * The RPC error status. * * - * .google.rpc.Status status = 2 [json_name = "status"]; + * .google.rpc.Status status = 2; * @return Whether the status field is set. */ @java.lang.Override @@ -1875,7 +1874,7 @@ public boolean hasStatus() { * The RPC error status. * * - * .google.rpc.Status status = 2 [json_name = "status"]; + * .google.rpc.Status status = 2; * @return The status. */ @java.lang.Override @@ -1890,7 +1889,7 @@ public com.google.rpc.Status getStatus() { * The RPC error status. * * - * .google.rpc.Status status = 2 [json_name = "status"]; + * .google.rpc.Status status = 2; */ @java.lang.Override public com.google.rpc.StatusOrBuilder getStatusOrBuilder() { @@ -2316,7 +2315,7 @@ public Builder clearPayload() { * The distance. * * - * .payload.v1.Object.Distance distance = 1 [json_name = "distance"]; + * .payload.v1.Object.Distance distance = 1; * @return Whether the distance field is set. */ @java.lang.Override @@ -2328,7 +2327,7 @@ public boolean hasDistance() { * The distance. * * - * .payload.v1.Object.Distance distance = 1 [json_name = "distance"]; + * .payload.v1.Object.Distance distance = 1; * @return The distance. */ @java.lang.Override @@ -2350,7 +2349,7 @@ public org.vdaas.vald.api.v1.payload.Object.Distance getDistance() { * The distance. * * - * .payload.v1.Object.Distance distance = 1 [json_name = "distance"]; + * .payload.v1.Object.Distance distance = 1; */ public Builder setDistance(org.vdaas.vald.api.v1.payload.Object.Distance value) { if (distanceBuilder_ == null) { @@ -2370,7 +2369,7 @@ public Builder setDistance(org.vdaas.vald.api.v1.payload.Object.Distance value) * The distance. * * - * .payload.v1.Object.Distance distance = 1 [json_name = "distance"]; + * .payload.v1.Object.Distance distance = 1; */ public Builder setDistance( org.vdaas.vald.api.v1.payload.Object.Distance.Builder builderForValue) { @@ -2388,7 +2387,7 @@ public Builder setDistance( * The distance. * * - * .payload.v1.Object.Distance distance = 1 [json_name = "distance"]; + * .payload.v1.Object.Distance distance = 1; */ public Builder mergeDistance(org.vdaas.vald.api.v1.payload.Object.Distance value) { if (distanceBuilder_ == null) { @@ -2415,7 +2414,7 @@ public Builder mergeDistance(org.vdaas.vald.api.v1.payload.Object.Distance value * The distance. * * - * .payload.v1.Object.Distance distance = 1 [json_name = "distance"]; + * .payload.v1.Object.Distance distance = 1; */ public Builder clearDistance() { if (distanceBuilder_ == null) { @@ -2438,7 +2437,7 @@ public Builder clearDistance() { * The distance. * * - * .payload.v1.Object.Distance distance = 1 [json_name = "distance"]; + * .payload.v1.Object.Distance distance = 1; */ public org.vdaas.vald.api.v1.payload.Object.Distance.Builder getDistanceBuilder() { return getDistanceFieldBuilder().getBuilder(); @@ -2448,7 +2447,7 @@ public org.vdaas.vald.api.v1.payload.Object.Distance.Builder getDistanceBuilder( * The distance. * * - * .payload.v1.Object.Distance distance = 1 [json_name = "distance"]; + * .payload.v1.Object.Distance distance = 1; */ @java.lang.Override public org.vdaas.vald.api.v1.payload.Object.DistanceOrBuilder getDistanceOrBuilder() { @@ -2466,7 +2465,7 @@ public org.vdaas.vald.api.v1.payload.Object.DistanceOrBuilder getDistanceOrBuild * The distance. * * - * .payload.v1.Object.Distance distance = 1 [json_name = "distance"]; + * .payload.v1.Object.Distance distance = 1; */ private com.google.protobuf.SingleFieldBuilderV3< org.vdaas.vald.api.v1.payload.Object.Distance, org.vdaas.vald.api.v1.payload.Object.Distance.Builder, org.vdaas.vald.api.v1.payload.Object.DistanceOrBuilder> @@ -2494,7 +2493,7 @@ public org.vdaas.vald.api.v1.payload.Object.DistanceOrBuilder getDistanceOrBuild * The RPC error status. * * - * .google.rpc.Status status = 2 [json_name = "status"]; + * .google.rpc.Status status = 2; * @return Whether the status field is set. */ @java.lang.Override @@ -2506,7 +2505,7 @@ public boolean hasStatus() { * The RPC error status. * * - * .google.rpc.Status status = 2 [json_name = "status"]; + * .google.rpc.Status status = 2; * @return The status. */ @java.lang.Override @@ -2528,7 +2527,7 @@ public com.google.rpc.Status getStatus() { * The RPC error status. * * - * .google.rpc.Status status = 2 [json_name = "status"]; + * .google.rpc.Status status = 2; */ public Builder setStatus(com.google.rpc.Status value) { if (statusBuilder_ == null) { @@ -2548,7 +2547,7 @@ public Builder setStatus(com.google.rpc.Status value) { * The RPC error status. * * - * .google.rpc.Status status = 2 [json_name = "status"]; + * .google.rpc.Status status = 2; */ public Builder setStatus( com.google.rpc.Status.Builder builderForValue) { @@ -2566,7 +2565,7 @@ public Builder setStatus( * The RPC error status. * * - * .google.rpc.Status status = 2 [json_name = "status"]; + * .google.rpc.Status status = 2; */ public Builder mergeStatus(com.google.rpc.Status value) { if (statusBuilder_ == null) { @@ -2593,7 +2592,7 @@ public Builder mergeStatus(com.google.rpc.Status value) { * The RPC error status. * * - * .google.rpc.Status status = 2 [json_name = "status"]; + * .google.rpc.Status status = 2; */ public Builder clearStatus() { if (statusBuilder_ == null) { @@ -2616,7 +2615,7 @@ public Builder clearStatus() { * The RPC error status. * * - * .google.rpc.Status status = 2 [json_name = "status"]; + * .google.rpc.Status status = 2; */ public com.google.rpc.Status.Builder getStatusBuilder() { return getStatusFieldBuilder().getBuilder(); @@ -2626,7 +2625,7 @@ public com.google.rpc.Status.Builder getStatusBuilder() { * The RPC error status. * * - * .google.rpc.Status status = 2 [json_name = "status"]; + * .google.rpc.Status status = 2; */ @java.lang.Override public com.google.rpc.StatusOrBuilder getStatusOrBuilder() { @@ -2644,7 +2643,7 @@ public com.google.rpc.StatusOrBuilder getStatusOrBuilder() { * The RPC error status. * * - * .google.rpc.Status status = 2 [json_name = "status"]; + * .google.rpc.Status status = 2; */ private com.google.protobuf.SingleFieldBuilderV3< com.google.rpc.Status, com.google.rpc.Status.Builder, com.google.rpc.StatusOrBuilder> @@ -2733,12 +2732,12 @@ public interface IDOrBuilder extends com.google.protobuf.MessageOrBuilder { /** - * string id = 1 [json_name = "id", (.buf.validate.field) = { ... } + * string id = 1 [(.validate.rules) = { ... } * @return The id. */ java.lang.String getId(); /** - * string id = 1 [json_name = "id", (.buf.validate.field) = { ... } + * string id = 1 [(.validate.rules) = { ... } * @return The bytes for id. */ com.google.protobuf.ByteString @@ -2788,7 +2787,7 @@ protected java.lang.Object newInstance( @SuppressWarnings("serial") private volatile java.lang.Object id_ = ""; /** - * string id = 1 [json_name = "id", (.buf.validate.field) = { ... } + * string id = 1 [(.validate.rules) = { ... } * @return The id. */ @java.lang.Override @@ -2805,7 +2804,7 @@ public java.lang.String getId() { } } /** - * string id = 1 [json_name = "id", (.buf.validate.field) = { ... } + * string id = 1 [(.validate.rules) = { ... } * @return The bytes for id. */ @java.lang.Override @@ -3155,7 +3154,7 @@ public Builder mergeFrom( private java.lang.Object id_ = ""; /** - * string id = 1 [json_name = "id", (.buf.validate.field) = { ... } + * string id = 1 [(.validate.rules) = { ... } * @return The id. */ public java.lang.String getId() { @@ -3171,7 +3170,7 @@ public java.lang.String getId() { } } /** - * string id = 1 [json_name = "id", (.buf.validate.field) = { ... } + * string id = 1 [(.validate.rules) = { ... } * @return The bytes for id. */ public com.google.protobuf.ByteString @@ -3188,7 +3187,7 @@ public java.lang.String getId() { } } /** - * string id = 1 [json_name = "id", (.buf.validate.field) = { ... } + * string id = 1 [(.validate.rules) = { ... } * @param value The id to set. * @return This builder for chaining. */ @@ -3201,7 +3200,7 @@ public Builder setId( return this; } /** - * string id = 1 [json_name = "id", (.buf.validate.field) = { ... } + * string id = 1 [(.validate.rules) = { ... } * @return This builder for chaining. */ public Builder clearId() { @@ -3211,7 +3210,7 @@ public Builder clearId() { return this; } /** - * string id = 1 [json_name = "id", (.buf.validate.field) = { ... } + * string id = 1 [(.validate.rules) = { ... } * @param value The bytes for id to set. * @return This builder for chaining. */ @@ -3293,24 +3292,24 @@ public interface IDsOrBuilder extends com.google.protobuf.MessageOrBuilder { /** - * repeated string ids = 1 [json_name = "ids"]; + * repeated string ids = 1; * @return A list containing the ids. */ java.util.List getIdsList(); /** - * repeated string ids = 1 [json_name = "ids"]; + * repeated string ids = 1; * @return The count of ids. */ int getIdsCount(); /** - * repeated string ids = 1 [json_name = "ids"]; + * repeated string ids = 1; * @param index The index of the element to return. * @return The ids at the given index. */ java.lang.String getIds(int index); /** - * repeated string ids = 1 [json_name = "ids"]; + * repeated string ids = 1; * @param index The index of the value to return. * @return The bytes of the ids at the given index. */ @@ -3363,7 +3362,7 @@ protected java.lang.Object newInstance( private com.google.protobuf.LazyStringArrayList ids_ = com.google.protobuf.LazyStringArrayList.emptyList(); /** - * repeated string ids = 1 [json_name = "ids"]; + * repeated string ids = 1; * @return A list containing the ids. */ public com.google.protobuf.ProtocolStringList @@ -3371,14 +3370,14 @@ protected java.lang.Object newInstance( return ids_; } /** - * repeated string ids = 1 [json_name = "ids"]; + * repeated string ids = 1; * @return The count of ids. */ public int getIdsCount() { return ids_.size(); } /** - * repeated string ids = 1 [json_name = "ids"]; + * repeated string ids = 1; * @param index The index of the element to return. * @return The ids at the given index. */ @@ -3386,7 +3385,7 @@ public java.lang.String getIds(int index) { return ids_.get(index); } /** - * repeated string ids = 1 [json_name = "ids"]; + * repeated string ids = 1; * @param index The index of the value to return. * @return The bytes of the ids at the given index. */ @@ -3749,7 +3748,7 @@ private void ensureIdsIsMutable() { bitField0_ |= 0x00000001; } /** - * repeated string ids = 1 [json_name = "ids"]; + * repeated string ids = 1; * @return A list containing the ids. */ public com.google.protobuf.ProtocolStringList @@ -3758,14 +3757,14 @@ private void ensureIdsIsMutable() { return ids_; } /** - * repeated string ids = 1 [json_name = "ids"]; + * repeated string ids = 1; * @return The count of ids. */ public int getIdsCount() { return ids_.size(); } /** - * repeated string ids = 1 [json_name = "ids"]; + * repeated string ids = 1; * @param index The index of the element to return. * @return The ids at the given index. */ @@ -3773,7 +3772,7 @@ public java.lang.String getIds(int index) { return ids_.get(index); } /** - * repeated string ids = 1 [json_name = "ids"]; + * repeated string ids = 1; * @param index The index of the value to return. * @return The bytes of the ids at the given index. */ @@ -3782,7 +3781,7 @@ public java.lang.String getIds(int index) { return ids_.getByteString(index); } /** - * repeated string ids = 1 [json_name = "ids"]; + * repeated string ids = 1; * @param index The index to set the value at. * @param value The ids to set. * @return This builder for chaining. @@ -3797,7 +3796,7 @@ public Builder setIds( return this; } /** - * repeated string ids = 1 [json_name = "ids"]; + * repeated string ids = 1; * @param value The ids to add. * @return This builder for chaining. */ @@ -3811,7 +3810,7 @@ public Builder addIds( return this; } /** - * repeated string ids = 1 [json_name = "ids"]; + * repeated string ids = 1; * @param values The ids to add. * @return This builder for chaining. */ @@ -3825,7 +3824,7 @@ public Builder addAllIds( return this; } /** - * repeated string ids = 1 [json_name = "ids"]; + * repeated string ids = 1; * @return This builder for chaining. */ public Builder clearIds() { @@ -3836,7 +3835,7 @@ public Builder clearIds() { return this; } /** - * repeated string ids = 1 [json_name = "ids"]; + * repeated string ids = 1; * @param value The bytes of the ids to add. * @return This builder for chaining. */ @@ -3923,7 +3922,7 @@ public interface VectorOrBuilder extends * The vector ID. * * - * string id = 1 [json_name = "id", (.buf.validate.field) = { ... } + * string id = 1 [(.validate.rules) = { ... } * @return The id. */ java.lang.String getId(); @@ -3932,7 +3931,7 @@ public interface VectorOrBuilder extends * The vector ID. * * - * string id = 1 [json_name = "id", (.buf.validate.field) = { ... } + * string id = 1 [(.validate.rules) = { ... } * @return The bytes for id. */ com.google.protobuf.ByteString @@ -3943,7 +3942,7 @@ public interface VectorOrBuilder extends * The vector. * * - * repeated float vector = 2 [json_name = "vector", (.buf.validate.field) = { ... } + * repeated float vector = 2 [(.validate.rules) = { ... } * @return A list containing the vector. */ java.util.List getVectorList(); @@ -3952,7 +3951,7 @@ public interface VectorOrBuilder extends * The vector. * * - * repeated float vector = 2 [json_name = "vector", (.buf.validate.field) = { ... } + * repeated float vector = 2 [(.validate.rules) = { ... } * @return The count of vector. */ int getVectorCount(); @@ -3961,7 +3960,7 @@ public interface VectorOrBuilder extends * The vector. * * - * repeated float vector = 2 [json_name = "vector", (.buf.validate.field) = { ... } + * repeated float vector = 2 [(.validate.rules) = { ... } * @param index The index of the element to return. * @return The vector at the given index. */ @@ -3972,7 +3971,7 @@ public interface VectorOrBuilder extends * timestamp represents when this vector inserted. * * - * int64 timestamp = 3 [json_name = "timestamp"]; + * int64 timestamp = 3; * @return The timestamp. */ long getTimestamp(); @@ -4026,7 +4025,7 @@ protected java.lang.Object newInstance( * The vector ID. * * - * string id = 1 [json_name = "id", (.buf.validate.field) = { ... } + * string id = 1 [(.validate.rules) = { ... } * @return The id. */ @java.lang.Override @@ -4047,7 +4046,7 @@ public java.lang.String getId() { * The vector ID. * * - * string id = 1 [json_name = "id", (.buf.validate.field) = { ... } + * string id = 1 [(.validate.rules) = { ... } * @return The bytes for id. */ @java.lang.Override @@ -4074,7 +4073,7 @@ public java.lang.String getId() { * The vector. * * - * repeated float vector = 2 [json_name = "vector", (.buf.validate.field) = { ... } + * repeated float vector = 2 [(.validate.rules) = { ... } * @return A list containing the vector. */ @java.lang.Override @@ -4087,7 +4086,7 @@ public java.lang.String getId() { * The vector. * * - * repeated float vector = 2 [json_name = "vector", (.buf.validate.field) = { ... } + * repeated float vector = 2 [(.validate.rules) = { ... } * @return The count of vector. */ public int getVectorCount() { @@ -4098,7 +4097,7 @@ public int getVectorCount() { * The vector. * * - * repeated float vector = 2 [json_name = "vector", (.buf.validate.field) = { ... } + * repeated float vector = 2 [(.validate.rules) = { ... } * @param index The index of the element to return. * @return The vector at the given index. */ @@ -4114,7 +4113,7 @@ public float getVector(int index) { * timestamp represents when this vector inserted. * * - * int64 timestamp = 3 [json_name = "timestamp"]; + * int64 timestamp = 3; * @return The timestamp. */ @java.lang.Override @@ -4540,7 +4539,7 @@ public Builder mergeFrom( * The vector ID. * * - * string id = 1 [json_name = "id", (.buf.validate.field) = { ... } + * string id = 1 [(.validate.rules) = { ... } * @return The id. */ public java.lang.String getId() { @@ -4560,7 +4559,7 @@ public java.lang.String getId() { * The vector ID. * * - * string id = 1 [json_name = "id", (.buf.validate.field) = { ... } + * string id = 1 [(.validate.rules) = { ... } * @return The bytes for id. */ public com.google.protobuf.ByteString @@ -4581,7 +4580,7 @@ public java.lang.String getId() { * The vector ID. * * - * string id = 1 [json_name = "id", (.buf.validate.field) = { ... } + * string id = 1 [(.validate.rules) = { ... } * @param value The id to set. * @return This builder for chaining. */ @@ -4598,7 +4597,7 @@ public Builder setId( * The vector ID. * * - * string id = 1 [json_name = "id", (.buf.validate.field) = { ... } + * string id = 1 [(.validate.rules) = { ... } * @return This builder for chaining. */ public Builder clearId() { @@ -4612,7 +4611,7 @@ public Builder clearId() { * The vector ID. * * - * string id = 1 [json_name = "id", (.buf.validate.field) = { ... } + * string id = 1 [(.validate.rules) = { ... } * @param value The bytes for id to set. * @return This builder for chaining. */ @@ -4644,7 +4643,7 @@ private void ensureVectorIsMutable(int capacity) { * The vector. * * - * repeated float vector = 2 [json_name = "vector", (.buf.validate.field) = { ... } + * repeated float vector = 2 [(.validate.rules) = { ... } * @return A list containing the vector. */ public java.util.List @@ -4657,7 +4656,7 @@ private void ensureVectorIsMutable(int capacity) { * The vector. * * - * repeated float vector = 2 [json_name = "vector", (.buf.validate.field) = { ... } + * repeated float vector = 2 [(.validate.rules) = { ... } * @return The count of vector. */ public int getVectorCount() { @@ -4668,7 +4667,7 @@ public int getVectorCount() { * The vector. * * - * repeated float vector = 2 [json_name = "vector", (.buf.validate.field) = { ... } + * repeated float vector = 2 [(.validate.rules) = { ... } * @param index The index of the element to return. * @return The vector at the given index. */ @@ -4680,7 +4679,7 @@ public float getVector(int index) { * The vector. * * - * repeated float vector = 2 [json_name = "vector", (.buf.validate.field) = { ... } + * repeated float vector = 2 [(.validate.rules) = { ... } * @param index The index to set the value at. * @param value The vector to set. * @return This builder for chaining. @@ -4699,7 +4698,7 @@ public Builder setVector( * The vector. * * - * repeated float vector = 2 [json_name = "vector", (.buf.validate.field) = { ... } + * repeated float vector = 2 [(.validate.rules) = { ... } * @param value The vector to add. * @return This builder for chaining. */ @@ -4716,7 +4715,7 @@ public Builder addVector(float value) { * The vector. * * - * repeated float vector = 2 [json_name = "vector", (.buf.validate.field) = { ... } + * repeated float vector = 2 [(.validate.rules) = { ... } * @param values The vector to add. * @return This builder for chaining. */ @@ -4734,7 +4733,7 @@ public Builder addAllVector( * The vector. * * - * repeated float vector = 2 [json_name = "vector", (.buf.validate.field) = { ... } + * repeated float vector = 2 [(.validate.rules) = { ... } * @return This builder for chaining. */ public Builder clearVector() { @@ -4750,7 +4749,7 @@ public Builder clearVector() { * timestamp represents when this vector inserted. * * - * int64 timestamp = 3 [json_name = "timestamp"]; + * int64 timestamp = 3; * @return The timestamp. */ @java.lang.Override @@ -4762,7 +4761,7 @@ public long getTimestamp() { * timestamp represents when this vector inserted. * * - * int64 timestamp = 3 [json_name = "timestamp"]; + * int64 timestamp = 3; * @param value The timestamp to set. * @return This builder for chaining. */ @@ -4778,7 +4777,7 @@ public Builder setTimestamp(long value) { * timestamp represents when this vector inserted. * * - * int64 timestamp = 3 [json_name = "timestamp"]; + * int64 timestamp = 3; * @return This builder for chaining. */ public Builder clearTimestamp() { @@ -4860,7 +4859,7 @@ public interface GetTimestampRequestOrBuilder extends * The vector ID to be fetched. * * - * .payload.v1.Object.ID id = 1 [json_name = "id", (.buf.validate.field) = { ... } + * .payload.v1.Object.ID id = 1 [(.validate.rules) = { ... } * @return Whether the id field is set. */ boolean hasId(); @@ -4869,7 +4868,7 @@ public interface GetTimestampRequestOrBuilder extends * The vector ID to be fetched. * * - * .payload.v1.Object.ID id = 1 [json_name = "id", (.buf.validate.field) = { ... } + * .payload.v1.Object.ID id = 1 [(.validate.rules) = { ... } * @return The id. */ org.vdaas.vald.api.v1.payload.Object.ID getId(); @@ -4878,7 +4877,7 @@ public interface GetTimestampRequestOrBuilder extends * The vector ID to be fetched. * * - * .payload.v1.Object.ID id = 1 [json_name = "id", (.buf.validate.field) = { ... } + * .payload.v1.Object.ID id = 1 [(.validate.rules) = { ... } */ org.vdaas.vald.api.v1.payload.Object.IDOrBuilder getIdOrBuilder(); } @@ -4929,7 +4928,7 @@ protected java.lang.Object newInstance( * The vector ID to be fetched. * * - * .payload.v1.Object.ID id = 1 [json_name = "id", (.buf.validate.field) = { ... } + * .payload.v1.Object.ID id = 1 [(.validate.rules) = { ... } * @return Whether the id field is set. */ @java.lang.Override @@ -4941,7 +4940,7 @@ public boolean hasId() { * The vector ID to be fetched. * * - * .payload.v1.Object.ID id = 1 [json_name = "id", (.buf.validate.field) = { ... } + * .payload.v1.Object.ID id = 1 [(.validate.rules) = { ... } * @return The id. */ @java.lang.Override @@ -4953,7 +4952,7 @@ public org.vdaas.vald.api.v1.payload.Object.ID getId() { * The vector ID to be fetched. * * - * .payload.v1.Object.ID id = 1 [json_name = "id", (.buf.validate.field) = { ... } + * .payload.v1.Object.ID id = 1 [(.validate.rules) = { ... } */ @java.lang.Override public org.vdaas.vald.api.v1.payload.Object.IDOrBuilder getIdOrBuilder() { @@ -5319,7 +5318,7 @@ public Builder mergeFrom( * The vector ID to be fetched. * * - * .payload.v1.Object.ID id = 1 [json_name = "id", (.buf.validate.field) = { ... } + * .payload.v1.Object.ID id = 1 [(.validate.rules) = { ... } * @return Whether the id field is set. */ public boolean hasId() { @@ -5330,7 +5329,7 @@ public boolean hasId() { * The vector ID to be fetched. * * - * .payload.v1.Object.ID id = 1 [json_name = "id", (.buf.validate.field) = { ... } + * .payload.v1.Object.ID id = 1 [(.validate.rules) = { ... } * @return The id. */ public org.vdaas.vald.api.v1.payload.Object.ID getId() { @@ -5345,7 +5344,7 @@ public org.vdaas.vald.api.v1.payload.Object.ID getId() { * The vector ID to be fetched. * * - * .payload.v1.Object.ID id = 1 [json_name = "id", (.buf.validate.field) = { ... } + * .payload.v1.Object.ID id = 1 [(.validate.rules) = { ... } */ public Builder setId(org.vdaas.vald.api.v1.payload.Object.ID value) { if (idBuilder_ == null) { @@ -5365,7 +5364,7 @@ public Builder setId(org.vdaas.vald.api.v1.payload.Object.ID value) { * The vector ID to be fetched. * * - * .payload.v1.Object.ID id = 1 [json_name = "id", (.buf.validate.field) = { ... } + * .payload.v1.Object.ID id = 1 [(.validate.rules) = { ... } */ public Builder setId( org.vdaas.vald.api.v1.payload.Object.ID.Builder builderForValue) { @@ -5383,7 +5382,7 @@ public Builder setId( * The vector ID to be fetched. * * - * .payload.v1.Object.ID id = 1 [json_name = "id", (.buf.validate.field) = { ... } + * .payload.v1.Object.ID id = 1 [(.validate.rules) = { ... } */ public Builder mergeId(org.vdaas.vald.api.v1.payload.Object.ID value) { if (idBuilder_ == null) { @@ -5408,7 +5407,7 @@ public Builder mergeId(org.vdaas.vald.api.v1.payload.Object.ID value) { * The vector ID to be fetched. * * - * .payload.v1.Object.ID id = 1 [json_name = "id", (.buf.validate.field) = { ... } + * .payload.v1.Object.ID id = 1 [(.validate.rules) = { ... } */ public Builder clearId() { bitField0_ = (bitField0_ & ~0x00000001); @@ -5425,7 +5424,7 @@ public Builder clearId() { * The vector ID to be fetched. * * - * .payload.v1.Object.ID id = 1 [json_name = "id", (.buf.validate.field) = { ... } + * .payload.v1.Object.ID id = 1 [(.validate.rules) = { ... } */ public org.vdaas.vald.api.v1.payload.Object.ID.Builder getIdBuilder() { bitField0_ |= 0x00000001; @@ -5437,7 +5436,7 @@ public org.vdaas.vald.api.v1.payload.Object.ID.Builder getIdBuilder() { * The vector ID to be fetched. * * - * .payload.v1.Object.ID id = 1 [json_name = "id", (.buf.validate.field) = { ... } + * .payload.v1.Object.ID id = 1 [(.validate.rules) = { ... } */ public org.vdaas.vald.api.v1.payload.Object.IDOrBuilder getIdOrBuilder() { if (idBuilder_ != null) { @@ -5452,7 +5451,7 @@ public org.vdaas.vald.api.v1.payload.Object.IDOrBuilder getIdOrBuilder() { * The vector ID to be fetched. * * - * .payload.v1.Object.ID id = 1 [json_name = "id", (.buf.validate.field) = { ... } + * .payload.v1.Object.ID id = 1 [(.validate.rules) = { ... } */ private com.google.protobuf.SingleFieldBuilderV3< org.vdaas.vald.api.v1.payload.Object.ID, org.vdaas.vald.api.v1.payload.Object.ID.Builder, org.vdaas.vald.api.v1.payload.Object.IDOrBuilder> @@ -5540,7 +5539,7 @@ public interface TimestampOrBuilder extends * The vector ID. * * - * string id = 1 [json_name = "id", (.buf.validate.field) = { ... } + * string id = 1 [(.validate.rules) = { ... } * @return The id. */ java.lang.String getId(); @@ -5549,7 +5548,7 @@ public interface TimestampOrBuilder extends * The vector ID. * * - * string id = 1 [json_name = "id", (.buf.validate.field) = { ... } + * string id = 1 [(.validate.rules) = { ... } * @return The bytes for id. */ com.google.protobuf.ByteString @@ -5560,7 +5559,7 @@ public interface TimestampOrBuilder extends * timestamp represents when this vector inserted. * * - * int64 timestamp = 2 [json_name = "timestamp"]; + * int64 timestamp = 2; * @return The timestamp. */ long getTimestamp(); @@ -5613,7 +5612,7 @@ protected java.lang.Object newInstance( * The vector ID. * * - * string id = 1 [json_name = "id", (.buf.validate.field) = { ... } + * string id = 1 [(.validate.rules) = { ... } * @return The id. */ @java.lang.Override @@ -5634,7 +5633,7 @@ public java.lang.String getId() { * The vector ID. * * - * string id = 1 [json_name = "id", (.buf.validate.field) = { ... } + * string id = 1 [(.validate.rules) = { ... } * @return The bytes for id. */ @java.lang.Override @@ -5659,7 +5658,7 @@ public java.lang.String getId() { * timestamp represents when this vector inserted. * * - * int64 timestamp = 2 [json_name = "timestamp"]; + * int64 timestamp = 2; * @return The timestamp. */ @java.lang.Override @@ -6027,7 +6026,7 @@ public Builder mergeFrom( * The vector ID. * * - * string id = 1 [json_name = "id", (.buf.validate.field) = { ... } + * string id = 1 [(.validate.rules) = { ... } * @return The id. */ public java.lang.String getId() { @@ -6047,7 +6046,7 @@ public java.lang.String getId() { * The vector ID. * * - * string id = 1 [json_name = "id", (.buf.validate.field) = { ... } + * string id = 1 [(.validate.rules) = { ... } * @return The bytes for id. */ public com.google.protobuf.ByteString @@ -6068,7 +6067,7 @@ public java.lang.String getId() { * The vector ID. * * - * string id = 1 [json_name = "id", (.buf.validate.field) = { ... } + * string id = 1 [(.validate.rules) = { ... } * @param value The id to set. * @return This builder for chaining. */ @@ -6085,7 +6084,7 @@ public Builder setId( * The vector ID. * * - * string id = 1 [json_name = "id", (.buf.validate.field) = { ... } + * string id = 1 [(.validate.rules) = { ... } * @return This builder for chaining. */ public Builder clearId() { @@ -6099,7 +6098,7 @@ public Builder clearId() { * The vector ID. * * - * string id = 1 [json_name = "id", (.buf.validate.field) = { ... } + * string id = 1 [(.validate.rules) = { ... } * @param value The bytes for id to set. * @return This builder for chaining. */ @@ -6119,7 +6118,7 @@ public Builder setIdBytes( * timestamp represents when this vector inserted. * * - * int64 timestamp = 2 [json_name = "timestamp"]; + * int64 timestamp = 2; * @return The timestamp. */ @java.lang.Override @@ -6131,7 +6130,7 @@ public long getTimestamp() { * timestamp represents when this vector inserted. * * - * int64 timestamp = 2 [json_name = "timestamp"]; + * int64 timestamp = 2; * @param value The timestamp to set. * @return This builder for chaining. */ @@ -6147,7 +6146,7 @@ public Builder setTimestamp(long value) { * timestamp represents when this vector inserted. * * - * int64 timestamp = 2 [json_name = "timestamp"]; + * int64 timestamp = 2; * @return This builder for chaining. */ public Builder clearTimestamp() { @@ -6225,25 +6224,25 @@ public interface VectorsOrBuilder extends com.google.protobuf.MessageOrBuilder { /** - * repeated .payload.v1.Object.Vector vectors = 1 [json_name = "vectors"]; + * repeated .payload.v1.Object.Vector vectors = 1; */ java.util.List getVectorsList(); /** - * repeated .payload.v1.Object.Vector vectors = 1 [json_name = "vectors"]; + * repeated .payload.v1.Object.Vector vectors = 1; */ org.vdaas.vald.api.v1.payload.Object.Vector getVectors(int index); /** - * repeated .payload.v1.Object.Vector vectors = 1 [json_name = "vectors"]; + * repeated .payload.v1.Object.Vector vectors = 1; */ int getVectorsCount(); /** - * repeated .payload.v1.Object.Vector vectors = 1 [json_name = "vectors"]; + * repeated .payload.v1.Object.Vector vectors = 1; */ java.util.List getVectorsOrBuilderList(); /** - * repeated .payload.v1.Object.Vector vectors = 1 [json_name = "vectors"]; + * repeated .payload.v1.Object.Vector vectors = 1; */ org.vdaas.vald.api.v1.payload.Object.VectorOrBuilder getVectorsOrBuilder( int index); @@ -6292,14 +6291,14 @@ protected java.lang.Object newInstance( @SuppressWarnings("serial") private java.util.List vectors_; /** - * repeated .payload.v1.Object.Vector vectors = 1 [json_name = "vectors"]; + * repeated .payload.v1.Object.Vector vectors = 1; */ @java.lang.Override public java.util.List getVectorsList() { return vectors_; } /** - * repeated .payload.v1.Object.Vector vectors = 1 [json_name = "vectors"]; + * repeated .payload.v1.Object.Vector vectors = 1; */ @java.lang.Override public java.util.List @@ -6307,21 +6306,21 @@ public java.util.List getVectorsLis return vectors_; } /** - * repeated .payload.v1.Object.Vector vectors = 1 [json_name = "vectors"]; + * repeated .payload.v1.Object.Vector vectors = 1; */ @java.lang.Override public int getVectorsCount() { return vectors_.size(); } /** - * repeated .payload.v1.Object.Vector vectors = 1 [json_name = "vectors"]; + * repeated .payload.v1.Object.Vector vectors = 1; */ @java.lang.Override public org.vdaas.vald.api.v1.payload.Object.Vector getVectors(int index) { return vectors_.get(index); } /** - * repeated .payload.v1.Object.Vector vectors = 1 [json_name = "vectors"]; + * repeated .payload.v1.Object.Vector vectors = 1; */ @java.lang.Override public org.vdaas.vald.api.v1.payload.Object.VectorOrBuilder getVectorsOrBuilder( @@ -6720,7 +6719,7 @@ private void ensureVectorsIsMutable() { org.vdaas.vald.api.v1.payload.Object.Vector, org.vdaas.vald.api.v1.payload.Object.Vector.Builder, org.vdaas.vald.api.v1.payload.Object.VectorOrBuilder> vectorsBuilder_; /** - * repeated .payload.v1.Object.Vector vectors = 1 [json_name = "vectors"]; + * repeated .payload.v1.Object.Vector vectors = 1; */ public java.util.List getVectorsList() { if (vectorsBuilder_ == null) { @@ -6730,7 +6729,7 @@ public java.util.List getVectorsLis } } /** - * repeated .payload.v1.Object.Vector vectors = 1 [json_name = "vectors"]; + * repeated .payload.v1.Object.Vector vectors = 1; */ public int getVectorsCount() { if (vectorsBuilder_ == null) { @@ -6740,7 +6739,7 @@ public int getVectorsCount() { } } /** - * repeated .payload.v1.Object.Vector vectors = 1 [json_name = "vectors"]; + * repeated .payload.v1.Object.Vector vectors = 1; */ public org.vdaas.vald.api.v1.payload.Object.Vector getVectors(int index) { if (vectorsBuilder_ == null) { @@ -6750,7 +6749,7 @@ public org.vdaas.vald.api.v1.payload.Object.Vector getVectors(int index) { } } /** - * repeated .payload.v1.Object.Vector vectors = 1 [json_name = "vectors"]; + * repeated .payload.v1.Object.Vector vectors = 1; */ public Builder setVectors( int index, org.vdaas.vald.api.v1.payload.Object.Vector value) { @@ -6767,7 +6766,7 @@ public Builder setVectors( return this; } /** - * repeated .payload.v1.Object.Vector vectors = 1 [json_name = "vectors"]; + * repeated .payload.v1.Object.Vector vectors = 1; */ public Builder setVectors( int index, org.vdaas.vald.api.v1.payload.Object.Vector.Builder builderForValue) { @@ -6781,7 +6780,7 @@ public Builder setVectors( return this; } /** - * repeated .payload.v1.Object.Vector vectors = 1 [json_name = "vectors"]; + * repeated .payload.v1.Object.Vector vectors = 1; */ public Builder addVectors(org.vdaas.vald.api.v1.payload.Object.Vector value) { if (vectorsBuilder_ == null) { @@ -6797,7 +6796,7 @@ public Builder addVectors(org.vdaas.vald.api.v1.payload.Object.Vector value) { return this; } /** - * repeated .payload.v1.Object.Vector vectors = 1 [json_name = "vectors"]; + * repeated .payload.v1.Object.Vector vectors = 1; */ public Builder addVectors( int index, org.vdaas.vald.api.v1.payload.Object.Vector value) { @@ -6814,7 +6813,7 @@ public Builder addVectors( return this; } /** - * repeated .payload.v1.Object.Vector vectors = 1 [json_name = "vectors"]; + * repeated .payload.v1.Object.Vector vectors = 1; */ public Builder addVectors( org.vdaas.vald.api.v1.payload.Object.Vector.Builder builderForValue) { @@ -6828,7 +6827,7 @@ public Builder addVectors( return this; } /** - * repeated .payload.v1.Object.Vector vectors = 1 [json_name = "vectors"]; + * repeated .payload.v1.Object.Vector vectors = 1; */ public Builder addVectors( int index, org.vdaas.vald.api.v1.payload.Object.Vector.Builder builderForValue) { @@ -6842,7 +6841,7 @@ public Builder addVectors( return this; } /** - * repeated .payload.v1.Object.Vector vectors = 1 [json_name = "vectors"]; + * repeated .payload.v1.Object.Vector vectors = 1; */ public Builder addAllVectors( java.lang.Iterable values) { @@ -6857,7 +6856,7 @@ public Builder addAllVectors( return this; } /** - * repeated .payload.v1.Object.Vector vectors = 1 [json_name = "vectors"]; + * repeated .payload.v1.Object.Vector vectors = 1; */ public Builder clearVectors() { if (vectorsBuilder_ == null) { @@ -6870,7 +6869,7 @@ public Builder clearVectors() { return this; } /** - * repeated .payload.v1.Object.Vector vectors = 1 [json_name = "vectors"]; + * repeated .payload.v1.Object.Vector vectors = 1; */ public Builder removeVectors(int index) { if (vectorsBuilder_ == null) { @@ -6883,14 +6882,14 @@ public Builder removeVectors(int index) { return this; } /** - * repeated .payload.v1.Object.Vector vectors = 1 [json_name = "vectors"]; + * repeated .payload.v1.Object.Vector vectors = 1; */ public org.vdaas.vald.api.v1.payload.Object.Vector.Builder getVectorsBuilder( int index) { return getVectorsFieldBuilder().getBuilder(index); } /** - * repeated .payload.v1.Object.Vector vectors = 1 [json_name = "vectors"]; + * repeated .payload.v1.Object.Vector vectors = 1; */ public org.vdaas.vald.api.v1.payload.Object.VectorOrBuilder getVectorsOrBuilder( int index) { @@ -6900,7 +6899,7 @@ public org.vdaas.vald.api.v1.payload.Object.VectorOrBuilder getVectorsOrBuilder( } } /** - * repeated .payload.v1.Object.Vector vectors = 1 [json_name = "vectors"]; + * repeated .payload.v1.Object.Vector vectors = 1; */ public java.util.List getVectorsOrBuilderList() { @@ -6911,14 +6910,14 @@ public org.vdaas.vald.api.v1.payload.Object.VectorOrBuilder getVectorsOrBuilder( } } /** - * repeated .payload.v1.Object.Vector vectors = 1 [json_name = "vectors"]; + * repeated .payload.v1.Object.Vector vectors = 1; */ public org.vdaas.vald.api.v1.payload.Object.Vector.Builder addVectorsBuilder() { return getVectorsFieldBuilder().addBuilder( org.vdaas.vald.api.v1.payload.Object.Vector.getDefaultInstance()); } /** - * repeated .payload.v1.Object.Vector vectors = 1 [json_name = "vectors"]; + * repeated .payload.v1.Object.Vector vectors = 1; */ public org.vdaas.vald.api.v1.payload.Object.Vector.Builder addVectorsBuilder( int index) { @@ -6926,7 +6925,7 @@ public org.vdaas.vald.api.v1.payload.Object.Vector.Builder addVectorsBuilder( index, org.vdaas.vald.api.v1.payload.Object.Vector.getDefaultInstance()); } /** - * repeated .payload.v1.Object.Vector vectors = 1 [json_name = "vectors"]; + * repeated .payload.v1.Object.Vector vectors = 1; */ public java.util.List getVectorsBuilderList() { @@ -7019,7 +7018,7 @@ public interface StreamVectorOrBuilder extends * The vector. * * - * .payload.v1.Object.Vector vector = 1 [json_name = "vector"]; + * .payload.v1.Object.Vector vector = 1; * @return Whether the vector field is set. */ boolean hasVector(); @@ -7028,7 +7027,7 @@ public interface StreamVectorOrBuilder extends * The vector. * * - * .payload.v1.Object.Vector vector = 1 [json_name = "vector"]; + * .payload.v1.Object.Vector vector = 1; * @return The vector. */ org.vdaas.vald.api.v1.payload.Object.Vector getVector(); @@ -7037,7 +7036,7 @@ public interface StreamVectorOrBuilder extends * The vector. * * - * .payload.v1.Object.Vector vector = 1 [json_name = "vector"]; + * .payload.v1.Object.Vector vector = 1; */ org.vdaas.vald.api.v1.payload.Object.VectorOrBuilder getVectorOrBuilder(); @@ -7046,7 +7045,7 @@ public interface StreamVectorOrBuilder extends * The RPC error status. * * - * .google.rpc.Status status = 2 [json_name = "status"]; + * .google.rpc.Status status = 2; * @return Whether the status field is set. */ boolean hasStatus(); @@ -7055,7 +7054,7 @@ public interface StreamVectorOrBuilder extends * The RPC error status. * * - * .google.rpc.Status status = 2 [json_name = "status"]; + * .google.rpc.Status status = 2; * @return The status. */ com.google.rpc.Status getStatus(); @@ -7064,7 +7063,7 @@ public interface StreamVectorOrBuilder extends * The RPC error status. * * - * .google.rpc.Status status = 2 [json_name = "status"]; + * .google.rpc.Status status = 2; */ com.google.rpc.StatusOrBuilder getStatusOrBuilder(); @@ -7157,7 +7156,7 @@ public int getNumber() { * The vector. * * - * .payload.v1.Object.Vector vector = 1 [json_name = "vector"]; + * .payload.v1.Object.Vector vector = 1; * @return Whether the vector field is set. */ @java.lang.Override @@ -7169,7 +7168,7 @@ public boolean hasVector() { * The vector. * * - * .payload.v1.Object.Vector vector = 1 [json_name = "vector"]; + * .payload.v1.Object.Vector vector = 1; * @return The vector. */ @java.lang.Override @@ -7184,7 +7183,7 @@ public org.vdaas.vald.api.v1.payload.Object.Vector getVector() { * The vector. * * - * .payload.v1.Object.Vector vector = 1 [json_name = "vector"]; + * .payload.v1.Object.Vector vector = 1; */ @java.lang.Override public org.vdaas.vald.api.v1.payload.Object.VectorOrBuilder getVectorOrBuilder() { @@ -7200,7 +7199,7 @@ public org.vdaas.vald.api.v1.payload.Object.VectorOrBuilder getVectorOrBuilder() * The RPC error status. * * - * .google.rpc.Status status = 2 [json_name = "status"]; + * .google.rpc.Status status = 2; * @return Whether the status field is set. */ @java.lang.Override @@ -7212,7 +7211,7 @@ public boolean hasStatus() { * The RPC error status. * * - * .google.rpc.Status status = 2 [json_name = "status"]; + * .google.rpc.Status status = 2; * @return The status. */ @java.lang.Override @@ -7227,7 +7226,7 @@ public com.google.rpc.Status getStatus() { * The RPC error status. * * - * .google.rpc.Status status = 2 [json_name = "status"]; + * .google.rpc.Status status = 2; */ @java.lang.Override public com.google.rpc.StatusOrBuilder getStatusOrBuilder() { @@ -7653,7 +7652,7 @@ public Builder clearPayload() { * The vector. * * - * .payload.v1.Object.Vector vector = 1 [json_name = "vector"]; + * .payload.v1.Object.Vector vector = 1; * @return Whether the vector field is set. */ @java.lang.Override @@ -7665,7 +7664,7 @@ public boolean hasVector() { * The vector. * * - * .payload.v1.Object.Vector vector = 1 [json_name = "vector"]; + * .payload.v1.Object.Vector vector = 1; * @return The vector. */ @java.lang.Override @@ -7687,7 +7686,7 @@ public org.vdaas.vald.api.v1.payload.Object.Vector getVector() { * The vector. * * - * .payload.v1.Object.Vector vector = 1 [json_name = "vector"]; + * .payload.v1.Object.Vector vector = 1; */ public Builder setVector(org.vdaas.vald.api.v1.payload.Object.Vector value) { if (vectorBuilder_ == null) { @@ -7707,7 +7706,7 @@ public Builder setVector(org.vdaas.vald.api.v1.payload.Object.Vector value) { * The vector. * * - * .payload.v1.Object.Vector vector = 1 [json_name = "vector"]; + * .payload.v1.Object.Vector vector = 1; */ public Builder setVector( org.vdaas.vald.api.v1.payload.Object.Vector.Builder builderForValue) { @@ -7725,7 +7724,7 @@ public Builder setVector( * The vector. * * - * .payload.v1.Object.Vector vector = 1 [json_name = "vector"]; + * .payload.v1.Object.Vector vector = 1; */ public Builder mergeVector(org.vdaas.vald.api.v1.payload.Object.Vector value) { if (vectorBuilder_ == null) { @@ -7752,7 +7751,7 @@ public Builder mergeVector(org.vdaas.vald.api.v1.payload.Object.Vector value) { * The vector. * * - * .payload.v1.Object.Vector vector = 1 [json_name = "vector"]; + * .payload.v1.Object.Vector vector = 1; */ public Builder clearVector() { if (vectorBuilder_ == null) { @@ -7775,7 +7774,7 @@ public Builder clearVector() { * The vector. * * - * .payload.v1.Object.Vector vector = 1 [json_name = "vector"]; + * .payload.v1.Object.Vector vector = 1; */ public org.vdaas.vald.api.v1.payload.Object.Vector.Builder getVectorBuilder() { return getVectorFieldBuilder().getBuilder(); @@ -7785,7 +7784,7 @@ public org.vdaas.vald.api.v1.payload.Object.Vector.Builder getVectorBuilder() { * The vector. * * - * .payload.v1.Object.Vector vector = 1 [json_name = "vector"]; + * .payload.v1.Object.Vector vector = 1; */ @java.lang.Override public org.vdaas.vald.api.v1.payload.Object.VectorOrBuilder getVectorOrBuilder() { @@ -7803,7 +7802,7 @@ public org.vdaas.vald.api.v1.payload.Object.VectorOrBuilder getVectorOrBuilder() * The vector. * * - * .payload.v1.Object.Vector vector = 1 [json_name = "vector"]; + * .payload.v1.Object.Vector vector = 1; */ private com.google.protobuf.SingleFieldBuilderV3< org.vdaas.vald.api.v1.payload.Object.Vector, org.vdaas.vald.api.v1.payload.Object.Vector.Builder, org.vdaas.vald.api.v1.payload.Object.VectorOrBuilder> @@ -7831,7 +7830,7 @@ public org.vdaas.vald.api.v1.payload.Object.VectorOrBuilder getVectorOrBuilder() * The RPC error status. * * - * .google.rpc.Status status = 2 [json_name = "status"]; + * .google.rpc.Status status = 2; * @return Whether the status field is set. */ @java.lang.Override @@ -7843,7 +7842,7 @@ public boolean hasStatus() { * The RPC error status. * * - * .google.rpc.Status status = 2 [json_name = "status"]; + * .google.rpc.Status status = 2; * @return The status. */ @java.lang.Override @@ -7865,7 +7864,7 @@ public com.google.rpc.Status getStatus() { * The RPC error status. * * - * .google.rpc.Status status = 2 [json_name = "status"]; + * .google.rpc.Status status = 2; */ public Builder setStatus(com.google.rpc.Status value) { if (statusBuilder_ == null) { @@ -7885,7 +7884,7 @@ public Builder setStatus(com.google.rpc.Status value) { * The RPC error status. * * - * .google.rpc.Status status = 2 [json_name = "status"]; + * .google.rpc.Status status = 2; */ public Builder setStatus( com.google.rpc.Status.Builder builderForValue) { @@ -7903,7 +7902,7 @@ public Builder setStatus( * The RPC error status. * * - * .google.rpc.Status status = 2 [json_name = "status"]; + * .google.rpc.Status status = 2; */ public Builder mergeStatus(com.google.rpc.Status value) { if (statusBuilder_ == null) { @@ -7930,7 +7929,7 @@ public Builder mergeStatus(com.google.rpc.Status value) { * The RPC error status. * * - * .google.rpc.Status status = 2 [json_name = "status"]; + * .google.rpc.Status status = 2; */ public Builder clearStatus() { if (statusBuilder_ == null) { @@ -7953,7 +7952,7 @@ public Builder clearStatus() { * The RPC error status. * * - * .google.rpc.Status status = 2 [json_name = "status"]; + * .google.rpc.Status status = 2; */ public com.google.rpc.Status.Builder getStatusBuilder() { return getStatusFieldBuilder().getBuilder(); @@ -7963,7 +7962,7 @@ public com.google.rpc.Status.Builder getStatusBuilder() { * The RPC error status. * * - * .google.rpc.Status status = 2 [json_name = "status"]; + * .google.rpc.Status status = 2; */ @java.lang.Override public com.google.rpc.StatusOrBuilder getStatusOrBuilder() { @@ -7981,7 +7980,7 @@ public com.google.rpc.StatusOrBuilder getStatusOrBuilder() { * The RPC error status. * * - * .google.rpc.Status status = 2 [json_name = "status"]; + * .google.rpc.Status status = 2; */ private com.google.protobuf.SingleFieldBuilderV3< com.google.rpc.Status, com.google.rpc.Status.Builder, com.google.rpc.StatusOrBuilder> @@ -8074,7 +8073,7 @@ public interface ReshapeVectorOrBuilder extends * The binary object. * * - * bytes object = 1 [json_name = "object"]; + * bytes object = 1; * @return The object. */ com.google.protobuf.ByteString getObject(); @@ -8084,7 +8083,7 @@ public interface ReshapeVectorOrBuilder extends * The new shape. * * - * repeated int32 shape = 2 [json_name = "shape"]; + * repeated int32 shape = 2; * @return A list containing the shape. */ java.util.List getShapeList(); @@ -8093,7 +8092,7 @@ public interface ReshapeVectorOrBuilder extends * The new shape. * * - * repeated int32 shape = 2 [json_name = "shape"]; + * repeated int32 shape = 2; * @return The count of shape. */ int getShapeCount(); @@ -8102,7 +8101,7 @@ public interface ReshapeVectorOrBuilder extends * The new shape. * * - * repeated int32 shape = 2 [json_name = "shape"]; + * repeated int32 shape = 2; * @param index The index of the element to return. * @return The shape at the given index. */ @@ -8156,7 +8155,7 @@ protected java.lang.Object newInstance( * The binary object. * * - * bytes object = 1 [json_name = "object"]; + * bytes object = 1; * @return The object. */ @java.lang.Override @@ -8173,7 +8172,7 @@ public com.google.protobuf.ByteString getObject() { * The new shape. * * - * repeated int32 shape = 2 [json_name = "shape"]; + * repeated int32 shape = 2; * @return A list containing the shape. */ @java.lang.Override @@ -8186,7 +8185,7 @@ public com.google.protobuf.ByteString getObject() { * The new shape. * * - * repeated int32 shape = 2 [json_name = "shape"]; + * repeated int32 shape = 2; * @return The count of shape. */ public int getShapeCount() { @@ -8197,7 +8196,7 @@ public int getShapeCount() { * The new shape. * * - * repeated int32 shape = 2 [json_name = "shape"]; + * repeated int32 shape = 2; * @param index The index of the element to return. * @return The shape at the given index. */ @@ -8601,7 +8600,7 @@ public Builder mergeFrom( * The binary object. * * - * bytes object = 1 [json_name = "object"]; + * bytes object = 1; * @return The object. */ @java.lang.Override @@ -8613,7 +8612,7 @@ public com.google.protobuf.ByteString getObject() { * The binary object. * * - * bytes object = 1 [json_name = "object"]; + * bytes object = 1; * @param value The object to set. * @return This builder for chaining. */ @@ -8629,7 +8628,7 @@ public Builder setObject(com.google.protobuf.ByteString value) { * The binary object. * * - * bytes object = 1 [json_name = "object"]; + * bytes object = 1; * @return This builder for chaining. */ public Builder clearObject() { @@ -8651,7 +8650,7 @@ private void ensureShapeIsMutable() { * The new shape. * * - * repeated int32 shape = 2 [json_name = "shape"]; + * repeated int32 shape = 2; * @return A list containing the shape. */ public java.util.List @@ -8664,7 +8663,7 @@ private void ensureShapeIsMutable() { * The new shape. * * - * repeated int32 shape = 2 [json_name = "shape"]; + * repeated int32 shape = 2; * @return The count of shape. */ public int getShapeCount() { @@ -8675,7 +8674,7 @@ public int getShapeCount() { * The new shape. * * - * repeated int32 shape = 2 [json_name = "shape"]; + * repeated int32 shape = 2; * @param index The index of the element to return. * @return The shape at the given index. */ @@ -8687,7 +8686,7 @@ public int getShape(int index) { * The new shape. * * - * repeated int32 shape = 2 [json_name = "shape"]; + * repeated int32 shape = 2; * @param index The index to set the value at. * @param value The shape to set. * @return This builder for chaining. @@ -8706,7 +8705,7 @@ public Builder setShape( * The new shape. * * - * repeated int32 shape = 2 [json_name = "shape"]; + * repeated int32 shape = 2; * @param value The shape to add. * @return This builder for chaining. */ @@ -8723,7 +8722,7 @@ public Builder addShape(int value) { * The new shape. * * - * repeated int32 shape = 2 [json_name = "shape"]; + * repeated int32 shape = 2; * @param values The shape to add. * @return This builder for chaining. */ @@ -8741,7 +8740,7 @@ public Builder addAllShape( * The new shape. * * - * repeated int32 shape = 2 [json_name = "shape"]; + * repeated int32 shape = 2; * @return This builder for chaining. */ public Builder clearShape() { @@ -8823,7 +8822,7 @@ public interface BlobOrBuilder extends * The object ID. * * - * string id = 1 [json_name = "id", (.buf.validate.field) = { ... } + * string id = 1 [(.validate.rules) = { ... } * @return The id. */ java.lang.String getId(); @@ -8832,7 +8831,7 @@ public interface BlobOrBuilder extends * The object ID. * * - * string id = 1 [json_name = "id", (.buf.validate.field) = { ... } + * string id = 1 [(.validate.rules) = { ... } * @return The bytes for id. */ com.google.protobuf.ByteString @@ -8843,7 +8842,7 @@ public interface BlobOrBuilder extends * The binary object. * * - * bytes object = 2 [json_name = "object"]; + * bytes object = 2; * @return The object. */ com.google.protobuf.ByteString getObject(); @@ -8897,7 +8896,7 @@ protected java.lang.Object newInstance( * The object ID. * * - * string id = 1 [json_name = "id", (.buf.validate.field) = { ... } + * string id = 1 [(.validate.rules) = { ... } * @return The id. */ @java.lang.Override @@ -8918,7 +8917,7 @@ public java.lang.String getId() { * The object ID. * * - * string id = 1 [json_name = "id", (.buf.validate.field) = { ... } + * string id = 1 [(.validate.rules) = { ... } * @return The bytes for id. */ @java.lang.Override @@ -8943,7 +8942,7 @@ public java.lang.String getId() { * The binary object. * * - * bytes object = 2 [json_name = "object"]; + * bytes object = 2; * @return The object. */ @java.lang.Override @@ -9310,7 +9309,7 @@ public Builder mergeFrom( * The object ID. * * - * string id = 1 [json_name = "id", (.buf.validate.field) = { ... } + * string id = 1 [(.validate.rules) = { ... } * @return The id. */ public java.lang.String getId() { @@ -9330,7 +9329,7 @@ public java.lang.String getId() { * The object ID. * * - * string id = 1 [json_name = "id", (.buf.validate.field) = { ... } + * string id = 1 [(.validate.rules) = { ... } * @return The bytes for id. */ public com.google.protobuf.ByteString @@ -9351,7 +9350,7 @@ public java.lang.String getId() { * The object ID. * * - * string id = 1 [json_name = "id", (.buf.validate.field) = { ... } + * string id = 1 [(.validate.rules) = { ... } * @param value The id to set. * @return This builder for chaining. */ @@ -9368,7 +9367,7 @@ public Builder setId( * The object ID. * * - * string id = 1 [json_name = "id", (.buf.validate.field) = { ... } + * string id = 1 [(.validate.rules) = { ... } * @return This builder for chaining. */ public Builder clearId() { @@ -9382,7 +9381,7 @@ public Builder clearId() { * The object ID. * * - * string id = 1 [json_name = "id", (.buf.validate.field) = { ... } + * string id = 1 [(.validate.rules) = { ... } * @param value The bytes for id to set. * @return This builder for chaining. */ @@ -9402,7 +9401,7 @@ public Builder setIdBytes( * The binary object. * * - * bytes object = 2 [json_name = "object"]; + * bytes object = 2; * @return The object. */ @java.lang.Override @@ -9414,7 +9413,7 @@ public com.google.protobuf.ByteString getObject() { * The binary object. * * - * bytes object = 2 [json_name = "object"]; + * bytes object = 2; * @param value The object to set. * @return This builder for chaining. */ @@ -9430,7 +9429,7 @@ public Builder setObject(com.google.protobuf.ByteString value) { * The binary object. * * - * bytes object = 2 [json_name = "object"]; + * bytes object = 2; * @return This builder for chaining. */ public Builder clearObject() { @@ -9512,7 +9511,7 @@ public interface StreamBlobOrBuilder extends * The binary object. * * - * .payload.v1.Object.Blob blob = 1 [json_name = "blob"]; + * .payload.v1.Object.Blob blob = 1; * @return Whether the blob field is set. */ boolean hasBlob(); @@ -9521,7 +9520,7 @@ public interface StreamBlobOrBuilder extends * The binary object. * * - * .payload.v1.Object.Blob blob = 1 [json_name = "blob"]; + * .payload.v1.Object.Blob blob = 1; * @return The blob. */ org.vdaas.vald.api.v1.payload.Object.Blob getBlob(); @@ -9530,7 +9529,7 @@ public interface StreamBlobOrBuilder extends * The binary object. * * - * .payload.v1.Object.Blob blob = 1 [json_name = "blob"]; + * .payload.v1.Object.Blob blob = 1; */ org.vdaas.vald.api.v1.payload.Object.BlobOrBuilder getBlobOrBuilder(); @@ -9539,7 +9538,7 @@ public interface StreamBlobOrBuilder extends * The RPC error status. * * - * .google.rpc.Status status = 2 [json_name = "status"]; + * .google.rpc.Status status = 2; * @return Whether the status field is set. */ boolean hasStatus(); @@ -9548,7 +9547,7 @@ public interface StreamBlobOrBuilder extends * The RPC error status. * * - * .google.rpc.Status status = 2 [json_name = "status"]; + * .google.rpc.Status status = 2; * @return The status. */ com.google.rpc.Status getStatus(); @@ -9557,7 +9556,7 @@ public interface StreamBlobOrBuilder extends * The RPC error status. * * - * .google.rpc.Status status = 2 [json_name = "status"]; + * .google.rpc.Status status = 2; */ com.google.rpc.StatusOrBuilder getStatusOrBuilder(); @@ -9650,7 +9649,7 @@ public int getNumber() { * The binary object. * * - * .payload.v1.Object.Blob blob = 1 [json_name = "blob"]; + * .payload.v1.Object.Blob blob = 1; * @return Whether the blob field is set. */ @java.lang.Override @@ -9662,7 +9661,7 @@ public boolean hasBlob() { * The binary object. * * - * .payload.v1.Object.Blob blob = 1 [json_name = "blob"]; + * .payload.v1.Object.Blob blob = 1; * @return The blob. */ @java.lang.Override @@ -9677,7 +9676,7 @@ public org.vdaas.vald.api.v1.payload.Object.Blob getBlob() { * The binary object. * * - * .payload.v1.Object.Blob blob = 1 [json_name = "blob"]; + * .payload.v1.Object.Blob blob = 1; */ @java.lang.Override public org.vdaas.vald.api.v1.payload.Object.BlobOrBuilder getBlobOrBuilder() { @@ -9693,7 +9692,7 @@ public org.vdaas.vald.api.v1.payload.Object.BlobOrBuilder getBlobOrBuilder() { * The RPC error status. * * - * .google.rpc.Status status = 2 [json_name = "status"]; + * .google.rpc.Status status = 2; * @return Whether the status field is set. */ @java.lang.Override @@ -9705,7 +9704,7 @@ public boolean hasStatus() { * The RPC error status. * * - * .google.rpc.Status status = 2 [json_name = "status"]; + * .google.rpc.Status status = 2; * @return The status. */ @java.lang.Override @@ -9720,7 +9719,7 @@ public com.google.rpc.Status getStatus() { * The RPC error status. * * - * .google.rpc.Status status = 2 [json_name = "status"]; + * .google.rpc.Status status = 2; */ @java.lang.Override public com.google.rpc.StatusOrBuilder getStatusOrBuilder() { @@ -10146,7 +10145,7 @@ public Builder clearPayload() { * The binary object. * * - * .payload.v1.Object.Blob blob = 1 [json_name = "blob"]; + * .payload.v1.Object.Blob blob = 1; * @return Whether the blob field is set. */ @java.lang.Override @@ -10158,7 +10157,7 @@ public boolean hasBlob() { * The binary object. * * - * .payload.v1.Object.Blob blob = 1 [json_name = "blob"]; + * .payload.v1.Object.Blob blob = 1; * @return The blob. */ @java.lang.Override @@ -10180,7 +10179,7 @@ public org.vdaas.vald.api.v1.payload.Object.Blob getBlob() { * The binary object. * * - * .payload.v1.Object.Blob blob = 1 [json_name = "blob"]; + * .payload.v1.Object.Blob blob = 1; */ public Builder setBlob(org.vdaas.vald.api.v1.payload.Object.Blob value) { if (blobBuilder_ == null) { @@ -10200,7 +10199,7 @@ public Builder setBlob(org.vdaas.vald.api.v1.payload.Object.Blob value) { * The binary object. * * - * .payload.v1.Object.Blob blob = 1 [json_name = "blob"]; + * .payload.v1.Object.Blob blob = 1; */ public Builder setBlob( org.vdaas.vald.api.v1.payload.Object.Blob.Builder builderForValue) { @@ -10218,7 +10217,7 @@ public Builder setBlob( * The binary object. * * - * .payload.v1.Object.Blob blob = 1 [json_name = "blob"]; + * .payload.v1.Object.Blob blob = 1; */ public Builder mergeBlob(org.vdaas.vald.api.v1.payload.Object.Blob value) { if (blobBuilder_ == null) { @@ -10245,7 +10244,7 @@ public Builder mergeBlob(org.vdaas.vald.api.v1.payload.Object.Blob value) { * The binary object. * * - * .payload.v1.Object.Blob blob = 1 [json_name = "blob"]; + * .payload.v1.Object.Blob blob = 1; */ public Builder clearBlob() { if (blobBuilder_ == null) { @@ -10268,7 +10267,7 @@ public Builder clearBlob() { * The binary object. * * - * .payload.v1.Object.Blob blob = 1 [json_name = "blob"]; + * .payload.v1.Object.Blob blob = 1; */ public org.vdaas.vald.api.v1.payload.Object.Blob.Builder getBlobBuilder() { return getBlobFieldBuilder().getBuilder(); @@ -10278,7 +10277,7 @@ public org.vdaas.vald.api.v1.payload.Object.Blob.Builder getBlobBuilder() { * The binary object. * * - * .payload.v1.Object.Blob blob = 1 [json_name = "blob"]; + * .payload.v1.Object.Blob blob = 1; */ @java.lang.Override public org.vdaas.vald.api.v1.payload.Object.BlobOrBuilder getBlobOrBuilder() { @@ -10296,7 +10295,7 @@ public org.vdaas.vald.api.v1.payload.Object.BlobOrBuilder getBlobOrBuilder() { * The binary object. * * - * .payload.v1.Object.Blob blob = 1 [json_name = "blob"]; + * .payload.v1.Object.Blob blob = 1; */ private com.google.protobuf.SingleFieldBuilderV3< org.vdaas.vald.api.v1.payload.Object.Blob, org.vdaas.vald.api.v1.payload.Object.Blob.Builder, org.vdaas.vald.api.v1.payload.Object.BlobOrBuilder> @@ -10324,7 +10323,7 @@ public org.vdaas.vald.api.v1.payload.Object.BlobOrBuilder getBlobOrBuilder() { * The RPC error status. * * - * .google.rpc.Status status = 2 [json_name = "status"]; + * .google.rpc.Status status = 2; * @return Whether the status field is set. */ @java.lang.Override @@ -10336,7 +10335,7 @@ public boolean hasStatus() { * The RPC error status. * * - * .google.rpc.Status status = 2 [json_name = "status"]; + * .google.rpc.Status status = 2; * @return The status. */ @java.lang.Override @@ -10358,7 +10357,7 @@ public com.google.rpc.Status getStatus() { * The RPC error status. * * - * .google.rpc.Status status = 2 [json_name = "status"]; + * .google.rpc.Status status = 2; */ public Builder setStatus(com.google.rpc.Status value) { if (statusBuilder_ == null) { @@ -10378,7 +10377,7 @@ public Builder setStatus(com.google.rpc.Status value) { * The RPC error status. * * - * .google.rpc.Status status = 2 [json_name = "status"]; + * .google.rpc.Status status = 2; */ public Builder setStatus( com.google.rpc.Status.Builder builderForValue) { @@ -10396,7 +10395,7 @@ public Builder setStatus( * The RPC error status. * * - * .google.rpc.Status status = 2 [json_name = "status"]; + * .google.rpc.Status status = 2; */ public Builder mergeStatus(com.google.rpc.Status value) { if (statusBuilder_ == null) { @@ -10423,7 +10422,7 @@ public Builder mergeStatus(com.google.rpc.Status value) { * The RPC error status. * * - * .google.rpc.Status status = 2 [json_name = "status"]; + * .google.rpc.Status status = 2; */ public Builder clearStatus() { if (statusBuilder_ == null) { @@ -10446,7 +10445,7 @@ public Builder clearStatus() { * The RPC error status. * * - * .google.rpc.Status status = 2 [json_name = "status"]; + * .google.rpc.Status status = 2; */ public com.google.rpc.Status.Builder getStatusBuilder() { return getStatusFieldBuilder().getBuilder(); @@ -10456,7 +10455,7 @@ public com.google.rpc.Status.Builder getStatusBuilder() { * The RPC error status. * * - * .google.rpc.Status status = 2 [json_name = "status"]; + * .google.rpc.Status status = 2; */ @java.lang.Override public com.google.rpc.StatusOrBuilder getStatusOrBuilder() { @@ -10474,7 +10473,7 @@ public com.google.rpc.StatusOrBuilder getStatusOrBuilder() { * The RPC error status. * * - * .google.rpc.Status status = 2 [json_name = "status"]; + * .google.rpc.Status status = 2; */ private com.google.protobuf.SingleFieldBuilderV3< com.google.rpc.Status, com.google.rpc.Status.Builder, com.google.rpc.StatusOrBuilder> @@ -10567,7 +10566,7 @@ public interface LocationOrBuilder extends * The name of the location. * * - * string name = 1 [json_name = "name"]; + * string name = 1; * @return The name. */ java.lang.String getName(); @@ -10576,7 +10575,7 @@ public interface LocationOrBuilder extends * The name of the location. * * - * string name = 1 [json_name = "name"]; + * string name = 1; * @return The bytes for name. */ com.google.protobuf.ByteString @@ -10587,7 +10586,7 @@ public interface LocationOrBuilder extends * The UUID of the vector. * * - * string uuid = 2 [json_name = "uuid"]; + * string uuid = 2; * @return The uuid. */ java.lang.String getUuid(); @@ -10596,7 +10595,7 @@ public interface LocationOrBuilder extends * The UUID of the vector. * * - * string uuid = 2 [json_name = "uuid"]; + * string uuid = 2; * @return The bytes for uuid. */ com.google.protobuf.ByteString @@ -10607,7 +10606,7 @@ public interface LocationOrBuilder extends * The IP list. * * - * repeated string ips = 3 [json_name = "ips"]; + * repeated string ips = 3; * @return A list containing the ips. */ java.util.List @@ -10617,7 +10616,7 @@ public interface LocationOrBuilder extends * The IP list. * * - * repeated string ips = 3 [json_name = "ips"]; + * repeated string ips = 3; * @return The count of ips. */ int getIpsCount(); @@ -10626,7 +10625,7 @@ public interface LocationOrBuilder extends * The IP list. * * - * repeated string ips = 3 [json_name = "ips"]; + * repeated string ips = 3; * @param index The index of the element to return. * @return The ips at the given index. */ @@ -10636,7 +10635,7 @@ public interface LocationOrBuilder extends * The IP list. * * - * repeated string ips = 3 [json_name = "ips"]; + * repeated string ips = 3; * @param index The index of the value to return. * @return The bytes of the ips at the given index. */ @@ -10694,7 +10693,7 @@ protected java.lang.Object newInstance( * The name of the location. * * - * string name = 1 [json_name = "name"]; + * string name = 1; * @return The name. */ @java.lang.Override @@ -10715,7 +10714,7 @@ public java.lang.String getName() { * The name of the location. * * - * string name = 1 [json_name = "name"]; + * string name = 1; * @return The bytes for name. */ @java.lang.Override @@ -10741,7 +10740,7 @@ public java.lang.String getName() { * The UUID of the vector. * * - * string uuid = 2 [json_name = "uuid"]; + * string uuid = 2; * @return The uuid. */ @java.lang.Override @@ -10762,7 +10761,7 @@ public java.lang.String getUuid() { * The UUID of the vector. * * - * string uuid = 2 [json_name = "uuid"]; + * string uuid = 2; * @return The bytes for uuid. */ @java.lang.Override @@ -10789,7 +10788,7 @@ public java.lang.String getUuid() { * The IP list. * * - * repeated string ips = 3 [json_name = "ips"]; + * repeated string ips = 3; * @return A list containing the ips. */ public com.google.protobuf.ProtocolStringList @@ -10801,7 +10800,7 @@ public java.lang.String getUuid() { * The IP list. * * - * repeated string ips = 3 [json_name = "ips"]; + * repeated string ips = 3; * @return The count of ips. */ public int getIpsCount() { @@ -10812,7 +10811,7 @@ public int getIpsCount() { * The IP list. * * - * repeated string ips = 3 [json_name = "ips"]; + * repeated string ips = 3; * @param index The index of the element to return. * @return The ips at the given index. */ @@ -10824,7 +10823,7 @@ public java.lang.String getIps(int index) { * The IP list. * * - * repeated string ips = 3 [json_name = "ips"]; + * repeated string ips = 3; * @param index The index of the value to return. * @return The bytes of the ips at the given index. */ @@ -11232,7 +11231,7 @@ public Builder mergeFrom( * The name of the location. * * - * string name = 1 [json_name = "name"]; + * string name = 1; * @return The name. */ public java.lang.String getName() { @@ -11252,7 +11251,7 @@ public java.lang.String getName() { * The name of the location. * * - * string name = 1 [json_name = "name"]; + * string name = 1; * @return The bytes for name. */ public com.google.protobuf.ByteString @@ -11273,7 +11272,7 @@ public java.lang.String getName() { * The name of the location. * * - * string name = 1 [json_name = "name"]; + * string name = 1; * @param value The name to set. * @return This builder for chaining. */ @@ -11290,7 +11289,7 @@ public Builder setName( * The name of the location. * * - * string name = 1 [json_name = "name"]; + * string name = 1; * @return This builder for chaining. */ public Builder clearName() { @@ -11304,7 +11303,7 @@ public Builder clearName() { * The name of the location. * * - * string name = 1 [json_name = "name"]; + * string name = 1; * @param value The bytes for name to set. * @return This builder for chaining. */ @@ -11324,7 +11323,7 @@ public Builder setNameBytes( * The UUID of the vector. * * - * string uuid = 2 [json_name = "uuid"]; + * string uuid = 2; * @return The uuid. */ public java.lang.String getUuid() { @@ -11344,7 +11343,7 @@ public java.lang.String getUuid() { * The UUID of the vector. * * - * string uuid = 2 [json_name = "uuid"]; + * string uuid = 2; * @return The bytes for uuid. */ public com.google.protobuf.ByteString @@ -11365,7 +11364,7 @@ public java.lang.String getUuid() { * The UUID of the vector. * * - * string uuid = 2 [json_name = "uuid"]; + * string uuid = 2; * @param value The uuid to set. * @return This builder for chaining. */ @@ -11382,7 +11381,7 @@ public Builder setUuid( * The UUID of the vector. * * - * string uuid = 2 [json_name = "uuid"]; + * string uuid = 2; * @return This builder for chaining. */ public Builder clearUuid() { @@ -11396,7 +11395,7 @@ public Builder clearUuid() { * The UUID of the vector. * * - * string uuid = 2 [json_name = "uuid"]; + * string uuid = 2; * @param value The bytes for uuid to set. * @return This builder for chaining. */ @@ -11423,7 +11422,7 @@ private void ensureIpsIsMutable() { * The IP list. * * - * repeated string ips = 3 [json_name = "ips"]; + * repeated string ips = 3; * @return A list containing the ips. */ public com.google.protobuf.ProtocolStringList @@ -11436,7 +11435,7 @@ private void ensureIpsIsMutable() { * The IP list. * * - * repeated string ips = 3 [json_name = "ips"]; + * repeated string ips = 3; * @return The count of ips. */ public int getIpsCount() { @@ -11447,7 +11446,7 @@ public int getIpsCount() { * The IP list. * * - * repeated string ips = 3 [json_name = "ips"]; + * repeated string ips = 3; * @param index The index of the element to return. * @return The ips at the given index. */ @@ -11459,7 +11458,7 @@ public java.lang.String getIps(int index) { * The IP list. * * - * repeated string ips = 3 [json_name = "ips"]; + * repeated string ips = 3; * @param index The index of the value to return. * @return The bytes of the ips at the given index. */ @@ -11472,7 +11471,7 @@ public java.lang.String getIps(int index) { * The IP list. * * - * repeated string ips = 3 [json_name = "ips"]; + * repeated string ips = 3; * @param index The index to set the value at. * @param value The ips to set. * @return This builder for chaining. @@ -11491,7 +11490,7 @@ public Builder setIps( * The IP list. * * - * repeated string ips = 3 [json_name = "ips"]; + * repeated string ips = 3; * @param value The ips to add. * @return This builder for chaining. */ @@ -11509,7 +11508,7 @@ public Builder addIps( * The IP list. * * - * repeated string ips = 3 [json_name = "ips"]; + * repeated string ips = 3; * @param values The ips to add. * @return This builder for chaining. */ @@ -11527,7 +11526,7 @@ public Builder addAllIps( * The IP list. * * - * repeated string ips = 3 [json_name = "ips"]; + * repeated string ips = 3; * @return This builder for chaining. */ public Builder clearIps() { @@ -11542,7 +11541,7 @@ public Builder clearIps() { * The IP list. * * - * repeated string ips = 3 [json_name = "ips"]; + * repeated string ips = 3; * @param value The bytes of the ips to add. * @return This builder for chaining. */ @@ -11629,7 +11628,7 @@ public interface StreamLocationOrBuilder extends * The vector location. * * - * .payload.v1.Object.Location location = 1 [json_name = "location"]; + * .payload.v1.Object.Location location = 1; * @return Whether the location field is set. */ boolean hasLocation(); @@ -11638,7 +11637,7 @@ public interface StreamLocationOrBuilder extends * The vector location. * * - * .payload.v1.Object.Location location = 1 [json_name = "location"]; + * .payload.v1.Object.Location location = 1; * @return The location. */ org.vdaas.vald.api.v1.payload.Object.Location getLocation(); @@ -11647,7 +11646,7 @@ public interface StreamLocationOrBuilder extends * The vector location. * * - * .payload.v1.Object.Location location = 1 [json_name = "location"]; + * .payload.v1.Object.Location location = 1; */ org.vdaas.vald.api.v1.payload.Object.LocationOrBuilder getLocationOrBuilder(); @@ -11656,7 +11655,7 @@ public interface StreamLocationOrBuilder extends * The RPC error status. * * - * .google.rpc.Status status = 2 [json_name = "status"]; + * .google.rpc.Status status = 2; * @return Whether the status field is set. */ boolean hasStatus(); @@ -11665,7 +11664,7 @@ public interface StreamLocationOrBuilder extends * The RPC error status. * * - * .google.rpc.Status status = 2 [json_name = "status"]; + * .google.rpc.Status status = 2; * @return The status. */ com.google.rpc.Status getStatus(); @@ -11674,7 +11673,7 @@ public interface StreamLocationOrBuilder extends * The RPC error status. * * - * .google.rpc.Status status = 2 [json_name = "status"]; + * .google.rpc.Status status = 2; */ com.google.rpc.StatusOrBuilder getStatusOrBuilder(); @@ -11767,7 +11766,7 @@ public int getNumber() { * The vector location. * * - * .payload.v1.Object.Location location = 1 [json_name = "location"]; + * .payload.v1.Object.Location location = 1; * @return Whether the location field is set. */ @java.lang.Override @@ -11779,7 +11778,7 @@ public boolean hasLocation() { * The vector location. * * - * .payload.v1.Object.Location location = 1 [json_name = "location"]; + * .payload.v1.Object.Location location = 1; * @return The location. */ @java.lang.Override @@ -11794,7 +11793,7 @@ public org.vdaas.vald.api.v1.payload.Object.Location getLocation() { * The vector location. * * - * .payload.v1.Object.Location location = 1 [json_name = "location"]; + * .payload.v1.Object.Location location = 1; */ @java.lang.Override public org.vdaas.vald.api.v1.payload.Object.LocationOrBuilder getLocationOrBuilder() { @@ -11810,7 +11809,7 @@ public org.vdaas.vald.api.v1.payload.Object.LocationOrBuilder getLocationOrBuild * The RPC error status. * * - * .google.rpc.Status status = 2 [json_name = "status"]; + * .google.rpc.Status status = 2; * @return Whether the status field is set. */ @java.lang.Override @@ -11822,7 +11821,7 @@ public boolean hasStatus() { * The RPC error status. * * - * .google.rpc.Status status = 2 [json_name = "status"]; + * .google.rpc.Status status = 2; * @return The status. */ @java.lang.Override @@ -11837,7 +11836,7 @@ public com.google.rpc.Status getStatus() { * The RPC error status. * * - * .google.rpc.Status status = 2 [json_name = "status"]; + * .google.rpc.Status status = 2; */ @java.lang.Override public com.google.rpc.StatusOrBuilder getStatusOrBuilder() { @@ -12263,7 +12262,7 @@ public Builder clearPayload() { * The vector location. * * - * .payload.v1.Object.Location location = 1 [json_name = "location"]; + * .payload.v1.Object.Location location = 1; * @return Whether the location field is set. */ @java.lang.Override @@ -12275,7 +12274,7 @@ public boolean hasLocation() { * The vector location. * * - * .payload.v1.Object.Location location = 1 [json_name = "location"]; + * .payload.v1.Object.Location location = 1; * @return The location. */ @java.lang.Override @@ -12297,7 +12296,7 @@ public org.vdaas.vald.api.v1.payload.Object.Location getLocation() { * The vector location. * * - * .payload.v1.Object.Location location = 1 [json_name = "location"]; + * .payload.v1.Object.Location location = 1; */ public Builder setLocation(org.vdaas.vald.api.v1.payload.Object.Location value) { if (locationBuilder_ == null) { @@ -12317,7 +12316,7 @@ public Builder setLocation(org.vdaas.vald.api.v1.payload.Object.Location value) * The vector location. * * - * .payload.v1.Object.Location location = 1 [json_name = "location"]; + * .payload.v1.Object.Location location = 1; */ public Builder setLocation( org.vdaas.vald.api.v1.payload.Object.Location.Builder builderForValue) { @@ -12335,7 +12334,7 @@ public Builder setLocation( * The vector location. * * - * .payload.v1.Object.Location location = 1 [json_name = "location"]; + * .payload.v1.Object.Location location = 1; */ public Builder mergeLocation(org.vdaas.vald.api.v1.payload.Object.Location value) { if (locationBuilder_ == null) { @@ -12362,7 +12361,7 @@ public Builder mergeLocation(org.vdaas.vald.api.v1.payload.Object.Location value * The vector location. * * - * .payload.v1.Object.Location location = 1 [json_name = "location"]; + * .payload.v1.Object.Location location = 1; */ public Builder clearLocation() { if (locationBuilder_ == null) { @@ -12385,7 +12384,7 @@ public Builder clearLocation() { * The vector location. * * - * .payload.v1.Object.Location location = 1 [json_name = "location"]; + * .payload.v1.Object.Location location = 1; */ public org.vdaas.vald.api.v1.payload.Object.Location.Builder getLocationBuilder() { return getLocationFieldBuilder().getBuilder(); @@ -12395,7 +12394,7 @@ public org.vdaas.vald.api.v1.payload.Object.Location.Builder getLocationBuilder( * The vector location. * * - * .payload.v1.Object.Location location = 1 [json_name = "location"]; + * .payload.v1.Object.Location location = 1; */ @java.lang.Override public org.vdaas.vald.api.v1.payload.Object.LocationOrBuilder getLocationOrBuilder() { @@ -12413,7 +12412,7 @@ public org.vdaas.vald.api.v1.payload.Object.LocationOrBuilder getLocationOrBuild * The vector location. * * - * .payload.v1.Object.Location location = 1 [json_name = "location"]; + * .payload.v1.Object.Location location = 1; */ private com.google.protobuf.SingleFieldBuilderV3< org.vdaas.vald.api.v1.payload.Object.Location, org.vdaas.vald.api.v1.payload.Object.Location.Builder, org.vdaas.vald.api.v1.payload.Object.LocationOrBuilder> @@ -12441,7 +12440,7 @@ public org.vdaas.vald.api.v1.payload.Object.LocationOrBuilder getLocationOrBuild * The RPC error status. * * - * .google.rpc.Status status = 2 [json_name = "status"]; + * .google.rpc.Status status = 2; * @return Whether the status field is set. */ @java.lang.Override @@ -12453,7 +12452,7 @@ public boolean hasStatus() { * The RPC error status. * * - * .google.rpc.Status status = 2 [json_name = "status"]; + * .google.rpc.Status status = 2; * @return The status. */ @java.lang.Override @@ -12475,7 +12474,7 @@ public com.google.rpc.Status getStatus() { * The RPC error status. * * - * .google.rpc.Status status = 2 [json_name = "status"]; + * .google.rpc.Status status = 2; */ public Builder setStatus(com.google.rpc.Status value) { if (statusBuilder_ == null) { @@ -12495,7 +12494,7 @@ public Builder setStatus(com.google.rpc.Status value) { * The RPC error status. * * - * .google.rpc.Status status = 2 [json_name = "status"]; + * .google.rpc.Status status = 2; */ public Builder setStatus( com.google.rpc.Status.Builder builderForValue) { @@ -12513,7 +12512,7 @@ public Builder setStatus( * The RPC error status. * * - * .google.rpc.Status status = 2 [json_name = "status"]; + * .google.rpc.Status status = 2; */ public Builder mergeStatus(com.google.rpc.Status value) { if (statusBuilder_ == null) { @@ -12540,7 +12539,7 @@ public Builder mergeStatus(com.google.rpc.Status value) { * The RPC error status. * * - * .google.rpc.Status status = 2 [json_name = "status"]; + * .google.rpc.Status status = 2; */ public Builder clearStatus() { if (statusBuilder_ == null) { @@ -12563,7 +12562,7 @@ public Builder clearStatus() { * The RPC error status. * * - * .google.rpc.Status status = 2 [json_name = "status"]; + * .google.rpc.Status status = 2; */ public com.google.rpc.Status.Builder getStatusBuilder() { return getStatusFieldBuilder().getBuilder(); @@ -12573,7 +12572,7 @@ public com.google.rpc.Status.Builder getStatusBuilder() { * The RPC error status. * * - * .google.rpc.Status status = 2 [json_name = "status"]; + * .google.rpc.Status status = 2; */ @java.lang.Override public com.google.rpc.StatusOrBuilder getStatusOrBuilder() { @@ -12591,7 +12590,7 @@ public com.google.rpc.StatusOrBuilder getStatusOrBuilder() { * The RPC error status. * * - * .google.rpc.Status status = 2 [json_name = "status"]; + * .google.rpc.Status status = 2; */ private com.google.protobuf.SingleFieldBuilderV3< com.google.rpc.Status, com.google.rpc.Status.Builder, com.google.rpc.StatusOrBuilder> @@ -12680,25 +12679,25 @@ public interface LocationsOrBuilder extends com.google.protobuf.MessageOrBuilder { /** - * repeated .payload.v1.Object.Location locations = 1 [json_name = "locations"]; + * repeated .payload.v1.Object.Location locations = 1; */ java.util.List getLocationsList(); /** - * repeated .payload.v1.Object.Location locations = 1 [json_name = "locations"]; + * repeated .payload.v1.Object.Location locations = 1; */ org.vdaas.vald.api.v1.payload.Object.Location getLocations(int index); /** - * repeated .payload.v1.Object.Location locations = 1 [json_name = "locations"]; + * repeated .payload.v1.Object.Location locations = 1; */ int getLocationsCount(); /** - * repeated .payload.v1.Object.Location locations = 1 [json_name = "locations"]; + * repeated .payload.v1.Object.Location locations = 1; */ java.util.List getLocationsOrBuilderList(); /** - * repeated .payload.v1.Object.Location locations = 1 [json_name = "locations"]; + * repeated .payload.v1.Object.Location locations = 1; */ org.vdaas.vald.api.v1.payload.Object.LocationOrBuilder getLocationsOrBuilder( int index); @@ -12747,14 +12746,14 @@ protected java.lang.Object newInstance( @SuppressWarnings("serial") private java.util.List locations_; /** - * repeated .payload.v1.Object.Location locations = 1 [json_name = "locations"]; + * repeated .payload.v1.Object.Location locations = 1; */ @java.lang.Override public java.util.List getLocationsList() { return locations_; } /** - * repeated .payload.v1.Object.Location locations = 1 [json_name = "locations"]; + * repeated .payload.v1.Object.Location locations = 1; */ @java.lang.Override public java.util.List @@ -12762,21 +12761,21 @@ public java.util.List getLocation return locations_; } /** - * repeated .payload.v1.Object.Location locations = 1 [json_name = "locations"]; + * repeated .payload.v1.Object.Location locations = 1; */ @java.lang.Override public int getLocationsCount() { return locations_.size(); } /** - * repeated .payload.v1.Object.Location locations = 1 [json_name = "locations"]; + * repeated .payload.v1.Object.Location locations = 1; */ @java.lang.Override public org.vdaas.vald.api.v1.payload.Object.Location getLocations(int index) { return locations_.get(index); } /** - * repeated .payload.v1.Object.Location locations = 1 [json_name = "locations"]; + * repeated .payload.v1.Object.Location locations = 1; */ @java.lang.Override public org.vdaas.vald.api.v1.payload.Object.LocationOrBuilder getLocationsOrBuilder( @@ -13175,7 +13174,7 @@ private void ensureLocationsIsMutable() { org.vdaas.vald.api.v1.payload.Object.Location, org.vdaas.vald.api.v1.payload.Object.Location.Builder, org.vdaas.vald.api.v1.payload.Object.LocationOrBuilder> locationsBuilder_; /** - * repeated .payload.v1.Object.Location locations = 1 [json_name = "locations"]; + * repeated .payload.v1.Object.Location locations = 1; */ public java.util.List getLocationsList() { if (locationsBuilder_ == null) { @@ -13185,7 +13184,7 @@ public java.util.List getLocation } } /** - * repeated .payload.v1.Object.Location locations = 1 [json_name = "locations"]; + * repeated .payload.v1.Object.Location locations = 1; */ public int getLocationsCount() { if (locationsBuilder_ == null) { @@ -13195,7 +13194,7 @@ public int getLocationsCount() { } } /** - * repeated .payload.v1.Object.Location locations = 1 [json_name = "locations"]; + * repeated .payload.v1.Object.Location locations = 1; */ public org.vdaas.vald.api.v1.payload.Object.Location getLocations(int index) { if (locationsBuilder_ == null) { @@ -13205,7 +13204,7 @@ public org.vdaas.vald.api.v1.payload.Object.Location getLocations(int index) { } } /** - * repeated .payload.v1.Object.Location locations = 1 [json_name = "locations"]; + * repeated .payload.v1.Object.Location locations = 1; */ public Builder setLocations( int index, org.vdaas.vald.api.v1.payload.Object.Location value) { @@ -13222,7 +13221,7 @@ public Builder setLocations( return this; } /** - * repeated .payload.v1.Object.Location locations = 1 [json_name = "locations"]; + * repeated .payload.v1.Object.Location locations = 1; */ public Builder setLocations( int index, org.vdaas.vald.api.v1.payload.Object.Location.Builder builderForValue) { @@ -13236,7 +13235,7 @@ public Builder setLocations( return this; } /** - * repeated .payload.v1.Object.Location locations = 1 [json_name = "locations"]; + * repeated .payload.v1.Object.Location locations = 1; */ public Builder addLocations(org.vdaas.vald.api.v1.payload.Object.Location value) { if (locationsBuilder_ == null) { @@ -13252,7 +13251,7 @@ public Builder addLocations(org.vdaas.vald.api.v1.payload.Object.Location value) return this; } /** - * repeated .payload.v1.Object.Location locations = 1 [json_name = "locations"]; + * repeated .payload.v1.Object.Location locations = 1; */ public Builder addLocations( int index, org.vdaas.vald.api.v1.payload.Object.Location value) { @@ -13269,7 +13268,7 @@ public Builder addLocations( return this; } /** - * repeated .payload.v1.Object.Location locations = 1 [json_name = "locations"]; + * repeated .payload.v1.Object.Location locations = 1; */ public Builder addLocations( org.vdaas.vald.api.v1.payload.Object.Location.Builder builderForValue) { @@ -13283,7 +13282,7 @@ public Builder addLocations( return this; } /** - * repeated .payload.v1.Object.Location locations = 1 [json_name = "locations"]; + * repeated .payload.v1.Object.Location locations = 1; */ public Builder addLocations( int index, org.vdaas.vald.api.v1.payload.Object.Location.Builder builderForValue) { @@ -13297,7 +13296,7 @@ public Builder addLocations( return this; } /** - * repeated .payload.v1.Object.Location locations = 1 [json_name = "locations"]; + * repeated .payload.v1.Object.Location locations = 1; */ public Builder addAllLocations( java.lang.Iterable values) { @@ -13312,7 +13311,7 @@ public Builder addAllLocations( return this; } /** - * repeated .payload.v1.Object.Location locations = 1 [json_name = "locations"]; + * repeated .payload.v1.Object.Location locations = 1; */ public Builder clearLocations() { if (locationsBuilder_ == null) { @@ -13325,7 +13324,7 @@ public Builder clearLocations() { return this; } /** - * repeated .payload.v1.Object.Location locations = 1 [json_name = "locations"]; + * repeated .payload.v1.Object.Location locations = 1; */ public Builder removeLocations(int index) { if (locationsBuilder_ == null) { @@ -13338,14 +13337,14 @@ public Builder removeLocations(int index) { return this; } /** - * repeated .payload.v1.Object.Location locations = 1 [json_name = "locations"]; + * repeated .payload.v1.Object.Location locations = 1; */ public org.vdaas.vald.api.v1.payload.Object.Location.Builder getLocationsBuilder( int index) { return getLocationsFieldBuilder().getBuilder(index); } /** - * repeated .payload.v1.Object.Location locations = 1 [json_name = "locations"]; + * repeated .payload.v1.Object.Location locations = 1; */ public org.vdaas.vald.api.v1.payload.Object.LocationOrBuilder getLocationsOrBuilder( int index) { @@ -13355,7 +13354,7 @@ public org.vdaas.vald.api.v1.payload.Object.LocationOrBuilder getLocationsOrBuil } } /** - * repeated .payload.v1.Object.Location locations = 1 [json_name = "locations"]; + * repeated .payload.v1.Object.Location locations = 1; */ public java.util.List getLocationsOrBuilderList() { @@ -13366,14 +13365,14 @@ public org.vdaas.vald.api.v1.payload.Object.LocationOrBuilder getLocationsOrBuil } } /** - * repeated .payload.v1.Object.Location locations = 1 [json_name = "locations"]; + * repeated .payload.v1.Object.Location locations = 1; */ public org.vdaas.vald.api.v1.payload.Object.Location.Builder addLocationsBuilder() { return getLocationsFieldBuilder().addBuilder( org.vdaas.vald.api.v1.payload.Object.Location.getDefaultInstance()); } /** - * repeated .payload.v1.Object.Location locations = 1 [json_name = "locations"]; + * repeated .payload.v1.Object.Location locations = 1; */ public org.vdaas.vald.api.v1.payload.Object.Location.Builder addLocationsBuilder( int index) { @@ -13381,7 +13380,7 @@ public org.vdaas.vald.api.v1.payload.Object.Location.Builder addLocationsBuilder index, org.vdaas.vald.api.v1.payload.Object.Location.getDefaultInstance()); } /** - * repeated .payload.v1.Object.Location locations = 1 [json_name = "locations"]; + * repeated .payload.v1.Object.Location locations = 1; */ public java.util.List getLocationsBuilderList() { @@ -13914,7 +13913,7 @@ public interface ResponseOrBuilder extends * The vector * * - * .payload.v1.Object.Vector vector = 1 [json_name = "vector"]; + * .payload.v1.Object.Vector vector = 1; * @return Whether the vector field is set. */ boolean hasVector(); @@ -13923,7 +13922,7 @@ public interface ResponseOrBuilder extends * The vector * * - * .payload.v1.Object.Vector vector = 1 [json_name = "vector"]; + * .payload.v1.Object.Vector vector = 1; * @return The vector. */ org.vdaas.vald.api.v1.payload.Object.Vector getVector(); @@ -13932,7 +13931,7 @@ public interface ResponseOrBuilder extends * The vector * * - * .payload.v1.Object.Vector vector = 1 [json_name = "vector"]; + * .payload.v1.Object.Vector vector = 1; */ org.vdaas.vald.api.v1.payload.Object.VectorOrBuilder getVectorOrBuilder(); @@ -13941,7 +13940,7 @@ public interface ResponseOrBuilder extends * The RPC error status. * * - * .google.rpc.Status status = 2 [json_name = "status"]; + * .google.rpc.Status status = 2; * @return Whether the status field is set. */ boolean hasStatus(); @@ -13950,7 +13949,7 @@ public interface ResponseOrBuilder extends * The RPC error status. * * - * .google.rpc.Status status = 2 [json_name = "status"]; + * .google.rpc.Status status = 2; * @return The status. */ com.google.rpc.Status getStatus(); @@ -13959,7 +13958,7 @@ public interface ResponseOrBuilder extends * The RPC error status. * * - * .google.rpc.Status status = 2 [json_name = "status"]; + * .google.rpc.Status status = 2; */ com.google.rpc.StatusOrBuilder getStatusOrBuilder(); @@ -14048,7 +14047,7 @@ public int getNumber() { * The vector * * - * .payload.v1.Object.Vector vector = 1 [json_name = "vector"]; + * .payload.v1.Object.Vector vector = 1; * @return Whether the vector field is set. */ @java.lang.Override @@ -14060,7 +14059,7 @@ public boolean hasVector() { * The vector * * - * .payload.v1.Object.Vector vector = 1 [json_name = "vector"]; + * .payload.v1.Object.Vector vector = 1; * @return The vector. */ @java.lang.Override @@ -14075,7 +14074,7 @@ public org.vdaas.vald.api.v1.payload.Object.Vector getVector() { * The vector * * - * .payload.v1.Object.Vector vector = 1 [json_name = "vector"]; + * .payload.v1.Object.Vector vector = 1; */ @java.lang.Override public org.vdaas.vald.api.v1.payload.Object.VectorOrBuilder getVectorOrBuilder() { @@ -14091,7 +14090,7 @@ public org.vdaas.vald.api.v1.payload.Object.VectorOrBuilder getVectorOrBuilder() * The RPC error status. * * - * .google.rpc.Status status = 2 [json_name = "status"]; + * .google.rpc.Status status = 2; * @return Whether the status field is set. */ @java.lang.Override @@ -14103,7 +14102,7 @@ public boolean hasStatus() { * The RPC error status. * * - * .google.rpc.Status status = 2 [json_name = "status"]; + * .google.rpc.Status status = 2; * @return The status. */ @java.lang.Override @@ -14118,7 +14117,7 @@ public com.google.rpc.Status getStatus() { * The RPC error status. * * - * .google.rpc.Status status = 2 [json_name = "status"]; + * .google.rpc.Status status = 2; */ @java.lang.Override public com.google.rpc.StatusOrBuilder getStatusOrBuilder() { @@ -14540,7 +14539,7 @@ public Builder clearPayload() { * The vector * * - * .payload.v1.Object.Vector vector = 1 [json_name = "vector"]; + * .payload.v1.Object.Vector vector = 1; * @return Whether the vector field is set. */ @java.lang.Override @@ -14552,7 +14551,7 @@ public boolean hasVector() { * The vector * * - * .payload.v1.Object.Vector vector = 1 [json_name = "vector"]; + * .payload.v1.Object.Vector vector = 1; * @return The vector. */ @java.lang.Override @@ -14574,7 +14573,7 @@ public org.vdaas.vald.api.v1.payload.Object.Vector getVector() { * The vector * * - * .payload.v1.Object.Vector vector = 1 [json_name = "vector"]; + * .payload.v1.Object.Vector vector = 1; */ public Builder setVector(org.vdaas.vald.api.v1.payload.Object.Vector value) { if (vectorBuilder_ == null) { @@ -14594,7 +14593,7 @@ public Builder setVector(org.vdaas.vald.api.v1.payload.Object.Vector value) { * The vector * * - * .payload.v1.Object.Vector vector = 1 [json_name = "vector"]; + * .payload.v1.Object.Vector vector = 1; */ public Builder setVector( org.vdaas.vald.api.v1.payload.Object.Vector.Builder builderForValue) { @@ -14612,7 +14611,7 @@ public Builder setVector( * The vector * * - * .payload.v1.Object.Vector vector = 1 [json_name = "vector"]; + * .payload.v1.Object.Vector vector = 1; */ public Builder mergeVector(org.vdaas.vald.api.v1.payload.Object.Vector value) { if (vectorBuilder_ == null) { @@ -14639,7 +14638,7 @@ public Builder mergeVector(org.vdaas.vald.api.v1.payload.Object.Vector value) { * The vector * * - * .payload.v1.Object.Vector vector = 1 [json_name = "vector"]; + * .payload.v1.Object.Vector vector = 1; */ public Builder clearVector() { if (vectorBuilder_ == null) { @@ -14662,7 +14661,7 @@ public Builder clearVector() { * The vector * * - * .payload.v1.Object.Vector vector = 1 [json_name = "vector"]; + * .payload.v1.Object.Vector vector = 1; */ public org.vdaas.vald.api.v1.payload.Object.Vector.Builder getVectorBuilder() { return getVectorFieldBuilder().getBuilder(); @@ -14672,7 +14671,7 @@ public org.vdaas.vald.api.v1.payload.Object.Vector.Builder getVectorBuilder() { * The vector * * - * .payload.v1.Object.Vector vector = 1 [json_name = "vector"]; + * .payload.v1.Object.Vector vector = 1; */ @java.lang.Override public org.vdaas.vald.api.v1.payload.Object.VectorOrBuilder getVectorOrBuilder() { @@ -14690,7 +14689,7 @@ public org.vdaas.vald.api.v1.payload.Object.VectorOrBuilder getVectorOrBuilder() * The vector * * - * .payload.v1.Object.Vector vector = 1 [json_name = "vector"]; + * .payload.v1.Object.Vector vector = 1; */ private com.google.protobuf.SingleFieldBuilderV3< org.vdaas.vald.api.v1.payload.Object.Vector, org.vdaas.vald.api.v1.payload.Object.Vector.Builder, org.vdaas.vald.api.v1.payload.Object.VectorOrBuilder> @@ -14718,7 +14717,7 @@ public org.vdaas.vald.api.v1.payload.Object.VectorOrBuilder getVectorOrBuilder() * The RPC error status. * * - * .google.rpc.Status status = 2 [json_name = "status"]; + * .google.rpc.Status status = 2; * @return Whether the status field is set. */ @java.lang.Override @@ -14730,7 +14729,7 @@ public boolean hasStatus() { * The RPC error status. * * - * .google.rpc.Status status = 2 [json_name = "status"]; + * .google.rpc.Status status = 2; * @return The status. */ @java.lang.Override @@ -14752,7 +14751,7 @@ public com.google.rpc.Status getStatus() { * The RPC error status. * * - * .google.rpc.Status status = 2 [json_name = "status"]; + * .google.rpc.Status status = 2; */ public Builder setStatus(com.google.rpc.Status value) { if (statusBuilder_ == null) { @@ -14772,7 +14771,7 @@ public Builder setStatus(com.google.rpc.Status value) { * The RPC error status. * * - * .google.rpc.Status status = 2 [json_name = "status"]; + * .google.rpc.Status status = 2; */ public Builder setStatus( com.google.rpc.Status.Builder builderForValue) { @@ -14790,7 +14789,7 @@ public Builder setStatus( * The RPC error status. * * - * .google.rpc.Status status = 2 [json_name = "status"]; + * .google.rpc.Status status = 2; */ public Builder mergeStatus(com.google.rpc.Status value) { if (statusBuilder_ == null) { @@ -14817,7 +14816,7 @@ public Builder mergeStatus(com.google.rpc.Status value) { * The RPC error status. * * - * .google.rpc.Status status = 2 [json_name = "status"]; + * .google.rpc.Status status = 2; */ public Builder clearStatus() { if (statusBuilder_ == null) { @@ -14840,7 +14839,7 @@ public Builder clearStatus() { * The RPC error status. * * - * .google.rpc.Status status = 2 [json_name = "status"]; + * .google.rpc.Status status = 2; */ public com.google.rpc.Status.Builder getStatusBuilder() { return getStatusFieldBuilder().getBuilder(); @@ -14850,7 +14849,7 @@ public com.google.rpc.Status.Builder getStatusBuilder() { * The RPC error status. * * - * .google.rpc.Status status = 2 [json_name = "status"]; + * .google.rpc.Status status = 2; */ @java.lang.Override public com.google.rpc.StatusOrBuilder getStatusOrBuilder() { @@ -14868,7 +14867,7 @@ public com.google.rpc.StatusOrBuilder getStatusOrBuilder() { * The RPC error status. * * - * .google.rpc.Status status = 2 [json_name = "status"]; + * .google.rpc.Status status = 2; */ private com.google.protobuf.SingleFieldBuilderV3< com.google.rpc.Status, com.google.rpc.Status.Builder, com.google.rpc.StatusOrBuilder> diff --git a/src/main/java/org/vdaas/vald/api/v1/payload/ObjectOrBuilder.java b/src/main/java/org/vdaas/vald/api/v1/payload/ObjectOrBuilder.java index b2d2ea9f..d47369a1 100644 --- a/src/main/java/org/vdaas/vald/api/v1/payload/ObjectOrBuilder.java +++ b/src/main/java/org/vdaas/vald/api/v1/payload/ObjectOrBuilder.java @@ -1,7 +1,6 @@ // Generated by the protocol buffer compiler. DO NOT EDIT! -// source: v1/payload/payload.proto +// source: apis/proto/v1/payload/payload.proto -// Protobuf Java Version: 3.25.1 package org.vdaas.vald.api.v1.payload; public interface ObjectOrBuilder extends diff --git a/src/main/java/org/vdaas/vald/api/v1/payload/Remove.java b/src/main/java/org/vdaas/vald/api/v1/payload/Remove.java index 5b3a0e66..31d5f139 100644 --- a/src/main/java/org/vdaas/vald/api/v1/payload/Remove.java +++ b/src/main/java/org/vdaas/vald/api/v1/payload/Remove.java @@ -1,7 +1,6 @@ // Generated by the protocol buffer compiler. DO NOT EDIT! -// source: v1/payload/payload.proto +// source: apis/proto/v1/payload/payload.proto -// Protobuf Java Version: 3.25.1 package org.vdaas.vald.api.v1.payload; /** @@ -52,7 +51,7 @@ public interface RequestOrBuilder extends * The object ID to be removed. * * - * .payload.v1.Object.ID id = 1 [json_name = "id"]; + * .payload.v1.Object.ID id = 1; * @return Whether the id field is set. */ boolean hasId(); @@ -61,7 +60,7 @@ public interface RequestOrBuilder extends * The object ID to be removed. * * - * .payload.v1.Object.ID id = 1 [json_name = "id"]; + * .payload.v1.Object.ID id = 1; * @return The id. */ org.vdaas.vald.api.v1.payload.Object.ID getId(); @@ -70,7 +69,7 @@ public interface RequestOrBuilder extends * The object ID to be removed. * * - * .payload.v1.Object.ID id = 1 [json_name = "id"]; + * .payload.v1.Object.ID id = 1; */ org.vdaas.vald.api.v1.payload.Object.IDOrBuilder getIdOrBuilder(); @@ -79,7 +78,7 @@ public interface RequestOrBuilder extends * The configuration of the remove request. * * - * .payload.v1.Remove.Config config = 2 [json_name = "config"]; + * .payload.v1.Remove.Config config = 2; * @return Whether the config field is set. */ boolean hasConfig(); @@ -88,7 +87,7 @@ public interface RequestOrBuilder extends * The configuration of the remove request. * * - * .payload.v1.Remove.Config config = 2 [json_name = "config"]; + * .payload.v1.Remove.Config config = 2; * @return The config. */ org.vdaas.vald.api.v1.payload.Remove.Config getConfig(); @@ -97,7 +96,7 @@ public interface RequestOrBuilder extends * The configuration of the remove request. * * - * .payload.v1.Remove.Config config = 2 [json_name = "config"]; + * .payload.v1.Remove.Config config = 2; */ org.vdaas.vald.api.v1.payload.Remove.ConfigOrBuilder getConfigOrBuilder(); } @@ -148,7 +147,7 @@ protected java.lang.Object newInstance( * The object ID to be removed. * * - * .payload.v1.Object.ID id = 1 [json_name = "id"]; + * .payload.v1.Object.ID id = 1; * @return Whether the id field is set. */ @java.lang.Override @@ -160,7 +159,7 @@ public boolean hasId() { * The object ID to be removed. * * - * .payload.v1.Object.ID id = 1 [json_name = "id"]; + * .payload.v1.Object.ID id = 1; * @return The id. */ @java.lang.Override @@ -172,7 +171,7 @@ public org.vdaas.vald.api.v1.payload.Object.ID getId() { * The object ID to be removed. * * - * .payload.v1.Object.ID id = 1 [json_name = "id"]; + * .payload.v1.Object.ID id = 1; */ @java.lang.Override public org.vdaas.vald.api.v1.payload.Object.IDOrBuilder getIdOrBuilder() { @@ -186,7 +185,7 @@ public org.vdaas.vald.api.v1.payload.Object.IDOrBuilder getIdOrBuilder() { * The configuration of the remove request. * * - * .payload.v1.Remove.Config config = 2 [json_name = "config"]; + * .payload.v1.Remove.Config config = 2; * @return Whether the config field is set. */ @java.lang.Override @@ -198,7 +197,7 @@ public boolean hasConfig() { * The configuration of the remove request. * * - * .payload.v1.Remove.Config config = 2 [json_name = "config"]; + * .payload.v1.Remove.Config config = 2; * @return The config. */ @java.lang.Override @@ -210,7 +209,7 @@ public org.vdaas.vald.api.v1.payload.Remove.Config getConfig() { * The configuration of the remove request. * * - * .payload.v1.Remove.Config config = 2 [json_name = "config"]; + * .payload.v1.Remove.Config config = 2; */ @java.lang.Override public org.vdaas.vald.api.v1.payload.Remove.ConfigOrBuilder getConfigOrBuilder() { @@ -614,7 +613,7 @@ public Builder mergeFrom( * The object ID to be removed. * * - * .payload.v1.Object.ID id = 1 [json_name = "id"]; + * .payload.v1.Object.ID id = 1; * @return Whether the id field is set. */ public boolean hasId() { @@ -625,7 +624,7 @@ public boolean hasId() { * The object ID to be removed. * * - * .payload.v1.Object.ID id = 1 [json_name = "id"]; + * .payload.v1.Object.ID id = 1; * @return The id. */ public org.vdaas.vald.api.v1.payload.Object.ID getId() { @@ -640,7 +639,7 @@ public org.vdaas.vald.api.v1.payload.Object.ID getId() { * The object ID to be removed. * * - * .payload.v1.Object.ID id = 1 [json_name = "id"]; + * .payload.v1.Object.ID id = 1; */ public Builder setId(org.vdaas.vald.api.v1.payload.Object.ID value) { if (idBuilder_ == null) { @@ -660,7 +659,7 @@ public Builder setId(org.vdaas.vald.api.v1.payload.Object.ID value) { * The object ID to be removed. * * - * .payload.v1.Object.ID id = 1 [json_name = "id"]; + * .payload.v1.Object.ID id = 1; */ public Builder setId( org.vdaas.vald.api.v1.payload.Object.ID.Builder builderForValue) { @@ -678,7 +677,7 @@ public Builder setId( * The object ID to be removed. * * - * .payload.v1.Object.ID id = 1 [json_name = "id"]; + * .payload.v1.Object.ID id = 1; */ public Builder mergeId(org.vdaas.vald.api.v1.payload.Object.ID value) { if (idBuilder_ == null) { @@ -703,7 +702,7 @@ public Builder mergeId(org.vdaas.vald.api.v1.payload.Object.ID value) { * The object ID to be removed. * * - * .payload.v1.Object.ID id = 1 [json_name = "id"]; + * .payload.v1.Object.ID id = 1; */ public Builder clearId() { bitField0_ = (bitField0_ & ~0x00000001); @@ -720,7 +719,7 @@ public Builder clearId() { * The object ID to be removed. * * - * .payload.v1.Object.ID id = 1 [json_name = "id"]; + * .payload.v1.Object.ID id = 1; */ public org.vdaas.vald.api.v1.payload.Object.ID.Builder getIdBuilder() { bitField0_ |= 0x00000001; @@ -732,7 +731,7 @@ public org.vdaas.vald.api.v1.payload.Object.ID.Builder getIdBuilder() { * The object ID to be removed. * * - * .payload.v1.Object.ID id = 1 [json_name = "id"]; + * .payload.v1.Object.ID id = 1; */ public org.vdaas.vald.api.v1.payload.Object.IDOrBuilder getIdOrBuilder() { if (idBuilder_ != null) { @@ -747,7 +746,7 @@ public org.vdaas.vald.api.v1.payload.Object.IDOrBuilder getIdOrBuilder() { * The object ID to be removed. * * - * .payload.v1.Object.ID id = 1 [json_name = "id"]; + * .payload.v1.Object.ID id = 1; */ private com.google.protobuf.SingleFieldBuilderV3< org.vdaas.vald.api.v1.payload.Object.ID, org.vdaas.vald.api.v1.payload.Object.ID.Builder, org.vdaas.vald.api.v1.payload.Object.IDOrBuilder> @@ -771,7 +770,7 @@ public org.vdaas.vald.api.v1.payload.Object.IDOrBuilder getIdOrBuilder() { * The configuration of the remove request. * * - * .payload.v1.Remove.Config config = 2 [json_name = "config"]; + * .payload.v1.Remove.Config config = 2; * @return Whether the config field is set. */ public boolean hasConfig() { @@ -782,7 +781,7 @@ public boolean hasConfig() { * The configuration of the remove request. * * - * .payload.v1.Remove.Config config = 2 [json_name = "config"]; + * .payload.v1.Remove.Config config = 2; * @return The config. */ public org.vdaas.vald.api.v1.payload.Remove.Config getConfig() { @@ -797,7 +796,7 @@ public org.vdaas.vald.api.v1.payload.Remove.Config getConfig() { * The configuration of the remove request. * * - * .payload.v1.Remove.Config config = 2 [json_name = "config"]; + * .payload.v1.Remove.Config config = 2; */ public Builder setConfig(org.vdaas.vald.api.v1.payload.Remove.Config value) { if (configBuilder_ == null) { @@ -817,7 +816,7 @@ public Builder setConfig(org.vdaas.vald.api.v1.payload.Remove.Config value) { * The configuration of the remove request. * * - * .payload.v1.Remove.Config config = 2 [json_name = "config"]; + * .payload.v1.Remove.Config config = 2; */ public Builder setConfig( org.vdaas.vald.api.v1.payload.Remove.Config.Builder builderForValue) { @@ -835,7 +834,7 @@ public Builder setConfig( * The configuration of the remove request. * * - * .payload.v1.Remove.Config config = 2 [json_name = "config"]; + * .payload.v1.Remove.Config config = 2; */ public Builder mergeConfig(org.vdaas.vald.api.v1.payload.Remove.Config value) { if (configBuilder_ == null) { @@ -860,7 +859,7 @@ public Builder mergeConfig(org.vdaas.vald.api.v1.payload.Remove.Config value) { * The configuration of the remove request. * * - * .payload.v1.Remove.Config config = 2 [json_name = "config"]; + * .payload.v1.Remove.Config config = 2; */ public Builder clearConfig() { bitField0_ = (bitField0_ & ~0x00000002); @@ -877,7 +876,7 @@ public Builder clearConfig() { * The configuration of the remove request. * * - * .payload.v1.Remove.Config config = 2 [json_name = "config"]; + * .payload.v1.Remove.Config config = 2; */ public org.vdaas.vald.api.v1.payload.Remove.Config.Builder getConfigBuilder() { bitField0_ |= 0x00000002; @@ -889,7 +888,7 @@ public org.vdaas.vald.api.v1.payload.Remove.Config.Builder getConfigBuilder() { * The configuration of the remove request. * * - * .payload.v1.Remove.Config config = 2 [json_name = "config"]; + * .payload.v1.Remove.Config config = 2; */ public org.vdaas.vald.api.v1.payload.Remove.ConfigOrBuilder getConfigOrBuilder() { if (configBuilder_ != null) { @@ -904,7 +903,7 @@ public org.vdaas.vald.api.v1.payload.Remove.ConfigOrBuilder getConfigOrBuilder() * The configuration of the remove request. * * - * .payload.v1.Remove.Config config = 2 [json_name = "config"]; + * .payload.v1.Remove.Config config = 2; */ private com.google.protobuf.SingleFieldBuilderV3< org.vdaas.vald.api.v1.payload.Remove.Config, org.vdaas.vald.api.v1.payload.Remove.Config.Builder, org.vdaas.vald.api.v1.payload.Remove.ConfigOrBuilder> @@ -992,7 +991,7 @@ public interface MultiRequestOrBuilder extends * Represent the multiple remove request content. * * - * repeated .payload.v1.Remove.Request requests = 1 [json_name = "requests"]; + * repeated .payload.v1.Remove.Request requests = 1; */ java.util.List getRequestsList(); @@ -1001,7 +1000,7 @@ public interface MultiRequestOrBuilder extends * Represent the multiple remove request content. * * - * repeated .payload.v1.Remove.Request requests = 1 [json_name = "requests"]; + * repeated .payload.v1.Remove.Request requests = 1; */ org.vdaas.vald.api.v1.payload.Remove.Request getRequests(int index); /** @@ -1009,7 +1008,7 @@ public interface MultiRequestOrBuilder extends * Represent the multiple remove request content. * * - * repeated .payload.v1.Remove.Request requests = 1 [json_name = "requests"]; + * repeated .payload.v1.Remove.Request requests = 1; */ int getRequestsCount(); /** @@ -1017,7 +1016,7 @@ public interface MultiRequestOrBuilder extends * Represent the multiple remove request content. * * - * repeated .payload.v1.Remove.Request requests = 1 [json_name = "requests"]; + * repeated .payload.v1.Remove.Request requests = 1; */ java.util.List getRequestsOrBuilderList(); @@ -1026,7 +1025,7 @@ public interface MultiRequestOrBuilder extends * Represent the multiple remove request content. * * - * repeated .payload.v1.Remove.Request requests = 1 [json_name = "requests"]; + * repeated .payload.v1.Remove.Request requests = 1; */ org.vdaas.vald.api.v1.payload.Remove.RequestOrBuilder getRequestsOrBuilder( int index); @@ -1079,7 +1078,7 @@ protected java.lang.Object newInstance( * Represent the multiple remove request content. * * - * repeated .payload.v1.Remove.Request requests = 1 [json_name = "requests"]; + * repeated .payload.v1.Remove.Request requests = 1; */ @java.lang.Override public java.util.List getRequestsList() { @@ -1090,7 +1089,7 @@ public java.util.List getRequestsL * Represent the multiple remove request content. * * - * repeated .payload.v1.Remove.Request requests = 1 [json_name = "requests"]; + * repeated .payload.v1.Remove.Request requests = 1; */ @java.lang.Override public java.util.List @@ -1102,7 +1101,7 @@ public java.util.List getRequestsL * Represent the multiple remove request content. * * - * repeated .payload.v1.Remove.Request requests = 1 [json_name = "requests"]; + * repeated .payload.v1.Remove.Request requests = 1; */ @java.lang.Override public int getRequestsCount() { @@ -1113,7 +1112,7 @@ public int getRequestsCount() { * Represent the multiple remove request content. * * - * repeated .payload.v1.Remove.Request requests = 1 [json_name = "requests"]; + * repeated .payload.v1.Remove.Request requests = 1; */ @java.lang.Override public org.vdaas.vald.api.v1.payload.Remove.Request getRequests(int index) { @@ -1124,7 +1123,7 @@ public org.vdaas.vald.api.v1.payload.Remove.Request getRequests(int index) { * Represent the multiple remove request content. * * - * repeated .payload.v1.Remove.Request requests = 1 [json_name = "requests"]; + * repeated .payload.v1.Remove.Request requests = 1; */ @java.lang.Override public org.vdaas.vald.api.v1.payload.Remove.RequestOrBuilder getRequestsOrBuilder( @@ -1527,7 +1526,7 @@ private void ensureRequestsIsMutable() { * Represent the multiple remove request content. * * - * repeated .payload.v1.Remove.Request requests = 1 [json_name = "requests"]; + * repeated .payload.v1.Remove.Request requests = 1; */ public java.util.List getRequestsList() { if (requestsBuilder_ == null) { @@ -1541,7 +1540,7 @@ public java.util.List getRequestsL * Represent the multiple remove request content. * * - * repeated .payload.v1.Remove.Request requests = 1 [json_name = "requests"]; + * repeated .payload.v1.Remove.Request requests = 1; */ public int getRequestsCount() { if (requestsBuilder_ == null) { @@ -1555,7 +1554,7 @@ public int getRequestsCount() { * Represent the multiple remove request content. * * - * repeated .payload.v1.Remove.Request requests = 1 [json_name = "requests"]; + * repeated .payload.v1.Remove.Request requests = 1; */ public org.vdaas.vald.api.v1.payload.Remove.Request getRequests(int index) { if (requestsBuilder_ == null) { @@ -1569,7 +1568,7 @@ public org.vdaas.vald.api.v1.payload.Remove.Request getRequests(int index) { * Represent the multiple remove request content. * * - * repeated .payload.v1.Remove.Request requests = 1 [json_name = "requests"]; + * repeated .payload.v1.Remove.Request requests = 1; */ public Builder setRequests( int index, org.vdaas.vald.api.v1.payload.Remove.Request value) { @@ -1590,7 +1589,7 @@ public Builder setRequests( * Represent the multiple remove request content. * * - * repeated .payload.v1.Remove.Request requests = 1 [json_name = "requests"]; + * repeated .payload.v1.Remove.Request requests = 1; */ public Builder setRequests( int index, org.vdaas.vald.api.v1.payload.Remove.Request.Builder builderForValue) { @@ -1608,7 +1607,7 @@ public Builder setRequests( * Represent the multiple remove request content. * * - * repeated .payload.v1.Remove.Request requests = 1 [json_name = "requests"]; + * repeated .payload.v1.Remove.Request requests = 1; */ public Builder addRequests(org.vdaas.vald.api.v1.payload.Remove.Request value) { if (requestsBuilder_ == null) { @@ -1628,7 +1627,7 @@ public Builder addRequests(org.vdaas.vald.api.v1.payload.Remove.Request value) { * Represent the multiple remove request content. * * - * repeated .payload.v1.Remove.Request requests = 1 [json_name = "requests"]; + * repeated .payload.v1.Remove.Request requests = 1; */ public Builder addRequests( int index, org.vdaas.vald.api.v1.payload.Remove.Request value) { @@ -1649,7 +1648,7 @@ public Builder addRequests( * Represent the multiple remove request content. * * - * repeated .payload.v1.Remove.Request requests = 1 [json_name = "requests"]; + * repeated .payload.v1.Remove.Request requests = 1; */ public Builder addRequests( org.vdaas.vald.api.v1.payload.Remove.Request.Builder builderForValue) { @@ -1667,7 +1666,7 @@ public Builder addRequests( * Represent the multiple remove request content. * * - * repeated .payload.v1.Remove.Request requests = 1 [json_name = "requests"]; + * repeated .payload.v1.Remove.Request requests = 1; */ public Builder addRequests( int index, org.vdaas.vald.api.v1.payload.Remove.Request.Builder builderForValue) { @@ -1685,7 +1684,7 @@ public Builder addRequests( * Represent the multiple remove request content. * * - * repeated .payload.v1.Remove.Request requests = 1 [json_name = "requests"]; + * repeated .payload.v1.Remove.Request requests = 1; */ public Builder addAllRequests( java.lang.Iterable values) { @@ -1704,7 +1703,7 @@ public Builder addAllRequests( * Represent the multiple remove request content. * * - * repeated .payload.v1.Remove.Request requests = 1 [json_name = "requests"]; + * repeated .payload.v1.Remove.Request requests = 1; */ public Builder clearRequests() { if (requestsBuilder_ == null) { @@ -1721,7 +1720,7 @@ public Builder clearRequests() { * Represent the multiple remove request content. * * - * repeated .payload.v1.Remove.Request requests = 1 [json_name = "requests"]; + * repeated .payload.v1.Remove.Request requests = 1; */ public Builder removeRequests(int index) { if (requestsBuilder_ == null) { @@ -1738,7 +1737,7 @@ public Builder removeRequests(int index) { * Represent the multiple remove request content. * * - * repeated .payload.v1.Remove.Request requests = 1 [json_name = "requests"]; + * repeated .payload.v1.Remove.Request requests = 1; */ public org.vdaas.vald.api.v1.payload.Remove.Request.Builder getRequestsBuilder( int index) { @@ -1749,7 +1748,7 @@ public org.vdaas.vald.api.v1.payload.Remove.Request.Builder getRequestsBuilder( * Represent the multiple remove request content. * * - * repeated .payload.v1.Remove.Request requests = 1 [json_name = "requests"]; + * repeated .payload.v1.Remove.Request requests = 1; */ public org.vdaas.vald.api.v1.payload.Remove.RequestOrBuilder getRequestsOrBuilder( int index) { @@ -1763,7 +1762,7 @@ public org.vdaas.vald.api.v1.payload.Remove.RequestOrBuilder getRequestsOrBuilde * Represent the multiple remove request content. * * - * repeated .payload.v1.Remove.Request requests = 1 [json_name = "requests"]; + * repeated .payload.v1.Remove.Request requests = 1; */ public java.util.List getRequestsOrBuilderList() { @@ -1778,7 +1777,7 @@ public org.vdaas.vald.api.v1.payload.Remove.RequestOrBuilder getRequestsOrBuilde * Represent the multiple remove request content. * * - * repeated .payload.v1.Remove.Request requests = 1 [json_name = "requests"]; + * repeated .payload.v1.Remove.Request requests = 1; */ public org.vdaas.vald.api.v1.payload.Remove.Request.Builder addRequestsBuilder() { return getRequestsFieldBuilder().addBuilder( @@ -1789,7 +1788,7 @@ public org.vdaas.vald.api.v1.payload.Remove.Request.Builder addRequestsBuilder() * Represent the multiple remove request content. * * - * repeated .payload.v1.Remove.Request requests = 1 [json_name = "requests"]; + * repeated .payload.v1.Remove.Request requests = 1; */ public org.vdaas.vald.api.v1.payload.Remove.Request.Builder addRequestsBuilder( int index) { @@ -1801,7 +1800,7 @@ public org.vdaas.vald.api.v1.payload.Remove.Request.Builder addRequestsBuilder( * Represent the multiple remove request content. * * - * repeated .payload.v1.Remove.Request requests = 1 [json_name = "requests"]; + * repeated .payload.v1.Remove.Request requests = 1; */ public java.util.List getRequestsBuilderList() { @@ -1894,7 +1893,7 @@ public interface TimestampRequestOrBuilder extends * The timestamp comparison list. If more than one is specified, the `AND` search is applied. * * - * repeated .payload.v1.Remove.Timestamp timestamps = 1 [json_name = "timestamps"]; + * repeated .payload.v1.Remove.Timestamp timestamps = 1; */ java.util.List getTimestampsList(); @@ -1903,7 +1902,7 @@ public interface TimestampRequestOrBuilder extends * The timestamp comparison list. If more than one is specified, the `AND` search is applied. * * - * repeated .payload.v1.Remove.Timestamp timestamps = 1 [json_name = "timestamps"]; + * repeated .payload.v1.Remove.Timestamp timestamps = 1; */ org.vdaas.vald.api.v1.payload.Remove.Timestamp getTimestamps(int index); /** @@ -1911,7 +1910,7 @@ public interface TimestampRequestOrBuilder extends * The timestamp comparison list. If more than one is specified, the `AND` search is applied. * * - * repeated .payload.v1.Remove.Timestamp timestamps = 1 [json_name = "timestamps"]; + * repeated .payload.v1.Remove.Timestamp timestamps = 1; */ int getTimestampsCount(); /** @@ -1919,7 +1918,7 @@ public interface TimestampRequestOrBuilder extends * The timestamp comparison list. If more than one is specified, the `AND` search is applied. * * - * repeated .payload.v1.Remove.Timestamp timestamps = 1 [json_name = "timestamps"]; + * repeated .payload.v1.Remove.Timestamp timestamps = 1; */ java.util.List getTimestampsOrBuilderList(); @@ -1928,7 +1927,7 @@ public interface TimestampRequestOrBuilder extends * The timestamp comparison list. If more than one is specified, the `AND` search is applied. * * - * repeated .payload.v1.Remove.Timestamp timestamps = 1 [json_name = "timestamps"]; + * repeated .payload.v1.Remove.Timestamp timestamps = 1; */ org.vdaas.vald.api.v1.payload.Remove.TimestampOrBuilder getTimestampsOrBuilder( int index); @@ -1981,7 +1980,7 @@ protected java.lang.Object newInstance( * The timestamp comparison list. If more than one is specified, the `AND` search is applied. * * - * repeated .payload.v1.Remove.Timestamp timestamps = 1 [json_name = "timestamps"]; + * repeated .payload.v1.Remove.Timestamp timestamps = 1; */ @java.lang.Override public java.util.List getTimestampsList() { @@ -1992,7 +1991,7 @@ public java.util.List getTimesta * The timestamp comparison list. If more than one is specified, the `AND` search is applied. * * - * repeated .payload.v1.Remove.Timestamp timestamps = 1 [json_name = "timestamps"]; + * repeated .payload.v1.Remove.Timestamp timestamps = 1; */ @java.lang.Override public java.util.List @@ -2004,7 +2003,7 @@ public java.util.List getTimesta * The timestamp comparison list. If more than one is specified, the `AND` search is applied. * * - * repeated .payload.v1.Remove.Timestamp timestamps = 1 [json_name = "timestamps"]; + * repeated .payload.v1.Remove.Timestamp timestamps = 1; */ @java.lang.Override public int getTimestampsCount() { @@ -2015,7 +2014,7 @@ public int getTimestampsCount() { * The timestamp comparison list. If more than one is specified, the `AND` search is applied. * * - * repeated .payload.v1.Remove.Timestamp timestamps = 1 [json_name = "timestamps"]; + * repeated .payload.v1.Remove.Timestamp timestamps = 1; */ @java.lang.Override public org.vdaas.vald.api.v1.payload.Remove.Timestamp getTimestamps(int index) { @@ -2026,7 +2025,7 @@ public org.vdaas.vald.api.v1.payload.Remove.Timestamp getTimestamps(int index) { * The timestamp comparison list. If more than one is specified, the `AND` search is applied. * * - * repeated .payload.v1.Remove.Timestamp timestamps = 1 [json_name = "timestamps"]; + * repeated .payload.v1.Remove.Timestamp timestamps = 1; */ @java.lang.Override public org.vdaas.vald.api.v1.payload.Remove.TimestampOrBuilder getTimestampsOrBuilder( @@ -2429,7 +2428,7 @@ private void ensureTimestampsIsMutable() { * The timestamp comparison list. If more than one is specified, the `AND` search is applied. * * - * repeated .payload.v1.Remove.Timestamp timestamps = 1 [json_name = "timestamps"]; + * repeated .payload.v1.Remove.Timestamp timestamps = 1; */ public java.util.List getTimestampsList() { if (timestampsBuilder_ == null) { @@ -2443,7 +2442,7 @@ public java.util.List getTimesta * The timestamp comparison list. If more than one is specified, the `AND` search is applied. * * - * repeated .payload.v1.Remove.Timestamp timestamps = 1 [json_name = "timestamps"]; + * repeated .payload.v1.Remove.Timestamp timestamps = 1; */ public int getTimestampsCount() { if (timestampsBuilder_ == null) { @@ -2457,7 +2456,7 @@ public int getTimestampsCount() { * The timestamp comparison list. If more than one is specified, the `AND` search is applied. * * - * repeated .payload.v1.Remove.Timestamp timestamps = 1 [json_name = "timestamps"]; + * repeated .payload.v1.Remove.Timestamp timestamps = 1; */ public org.vdaas.vald.api.v1.payload.Remove.Timestamp getTimestamps(int index) { if (timestampsBuilder_ == null) { @@ -2471,7 +2470,7 @@ public org.vdaas.vald.api.v1.payload.Remove.Timestamp getTimestamps(int index) { * The timestamp comparison list. If more than one is specified, the `AND` search is applied. * * - * repeated .payload.v1.Remove.Timestamp timestamps = 1 [json_name = "timestamps"]; + * repeated .payload.v1.Remove.Timestamp timestamps = 1; */ public Builder setTimestamps( int index, org.vdaas.vald.api.v1.payload.Remove.Timestamp value) { @@ -2492,7 +2491,7 @@ public Builder setTimestamps( * The timestamp comparison list. If more than one is specified, the `AND` search is applied. * * - * repeated .payload.v1.Remove.Timestamp timestamps = 1 [json_name = "timestamps"]; + * repeated .payload.v1.Remove.Timestamp timestamps = 1; */ public Builder setTimestamps( int index, org.vdaas.vald.api.v1.payload.Remove.Timestamp.Builder builderForValue) { @@ -2510,7 +2509,7 @@ public Builder setTimestamps( * The timestamp comparison list. If more than one is specified, the `AND` search is applied. * * - * repeated .payload.v1.Remove.Timestamp timestamps = 1 [json_name = "timestamps"]; + * repeated .payload.v1.Remove.Timestamp timestamps = 1; */ public Builder addTimestamps(org.vdaas.vald.api.v1.payload.Remove.Timestamp value) { if (timestampsBuilder_ == null) { @@ -2530,7 +2529,7 @@ public Builder addTimestamps(org.vdaas.vald.api.v1.payload.Remove.Timestamp valu * The timestamp comparison list. If more than one is specified, the `AND` search is applied. * * - * repeated .payload.v1.Remove.Timestamp timestamps = 1 [json_name = "timestamps"]; + * repeated .payload.v1.Remove.Timestamp timestamps = 1; */ public Builder addTimestamps( int index, org.vdaas.vald.api.v1.payload.Remove.Timestamp value) { @@ -2551,7 +2550,7 @@ public Builder addTimestamps( * The timestamp comparison list. If more than one is specified, the `AND` search is applied. * * - * repeated .payload.v1.Remove.Timestamp timestamps = 1 [json_name = "timestamps"]; + * repeated .payload.v1.Remove.Timestamp timestamps = 1; */ public Builder addTimestamps( org.vdaas.vald.api.v1.payload.Remove.Timestamp.Builder builderForValue) { @@ -2569,7 +2568,7 @@ public Builder addTimestamps( * The timestamp comparison list. If more than one is specified, the `AND` search is applied. * * - * repeated .payload.v1.Remove.Timestamp timestamps = 1 [json_name = "timestamps"]; + * repeated .payload.v1.Remove.Timestamp timestamps = 1; */ public Builder addTimestamps( int index, org.vdaas.vald.api.v1.payload.Remove.Timestamp.Builder builderForValue) { @@ -2587,7 +2586,7 @@ public Builder addTimestamps( * The timestamp comparison list. If more than one is specified, the `AND` search is applied. * * - * repeated .payload.v1.Remove.Timestamp timestamps = 1 [json_name = "timestamps"]; + * repeated .payload.v1.Remove.Timestamp timestamps = 1; */ public Builder addAllTimestamps( java.lang.Iterable values) { @@ -2606,7 +2605,7 @@ public Builder addAllTimestamps( * The timestamp comparison list. If more than one is specified, the `AND` search is applied. * * - * repeated .payload.v1.Remove.Timestamp timestamps = 1 [json_name = "timestamps"]; + * repeated .payload.v1.Remove.Timestamp timestamps = 1; */ public Builder clearTimestamps() { if (timestampsBuilder_ == null) { @@ -2623,7 +2622,7 @@ public Builder clearTimestamps() { * The timestamp comparison list. If more than one is specified, the `AND` search is applied. * * - * repeated .payload.v1.Remove.Timestamp timestamps = 1 [json_name = "timestamps"]; + * repeated .payload.v1.Remove.Timestamp timestamps = 1; */ public Builder removeTimestamps(int index) { if (timestampsBuilder_ == null) { @@ -2640,7 +2639,7 @@ public Builder removeTimestamps(int index) { * The timestamp comparison list. If more than one is specified, the `AND` search is applied. * * - * repeated .payload.v1.Remove.Timestamp timestamps = 1 [json_name = "timestamps"]; + * repeated .payload.v1.Remove.Timestamp timestamps = 1; */ public org.vdaas.vald.api.v1.payload.Remove.Timestamp.Builder getTimestampsBuilder( int index) { @@ -2651,7 +2650,7 @@ public org.vdaas.vald.api.v1.payload.Remove.Timestamp.Builder getTimestampsBuild * The timestamp comparison list. If more than one is specified, the `AND` search is applied. * * - * repeated .payload.v1.Remove.Timestamp timestamps = 1 [json_name = "timestamps"]; + * repeated .payload.v1.Remove.Timestamp timestamps = 1; */ public org.vdaas.vald.api.v1.payload.Remove.TimestampOrBuilder getTimestampsOrBuilder( int index) { @@ -2665,7 +2664,7 @@ public org.vdaas.vald.api.v1.payload.Remove.TimestampOrBuilder getTimestampsOrBu * The timestamp comparison list. If more than one is specified, the `AND` search is applied. * * - * repeated .payload.v1.Remove.Timestamp timestamps = 1 [json_name = "timestamps"]; + * repeated .payload.v1.Remove.Timestamp timestamps = 1; */ public java.util.List getTimestampsOrBuilderList() { @@ -2680,7 +2679,7 @@ public org.vdaas.vald.api.v1.payload.Remove.TimestampOrBuilder getTimestampsOrBu * The timestamp comparison list. If more than one is specified, the `AND` search is applied. * * - * repeated .payload.v1.Remove.Timestamp timestamps = 1 [json_name = "timestamps"]; + * repeated .payload.v1.Remove.Timestamp timestamps = 1; */ public org.vdaas.vald.api.v1.payload.Remove.Timestamp.Builder addTimestampsBuilder() { return getTimestampsFieldBuilder().addBuilder( @@ -2691,7 +2690,7 @@ public org.vdaas.vald.api.v1.payload.Remove.Timestamp.Builder addTimestampsBuild * The timestamp comparison list. If more than one is specified, the `AND` search is applied. * * - * repeated .payload.v1.Remove.Timestamp timestamps = 1 [json_name = "timestamps"]; + * repeated .payload.v1.Remove.Timestamp timestamps = 1; */ public org.vdaas.vald.api.v1.payload.Remove.Timestamp.Builder addTimestampsBuilder( int index) { @@ -2703,7 +2702,7 @@ public org.vdaas.vald.api.v1.payload.Remove.Timestamp.Builder addTimestampsBuild * The timestamp comparison list. If more than one is specified, the `AND` search is applied. * * - * repeated .payload.v1.Remove.Timestamp timestamps = 1 [json_name = "timestamps"]; + * repeated .payload.v1.Remove.Timestamp timestamps = 1; */ public java.util.List getTimestampsBuilderList() { @@ -2796,7 +2795,7 @@ public interface TimestampOrBuilder extends * The timestamp. * * - * int64 timestamp = 1 [json_name = "timestamp"]; + * int64 timestamp = 1; * @return The timestamp. */ long getTimestamp(); @@ -2806,7 +2805,7 @@ public interface TimestampOrBuilder extends * The conditional operator. * * - * .payload.v1.Remove.Timestamp.Operator operator = 2 [json_name = "operator"]; + * .payload.v1.Remove.Timestamp.Operator operator = 2; * @return The enum numeric value on the wire for operator. */ int getOperatorValue(); @@ -2815,7 +2814,7 @@ public interface TimestampOrBuilder extends * The conditional operator. * * - * .payload.v1.Remove.Timestamp.Operator operator = 2 [json_name = "operator"]; + * .payload.v1.Remove.Timestamp.Operator operator = 2; * @return The operator. */ org.vdaas.vald.api.v1.payload.Remove.Timestamp.Operator getOperator(); @@ -3063,7 +3062,7 @@ private Operator(int value) { * The timestamp. * * - * int64 timestamp = 1 [json_name = "timestamp"]; + * int64 timestamp = 1; * @return The timestamp. */ @java.lang.Override @@ -3078,7 +3077,7 @@ public long getTimestamp() { * The conditional operator. * * - * .payload.v1.Remove.Timestamp.Operator operator = 2 [json_name = "operator"]; + * .payload.v1.Remove.Timestamp.Operator operator = 2; * @return The enum numeric value on the wire for operator. */ @java.lang.Override public int getOperatorValue() { @@ -3089,7 +3088,7 @@ public long getTimestamp() { * The conditional operator. * * - * .payload.v1.Remove.Timestamp.Operator operator = 2 [json_name = "operator"]; + * .payload.v1.Remove.Timestamp.Operator operator = 2; * @return The operator. */ @java.lang.Override public org.vdaas.vald.api.v1.payload.Remove.Timestamp.Operator getOperator() { @@ -3455,7 +3454,7 @@ public Builder mergeFrom( * The timestamp. * * - * int64 timestamp = 1 [json_name = "timestamp"]; + * int64 timestamp = 1; * @return The timestamp. */ @java.lang.Override @@ -3467,7 +3466,7 @@ public long getTimestamp() { * The timestamp. * * - * int64 timestamp = 1 [json_name = "timestamp"]; + * int64 timestamp = 1; * @param value The timestamp to set. * @return This builder for chaining. */ @@ -3483,7 +3482,7 @@ public Builder setTimestamp(long value) { * The timestamp. * * - * int64 timestamp = 1 [json_name = "timestamp"]; + * int64 timestamp = 1; * @return This builder for chaining. */ public Builder clearTimestamp() { @@ -3499,7 +3498,7 @@ public Builder clearTimestamp() { * The conditional operator. * * - * .payload.v1.Remove.Timestamp.Operator operator = 2 [json_name = "operator"]; + * .payload.v1.Remove.Timestamp.Operator operator = 2; * @return The enum numeric value on the wire for operator. */ @java.lang.Override public int getOperatorValue() { @@ -3510,7 +3509,7 @@ public Builder clearTimestamp() { * The conditional operator. * * - * .payload.v1.Remove.Timestamp.Operator operator = 2 [json_name = "operator"]; + * .payload.v1.Remove.Timestamp.Operator operator = 2; * @param value The enum numeric value on the wire for operator to set. * @return This builder for chaining. */ @@ -3525,7 +3524,7 @@ public Builder setOperatorValue(int value) { * The conditional operator. * * - * .payload.v1.Remove.Timestamp.Operator operator = 2 [json_name = "operator"]; + * .payload.v1.Remove.Timestamp.Operator operator = 2; * @return The operator. */ @java.lang.Override @@ -3538,7 +3537,7 @@ public org.vdaas.vald.api.v1.payload.Remove.Timestamp.Operator getOperator() { * The conditional operator. * * - * .payload.v1.Remove.Timestamp.Operator operator = 2 [json_name = "operator"]; + * .payload.v1.Remove.Timestamp.Operator operator = 2; * @param value The operator to set. * @return This builder for chaining. */ @@ -3556,7 +3555,7 @@ public Builder setOperator(org.vdaas.vald.api.v1.payload.Remove.Timestamp.Operat * The conditional operator. * * - * .payload.v1.Remove.Timestamp.Operator operator = 2 [json_name = "operator"]; + * .payload.v1.Remove.Timestamp.Operator operator = 2; * @return This builder for chaining. */ public Builder clearOperator() { @@ -3638,7 +3637,7 @@ public interface ConfigOrBuilder extends * A flag to skip exist check during upsert operation. * * - * bool skip_strict_exist_check = 1 [json_name = "skipStrictExistCheck"]; + * bool skip_strict_exist_check = 1; * @return The skipStrictExistCheck. */ boolean getSkipStrictExistCheck(); @@ -3648,7 +3647,7 @@ public interface ConfigOrBuilder extends * Remove timestamp. * * - * int64 timestamp = 3 [json_name = "timestamp"]; + * int64 timestamp = 3; * @return The timestamp. */ long getTimestamp(); @@ -3699,7 +3698,7 @@ protected java.lang.Object newInstance( * A flag to skip exist check during upsert operation. * * - * bool skip_strict_exist_check = 1 [json_name = "skipStrictExistCheck"]; + * bool skip_strict_exist_check = 1; * @return The skipStrictExistCheck. */ @java.lang.Override @@ -3714,7 +3713,7 @@ public boolean getSkipStrictExistCheck() { * Remove timestamp. * * - * int64 timestamp = 3 [json_name = "timestamp"]; + * int64 timestamp = 3; * @return The timestamp. */ @java.lang.Override @@ -4082,7 +4081,7 @@ public Builder mergeFrom( * A flag to skip exist check during upsert operation. * * - * bool skip_strict_exist_check = 1 [json_name = "skipStrictExistCheck"]; + * bool skip_strict_exist_check = 1; * @return The skipStrictExistCheck. */ @java.lang.Override @@ -4094,7 +4093,7 @@ public boolean getSkipStrictExistCheck() { * A flag to skip exist check during upsert operation. * * - * bool skip_strict_exist_check = 1 [json_name = "skipStrictExistCheck"]; + * bool skip_strict_exist_check = 1; * @param value The skipStrictExistCheck to set. * @return This builder for chaining. */ @@ -4110,7 +4109,7 @@ public Builder setSkipStrictExistCheck(boolean value) { * A flag to skip exist check during upsert operation. * * - * bool skip_strict_exist_check = 1 [json_name = "skipStrictExistCheck"]; + * bool skip_strict_exist_check = 1; * @return This builder for chaining. */ public Builder clearSkipStrictExistCheck() { @@ -4126,7 +4125,7 @@ public Builder clearSkipStrictExistCheck() { * Remove timestamp. * * - * int64 timestamp = 3 [json_name = "timestamp"]; + * int64 timestamp = 3; * @return The timestamp. */ @java.lang.Override @@ -4138,7 +4137,7 @@ public long getTimestamp() { * Remove timestamp. * * - * int64 timestamp = 3 [json_name = "timestamp"]; + * int64 timestamp = 3; * @param value The timestamp to set. * @return This builder for chaining. */ @@ -4154,7 +4153,7 @@ public Builder setTimestamp(long value) { * Remove timestamp. * * - * int64 timestamp = 3 [json_name = "timestamp"]; + * int64 timestamp = 3; * @return This builder for chaining. */ public Builder clearTimestamp() { diff --git a/src/main/java/org/vdaas/vald/api/v1/payload/RemoveOrBuilder.java b/src/main/java/org/vdaas/vald/api/v1/payload/RemoveOrBuilder.java index fa0e5719..5e444887 100644 --- a/src/main/java/org/vdaas/vald/api/v1/payload/RemoveOrBuilder.java +++ b/src/main/java/org/vdaas/vald/api/v1/payload/RemoveOrBuilder.java @@ -1,7 +1,6 @@ // Generated by the protocol buffer compiler. DO NOT EDIT! -// source: v1/payload/payload.proto +// source: apis/proto/v1/payload/payload.proto -// Protobuf Java Version: 3.25.1 package org.vdaas.vald.api.v1.payload; public interface RemoveOrBuilder extends diff --git a/src/main/java/org/vdaas/vald/api/v1/payload/Search.java b/src/main/java/org/vdaas/vald/api/v1/payload/Search.java index f2e30350..c0aaef3a 100644 --- a/src/main/java/org/vdaas/vald/api/v1/payload/Search.java +++ b/src/main/java/org/vdaas/vald/api/v1/payload/Search.java @@ -1,7 +1,6 @@ // Generated by the protocol buffer compiler. DO NOT EDIT! -// source: v1/payload/payload.proto +// source: apis/proto/v1/payload/payload.proto -// Protobuf Java Version: 3.25.1 package org.vdaas.vald.api.v1.payload; /** @@ -191,7 +190,7 @@ public interface RequestOrBuilder extends * The vector to be searched. * * - * repeated float vector = 1 [json_name = "vector", (.buf.validate.field) = { ... } + * repeated float vector = 1 [(.validate.rules) = { ... } * @return A list containing the vector. */ java.util.List getVectorList(); @@ -200,7 +199,7 @@ public interface RequestOrBuilder extends * The vector to be searched. * * - * repeated float vector = 1 [json_name = "vector", (.buf.validate.field) = { ... } + * repeated float vector = 1 [(.validate.rules) = { ... } * @return The count of vector. */ int getVectorCount(); @@ -209,7 +208,7 @@ public interface RequestOrBuilder extends * The vector to be searched. * * - * repeated float vector = 1 [json_name = "vector", (.buf.validate.field) = { ... } + * repeated float vector = 1 [(.validate.rules) = { ... } * @param index The index of the element to return. * @return The vector at the given index. */ @@ -220,7 +219,7 @@ public interface RequestOrBuilder extends * The configuration of the search request. * * - * .payload.v1.Search.Config config = 2 [json_name = "config"]; + * .payload.v1.Search.Config config = 2; * @return Whether the config field is set. */ boolean hasConfig(); @@ -229,7 +228,7 @@ public interface RequestOrBuilder extends * The configuration of the search request. * * - * .payload.v1.Search.Config config = 2 [json_name = "config"]; + * .payload.v1.Search.Config config = 2; * @return The config. */ org.vdaas.vald.api.v1.payload.Search.Config getConfig(); @@ -238,7 +237,7 @@ public interface RequestOrBuilder extends * The configuration of the search request. * * - * .payload.v1.Search.Config config = 2 [json_name = "config"]; + * .payload.v1.Search.Config config = 2; */ org.vdaas.vald.api.v1.payload.Search.ConfigOrBuilder getConfigOrBuilder(); } @@ -292,7 +291,7 @@ protected java.lang.Object newInstance( * The vector to be searched. * * - * repeated float vector = 1 [json_name = "vector", (.buf.validate.field) = { ... } + * repeated float vector = 1 [(.validate.rules) = { ... } * @return A list containing the vector. */ @java.lang.Override @@ -305,7 +304,7 @@ protected java.lang.Object newInstance( * The vector to be searched. * * - * repeated float vector = 1 [json_name = "vector", (.buf.validate.field) = { ... } + * repeated float vector = 1 [(.validate.rules) = { ... } * @return The count of vector. */ public int getVectorCount() { @@ -316,7 +315,7 @@ public int getVectorCount() { * The vector to be searched. * * - * repeated float vector = 1 [json_name = "vector", (.buf.validate.field) = { ... } + * repeated float vector = 1 [(.validate.rules) = { ... } * @param index The index of the element to return. * @return The vector at the given index. */ @@ -332,7 +331,7 @@ public float getVector(int index) { * The configuration of the search request. * * - * .payload.v1.Search.Config config = 2 [json_name = "config"]; + * .payload.v1.Search.Config config = 2; * @return Whether the config field is set. */ @java.lang.Override @@ -344,7 +343,7 @@ public boolean hasConfig() { * The configuration of the search request. * * - * .payload.v1.Search.Config config = 2 [json_name = "config"]; + * .payload.v1.Search.Config config = 2; * @return The config. */ @java.lang.Override @@ -356,7 +355,7 @@ public org.vdaas.vald.api.v1.payload.Search.Config getConfig() { * The configuration of the search request. * * - * .payload.v1.Search.Config config = 2 [json_name = "config"]; + * .payload.v1.Search.Config config = 2; */ @java.lang.Override public org.vdaas.vald.api.v1.payload.Search.ConfigOrBuilder getConfigOrBuilder() { @@ -790,7 +789,7 @@ private void ensureVectorIsMutable(int capacity) { * The vector to be searched. * * - * repeated float vector = 1 [json_name = "vector", (.buf.validate.field) = { ... } + * repeated float vector = 1 [(.validate.rules) = { ... } * @return A list containing the vector. */ public java.util.List @@ -803,7 +802,7 @@ private void ensureVectorIsMutable(int capacity) { * The vector to be searched. * * - * repeated float vector = 1 [json_name = "vector", (.buf.validate.field) = { ... } + * repeated float vector = 1 [(.validate.rules) = { ... } * @return The count of vector. */ public int getVectorCount() { @@ -814,7 +813,7 @@ public int getVectorCount() { * The vector to be searched. * * - * repeated float vector = 1 [json_name = "vector", (.buf.validate.field) = { ... } + * repeated float vector = 1 [(.validate.rules) = { ... } * @param index The index of the element to return. * @return The vector at the given index. */ @@ -826,7 +825,7 @@ public float getVector(int index) { * The vector to be searched. * * - * repeated float vector = 1 [json_name = "vector", (.buf.validate.field) = { ... } + * repeated float vector = 1 [(.validate.rules) = { ... } * @param index The index to set the value at. * @param value The vector to set. * @return This builder for chaining. @@ -845,7 +844,7 @@ public Builder setVector( * The vector to be searched. * * - * repeated float vector = 1 [json_name = "vector", (.buf.validate.field) = { ... } + * repeated float vector = 1 [(.validate.rules) = { ... } * @param value The vector to add. * @return This builder for chaining. */ @@ -862,7 +861,7 @@ public Builder addVector(float value) { * The vector to be searched. * * - * repeated float vector = 1 [json_name = "vector", (.buf.validate.field) = { ... } + * repeated float vector = 1 [(.validate.rules) = { ... } * @param values The vector to add. * @return This builder for chaining. */ @@ -880,7 +879,7 @@ public Builder addAllVector( * The vector to be searched. * * - * repeated float vector = 1 [json_name = "vector", (.buf.validate.field) = { ... } + * repeated float vector = 1 [(.validate.rules) = { ... } * @return This builder for chaining. */ public Builder clearVector() { @@ -898,7 +897,7 @@ public Builder clearVector() { * The configuration of the search request. * * - * .payload.v1.Search.Config config = 2 [json_name = "config"]; + * .payload.v1.Search.Config config = 2; * @return Whether the config field is set. */ public boolean hasConfig() { @@ -909,7 +908,7 @@ public boolean hasConfig() { * The configuration of the search request. * * - * .payload.v1.Search.Config config = 2 [json_name = "config"]; + * .payload.v1.Search.Config config = 2; * @return The config. */ public org.vdaas.vald.api.v1.payload.Search.Config getConfig() { @@ -924,7 +923,7 @@ public org.vdaas.vald.api.v1.payload.Search.Config getConfig() { * The configuration of the search request. * * - * .payload.v1.Search.Config config = 2 [json_name = "config"]; + * .payload.v1.Search.Config config = 2; */ public Builder setConfig(org.vdaas.vald.api.v1.payload.Search.Config value) { if (configBuilder_ == null) { @@ -944,7 +943,7 @@ public Builder setConfig(org.vdaas.vald.api.v1.payload.Search.Config value) { * The configuration of the search request. * * - * .payload.v1.Search.Config config = 2 [json_name = "config"]; + * .payload.v1.Search.Config config = 2; */ public Builder setConfig( org.vdaas.vald.api.v1.payload.Search.Config.Builder builderForValue) { @@ -962,7 +961,7 @@ public Builder setConfig( * The configuration of the search request. * * - * .payload.v1.Search.Config config = 2 [json_name = "config"]; + * .payload.v1.Search.Config config = 2; */ public Builder mergeConfig(org.vdaas.vald.api.v1.payload.Search.Config value) { if (configBuilder_ == null) { @@ -987,7 +986,7 @@ public Builder mergeConfig(org.vdaas.vald.api.v1.payload.Search.Config value) { * The configuration of the search request. * * - * .payload.v1.Search.Config config = 2 [json_name = "config"]; + * .payload.v1.Search.Config config = 2; */ public Builder clearConfig() { bitField0_ = (bitField0_ & ~0x00000002); @@ -1004,7 +1003,7 @@ public Builder clearConfig() { * The configuration of the search request. * * - * .payload.v1.Search.Config config = 2 [json_name = "config"]; + * .payload.v1.Search.Config config = 2; */ public org.vdaas.vald.api.v1.payload.Search.Config.Builder getConfigBuilder() { bitField0_ |= 0x00000002; @@ -1016,7 +1015,7 @@ public org.vdaas.vald.api.v1.payload.Search.Config.Builder getConfigBuilder() { * The configuration of the search request. * * - * .payload.v1.Search.Config config = 2 [json_name = "config"]; + * .payload.v1.Search.Config config = 2; */ public org.vdaas.vald.api.v1.payload.Search.ConfigOrBuilder getConfigOrBuilder() { if (configBuilder_ != null) { @@ -1031,7 +1030,7 @@ public org.vdaas.vald.api.v1.payload.Search.ConfigOrBuilder getConfigOrBuilder() * The configuration of the search request. * * - * .payload.v1.Search.Config config = 2 [json_name = "config"]; + * .payload.v1.Search.Config config = 2; */ private com.google.protobuf.SingleFieldBuilderV3< org.vdaas.vald.api.v1.payload.Search.Config, org.vdaas.vald.api.v1.payload.Search.Config.Builder, org.vdaas.vald.api.v1.payload.Search.ConfigOrBuilder> @@ -1119,7 +1118,7 @@ public interface MultiRequestOrBuilder extends * Represent the multiple search request content. * * - * repeated .payload.v1.Search.Request requests = 1 [json_name = "requests"]; + * repeated .payload.v1.Search.Request requests = 1; */ java.util.List getRequestsList(); @@ -1128,7 +1127,7 @@ public interface MultiRequestOrBuilder extends * Represent the multiple search request content. * * - * repeated .payload.v1.Search.Request requests = 1 [json_name = "requests"]; + * repeated .payload.v1.Search.Request requests = 1; */ org.vdaas.vald.api.v1.payload.Search.Request getRequests(int index); /** @@ -1136,7 +1135,7 @@ public interface MultiRequestOrBuilder extends * Represent the multiple search request content. * * - * repeated .payload.v1.Search.Request requests = 1 [json_name = "requests"]; + * repeated .payload.v1.Search.Request requests = 1; */ int getRequestsCount(); /** @@ -1144,7 +1143,7 @@ public interface MultiRequestOrBuilder extends * Represent the multiple search request content. * * - * repeated .payload.v1.Search.Request requests = 1 [json_name = "requests"]; + * repeated .payload.v1.Search.Request requests = 1; */ java.util.List getRequestsOrBuilderList(); @@ -1153,7 +1152,7 @@ public interface MultiRequestOrBuilder extends * Represent the multiple search request content. * * - * repeated .payload.v1.Search.Request requests = 1 [json_name = "requests"]; + * repeated .payload.v1.Search.Request requests = 1; */ org.vdaas.vald.api.v1.payload.Search.RequestOrBuilder getRequestsOrBuilder( int index); @@ -1206,7 +1205,7 @@ protected java.lang.Object newInstance( * Represent the multiple search request content. * * - * repeated .payload.v1.Search.Request requests = 1 [json_name = "requests"]; + * repeated .payload.v1.Search.Request requests = 1; */ @java.lang.Override public java.util.List getRequestsList() { @@ -1217,7 +1216,7 @@ public java.util.List getRequestsL * Represent the multiple search request content. * * - * repeated .payload.v1.Search.Request requests = 1 [json_name = "requests"]; + * repeated .payload.v1.Search.Request requests = 1; */ @java.lang.Override public java.util.List @@ -1229,7 +1228,7 @@ public java.util.List getRequestsL * Represent the multiple search request content. * * - * repeated .payload.v1.Search.Request requests = 1 [json_name = "requests"]; + * repeated .payload.v1.Search.Request requests = 1; */ @java.lang.Override public int getRequestsCount() { @@ -1240,7 +1239,7 @@ public int getRequestsCount() { * Represent the multiple search request content. * * - * repeated .payload.v1.Search.Request requests = 1 [json_name = "requests"]; + * repeated .payload.v1.Search.Request requests = 1; */ @java.lang.Override public org.vdaas.vald.api.v1.payload.Search.Request getRequests(int index) { @@ -1251,7 +1250,7 @@ public org.vdaas.vald.api.v1.payload.Search.Request getRequests(int index) { * Represent the multiple search request content. * * - * repeated .payload.v1.Search.Request requests = 1 [json_name = "requests"]; + * repeated .payload.v1.Search.Request requests = 1; */ @java.lang.Override public org.vdaas.vald.api.v1.payload.Search.RequestOrBuilder getRequestsOrBuilder( @@ -1654,7 +1653,7 @@ private void ensureRequestsIsMutable() { * Represent the multiple search request content. * * - * repeated .payload.v1.Search.Request requests = 1 [json_name = "requests"]; + * repeated .payload.v1.Search.Request requests = 1; */ public java.util.List getRequestsList() { if (requestsBuilder_ == null) { @@ -1668,7 +1667,7 @@ public java.util.List getRequestsL * Represent the multiple search request content. * * - * repeated .payload.v1.Search.Request requests = 1 [json_name = "requests"]; + * repeated .payload.v1.Search.Request requests = 1; */ public int getRequestsCount() { if (requestsBuilder_ == null) { @@ -1682,7 +1681,7 @@ public int getRequestsCount() { * Represent the multiple search request content. * * - * repeated .payload.v1.Search.Request requests = 1 [json_name = "requests"]; + * repeated .payload.v1.Search.Request requests = 1; */ public org.vdaas.vald.api.v1.payload.Search.Request getRequests(int index) { if (requestsBuilder_ == null) { @@ -1696,7 +1695,7 @@ public org.vdaas.vald.api.v1.payload.Search.Request getRequests(int index) { * Represent the multiple search request content. * * - * repeated .payload.v1.Search.Request requests = 1 [json_name = "requests"]; + * repeated .payload.v1.Search.Request requests = 1; */ public Builder setRequests( int index, org.vdaas.vald.api.v1.payload.Search.Request value) { @@ -1717,7 +1716,7 @@ public Builder setRequests( * Represent the multiple search request content. * * - * repeated .payload.v1.Search.Request requests = 1 [json_name = "requests"]; + * repeated .payload.v1.Search.Request requests = 1; */ public Builder setRequests( int index, org.vdaas.vald.api.v1.payload.Search.Request.Builder builderForValue) { @@ -1735,7 +1734,7 @@ public Builder setRequests( * Represent the multiple search request content. * * - * repeated .payload.v1.Search.Request requests = 1 [json_name = "requests"]; + * repeated .payload.v1.Search.Request requests = 1; */ public Builder addRequests(org.vdaas.vald.api.v1.payload.Search.Request value) { if (requestsBuilder_ == null) { @@ -1755,7 +1754,7 @@ public Builder addRequests(org.vdaas.vald.api.v1.payload.Search.Request value) { * Represent the multiple search request content. * * - * repeated .payload.v1.Search.Request requests = 1 [json_name = "requests"]; + * repeated .payload.v1.Search.Request requests = 1; */ public Builder addRequests( int index, org.vdaas.vald.api.v1.payload.Search.Request value) { @@ -1776,7 +1775,7 @@ public Builder addRequests( * Represent the multiple search request content. * * - * repeated .payload.v1.Search.Request requests = 1 [json_name = "requests"]; + * repeated .payload.v1.Search.Request requests = 1; */ public Builder addRequests( org.vdaas.vald.api.v1.payload.Search.Request.Builder builderForValue) { @@ -1794,7 +1793,7 @@ public Builder addRequests( * Represent the multiple search request content. * * - * repeated .payload.v1.Search.Request requests = 1 [json_name = "requests"]; + * repeated .payload.v1.Search.Request requests = 1; */ public Builder addRequests( int index, org.vdaas.vald.api.v1.payload.Search.Request.Builder builderForValue) { @@ -1812,7 +1811,7 @@ public Builder addRequests( * Represent the multiple search request content. * * - * repeated .payload.v1.Search.Request requests = 1 [json_name = "requests"]; + * repeated .payload.v1.Search.Request requests = 1; */ public Builder addAllRequests( java.lang.Iterable values) { @@ -1831,7 +1830,7 @@ public Builder addAllRequests( * Represent the multiple search request content. * * - * repeated .payload.v1.Search.Request requests = 1 [json_name = "requests"]; + * repeated .payload.v1.Search.Request requests = 1; */ public Builder clearRequests() { if (requestsBuilder_ == null) { @@ -1848,7 +1847,7 @@ public Builder clearRequests() { * Represent the multiple search request content. * * - * repeated .payload.v1.Search.Request requests = 1 [json_name = "requests"]; + * repeated .payload.v1.Search.Request requests = 1; */ public Builder removeRequests(int index) { if (requestsBuilder_ == null) { @@ -1865,7 +1864,7 @@ public Builder removeRequests(int index) { * Represent the multiple search request content. * * - * repeated .payload.v1.Search.Request requests = 1 [json_name = "requests"]; + * repeated .payload.v1.Search.Request requests = 1; */ public org.vdaas.vald.api.v1.payload.Search.Request.Builder getRequestsBuilder( int index) { @@ -1876,7 +1875,7 @@ public org.vdaas.vald.api.v1.payload.Search.Request.Builder getRequestsBuilder( * Represent the multiple search request content. * * - * repeated .payload.v1.Search.Request requests = 1 [json_name = "requests"]; + * repeated .payload.v1.Search.Request requests = 1; */ public org.vdaas.vald.api.v1.payload.Search.RequestOrBuilder getRequestsOrBuilder( int index) { @@ -1890,7 +1889,7 @@ public org.vdaas.vald.api.v1.payload.Search.RequestOrBuilder getRequestsOrBuilde * Represent the multiple search request content. * * - * repeated .payload.v1.Search.Request requests = 1 [json_name = "requests"]; + * repeated .payload.v1.Search.Request requests = 1; */ public java.util.List getRequestsOrBuilderList() { @@ -1905,7 +1904,7 @@ public org.vdaas.vald.api.v1.payload.Search.RequestOrBuilder getRequestsOrBuilde * Represent the multiple search request content. * * - * repeated .payload.v1.Search.Request requests = 1 [json_name = "requests"]; + * repeated .payload.v1.Search.Request requests = 1; */ public org.vdaas.vald.api.v1.payload.Search.Request.Builder addRequestsBuilder() { return getRequestsFieldBuilder().addBuilder( @@ -1916,7 +1915,7 @@ public org.vdaas.vald.api.v1.payload.Search.Request.Builder addRequestsBuilder() * Represent the multiple search request content. * * - * repeated .payload.v1.Search.Request requests = 1 [json_name = "requests"]; + * repeated .payload.v1.Search.Request requests = 1; */ public org.vdaas.vald.api.v1.payload.Search.Request.Builder addRequestsBuilder( int index) { @@ -1928,7 +1927,7 @@ public org.vdaas.vald.api.v1.payload.Search.Request.Builder addRequestsBuilder( * Represent the multiple search request content. * * - * repeated .payload.v1.Search.Request requests = 1 [json_name = "requests"]; + * repeated .payload.v1.Search.Request requests = 1; */ public java.util.List getRequestsBuilderList() { @@ -2021,7 +2020,7 @@ public interface IDRequestOrBuilder extends * The vector ID to be searched. * * - * string id = 1 [json_name = "id"]; + * string id = 1; * @return The id. */ java.lang.String getId(); @@ -2030,7 +2029,7 @@ public interface IDRequestOrBuilder extends * The vector ID to be searched. * * - * string id = 1 [json_name = "id"]; + * string id = 1; * @return The bytes for id. */ com.google.protobuf.ByteString @@ -2041,7 +2040,7 @@ public interface IDRequestOrBuilder extends * The configuration of the search request. * * - * .payload.v1.Search.Config config = 2 [json_name = "config"]; + * .payload.v1.Search.Config config = 2; * @return Whether the config field is set. */ boolean hasConfig(); @@ -2050,7 +2049,7 @@ public interface IDRequestOrBuilder extends * The configuration of the search request. * * - * .payload.v1.Search.Config config = 2 [json_name = "config"]; + * .payload.v1.Search.Config config = 2; * @return The config. */ org.vdaas.vald.api.v1.payload.Search.Config getConfig(); @@ -2059,7 +2058,7 @@ public interface IDRequestOrBuilder extends * The configuration of the search request. * * - * .payload.v1.Search.Config config = 2 [json_name = "config"]; + * .payload.v1.Search.Config config = 2; */ org.vdaas.vald.api.v1.payload.Search.ConfigOrBuilder getConfigOrBuilder(); } @@ -2112,7 +2111,7 @@ protected java.lang.Object newInstance( * The vector ID to be searched. * * - * string id = 1 [json_name = "id"]; + * string id = 1; * @return The id. */ @java.lang.Override @@ -2133,7 +2132,7 @@ public java.lang.String getId() { * The vector ID to be searched. * * - * string id = 1 [json_name = "id"]; + * string id = 1; * @return The bytes for id. */ @java.lang.Override @@ -2158,7 +2157,7 @@ public java.lang.String getId() { * The configuration of the search request. * * - * .payload.v1.Search.Config config = 2 [json_name = "config"]; + * .payload.v1.Search.Config config = 2; * @return Whether the config field is set. */ @java.lang.Override @@ -2170,7 +2169,7 @@ public boolean hasConfig() { * The configuration of the search request. * * - * .payload.v1.Search.Config config = 2 [json_name = "config"]; + * .payload.v1.Search.Config config = 2; * @return The config. */ @java.lang.Override @@ -2182,7 +2181,7 @@ public org.vdaas.vald.api.v1.payload.Search.Config getConfig() { * The configuration of the search request. * * - * .payload.v1.Search.Config config = 2 [json_name = "config"]; + * .payload.v1.Search.Config config = 2; */ @java.lang.Override public org.vdaas.vald.api.v1.payload.Search.ConfigOrBuilder getConfigOrBuilder() { @@ -2570,7 +2569,7 @@ public Builder mergeFrom( * The vector ID to be searched. * * - * string id = 1 [json_name = "id"]; + * string id = 1; * @return The id. */ public java.lang.String getId() { @@ -2590,7 +2589,7 @@ public java.lang.String getId() { * The vector ID to be searched. * * - * string id = 1 [json_name = "id"]; + * string id = 1; * @return The bytes for id. */ public com.google.protobuf.ByteString @@ -2611,7 +2610,7 @@ public java.lang.String getId() { * The vector ID to be searched. * * - * string id = 1 [json_name = "id"]; + * string id = 1; * @param value The id to set. * @return This builder for chaining. */ @@ -2628,7 +2627,7 @@ public Builder setId( * The vector ID to be searched. * * - * string id = 1 [json_name = "id"]; + * string id = 1; * @return This builder for chaining. */ public Builder clearId() { @@ -2642,7 +2641,7 @@ public Builder clearId() { * The vector ID to be searched. * * - * string id = 1 [json_name = "id"]; + * string id = 1; * @param value The bytes for id to set. * @return This builder for chaining. */ @@ -2664,7 +2663,7 @@ public Builder setIdBytes( * The configuration of the search request. * * - * .payload.v1.Search.Config config = 2 [json_name = "config"]; + * .payload.v1.Search.Config config = 2; * @return Whether the config field is set. */ public boolean hasConfig() { @@ -2675,7 +2674,7 @@ public boolean hasConfig() { * The configuration of the search request. * * - * .payload.v1.Search.Config config = 2 [json_name = "config"]; + * .payload.v1.Search.Config config = 2; * @return The config. */ public org.vdaas.vald.api.v1.payload.Search.Config getConfig() { @@ -2690,7 +2689,7 @@ public org.vdaas.vald.api.v1.payload.Search.Config getConfig() { * The configuration of the search request. * * - * .payload.v1.Search.Config config = 2 [json_name = "config"]; + * .payload.v1.Search.Config config = 2; */ public Builder setConfig(org.vdaas.vald.api.v1.payload.Search.Config value) { if (configBuilder_ == null) { @@ -2710,7 +2709,7 @@ public Builder setConfig(org.vdaas.vald.api.v1.payload.Search.Config value) { * The configuration of the search request. * * - * .payload.v1.Search.Config config = 2 [json_name = "config"]; + * .payload.v1.Search.Config config = 2; */ public Builder setConfig( org.vdaas.vald.api.v1.payload.Search.Config.Builder builderForValue) { @@ -2728,7 +2727,7 @@ public Builder setConfig( * The configuration of the search request. * * - * .payload.v1.Search.Config config = 2 [json_name = "config"]; + * .payload.v1.Search.Config config = 2; */ public Builder mergeConfig(org.vdaas.vald.api.v1.payload.Search.Config value) { if (configBuilder_ == null) { @@ -2753,7 +2752,7 @@ public Builder mergeConfig(org.vdaas.vald.api.v1.payload.Search.Config value) { * The configuration of the search request. * * - * .payload.v1.Search.Config config = 2 [json_name = "config"]; + * .payload.v1.Search.Config config = 2; */ public Builder clearConfig() { bitField0_ = (bitField0_ & ~0x00000002); @@ -2770,7 +2769,7 @@ public Builder clearConfig() { * The configuration of the search request. * * - * .payload.v1.Search.Config config = 2 [json_name = "config"]; + * .payload.v1.Search.Config config = 2; */ public org.vdaas.vald.api.v1.payload.Search.Config.Builder getConfigBuilder() { bitField0_ |= 0x00000002; @@ -2782,7 +2781,7 @@ public org.vdaas.vald.api.v1.payload.Search.Config.Builder getConfigBuilder() { * The configuration of the search request. * * - * .payload.v1.Search.Config config = 2 [json_name = "config"]; + * .payload.v1.Search.Config config = 2; */ public org.vdaas.vald.api.v1.payload.Search.ConfigOrBuilder getConfigOrBuilder() { if (configBuilder_ != null) { @@ -2797,7 +2796,7 @@ public org.vdaas.vald.api.v1.payload.Search.ConfigOrBuilder getConfigOrBuilder() * The configuration of the search request. * * - * .payload.v1.Search.Config config = 2 [json_name = "config"]; + * .payload.v1.Search.Config config = 2; */ private com.google.protobuf.SingleFieldBuilderV3< org.vdaas.vald.api.v1.payload.Search.Config, org.vdaas.vald.api.v1.payload.Search.Config.Builder, org.vdaas.vald.api.v1.payload.Search.ConfigOrBuilder> @@ -2885,7 +2884,7 @@ public interface MultiIDRequestOrBuilder extends * Represent the multiple search by ID request content. * * - * repeated .payload.v1.Search.IDRequest requests = 1 [json_name = "requests"]; + * repeated .payload.v1.Search.IDRequest requests = 1; */ java.util.List getRequestsList(); @@ -2894,7 +2893,7 @@ public interface MultiIDRequestOrBuilder extends * Represent the multiple search by ID request content. * * - * repeated .payload.v1.Search.IDRequest requests = 1 [json_name = "requests"]; + * repeated .payload.v1.Search.IDRequest requests = 1; */ org.vdaas.vald.api.v1.payload.Search.IDRequest getRequests(int index); /** @@ -2902,7 +2901,7 @@ public interface MultiIDRequestOrBuilder extends * Represent the multiple search by ID request content. * * - * repeated .payload.v1.Search.IDRequest requests = 1 [json_name = "requests"]; + * repeated .payload.v1.Search.IDRequest requests = 1; */ int getRequestsCount(); /** @@ -2910,7 +2909,7 @@ public interface MultiIDRequestOrBuilder extends * Represent the multiple search by ID request content. * * - * repeated .payload.v1.Search.IDRequest requests = 1 [json_name = "requests"]; + * repeated .payload.v1.Search.IDRequest requests = 1; */ java.util.List getRequestsOrBuilderList(); @@ -2919,7 +2918,7 @@ public interface MultiIDRequestOrBuilder extends * Represent the multiple search by ID request content. * * - * repeated .payload.v1.Search.IDRequest requests = 1 [json_name = "requests"]; + * repeated .payload.v1.Search.IDRequest requests = 1; */ org.vdaas.vald.api.v1.payload.Search.IDRequestOrBuilder getRequestsOrBuilder( int index); @@ -2972,7 +2971,7 @@ protected java.lang.Object newInstance( * Represent the multiple search by ID request content. * * - * repeated .payload.v1.Search.IDRequest requests = 1 [json_name = "requests"]; + * repeated .payload.v1.Search.IDRequest requests = 1; */ @java.lang.Override public java.util.List getRequestsList() { @@ -2983,7 +2982,7 @@ public java.util.List getRequest * Represent the multiple search by ID request content. * * - * repeated .payload.v1.Search.IDRequest requests = 1 [json_name = "requests"]; + * repeated .payload.v1.Search.IDRequest requests = 1; */ @java.lang.Override public java.util.List @@ -2995,7 +2994,7 @@ public java.util.List getRequest * Represent the multiple search by ID request content. * * - * repeated .payload.v1.Search.IDRequest requests = 1 [json_name = "requests"]; + * repeated .payload.v1.Search.IDRequest requests = 1; */ @java.lang.Override public int getRequestsCount() { @@ -3006,7 +3005,7 @@ public int getRequestsCount() { * Represent the multiple search by ID request content. * * - * repeated .payload.v1.Search.IDRequest requests = 1 [json_name = "requests"]; + * repeated .payload.v1.Search.IDRequest requests = 1; */ @java.lang.Override public org.vdaas.vald.api.v1.payload.Search.IDRequest getRequests(int index) { @@ -3017,7 +3016,7 @@ public org.vdaas.vald.api.v1.payload.Search.IDRequest getRequests(int index) { * Represent the multiple search by ID request content. * * - * repeated .payload.v1.Search.IDRequest requests = 1 [json_name = "requests"]; + * repeated .payload.v1.Search.IDRequest requests = 1; */ @java.lang.Override public org.vdaas.vald.api.v1.payload.Search.IDRequestOrBuilder getRequestsOrBuilder( @@ -3420,7 +3419,7 @@ private void ensureRequestsIsMutable() { * Represent the multiple search by ID request content. * * - * repeated .payload.v1.Search.IDRequest requests = 1 [json_name = "requests"]; + * repeated .payload.v1.Search.IDRequest requests = 1; */ public java.util.List getRequestsList() { if (requestsBuilder_ == null) { @@ -3434,7 +3433,7 @@ public java.util.List getRequest * Represent the multiple search by ID request content. * * - * repeated .payload.v1.Search.IDRequest requests = 1 [json_name = "requests"]; + * repeated .payload.v1.Search.IDRequest requests = 1; */ public int getRequestsCount() { if (requestsBuilder_ == null) { @@ -3448,7 +3447,7 @@ public int getRequestsCount() { * Represent the multiple search by ID request content. * * - * repeated .payload.v1.Search.IDRequest requests = 1 [json_name = "requests"]; + * repeated .payload.v1.Search.IDRequest requests = 1; */ public org.vdaas.vald.api.v1.payload.Search.IDRequest getRequests(int index) { if (requestsBuilder_ == null) { @@ -3462,7 +3461,7 @@ public org.vdaas.vald.api.v1.payload.Search.IDRequest getRequests(int index) { * Represent the multiple search by ID request content. * * - * repeated .payload.v1.Search.IDRequest requests = 1 [json_name = "requests"]; + * repeated .payload.v1.Search.IDRequest requests = 1; */ public Builder setRequests( int index, org.vdaas.vald.api.v1.payload.Search.IDRequest value) { @@ -3483,7 +3482,7 @@ public Builder setRequests( * Represent the multiple search by ID request content. * * - * repeated .payload.v1.Search.IDRequest requests = 1 [json_name = "requests"]; + * repeated .payload.v1.Search.IDRequest requests = 1; */ public Builder setRequests( int index, org.vdaas.vald.api.v1.payload.Search.IDRequest.Builder builderForValue) { @@ -3501,7 +3500,7 @@ public Builder setRequests( * Represent the multiple search by ID request content. * * - * repeated .payload.v1.Search.IDRequest requests = 1 [json_name = "requests"]; + * repeated .payload.v1.Search.IDRequest requests = 1; */ public Builder addRequests(org.vdaas.vald.api.v1.payload.Search.IDRequest value) { if (requestsBuilder_ == null) { @@ -3521,7 +3520,7 @@ public Builder addRequests(org.vdaas.vald.api.v1.payload.Search.IDRequest value) * Represent the multiple search by ID request content. * * - * repeated .payload.v1.Search.IDRequest requests = 1 [json_name = "requests"]; + * repeated .payload.v1.Search.IDRequest requests = 1; */ public Builder addRequests( int index, org.vdaas.vald.api.v1.payload.Search.IDRequest value) { @@ -3542,7 +3541,7 @@ public Builder addRequests( * Represent the multiple search by ID request content. * * - * repeated .payload.v1.Search.IDRequest requests = 1 [json_name = "requests"]; + * repeated .payload.v1.Search.IDRequest requests = 1; */ public Builder addRequests( org.vdaas.vald.api.v1.payload.Search.IDRequest.Builder builderForValue) { @@ -3560,7 +3559,7 @@ public Builder addRequests( * Represent the multiple search by ID request content. * * - * repeated .payload.v1.Search.IDRequest requests = 1 [json_name = "requests"]; + * repeated .payload.v1.Search.IDRequest requests = 1; */ public Builder addRequests( int index, org.vdaas.vald.api.v1.payload.Search.IDRequest.Builder builderForValue) { @@ -3578,7 +3577,7 @@ public Builder addRequests( * Represent the multiple search by ID request content. * * - * repeated .payload.v1.Search.IDRequest requests = 1 [json_name = "requests"]; + * repeated .payload.v1.Search.IDRequest requests = 1; */ public Builder addAllRequests( java.lang.Iterable values) { @@ -3597,7 +3596,7 @@ public Builder addAllRequests( * Represent the multiple search by ID request content. * * - * repeated .payload.v1.Search.IDRequest requests = 1 [json_name = "requests"]; + * repeated .payload.v1.Search.IDRequest requests = 1; */ public Builder clearRequests() { if (requestsBuilder_ == null) { @@ -3614,7 +3613,7 @@ public Builder clearRequests() { * Represent the multiple search by ID request content. * * - * repeated .payload.v1.Search.IDRequest requests = 1 [json_name = "requests"]; + * repeated .payload.v1.Search.IDRequest requests = 1; */ public Builder removeRequests(int index) { if (requestsBuilder_ == null) { @@ -3631,7 +3630,7 @@ public Builder removeRequests(int index) { * Represent the multiple search by ID request content. * * - * repeated .payload.v1.Search.IDRequest requests = 1 [json_name = "requests"]; + * repeated .payload.v1.Search.IDRequest requests = 1; */ public org.vdaas.vald.api.v1.payload.Search.IDRequest.Builder getRequestsBuilder( int index) { @@ -3642,7 +3641,7 @@ public org.vdaas.vald.api.v1.payload.Search.IDRequest.Builder getRequestsBuilder * Represent the multiple search by ID request content. * * - * repeated .payload.v1.Search.IDRequest requests = 1 [json_name = "requests"]; + * repeated .payload.v1.Search.IDRequest requests = 1; */ public org.vdaas.vald.api.v1.payload.Search.IDRequestOrBuilder getRequestsOrBuilder( int index) { @@ -3656,7 +3655,7 @@ public org.vdaas.vald.api.v1.payload.Search.IDRequestOrBuilder getRequestsOrBuil * Represent the multiple search by ID request content. * * - * repeated .payload.v1.Search.IDRequest requests = 1 [json_name = "requests"]; + * repeated .payload.v1.Search.IDRequest requests = 1; */ public java.util.List getRequestsOrBuilderList() { @@ -3671,7 +3670,7 @@ public org.vdaas.vald.api.v1.payload.Search.IDRequestOrBuilder getRequestsOrBuil * Represent the multiple search by ID request content. * * - * repeated .payload.v1.Search.IDRequest requests = 1 [json_name = "requests"]; + * repeated .payload.v1.Search.IDRequest requests = 1; */ public org.vdaas.vald.api.v1.payload.Search.IDRequest.Builder addRequestsBuilder() { return getRequestsFieldBuilder().addBuilder( @@ -3682,7 +3681,7 @@ public org.vdaas.vald.api.v1.payload.Search.IDRequest.Builder addRequestsBuilder * Represent the multiple search by ID request content. * * - * repeated .payload.v1.Search.IDRequest requests = 1 [json_name = "requests"]; + * repeated .payload.v1.Search.IDRequest requests = 1; */ public org.vdaas.vald.api.v1.payload.Search.IDRequest.Builder addRequestsBuilder( int index) { @@ -3694,7 +3693,7 @@ public org.vdaas.vald.api.v1.payload.Search.IDRequest.Builder addRequestsBuilder * Represent the multiple search by ID request content. * * - * repeated .payload.v1.Search.IDRequest requests = 1 [json_name = "requests"]; + * repeated .payload.v1.Search.IDRequest requests = 1; */ public java.util.List getRequestsBuilderList() { @@ -3787,7 +3786,7 @@ public interface ObjectRequestOrBuilder extends * The binary object to be searched. * * - * bytes object = 1 [json_name = "object"]; + * bytes object = 1; * @return The object. */ com.google.protobuf.ByteString getObject(); @@ -3797,7 +3796,7 @@ public interface ObjectRequestOrBuilder extends * The configuration of the search request. * * - * .payload.v1.Search.Config config = 2 [json_name = "config"]; + * .payload.v1.Search.Config config = 2; * @return Whether the config field is set. */ boolean hasConfig(); @@ -3806,7 +3805,7 @@ public interface ObjectRequestOrBuilder extends * The configuration of the search request. * * - * .payload.v1.Search.Config config = 2 [json_name = "config"]; + * .payload.v1.Search.Config config = 2; * @return The config. */ org.vdaas.vald.api.v1.payload.Search.Config getConfig(); @@ -3815,7 +3814,7 @@ public interface ObjectRequestOrBuilder extends * The configuration of the search request. * * - * .payload.v1.Search.Config config = 2 [json_name = "config"]; + * .payload.v1.Search.Config config = 2; */ org.vdaas.vald.api.v1.payload.Search.ConfigOrBuilder getConfigOrBuilder(); @@ -3824,7 +3823,7 @@ public interface ObjectRequestOrBuilder extends * Filter configuration. * * - * .payload.v1.Filter.Target vectorizer = 3 [json_name = "vectorizer"]; + * .payload.v1.Filter.Target vectorizer = 3; * @return Whether the vectorizer field is set. */ boolean hasVectorizer(); @@ -3833,7 +3832,7 @@ public interface ObjectRequestOrBuilder extends * Filter configuration. * * - * .payload.v1.Filter.Target vectorizer = 3 [json_name = "vectorizer"]; + * .payload.v1.Filter.Target vectorizer = 3; * @return The vectorizer. */ org.vdaas.vald.api.v1.payload.Filter.Target getVectorizer(); @@ -3842,7 +3841,7 @@ public interface ObjectRequestOrBuilder extends * Filter configuration. * * - * .payload.v1.Filter.Target vectorizer = 3 [json_name = "vectorizer"]; + * .payload.v1.Filter.Target vectorizer = 3; */ org.vdaas.vald.api.v1.payload.Filter.TargetOrBuilder getVectorizerOrBuilder(); } @@ -3894,7 +3893,7 @@ protected java.lang.Object newInstance( * The binary object to be searched. * * - * bytes object = 1 [json_name = "object"]; + * bytes object = 1; * @return The object. */ @java.lang.Override @@ -3909,7 +3908,7 @@ public com.google.protobuf.ByteString getObject() { * The configuration of the search request. * * - * .payload.v1.Search.Config config = 2 [json_name = "config"]; + * .payload.v1.Search.Config config = 2; * @return Whether the config field is set. */ @java.lang.Override @@ -3921,7 +3920,7 @@ public boolean hasConfig() { * The configuration of the search request. * * - * .payload.v1.Search.Config config = 2 [json_name = "config"]; + * .payload.v1.Search.Config config = 2; * @return The config. */ @java.lang.Override @@ -3933,7 +3932,7 @@ public org.vdaas.vald.api.v1.payload.Search.Config getConfig() { * The configuration of the search request. * * - * .payload.v1.Search.Config config = 2 [json_name = "config"]; + * .payload.v1.Search.Config config = 2; */ @java.lang.Override public org.vdaas.vald.api.v1.payload.Search.ConfigOrBuilder getConfigOrBuilder() { @@ -3947,7 +3946,7 @@ public org.vdaas.vald.api.v1.payload.Search.ConfigOrBuilder getConfigOrBuilder() * Filter configuration. * * - * .payload.v1.Filter.Target vectorizer = 3 [json_name = "vectorizer"]; + * .payload.v1.Filter.Target vectorizer = 3; * @return Whether the vectorizer field is set. */ @java.lang.Override @@ -3959,7 +3958,7 @@ public boolean hasVectorizer() { * Filter configuration. * * - * .payload.v1.Filter.Target vectorizer = 3 [json_name = "vectorizer"]; + * .payload.v1.Filter.Target vectorizer = 3; * @return The vectorizer. */ @java.lang.Override @@ -3971,7 +3970,7 @@ public org.vdaas.vald.api.v1.payload.Filter.Target getVectorizer() { * Filter configuration. * * - * .payload.v1.Filter.Target vectorizer = 3 [json_name = "vectorizer"]; + * .payload.v1.Filter.Target vectorizer = 3; */ @java.lang.Override public org.vdaas.vald.api.v1.payload.Filter.TargetOrBuilder getVectorizerOrBuilder() { @@ -4396,7 +4395,7 @@ public Builder mergeFrom( * The binary object to be searched. * * - * bytes object = 1 [json_name = "object"]; + * bytes object = 1; * @return The object. */ @java.lang.Override @@ -4408,7 +4407,7 @@ public com.google.protobuf.ByteString getObject() { * The binary object to be searched. * * - * bytes object = 1 [json_name = "object"]; + * bytes object = 1; * @param value The object to set. * @return This builder for chaining. */ @@ -4424,7 +4423,7 @@ public Builder setObject(com.google.protobuf.ByteString value) { * The binary object to be searched. * * - * bytes object = 1 [json_name = "object"]; + * bytes object = 1; * @return This builder for chaining. */ public Builder clearObject() { @@ -4442,7 +4441,7 @@ public Builder clearObject() { * The configuration of the search request. * * - * .payload.v1.Search.Config config = 2 [json_name = "config"]; + * .payload.v1.Search.Config config = 2; * @return Whether the config field is set. */ public boolean hasConfig() { @@ -4453,7 +4452,7 @@ public boolean hasConfig() { * The configuration of the search request. * * - * .payload.v1.Search.Config config = 2 [json_name = "config"]; + * .payload.v1.Search.Config config = 2; * @return The config. */ public org.vdaas.vald.api.v1.payload.Search.Config getConfig() { @@ -4468,7 +4467,7 @@ public org.vdaas.vald.api.v1.payload.Search.Config getConfig() { * The configuration of the search request. * * - * .payload.v1.Search.Config config = 2 [json_name = "config"]; + * .payload.v1.Search.Config config = 2; */ public Builder setConfig(org.vdaas.vald.api.v1.payload.Search.Config value) { if (configBuilder_ == null) { @@ -4488,7 +4487,7 @@ public Builder setConfig(org.vdaas.vald.api.v1.payload.Search.Config value) { * The configuration of the search request. * * - * .payload.v1.Search.Config config = 2 [json_name = "config"]; + * .payload.v1.Search.Config config = 2; */ public Builder setConfig( org.vdaas.vald.api.v1.payload.Search.Config.Builder builderForValue) { @@ -4506,7 +4505,7 @@ public Builder setConfig( * The configuration of the search request. * * - * .payload.v1.Search.Config config = 2 [json_name = "config"]; + * .payload.v1.Search.Config config = 2; */ public Builder mergeConfig(org.vdaas.vald.api.v1.payload.Search.Config value) { if (configBuilder_ == null) { @@ -4531,7 +4530,7 @@ public Builder mergeConfig(org.vdaas.vald.api.v1.payload.Search.Config value) { * The configuration of the search request. * * - * .payload.v1.Search.Config config = 2 [json_name = "config"]; + * .payload.v1.Search.Config config = 2; */ public Builder clearConfig() { bitField0_ = (bitField0_ & ~0x00000002); @@ -4548,7 +4547,7 @@ public Builder clearConfig() { * The configuration of the search request. * * - * .payload.v1.Search.Config config = 2 [json_name = "config"]; + * .payload.v1.Search.Config config = 2; */ public org.vdaas.vald.api.v1.payload.Search.Config.Builder getConfigBuilder() { bitField0_ |= 0x00000002; @@ -4560,7 +4559,7 @@ public org.vdaas.vald.api.v1.payload.Search.Config.Builder getConfigBuilder() { * The configuration of the search request. * * - * .payload.v1.Search.Config config = 2 [json_name = "config"]; + * .payload.v1.Search.Config config = 2; */ public org.vdaas.vald.api.v1.payload.Search.ConfigOrBuilder getConfigOrBuilder() { if (configBuilder_ != null) { @@ -4575,7 +4574,7 @@ public org.vdaas.vald.api.v1.payload.Search.ConfigOrBuilder getConfigOrBuilder() * The configuration of the search request. * * - * .payload.v1.Search.Config config = 2 [json_name = "config"]; + * .payload.v1.Search.Config config = 2; */ private com.google.protobuf.SingleFieldBuilderV3< org.vdaas.vald.api.v1.payload.Search.Config, org.vdaas.vald.api.v1.payload.Search.Config.Builder, org.vdaas.vald.api.v1.payload.Search.ConfigOrBuilder> @@ -4599,7 +4598,7 @@ public org.vdaas.vald.api.v1.payload.Search.ConfigOrBuilder getConfigOrBuilder() * Filter configuration. * * - * .payload.v1.Filter.Target vectorizer = 3 [json_name = "vectorizer"]; + * .payload.v1.Filter.Target vectorizer = 3; * @return Whether the vectorizer field is set. */ public boolean hasVectorizer() { @@ -4610,7 +4609,7 @@ public boolean hasVectorizer() { * Filter configuration. * * - * .payload.v1.Filter.Target vectorizer = 3 [json_name = "vectorizer"]; + * .payload.v1.Filter.Target vectorizer = 3; * @return The vectorizer. */ public org.vdaas.vald.api.v1.payload.Filter.Target getVectorizer() { @@ -4625,7 +4624,7 @@ public org.vdaas.vald.api.v1.payload.Filter.Target getVectorizer() { * Filter configuration. * * - * .payload.v1.Filter.Target vectorizer = 3 [json_name = "vectorizer"]; + * .payload.v1.Filter.Target vectorizer = 3; */ public Builder setVectorizer(org.vdaas.vald.api.v1.payload.Filter.Target value) { if (vectorizerBuilder_ == null) { @@ -4645,7 +4644,7 @@ public Builder setVectorizer(org.vdaas.vald.api.v1.payload.Filter.Target value) * Filter configuration. * * - * .payload.v1.Filter.Target vectorizer = 3 [json_name = "vectorizer"]; + * .payload.v1.Filter.Target vectorizer = 3; */ public Builder setVectorizer( org.vdaas.vald.api.v1.payload.Filter.Target.Builder builderForValue) { @@ -4663,7 +4662,7 @@ public Builder setVectorizer( * Filter configuration. * * - * .payload.v1.Filter.Target vectorizer = 3 [json_name = "vectorizer"]; + * .payload.v1.Filter.Target vectorizer = 3; */ public Builder mergeVectorizer(org.vdaas.vald.api.v1.payload.Filter.Target value) { if (vectorizerBuilder_ == null) { @@ -4688,7 +4687,7 @@ public Builder mergeVectorizer(org.vdaas.vald.api.v1.payload.Filter.Target value * Filter configuration. * * - * .payload.v1.Filter.Target vectorizer = 3 [json_name = "vectorizer"]; + * .payload.v1.Filter.Target vectorizer = 3; */ public Builder clearVectorizer() { bitField0_ = (bitField0_ & ~0x00000004); @@ -4705,7 +4704,7 @@ public Builder clearVectorizer() { * Filter configuration. * * - * .payload.v1.Filter.Target vectorizer = 3 [json_name = "vectorizer"]; + * .payload.v1.Filter.Target vectorizer = 3; */ public org.vdaas.vald.api.v1.payload.Filter.Target.Builder getVectorizerBuilder() { bitField0_ |= 0x00000004; @@ -4717,7 +4716,7 @@ public org.vdaas.vald.api.v1.payload.Filter.Target.Builder getVectorizerBuilder( * Filter configuration. * * - * .payload.v1.Filter.Target vectorizer = 3 [json_name = "vectorizer"]; + * .payload.v1.Filter.Target vectorizer = 3; */ public org.vdaas.vald.api.v1.payload.Filter.TargetOrBuilder getVectorizerOrBuilder() { if (vectorizerBuilder_ != null) { @@ -4732,7 +4731,7 @@ public org.vdaas.vald.api.v1.payload.Filter.TargetOrBuilder getVectorizerOrBuild * Filter configuration. * * - * .payload.v1.Filter.Target vectorizer = 3 [json_name = "vectorizer"]; + * .payload.v1.Filter.Target vectorizer = 3; */ private com.google.protobuf.SingleFieldBuilderV3< org.vdaas.vald.api.v1.payload.Filter.Target, org.vdaas.vald.api.v1.payload.Filter.Target.Builder, org.vdaas.vald.api.v1.payload.Filter.TargetOrBuilder> @@ -4820,7 +4819,7 @@ public interface MultiObjectRequestOrBuilder extends * Represent the multiple search by binary object request content. * * - * repeated .payload.v1.Search.ObjectRequest requests = 1 [json_name = "requests"]; + * repeated .payload.v1.Search.ObjectRequest requests = 1; */ java.util.List getRequestsList(); @@ -4829,7 +4828,7 @@ public interface MultiObjectRequestOrBuilder extends * Represent the multiple search by binary object request content. * * - * repeated .payload.v1.Search.ObjectRequest requests = 1 [json_name = "requests"]; + * repeated .payload.v1.Search.ObjectRequest requests = 1; */ org.vdaas.vald.api.v1.payload.Search.ObjectRequest getRequests(int index); /** @@ -4837,7 +4836,7 @@ public interface MultiObjectRequestOrBuilder extends * Represent the multiple search by binary object request content. * * - * repeated .payload.v1.Search.ObjectRequest requests = 1 [json_name = "requests"]; + * repeated .payload.v1.Search.ObjectRequest requests = 1; */ int getRequestsCount(); /** @@ -4845,7 +4844,7 @@ public interface MultiObjectRequestOrBuilder extends * Represent the multiple search by binary object request content. * * - * repeated .payload.v1.Search.ObjectRequest requests = 1 [json_name = "requests"]; + * repeated .payload.v1.Search.ObjectRequest requests = 1; */ java.util.List getRequestsOrBuilderList(); @@ -4854,7 +4853,7 @@ public interface MultiObjectRequestOrBuilder extends * Represent the multiple search by binary object request content. * * - * repeated .payload.v1.Search.ObjectRequest requests = 1 [json_name = "requests"]; + * repeated .payload.v1.Search.ObjectRequest requests = 1; */ org.vdaas.vald.api.v1.payload.Search.ObjectRequestOrBuilder getRequestsOrBuilder( int index); @@ -4907,7 +4906,7 @@ protected java.lang.Object newInstance( * Represent the multiple search by binary object request content. * * - * repeated .payload.v1.Search.ObjectRequest requests = 1 [json_name = "requests"]; + * repeated .payload.v1.Search.ObjectRequest requests = 1; */ @java.lang.Override public java.util.List getRequestsList() { @@ -4918,7 +4917,7 @@ public java.util.List getReq * Represent the multiple search by binary object request content. * * - * repeated .payload.v1.Search.ObjectRequest requests = 1 [json_name = "requests"]; + * repeated .payload.v1.Search.ObjectRequest requests = 1; */ @java.lang.Override public java.util.List @@ -4930,7 +4929,7 @@ public java.util.List getReq * Represent the multiple search by binary object request content. * * - * repeated .payload.v1.Search.ObjectRequest requests = 1 [json_name = "requests"]; + * repeated .payload.v1.Search.ObjectRequest requests = 1; */ @java.lang.Override public int getRequestsCount() { @@ -4941,7 +4940,7 @@ public int getRequestsCount() { * Represent the multiple search by binary object request content. * * - * repeated .payload.v1.Search.ObjectRequest requests = 1 [json_name = "requests"]; + * repeated .payload.v1.Search.ObjectRequest requests = 1; */ @java.lang.Override public org.vdaas.vald.api.v1.payload.Search.ObjectRequest getRequests(int index) { @@ -4952,7 +4951,7 @@ public org.vdaas.vald.api.v1.payload.Search.ObjectRequest getRequests(int index) * Represent the multiple search by binary object request content. * * - * repeated .payload.v1.Search.ObjectRequest requests = 1 [json_name = "requests"]; + * repeated .payload.v1.Search.ObjectRequest requests = 1; */ @java.lang.Override public org.vdaas.vald.api.v1.payload.Search.ObjectRequestOrBuilder getRequestsOrBuilder( @@ -5355,7 +5354,7 @@ private void ensureRequestsIsMutable() { * Represent the multiple search by binary object request content. * * - * repeated .payload.v1.Search.ObjectRequest requests = 1 [json_name = "requests"]; + * repeated .payload.v1.Search.ObjectRequest requests = 1; */ public java.util.List getRequestsList() { if (requestsBuilder_ == null) { @@ -5369,7 +5368,7 @@ public java.util.List getReq * Represent the multiple search by binary object request content. * * - * repeated .payload.v1.Search.ObjectRequest requests = 1 [json_name = "requests"]; + * repeated .payload.v1.Search.ObjectRequest requests = 1; */ public int getRequestsCount() { if (requestsBuilder_ == null) { @@ -5383,7 +5382,7 @@ public int getRequestsCount() { * Represent the multiple search by binary object request content. * * - * repeated .payload.v1.Search.ObjectRequest requests = 1 [json_name = "requests"]; + * repeated .payload.v1.Search.ObjectRequest requests = 1; */ public org.vdaas.vald.api.v1.payload.Search.ObjectRequest getRequests(int index) { if (requestsBuilder_ == null) { @@ -5397,7 +5396,7 @@ public org.vdaas.vald.api.v1.payload.Search.ObjectRequest getRequests(int index) * Represent the multiple search by binary object request content. * * - * repeated .payload.v1.Search.ObjectRequest requests = 1 [json_name = "requests"]; + * repeated .payload.v1.Search.ObjectRequest requests = 1; */ public Builder setRequests( int index, org.vdaas.vald.api.v1.payload.Search.ObjectRequest value) { @@ -5418,7 +5417,7 @@ public Builder setRequests( * Represent the multiple search by binary object request content. * * - * repeated .payload.v1.Search.ObjectRequest requests = 1 [json_name = "requests"]; + * repeated .payload.v1.Search.ObjectRequest requests = 1; */ public Builder setRequests( int index, org.vdaas.vald.api.v1.payload.Search.ObjectRequest.Builder builderForValue) { @@ -5436,7 +5435,7 @@ public Builder setRequests( * Represent the multiple search by binary object request content. * * - * repeated .payload.v1.Search.ObjectRequest requests = 1 [json_name = "requests"]; + * repeated .payload.v1.Search.ObjectRequest requests = 1; */ public Builder addRequests(org.vdaas.vald.api.v1.payload.Search.ObjectRequest value) { if (requestsBuilder_ == null) { @@ -5456,7 +5455,7 @@ public Builder addRequests(org.vdaas.vald.api.v1.payload.Search.ObjectRequest va * Represent the multiple search by binary object request content. * * - * repeated .payload.v1.Search.ObjectRequest requests = 1 [json_name = "requests"]; + * repeated .payload.v1.Search.ObjectRequest requests = 1; */ public Builder addRequests( int index, org.vdaas.vald.api.v1.payload.Search.ObjectRequest value) { @@ -5477,7 +5476,7 @@ public Builder addRequests( * Represent the multiple search by binary object request content. * * - * repeated .payload.v1.Search.ObjectRequest requests = 1 [json_name = "requests"]; + * repeated .payload.v1.Search.ObjectRequest requests = 1; */ public Builder addRequests( org.vdaas.vald.api.v1.payload.Search.ObjectRequest.Builder builderForValue) { @@ -5495,7 +5494,7 @@ public Builder addRequests( * Represent the multiple search by binary object request content. * * - * repeated .payload.v1.Search.ObjectRequest requests = 1 [json_name = "requests"]; + * repeated .payload.v1.Search.ObjectRequest requests = 1; */ public Builder addRequests( int index, org.vdaas.vald.api.v1.payload.Search.ObjectRequest.Builder builderForValue) { @@ -5513,7 +5512,7 @@ public Builder addRequests( * Represent the multiple search by binary object request content. * * - * repeated .payload.v1.Search.ObjectRequest requests = 1 [json_name = "requests"]; + * repeated .payload.v1.Search.ObjectRequest requests = 1; */ public Builder addAllRequests( java.lang.Iterable values) { @@ -5532,7 +5531,7 @@ public Builder addAllRequests( * Represent the multiple search by binary object request content. * * - * repeated .payload.v1.Search.ObjectRequest requests = 1 [json_name = "requests"]; + * repeated .payload.v1.Search.ObjectRequest requests = 1; */ public Builder clearRequests() { if (requestsBuilder_ == null) { @@ -5549,7 +5548,7 @@ public Builder clearRequests() { * Represent the multiple search by binary object request content. * * - * repeated .payload.v1.Search.ObjectRequest requests = 1 [json_name = "requests"]; + * repeated .payload.v1.Search.ObjectRequest requests = 1; */ public Builder removeRequests(int index) { if (requestsBuilder_ == null) { @@ -5566,7 +5565,7 @@ public Builder removeRequests(int index) { * Represent the multiple search by binary object request content. * * - * repeated .payload.v1.Search.ObjectRequest requests = 1 [json_name = "requests"]; + * repeated .payload.v1.Search.ObjectRequest requests = 1; */ public org.vdaas.vald.api.v1.payload.Search.ObjectRequest.Builder getRequestsBuilder( int index) { @@ -5577,7 +5576,7 @@ public org.vdaas.vald.api.v1.payload.Search.ObjectRequest.Builder getRequestsBui * Represent the multiple search by binary object request content. * * - * repeated .payload.v1.Search.ObjectRequest requests = 1 [json_name = "requests"]; + * repeated .payload.v1.Search.ObjectRequest requests = 1; */ public org.vdaas.vald.api.v1.payload.Search.ObjectRequestOrBuilder getRequestsOrBuilder( int index) { @@ -5591,7 +5590,7 @@ public org.vdaas.vald.api.v1.payload.Search.ObjectRequestOrBuilder getRequestsOr * Represent the multiple search by binary object request content. * * - * repeated .payload.v1.Search.ObjectRequest requests = 1 [json_name = "requests"]; + * repeated .payload.v1.Search.ObjectRequest requests = 1; */ public java.util.List getRequestsOrBuilderList() { @@ -5606,7 +5605,7 @@ public org.vdaas.vald.api.v1.payload.Search.ObjectRequestOrBuilder getRequestsOr * Represent the multiple search by binary object request content. * * - * repeated .payload.v1.Search.ObjectRequest requests = 1 [json_name = "requests"]; + * repeated .payload.v1.Search.ObjectRequest requests = 1; */ public org.vdaas.vald.api.v1.payload.Search.ObjectRequest.Builder addRequestsBuilder() { return getRequestsFieldBuilder().addBuilder( @@ -5617,7 +5616,7 @@ public org.vdaas.vald.api.v1.payload.Search.ObjectRequest.Builder addRequestsBui * Represent the multiple search by binary object request content. * * - * repeated .payload.v1.Search.ObjectRequest requests = 1 [json_name = "requests"]; + * repeated .payload.v1.Search.ObjectRequest requests = 1; */ public org.vdaas.vald.api.v1.payload.Search.ObjectRequest.Builder addRequestsBuilder( int index) { @@ -5629,7 +5628,7 @@ public org.vdaas.vald.api.v1.payload.Search.ObjectRequest.Builder addRequestsBui * Represent the multiple search by binary object request content. * * - * repeated .payload.v1.Search.ObjectRequest requests = 1 [json_name = "requests"]; + * repeated .payload.v1.Search.ObjectRequest requests = 1; */ public java.util.List getRequestsBuilderList() { @@ -5722,7 +5721,7 @@ public interface ConfigOrBuilder extends * Unique request ID. * * - * string request_id = 1 [json_name = "requestId"]; + * string request_id = 1; * @return The requestId. */ java.lang.String getRequestId(); @@ -5731,7 +5730,7 @@ public interface ConfigOrBuilder extends * Unique request ID. * * - * string request_id = 1 [json_name = "requestId"]; + * string request_id = 1; * @return The bytes for requestId. */ com.google.protobuf.ByteString @@ -5742,7 +5741,7 @@ public interface ConfigOrBuilder extends * Maximum number of result to be returned. * * - * uint32 num = 2 [json_name = "num", (.buf.validate.field) = { ... } + * uint32 num = 2 [(.validate.rules) = { ... } * @return The num. */ int getNum(); @@ -5752,7 +5751,7 @@ public interface ConfigOrBuilder extends * Search radius. * * - * float radius = 3 [json_name = "radius"]; + * float radius = 3; * @return The radius. */ float getRadius(); @@ -5762,7 +5761,7 @@ public interface ConfigOrBuilder extends * Search coefficient. * * - * float epsilon = 4 [json_name = "epsilon"]; + * float epsilon = 4; * @return The epsilon. */ float getEpsilon(); @@ -5772,7 +5771,7 @@ public interface ConfigOrBuilder extends * Search timeout in nanoseconds. * * - * int64 timeout = 5 [json_name = "timeout"]; + * int64 timeout = 5; * @return The timeout. */ long getTimeout(); @@ -5782,7 +5781,7 @@ public interface ConfigOrBuilder extends * Ingress filter configurations. * * - * .payload.v1.Filter.Config ingress_filters = 6 [json_name = "ingressFilters"]; + * .payload.v1.Filter.Config ingress_filters = 6; * @return Whether the ingressFilters field is set. */ boolean hasIngressFilters(); @@ -5791,7 +5790,7 @@ public interface ConfigOrBuilder extends * Ingress filter configurations. * * - * .payload.v1.Filter.Config ingress_filters = 6 [json_name = "ingressFilters"]; + * .payload.v1.Filter.Config ingress_filters = 6; * @return The ingressFilters. */ org.vdaas.vald.api.v1.payload.Filter.Config getIngressFilters(); @@ -5800,7 +5799,7 @@ public interface ConfigOrBuilder extends * Ingress filter configurations. * * - * .payload.v1.Filter.Config ingress_filters = 6 [json_name = "ingressFilters"]; + * .payload.v1.Filter.Config ingress_filters = 6; */ org.vdaas.vald.api.v1.payload.Filter.ConfigOrBuilder getIngressFiltersOrBuilder(); @@ -5809,7 +5808,7 @@ public interface ConfigOrBuilder extends * Egress filter configurations. * * - * .payload.v1.Filter.Config egress_filters = 7 [json_name = "egressFilters"]; + * .payload.v1.Filter.Config egress_filters = 7; * @return Whether the egressFilters field is set. */ boolean hasEgressFilters(); @@ -5818,7 +5817,7 @@ public interface ConfigOrBuilder extends * Egress filter configurations. * * - * .payload.v1.Filter.Config egress_filters = 7 [json_name = "egressFilters"]; + * .payload.v1.Filter.Config egress_filters = 7; * @return The egressFilters. */ org.vdaas.vald.api.v1.payload.Filter.Config getEgressFilters(); @@ -5827,7 +5826,7 @@ public interface ConfigOrBuilder extends * Egress filter configurations. * * - * .payload.v1.Filter.Config egress_filters = 7 [json_name = "egressFilters"]; + * .payload.v1.Filter.Config egress_filters = 7; */ org.vdaas.vald.api.v1.payload.Filter.ConfigOrBuilder getEgressFiltersOrBuilder(); @@ -5836,7 +5835,7 @@ public interface ConfigOrBuilder extends * Minimum number of result to be returned. * * - * uint32 min_num = 8 [json_name = "minNum", (.buf.validate.field) = { ... } + * uint32 min_num = 8 [(.validate.rules) = { ... } * @return The minNum. */ int getMinNum(); @@ -5846,7 +5845,7 @@ public interface ConfigOrBuilder extends * Aggregation Algorithm * * - * .payload.v1.Search.AggregationAlgorithm aggregation_algorithm = 9 [json_name = "aggregationAlgorithm"]; + * .payload.v1.Search.AggregationAlgorithm aggregation_algorithm = 9; * @return The enum numeric value on the wire for aggregationAlgorithm. */ int getAggregationAlgorithmValue(); @@ -5855,7 +5854,7 @@ public interface ConfigOrBuilder extends * Aggregation Algorithm * * - * .payload.v1.Search.AggregationAlgorithm aggregation_algorithm = 9 [json_name = "aggregationAlgorithm"]; + * .payload.v1.Search.AggregationAlgorithm aggregation_algorithm = 9; * @return The aggregationAlgorithm. */ org.vdaas.vald.api.v1.payload.Search.AggregationAlgorithm getAggregationAlgorithm(); @@ -5910,7 +5909,7 @@ protected java.lang.Object newInstance( * Unique request ID. * * - * string request_id = 1 [json_name = "requestId"]; + * string request_id = 1; * @return The requestId. */ @java.lang.Override @@ -5931,7 +5930,7 @@ public java.lang.String getRequestId() { * Unique request ID. * * - * string request_id = 1 [json_name = "requestId"]; + * string request_id = 1; * @return The bytes for requestId. */ @java.lang.Override @@ -5956,7 +5955,7 @@ public java.lang.String getRequestId() { * Maximum number of result to be returned. * * - * uint32 num = 2 [json_name = "num", (.buf.validate.field) = { ... } + * uint32 num = 2 [(.validate.rules) = { ... } * @return The num. */ @java.lang.Override @@ -5971,7 +5970,7 @@ public int getNum() { * Search radius. * * - * float radius = 3 [json_name = "radius"]; + * float radius = 3; * @return The radius. */ @java.lang.Override @@ -5986,7 +5985,7 @@ public float getRadius() { * Search coefficient. * * - * float epsilon = 4 [json_name = "epsilon"]; + * float epsilon = 4; * @return The epsilon. */ @java.lang.Override @@ -6001,7 +6000,7 @@ public float getEpsilon() { * Search timeout in nanoseconds. * * - * int64 timeout = 5 [json_name = "timeout"]; + * int64 timeout = 5; * @return The timeout. */ @java.lang.Override @@ -6016,7 +6015,7 @@ public long getTimeout() { * Ingress filter configurations. * * - * .payload.v1.Filter.Config ingress_filters = 6 [json_name = "ingressFilters"]; + * .payload.v1.Filter.Config ingress_filters = 6; * @return Whether the ingressFilters field is set. */ @java.lang.Override @@ -6028,7 +6027,7 @@ public boolean hasIngressFilters() { * Ingress filter configurations. * * - * .payload.v1.Filter.Config ingress_filters = 6 [json_name = "ingressFilters"]; + * .payload.v1.Filter.Config ingress_filters = 6; * @return The ingressFilters. */ @java.lang.Override @@ -6040,7 +6039,7 @@ public org.vdaas.vald.api.v1.payload.Filter.Config getIngressFilters() { * Ingress filter configurations. * * - * .payload.v1.Filter.Config ingress_filters = 6 [json_name = "ingressFilters"]; + * .payload.v1.Filter.Config ingress_filters = 6; */ @java.lang.Override public org.vdaas.vald.api.v1.payload.Filter.ConfigOrBuilder getIngressFiltersOrBuilder() { @@ -6054,7 +6053,7 @@ public org.vdaas.vald.api.v1.payload.Filter.ConfigOrBuilder getIngressFiltersOrB * Egress filter configurations. * * - * .payload.v1.Filter.Config egress_filters = 7 [json_name = "egressFilters"]; + * .payload.v1.Filter.Config egress_filters = 7; * @return Whether the egressFilters field is set. */ @java.lang.Override @@ -6066,7 +6065,7 @@ public boolean hasEgressFilters() { * Egress filter configurations. * * - * .payload.v1.Filter.Config egress_filters = 7 [json_name = "egressFilters"]; + * .payload.v1.Filter.Config egress_filters = 7; * @return The egressFilters. */ @java.lang.Override @@ -6078,7 +6077,7 @@ public org.vdaas.vald.api.v1.payload.Filter.Config getEgressFilters() { * Egress filter configurations. * * - * .payload.v1.Filter.Config egress_filters = 7 [json_name = "egressFilters"]; + * .payload.v1.Filter.Config egress_filters = 7; */ @java.lang.Override public org.vdaas.vald.api.v1.payload.Filter.ConfigOrBuilder getEgressFiltersOrBuilder() { @@ -6092,7 +6091,7 @@ public org.vdaas.vald.api.v1.payload.Filter.ConfigOrBuilder getEgressFiltersOrBu * Minimum number of result to be returned. * * - * uint32 min_num = 8 [json_name = "minNum", (.buf.validate.field) = { ... } + * uint32 min_num = 8 [(.validate.rules) = { ... } * @return The minNum. */ @java.lang.Override @@ -6107,7 +6106,7 @@ public int getMinNum() { * Aggregation Algorithm * * - * .payload.v1.Search.AggregationAlgorithm aggregation_algorithm = 9 [json_name = "aggregationAlgorithm"]; + * .payload.v1.Search.AggregationAlgorithm aggregation_algorithm = 9; * @return The enum numeric value on the wire for aggregationAlgorithm. */ @java.lang.Override public int getAggregationAlgorithmValue() { @@ -6118,7 +6117,7 @@ public int getMinNum() { * Aggregation Algorithm * * - * .payload.v1.Search.AggregationAlgorithm aggregation_algorithm = 9 [json_name = "aggregationAlgorithm"]; + * .payload.v1.Search.AggregationAlgorithm aggregation_algorithm = 9; * @return The aggregationAlgorithm. */ @java.lang.Override public org.vdaas.vald.api.v1.payload.Search.AggregationAlgorithm getAggregationAlgorithm() { @@ -6687,7 +6686,7 @@ public Builder mergeFrom( * Unique request ID. * * - * string request_id = 1 [json_name = "requestId"]; + * string request_id = 1; * @return The requestId. */ public java.lang.String getRequestId() { @@ -6707,7 +6706,7 @@ public java.lang.String getRequestId() { * Unique request ID. * * - * string request_id = 1 [json_name = "requestId"]; + * string request_id = 1; * @return The bytes for requestId. */ public com.google.protobuf.ByteString @@ -6728,7 +6727,7 @@ public java.lang.String getRequestId() { * Unique request ID. * * - * string request_id = 1 [json_name = "requestId"]; + * string request_id = 1; * @param value The requestId to set. * @return This builder for chaining. */ @@ -6745,7 +6744,7 @@ public Builder setRequestId( * Unique request ID. * * - * string request_id = 1 [json_name = "requestId"]; + * string request_id = 1; * @return This builder for chaining. */ public Builder clearRequestId() { @@ -6759,7 +6758,7 @@ public Builder clearRequestId() { * Unique request ID. * * - * string request_id = 1 [json_name = "requestId"]; + * string request_id = 1; * @param value The bytes for requestId to set. * @return This builder for chaining. */ @@ -6779,7 +6778,7 @@ public Builder setRequestIdBytes( * Maximum number of result to be returned. * * - * uint32 num = 2 [json_name = "num", (.buf.validate.field) = { ... } + * uint32 num = 2 [(.validate.rules) = { ... } * @return The num. */ @java.lang.Override @@ -6791,7 +6790,7 @@ public int getNum() { * Maximum number of result to be returned. * * - * uint32 num = 2 [json_name = "num", (.buf.validate.field) = { ... } + * uint32 num = 2 [(.validate.rules) = { ... } * @param value The num to set. * @return This builder for chaining. */ @@ -6807,7 +6806,7 @@ public Builder setNum(int value) { * Maximum number of result to be returned. * * - * uint32 num = 2 [json_name = "num", (.buf.validate.field) = { ... } + * uint32 num = 2 [(.validate.rules) = { ... } * @return This builder for chaining. */ public Builder clearNum() { @@ -6823,7 +6822,7 @@ public Builder clearNum() { * Search radius. * * - * float radius = 3 [json_name = "radius"]; + * float radius = 3; * @return The radius. */ @java.lang.Override @@ -6835,7 +6834,7 @@ public float getRadius() { * Search radius. * * - * float radius = 3 [json_name = "radius"]; + * float radius = 3; * @param value The radius to set. * @return This builder for chaining. */ @@ -6851,7 +6850,7 @@ public Builder setRadius(float value) { * Search radius. * * - * float radius = 3 [json_name = "radius"]; + * float radius = 3; * @return This builder for chaining. */ public Builder clearRadius() { @@ -6867,7 +6866,7 @@ public Builder clearRadius() { * Search coefficient. * * - * float epsilon = 4 [json_name = "epsilon"]; + * float epsilon = 4; * @return The epsilon. */ @java.lang.Override @@ -6879,7 +6878,7 @@ public float getEpsilon() { * Search coefficient. * * - * float epsilon = 4 [json_name = "epsilon"]; + * float epsilon = 4; * @param value The epsilon to set. * @return This builder for chaining. */ @@ -6895,7 +6894,7 @@ public Builder setEpsilon(float value) { * Search coefficient. * * - * float epsilon = 4 [json_name = "epsilon"]; + * float epsilon = 4; * @return This builder for chaining. */ public Builder clearEpsilon() { @@ -6911,7 +6910,7 @@ public Builder clearEpsilon() { * Search timeout in nanoseconds. * * - * int64 timeout = 5 [json_name = "timeout"]; + * int64 timeout = 5; * @return The timeout. */ @java.lang.Override @@ -6923,7 +6922,7 @@ public long getTimeout() { * Search timeout in nanoseconds. * * - * int64 timeout = 5 [json_name = "timeout"]; + * int64 timeout = 5; * @param value The timeout to set. * @return This builder for chaining. */ @@ -6939,7 +6938,7 @@ public Builder setTimeout(long value) { * Search timeout in nanoseconds. * * - * int64 timeout = 5 [json_name = "timeout"]; + * int64 timeout = 5; * @return This builder for chaining. */ public Builder clearTimeout() { @@ -6957,7 +6956,7 @@ public Builder clearTimeout() { * Ingress filter configurations. * * - * .payload.v1.Filter.Config ingress_filters = 6 [json_name = "ingressFilters"]; + * .payload.v1.Filter.Config ingress_filters = 6; * @return Whether the ingressFilters field is set. */ public boolean hasIngressFilters() { @@ -6968,7 +6967,7 @@ public boolean hasIngressFilters() { * Ingress filter configurations. * * - * .payload.v1.Filter.Config ingress_filters = 6 [json_name = "ingressFilters"]; + * .payload.v1.Filter.Config ingress_filters = 6; * @return The ingressFilters. */ public org.vdaas.vald.api.v1.payload.Filter.Config getIngressFilters() { @@ -6983,7 +6982,7 @@ public org.vdaas.vald.api.v1.payload.Filter.Config getIngressFilters() { * Ingress filter configurations. * * - * .payload.v1.Filter.Config ingress_filters = 6 [json_name = "ingressFilters"]; + * .payload.v1.Filter.Config ingress_filters = 6; */ public Builder setIngressFilters(org.vdaas.vald.api.v1.payload.Filter.Config value) { if (ingressFiltersBuilder_ == null) { @@ -7003,7 +7002,7 @@ public Builder setIngressFilters(org.vdaas.vald.api.v1.payload.Filter.Config val * Ingress filter configurations. * * - * .payload.v1.Filter.Config ingress_filters = 6 [json_name = "ingressFilters"]; + * .payload.v1.Filter.Config ingress_filters = 6; */ public Builder setIngressFilters( org.vdaas.vald.api.v1.payload.Filter.Config.Builder builderForValue) { @@ -7021,7 +7020,7 @@ public Builder setIngressFilters( * Ingress filter configurations. * * - * .payload.v1.Filter.Config ingress_filters = 6 [json_name = "ingressFilters"]; + * .payload.v1.Filter.Config ingress_filters = 6; */ public Builder mergeIngressFilters(org.vdaas.vald.api.v1.payload.Filter.Config value) { if (ingressFiltersBuilder_ == null) { @@ -7046,7 +7045,7 @@ public Builder mergeIngressFilters(org.vdaas.vald.api.v1.payload.Filter.Config v * Ingress filter configurations. * * - * .payload.v1.Filter.Config ingress_filters = 6 [json_name = "ingressFilters"]; + * .payload.v1.Filter.Config ingress_filters = 6; */ public Builder clearIngressFilters() { bitField0_ = (bitField0_ & ~0x00000020); @@ -7063,7 +7062,7 @@ public Builder clearIngressFilters() { * Ingress filter configurations. * * - * .payload.v1.Filter.Config ingress_filters = 6 [json_name = "ingressFilters"]; + * .payload.v1.Filter.Config ingress_filters = 6; */ public org.vdaas.vald.api.v1.payload.Filter.Config.Builder getIngressFiltersBuilder() { bitField0_ |= 0x00000020; @@ -7075,7 +7074,7 @@ public org.vdaas.vald.api.v1.payload.Filter.Config.Builder getIngressFiltersBuil * Ingress filter configurations. * * - * .payload.v1.Filter.Config ingress_filters = 6 [json_name = "ingressFilters"]; + * .payload.v1.Filter.Config ingress_filters = 6; */ public org.vdaas.vald.api.v1.payload.Filter.ConfigOrBuilder getIngressFiltersOrBuilder() { if (ingressFiltersBuilder_ != null) { @@ -7090,7 +7089,7 @@ public org.vdaas.vald.api.v1.payload.Filter.ConfigOrBuilder getIngressFiltersOrB * Ingress filter configurations. * * - * .payload.v1.Filter.Config ingress_filters = 6 [json_name = "ingressFilters"]; + * .payload.v1.Filter.Config ingress_filters = 6; */ private com.google.protobuf.SingleFieldBuilderV3< org.vdaas.vald.api.v1.payload.Filter.Config, org.vdaas.vald.api.v1.payload.Filter.Config.Builder, org.vdaas.vald.api.v1.payload.Filter.ConfigOrBuilder> @@ -7114,7 +7113,7 @@ public org.vdaas.vald.api.v1.payload.Filter.ConfigOrBuilder getIngressFiltersOrB * Egress filter configurations. * * - * .payload.v1.Filter.Config egress_filters = 7 [json_name = "egressFilters"]; + * .payload.v1.Filter.Config egress_filters = 7; * @return Whether the egressFilters field is set. */ public boolean hasEgressFilters() { @@ -7125,7 +7124,7 @@ public boolean hasEgressFilters() { * Egress filter configurations. * * - * .payload.v1.Filter.Config egress_filters = 7 [json_name = "egressFilters"]; + * .payload.v1.Filter.Config egress_filters = 7; * @return The egressFilters. */ public org.vdaas.vald.api.v1.payload.Filter.Config getEgressFilters() { @@ -7140,7 +7139,7 @@ public org.vdaas.vald.api.v1.payload.Filter.Config getEgressFilters() { * Egress filter configurations. * * - * .payload.v1.Filter.Config egress_filters = 7 [json_name = "egressFilters"]; + * .payload.v1.Filter.Config egress_filters = 7; */ public Builder setEgressFilters(org.vdaas.vald.api.v1.payload.Filter.Config value) { if (egressFiltersBuilder_ == null) { @@ -7160,7 +7159,7 @@ public Builder setEgressFilters(org.vdaas.vald.api.v1.payload.Filter.Config valu * Egress filter configurations. * * - * .payload.v1.Filter.Config egress_filters = 7 [json_name = "egressFilters"]; + * .payload.v1.Filter.Config egress_filters = 7; */ public Builder setEgressFilters( org.vdaas.vald.api.v1.payload.Filter.Config.Builder builderForValue) { @@ -7178,7 +7177,7 @@ public Builder setEgressFilters( * Egress filter configurations. * * - * .payload.v1.Filter.Config egress_filters = 7 [json_name = "egressFilters"]; + * .payload.v1.Filter.Config egress_filters = 7; */ public Builder mergeEgressFilters(org.vdaas.vald.api.v1.payload.Filter.Config value) { if (egressFiltersBuilder_ == null) { @@ -7203,7 +7202,7 @@ public Builder mergeEgressFilters(org.vdaas.vald.api.v1.payload.Filter.Config va * Egress filter configurations. * * - * .payload.v1.Filter.Config egress_filters = 7 [json_name = "egressFilters"]; + * .payload.v1.Filter.Config egress_filters = 7; */ public Builder clearEgressFilters() { bitField0_ = (bitField0_ & ~0x00000040); @@ -7220,7 +7219,7 @@ public Builder clearEgressFilters() { * Egress filter configurations. * * - * .payload.v1.Filter.Config egress_filters = 7 [json_name = "egressFilters"]; + * .payload.v1.Filter.Config egress_filters = 7; */ public org.vdaas.vald.api.v1.payload.Filter.Config.Builder getEgressFiltersBuilder() { bitField0_ |= 0x00000040; @@ -7232,7 +7231,7 @@ public org.vdaas.vald.api.v1.payload.Filter.Config.Builder getEgressFiltersBuild * Egress filter configurations. * * - * .payload.v1.Filter.Config egress_filters = 7 [json_name = "egressFilters"]; + * .payload.v1.Filter.Config egress_filters = 7; */ public org.vdaas.vald.api.v1.payload.Filter.ConfigOrBuilder getEgressFiltersOrBuilder() { if (egressFiltersBuilder_ != null) { @@ -7247,7 +7246,7 @@ public org.vdaas.vald.api.v1.payload.Filter.ConfigOrBuilder getEgressFiltersOrBu * Egress filter configurations. * * - * .payload.v1.Filter.Config egress_filters = 7 [json_name = "egressFilters"]; + * .payload.v1.Filter.Config egress_filters = 7; */ private com.google.protobuf.SingleFieldBuilderV3< org.vdaas.vald.api.v1.payload.Filter.Config, org.vdaas.vald.api.v1.payload.Filter.Config.Builder, org.vdaas.vald.api.v1.payload.Filter.ConfigOrBuilder> @@ -7269,7 +7268,7 @@ public org.vdaas.vald.api.v1.payload.Filter.ConfigOrBuilder getEgressFiltersOrBu * Minimum number of result to be returned. * * - * uint32 min_num = 8 [json_name = "minNum", (.buf.validate.field) = { ... } + * uint32 min_num = 8 [(.validate.rules) = { ... } * @return The minNum. */ @java.lang.Override @@ -7281,7 +7280,7 @@ public int getMinNum() { * Minimum number of result to be returned. * * - * uint32 min_num = 8 [json_name = "minNum", (.buf.validate.field) = { ... } + * uint32 min_num = 8 [(.validate.rules) = { ... } * @param value The minNum to set. * @return This builder for chaining. */ @@ -7297,7 +7296,7 @@ public Builder setMinNum(int value) { * Minimum number of result to be returned. * * - * uint32 min_num = 8 [json_name = "minNum", (.buf.validate.field) = { ... } + * uint32 min_num = 8 [(.validate.rules) = { ... } * @return This builder for chaining. */ public Builder clearMinNum() { @@ -7313,7 +7312,7 @@ public Builder clearMinNum() { * Aggregation Algorithm * * - * .payload.v1.Search.AggregationAlgorithm aggregation_algorithm = 9 [json_name = "aggregationAlgorithm"]; + * .payload.v1.Search.AggregationAlgorithm aggregation_algorithm = 9; * @return The enum numeric value on the wire for aggregationAlgorithm. */ @java.lang.Override public int getAggregationAlgorithmValue() { @@ -7324,7 +7323,7 @@ public Builder clearMinNum() { * Aggregation Algorithm * * - * .payload.v1.Search.AggregationAlgorithm aggregation_algorithm = 9 [json_name = "aggregationAlgorithm"]; + * .payload.v1.Search.AggregationAlgorithm aggregation_algorithm = 9; * @param value The enum numeric value on the wire for aggregationAlgorithm to set. * @return This builder for chaining. */ @@ -7339,7 +7338,7 @@ public Builder setAggregationAlgorithmValue(int value) { * Aggregation Algorithm * * - * .payload.v1.Search.AggregationAlgorithm aggregation_algorithm = 9 [json_name = "aggregationAlgorithm"]; + * .payload.v1.Search.AggregationAlgorithm aggregation_algorithm = 9; * @return The aggregationAlgorithm. */ @java.lang.Override @@ -7352,7 +7351,7 @@ public org.vdaas.vald.api.v1.payload.Search.AggregationAlgorithm getAggregationA * Aggregation Algorithm * * - * .payload.v1.Search.AggregationAlgorithm aggregation_algorithm = 9 [json_name = "aggregationAlgorithm"]; + * .payload.v1.Search.AggregationAlgorithm aggregation_algorithm = 9; * @param value The aggregationAlgorithm to set. * @return This builder for chaining. */ @@ -7370,7 +7369,7 @@ public Builder setAggregationAlgorithm(org.vdaas.vald.api.v1.payload.Search.Aggr * Aggregation Algorithm * * - * .payload.v1.Search.AggregationAlgorithm aggregation_algorithm = 9 [json_name = "aggregationAlgorithm"]; + * .payload.v1.Search.AggregationAlgorithm aggregation_algorithm = 9; * @return This builder for chaining. */ public Builder clearAggregationAlgorithm() { @@ -7452,7 +7451,7 @@ public interface ResponseOrBuilder extends * The unique request ID. * * - * string request_id = 1 [json_name = "requestId"]; + * string request_id = 1; * @return The requestId. */ java.lang.String getRequestId(); @@ -7461,7 +7460,7 @@ public interface ResponseOrBuilder extends * The unique request ID. * * - * string request_id = 1 [json_name = "requestId"]; + * string request_id = 1; * @return The bytes for requestId. */ com.google.protobuf.ByteString @@ -7472,7 +7471,7 @@ public interface ResponseOrBuilder extends * Search results. * * - * repeated .payload.v1.Object.Distance results = 2 [json_name = "results"]; + * repeated .payload.v1.Object.Distance results = 2; */ java.util.List getResultsList(); @@ -7481,7 +7480,7 @@ public interface ResponseOrBuilder extends * Search results. * * - * repeated .payload.v1.Object.Distance results = 2 [json_name = "results"]; + * repeated .payload.v1.Object.Distance results = 2; */ org.vdaas.vald.api.v1.payload.Object.Distance getResults(int index); /** @@ -7489,7 +7488,7 @@ public interface ResponseOrBuilder extends * Search results. * * - * repeated .payload.v1.Object.Distance results = 2 [json_name = "results"]; + * repeated .payload.v1.Object.Distance results = 2; */ int getResultsCount(); /** @@ -7497,7 +7496,7 @@ public interface ResponseOrBuilder extends * Search results. * * - * repeated .payload.v1.Object.Distance results = 2 [json_name = "results"]; + * repeated .payload.v1.Object.Distance results = 2; */ java.util.List getResultsOrBuilderList(); @@ -7506,7 +7505,7 @@ public interface ResponseOrBuilder extends * Search results. * * - * repeated .payload.v1.Object.Distance results = 2 [json_name = "results"]; + * repeated .payload.v1.Object.Distance results = 2; */ org.vdaas.vald.api.v1.payload.Object.DistanceOrBuilder getResultsOrBuilder( int index); @@ -7560,7 +7559,7 @@ protected java.lang.Object newInstance( * The unique request ID. * * - * string request_id = 1 [json_name = "requestId"]; + * string request_id = 1; * @return The requestId. */ @java.lang.Override @@ -7581,7 +7580,7 @@ public java.lang.String getRequestId() { * The unique request ID. * * - * string request_id = 1 [json_name = "requestId"]; + * string request_id = 1; * @return The bytes for requestId. */ @java.lang.Override @@ -7607,7 +7606,7 @@ public java.lang.String getRequestId() { * Search results. * * - * repeated .payload.v1.Object.Distance results = 2 [json_name = "results"]; + * repeated .payload.v1.Object.Distance results = 2; */ @java.lang.Override public java.util.List getResultsList() { @@ -7618,7 +7617,7 @@ public java.util.List getResultsL * Search results. * * - * repeated .payload.v1.Object.Distance results = 2 [json_name = "results"]; + * repeated .payload.v1.Object.Distance results = 2; */ @java.lang.Override public java.util.List @@ -7630,7 +7629,7 @@ public java.util.List getResultsL * Search results. * * - * repeated .payload.v1.Object.Distance results = 2 [json_name = "results"]; + * repeated .payload.v1.Object.Distance results = 2; */ @java.lang.Override public int getResultsCount() { @@ -7641,7 +7640,7 @@ public int getResultsCount() { * Search results. * * - * repeated .payload.v1.Object.Distance results = 2 [json_name = "results"]; + * repeated .payload.v1.Object.Distance results = 2; */ @java.lang.Override public org.vdaas.vald.api.v1.payload.Object.Distance getResults(int index) { @@ -7652,7 +7651,7 @@ public org.vdaas.vald.api.v1.payload.Object.Distance getResults(int index) { * Search results. * * - * repeated .payload.v1.Object.Distance results = 2 [json_name = "results"]; + * repeated .payload.v1.Object.Distance results = 2; */ @java.lang.Override public org.vdaas.vald.api.v1.payload.Object.DistanceOrBuilder getResultsOrBuilder( @@ -8068,7 +8067,7 @@ public Builder mergeFrom( * The unique request ID. * * - * string request_id = 1 [json_name = "requestId"]; + * string request_id = 1; * @return The requestId. */ public java.lang.String getRequestId() { @@ -8088,7 +8087,7 @@ public java.lang.String getRequestId() { * The unique request ID. * * - * string request_id = 1 [json_name = "requestId"]; + * string request_id = 1; * @return The bytes for requestId. */ public com.google.protobuf.ByteString @@ -8109,7 +8108,7 @@ public java.lang.String getRequestId() { * The unique request ID. * * - * string request_id = 1 [json_name = "requestId"]; + * string request_id = 1; * @param value The requestId to set. * @return This builder for chaining. */ @@ -8126,7 +8125,7 @@ public Builder setRequestId( * The unique request ID. * * - * string request_id = 1 [json_name = "requestId"]; + * string request_id = 1; * @return This builder for chaining. */ public Builder clearRequestId() { @@ -8140,7 +8139,7 @@ public Builder clearRequestId() { * The unique request ID. * * - * string request_id = 1 [json_name = "requestId"]; + * string request_id = 1; * @param value The bytes for requestId to set. * @return This builder for chaining. */ @@ -8171,7 +8170,7 @@ private void ensureResultsIsMutable() { * Search results. * * - * repeated .payload.v1.Object.Distance results = 2 [json_name = "results"]; + * repeated .payload.v1.Object.Distance results = 2; */ public java.util.List getResultsList() { if (resultsBuilder_ == null) { @@ -8185,7 +8184,7 @@ public java.util.List getResultsL * Search results. * * - * repeated .payload.v1.Object.Distance results = 2 [json_name = "results"]; + * repeated .payload.v1.Object.Distance results = 2; */ public int getResultsCount() { if (resultsBuilder_ == null) { @@ -8199,7 +8198,7 @@ public int getResultsCount() { * Search results. * * - * repeated .payload.v1.Object.Distance results = 2 [json_name = "results"]; + * repeated .payload.v1.Object.Distance results = 2; */ public org.vdaas.vald.api.v1.payload.Object.Distance getResults(int index) { if (resultsBuilder_ == null) { @@ -8213,7 +8212,7 @@ public org.vdaas.vald.api.v1.payload.Object.Distance getResults(int index) { * Search results. * * - * repeated .payload.v1.Object.Distance results = 2 [json_name = "results"]; + * repeated .payload.v1.Object.Distance results = 2; */ public Builder setResults( int index, org.vdaas.vald.api.v1.payload.Object.Distance value) { @@ -8234,7 +8233,7 @@ public Builder setResults( * Search results. * * - * repeated .payload.v1.Object.Distance results = 2 [json_name = "results"]; + * repeated .payload.v1.Object.Distance results = 2; */ public Builder setResults( int index, org.vdaas.vald.api.v1.payload.Object.Distance.Builder builderForValue) { @@ -8252,7 +8251,7 @@ public Builder setResults( * Search results. * * - * repeated .payload.v1.Object.Distance results = 2 [json_name = "results"]; + * repeated .payload.v1.Object.Distance results = 2; */ public Builder addResults(org.vdaas.vald.api.v1.payload.Object.Distance value) { if (resultsBuilder_ == null) { @@ -8272,7 +8271,7 @@ public Builder addResults(org.vdaas.vald.api.v1.payload.Object.Distance value) { * Search results. * * - * repeated .payload.v1.Object.Distance results = 2 [json_name = "results"]; + * repeated .payload.v1.Object.Distance results = 2; */ public Builder addResults( int index, org.vdaas.vald.api.v1.payload.Object.Distance value) { @@ -8293,7 +8292,7 @@ public Builder addResults( * Search results. * * - * repeated .payload.v1.Object.Distance results = 2 [json_name = "results"]; + * repeated .payload.v1.Object.Distance results = 2; */ public Builder addResults( org.vdaas.vald.api.v1.payload.Object.Distance.Builder builderForValue) { @@ -8311,7 +8310,7 @@ public Builder addResults( * Search results. * * - * repeated .payload.v1.Object.Distance results = 2 [json_name = "results"]; + * repeated .payload.v1.Object.Distance results = 2; */ public Builder addResults( int index, org.vdaas.vald.api.v1.payload.Object.Distance.Builder builderForValue) { @@ -8329,7 +8328,7 @@ public Builder addResults( * Search results. * * - * repeated .payload.v1.Object.Distance results = 2 [json_name = "results"]; + * repeated .payload.v1.Object.Distance results = 2; */ public Builder addAllResults( java.lang.Iterable values) { @@ -8348,7 +8347,7 @@ public Builder addAllResults( * Search results. * * - * repeated .payload.v1.Object.Distance results = 2 [json_name = "results"]; + * repeated .payload.v1.Object.Distance results = 2; */ public Builder clearResults() { if (resultsBuilder_ == null) { @@ -8365,7 +8364,7 @@ public Builder clearResults() { * Search results. * * - * repeated .payload.v1.Object.Distance results = 2 [json_name = "results"]; + * repeated .payload.v1.Object.Distance results = 2; */ public Builder removeResults(int index) { if (resultsBuilder_ == null) { @@ -8382,7 +8381,7 @@ public Builder removeResults(int index) { * Search results. * * - * repeated .payload.v1.Object.Distance results = 2 [json_name = "results"]; + * repeated .payload.v1.Object.Distance results = 2; */ public org.vdaas.vald.api.v1.payload.Object.Distance.Builder getResultsBuilder( int index) { @@ -8393,7 +8392,7 @@ public org.vdaas.vald.api.v1.payload.Object.Distance.Builder getResultsBuilder( * Search results. * * - * repeated .payload.v1.Object.Distance results = 2 [json_name = "results"]; + * repeated .payload.v1.Object.Distance results = 2; */ public org.vdaas.vald.api.v1.payload.Object.DistanceOrBuilder getResultsOrBuilder( int index) { @@ -8407,7 +8406,7 @@ public org.vdaas.vald.api.v1.payload.Object.DistanceOrBuilder getResultsOrBuilde * Search results. * * - * repeated .payload.v1.Object.Distance results = 2 [json_name = "results"]; + * repeated .payload.v1.Object.Distance results = 2; */ public java.util.List getResultsOrBuilderList() { @@ -8422,7 +8421,7 @@ public org.vdaas.vald.api.v1.payload.Object.DistanceOrBuilder getResultsOrBuilde * Search results. * * - * repeated .payload.v1.Object.Distance results = 2 [json_name = "results"]; + * repeated .payload.v1.Object.Distance results = 2; */ public org.vdaas.vald.api.v1.payload.Object.Distance.Builder addResultsBuilder() { return getResultsFieldBuilder().addBuilder( @@ -8433,7 +8432,7 @@ public org.vdaas.vald.api.v1.payload.Object.Distance.Builder addResultsBuilder() * Search results. * * - * repeated .payload.v1.Object.Distance results = 2 [json_name = "results"]; + * repeated .payload.v1.Object.Distance results = 2; */ public org.vdaas.vald.api.v1.payload.Object.Distance.Builder addResultsBuilder( int index) { @@ -8445,7 +8444,7 @@ public org.vdaas.vald.api.v1.payload.Object.Distance.Builder addResultsBuilder( * Search results. * * - * repeated .payload.v1.Object.Distance results = 2 [json_name = "results"]; + * repeated .payload.v1.Object.Distance results = 2; */ public java.util.List getResultsBuilderList() { @@ -8538,7 +8537,7 @@ public interface ResponsesOrBuilder extends * Represent the multiple search response content. * * - * repeated .payload.v1.Search.Response responses = 1 [json_name = "responses"]; + * repeated .payload.v1.Search.Response responses = 1; */ java.util.List getResponsesList(); @@ -8547,7 +8546,7 @@ public interface ResponsesOrBuilder extends * Represent the multiple search response content. * * - * repeated .payload.v1.Search.Response responses = 1 [json_name = "responses"]; + * repeated .payload.v1.Search.Response responses = 1; */ org.vdaas.vald.api.v1.payload.Search.Response getResponses(int index); /** @@ -8555,7 +8554,7 @@ public interface ResponsesOrBuilder extends * Represent the multiple search response content. * * - * repeated .payload.v1.Search.Response responses = 1 [json_name = "responses"]; + * repeated .payload.v1.Search.Response responses = 1; */ int getResponsesCount(); /** @@ -8563,7 +8562,7 @@ public interface ResponsesOrBuilder extends * Represent the multiple search response content. * * - * repeated .payload.v1.Search.Response responses = 1 [json_name = "responses"]; + * repeated .payload.v1.Search.Response responses = 1; */ java.util.List getResponsesOrBuilderList(); @@ -8572,7 +8571,7 @@ public interface ResponsesOrBuilder extends * Represent the multiple search response content. * * - * repeated .payload.v1.Search.Response responses = 1 [json_name = "responses"]; + * repeated .payload.v1.Search.Response responses = 1; */ org.vdaas.vald.api.v1.payload.Search.ResponseOrBuilder getResponsesOrBuilder( int index); @@ -8625,7 +8624,7 @@ protected java.lang.Object newInstance( * Represent the multiple search response content. * * - * repeated .payload.v1.Search.Response responses = 1 [json_name = "responses"]; + * repeated .payload.v1.Search.Response responses = 1; */ @java.lang.Override public java.util.List getResponsesList() { @@ -8636,7 +8635,7 @@ public java.util.List getResponse * Represent the multiple search response content. * * - * repeated .payload.v1.Search.Response responses = 1 [json_name = "responses"]; + * repeated .payload.v1.Search.Response responses = 1; */ @java.lang.Override public java.util.List @@ -8648,7 +8647,7 @@ public java.util.List getResponse * Represent the multiple search response content. * * - * repeated .payload.v1.Search.Response responses = 1 [json_name = "responses"]; + * repeated .payload.v1.Search.Response responses = 1; */ @java.lang.Override public int getResponsesCount() { @@ -8659,7 +8658,7 @@ public int getResponsesCount() { * Represent the multiple search response content. * * - * repeated .payload.v1.Search.Response responses = 1 [json_name = "responses"]; + * repeated .payload.v1.Search.Response responses = 1; */ @java.lang.Override public org.vdaas.vald.api.v1.payload.Search.Response getResponses(int index) { @@ -8670,7 +8669,7 @@ public org.vdaas.vald.api.v1.payload.Search.Response getResponses(int index) { * Represent the multiple search response content. * * - * repeated .payload.v1.Search.Response responses = 1 [json_name = "responses"]; + * repeated .payload.v1.Search.Response responses = 1; */ @java.lang.Override public org.vdaas.vald.api.v1.payload.Search.ResponseOrBuilder getResponsesOrBuilder( @@ -9073,7 +9072,7 @@ private void ensureResponsesIsMutable() { * Represent the multiple search response content. * * - * repeated .payload.v1.Search.Response responses = 1 [json_name = "responses"]; + * repeated .payload.v1.Search.Response responses = 1; */ public java.util.List getResponsesList() { if (responsesBuilder_ == null) { @@ -9087,7 +9086,7 @@ public java.util.List getResponse * Represent the multiple search response content. * * - * repeated .payload.v1.Search.Response responses = 1 [json_name = "responses"]; + * repeated .payload.v1.Search.Response responses = 1; */ public int getResponsesCount() { if (responsesBuilder_ == null) { @@ -9101,7 +9100,7 @@ public int getResponsesCount() { * Represent the multiple search response content. * * - * repeated .payload.v1.Search.Response responses = 1 [json_name = "responses"]; + * repeated .payload.v1.Search.Response responses = 1; */ public org.vdaas.vald.api.v1.payload.Search.Response getResponses(int index) { if (responsesBuilder_ == null) { @@ -9115,7 +9114,7 @@ public org.vdaas.vald.api.v1.payload.Search.Response getResponses(int index) { * Represent the multiple search response content. * * - * repeated .payload.v1.Search.Response responses = 1 [json_name = "responses"]; + * repeated .payload.v1.Search.Response responses = 1; */ public Builder setResponses( int index, org.vdaas.vald.api.v1.payload.Search.Response value) { @@ -9136,7 +9135,7 @@ public Builder setResponses( * Represent the multiple search response content. * * - * repeated .payload.v1.Search.Response responses = 1 [json_name = "responses"]; + * repeated .payload.v1.Search.Response responses = 1; */ public Builder setResponses( int index, org.vdaas.vald.api.v1.payload.Search.Response.Builder builderForValue) { @@ -9154,7 +9153,7 @@ public Builder setResponses( * Represent the multiple search response content. * * - * repeated .payload.v1.Search.Response responses = 1 [json_name = "responses"]; + * repeated .payload.v1.Search.Response responses = 1; */ public Builder addResponses(org.vdaas.vald.api.v1.payload.Search.Response value) { if (responsesBuilder_ == null) { @@ -9174,7 +9173,7 @@ public Builder addResponses(org.vdaas.vald.api.v1.payload.Search.Response value) * Represent the multiple search response content. * * - * repeated .payload.v1.Search.Response responses = 1 [json_name = "responses"]; + * repeated .payload.v1.Search.Response responses = 1; */ public Builder addResponses( int index, org.vdaas.vald.api.v1.payload.Search.Response value) { @@ -9195,7 +9194,7 @@ public Builder addResponses( * Represent the multiple search response content. * * - * repeated .payload.v1.Search.Response responses = 1 [json_name = "responses"]; + * repeated .payload.v1.Search.Response responses = 1; */ public Builder addResponses( org.vdaas.vald.api.v1.payload.Search.Response.Builder builderForValue) { @@ -9213,7 +9212,7 @@ public Builder addResponses( * Represent the multiple search response content. * * - * repeated .payload.v1.Search.Response responses = 1 [json_name = "responses"]; + * repeated .payload.v1.Search.Response responses = 1; */ public Builder addResponses( int index, org.vdaas.vald.api.v1.payload.Search.Response.Builder builderForValue) { @@ -9231,7 +9230,7 @@ public Builder addResponses( * Represent the multiple search response content. * * - * repeated .payload.v1.Search.Response responses = 1 [json_name = "responses"]; + * repeated .payload.v1.Search.Response responses = 1; */ public Builder addAllResponses( java.lang.Iterable values) { @@ -9250,7 +9249,7 @@ public Builder addAllResponses( * Represent the multiple search response content. * * - * repeated .payload.v1.Search.Response responses = 1 [json_name = "responses"]; + * repeated .payload.v1.Search.Response responses = 1; */ public Builder clearResponses() { if (responsesBuilder_ == null) { @@ -9267,7 +9266,7 @@ public Builder clearResponses() { * Represent the multiple search response content. * * - * repeated .payload.v1.Search.Response responses = 1 [json_name = "responses"]; + * repeated .payload.v1.Search.Response responses = 1; */ public Builder removeResponses(int index) { if (responsesBuilder_ == null) { @@ -9284,7 +9283,7 @@ public Builder removeResponses(int index) { * Represent the multiple search response content. * * - * repeated .payload.v1.Search.Response responses = 1 [json_name = "responses"]; + * repeated .payload.v1.Search.Response responses = 1; */ public org.vdaas.vald.api.v1.payload.Search.Response.Builder getResponsesBuilder( int index) { @@ -9295,7 +9294,7 @@ public org.vdaas.vald.api.v1.payload.Search.Response.Builder getResponsesBuilder * Represent the multiple search response content. * * - * repeated .payload.v1.Search.Response responses = 1 [json_name = "responses"]; + * repeated .payload.v1.Search.Response responses = 1; */ public org.vdaas.vald.api.v1.payload.Search.ResponseOrBuilder getResponsesOrBuilder( int index) { @@ -9309,7 +9308,7 @@ public org.vdaas.vald.api.v1.payload.Search.ResponseOrBuilder getResponsesOrBuil * Represent the multiple search response content. * * - * repeated .payload.v1.Search.Response responses = 1 [json_name = "responses"]; + * repeated .payload.v1.Search.Response responses = 1; */ public java.util.List getResponsesOrBuilderList() { @@ -9324,7 +9323,7 @@ public org.vdaas.vald.api.v1.payload.Search.ResponseOrBuilder getResponsesOrBuil * Represent the multiple search response content. * * - * repeated .payload.v1.Search.Response responses = 1 [json_name = "responses"]; + * repeated .payload.v1.Search.Response responses = 1; */ public org.vdaas.vald.api.v1.payload.Search.Response.Builder addResponsesBuilder() { return getResponsesFieldBuilder().addBuilder( @@ -9335,7 +9334,7 @@ public org.vdaas.vald.api.v1.payload.Search.Response.Builder addResponsesBuilder * Represent the multiple search response content. * * - * repeated .payload.v1.Search.Response responses = 1 [json_name = "responses"]; + * repeated .payload.v1.Search.Response responses = 1; */ public org.vdaas.vald.api.v1.payload.Search.Response.Builder addResponsesBuilder( int index) { @@ -9347,7 +9346,7 @@ public org.vdaas.vald.api.v1.payload.Search.Response.Builder addResponsesBuilder * Represent the multiple search response content. * * - * repeated .payload.v1.Search.Response responses = 1 [json_name = "responses"]; + * repeated .payload.v1.Search.Response responses = 1; */ public java.util.List getResponsesBuilderList() { @@ -9440,7 +9439,7 @@ public interface StreamResponseOrBuilder extends * Represent the search response. * * - * .payload.v1.Search.Response response = 1 [json_name = "response"]; + * .payload.v1.Search.Response response = 1; * @return Whether the response field is set. */ boolean hasResponse(); @@ -9449,7 +9448,7 @@ public interface StreamResponseOrBuilder extends * Represent the search response. * * - * .payload.v1.Search.Response response = 1 [json_name = "response"]; + * .payload.v1.Search.Response response = 1; * @return The response. */ org.vdaas.vald.api.v1.payload.Search.Response getResponse(); @@ -9458,7 +9457,7 @@ public interface StreamResponseOrBuilder extends * Represent the search response. * * - * .payload.v1.Search.Response response = 1 [json_name = "response"]; + * .payload.v1.Search.Response response = 1; */ org.vdaas.vald.api.v1.payload.Search.ResponseOrBuilder getResponseOrBuilder(); @@ -9467,7 +9466,7 @@ public interface StreamResponseOrBuilder extends * The RPC error status. * * - * .google.rpc.Status status = 2 [json_name = "status"]; + * .google.rpc.Status status = 2; * @return Whether the status field is set. */ boolean hasStatus(); @@ -9476,7 +9475,7 @@ public interface StreamResponseOrBuilder extends * The RPC error status. * * - * .google.rpc.Status status = 2 [json_name = "status"]; + * .google.rpc.Status status = 2; * @return The status. */ com.google.rpc.Status getStatus(); @@ -9485,7 +9484,7 @@ public interface StreamResponseOrBuilder extends * The RPC error status. * * - * .google.rpc.Status status = 2 [json_name = "status"]; + * .google.rpc.Status status = 2; */ com.google.rpc.StatusOrBuilder getStatusOrBuilder(); @@ -9578,7 +9577,7 @@ public int getNumber() { * Represent the search response. * * - * .payload.v1.Search.Response response = 1 [json_name = "response"]; + * .payload.v1.Search.Response response = 1; * @return Whether the response field is set. */ @java.lang.Override @@ -9590,7 +9589,7 @@ public boolean hasResponse() { * Represent the search response. * * - * .payload.v1.Search.Response response = 1 [json_name = "response"]; + * .payload.v1.Search.Response response = 1; * @return The response. */ @java.lang.Override @@ -9605,7 +9604,7 @@ public org.vdaas.vald.api.v1.payload.Search.Response getResponse() { * Represent the search response. * * - * .payload.v1.Search.Response response = 1 [json_name = "response"]; + * .payload.v1.Search.Response response = 1; */ @java.lang.Override public org.vdaas.vald.api.v1.payload.Search.ResponseOrBuilder getResponseOrBuilder() { @@ -9621,7 +9620,7 @@ public org.vdaas.vald.api.v1.payload.Search.ResponseOrBuilder getResponseOrBuild * The RPC error status. * * - * .google.rpc.Status status = 2 [json_name = "status"]; + * .google.rpc.Status status = 2; * @return Whether the status field is set. */ @java.lang.Override @@ -9633,7 +9632,7 @@ public boolean hasStatus() { * The RPC error status. * * - * .google.rpc.Status status = 2 [json_name = "status"]; + * .google.rpc.Status status = 2; * @return The status. */ @java.lang.Override @@ -9648,7 +9647,7 @@ public com.google.rpc.Status getStatus() { * The RPC error status. * * - * .google.rpc.Status status = 2 [json_name = "status"]; + * .google.rpc.Status status = 2; */ @java.lang.Override public com.google.rpc.StatusOrBuilder getStatusOrBuilder() { @@ -10074,7 +10073,7 @@ public Builder clearPayload() { * Represent the search response. * * - * .payload.v1.Search.Response response = 1 [json_name = "response"]; + * .payload.v1.Search.Response response = 1; * @return Whether the response field is set. */ @java.lang.Override @@ -10086,7 +10085,7 @@ public boolean hasResponse() { * Represent the search response. * * - * .payload.v1.Search.Response response = 1 [json_name = "response"]; + * .payload.v1.Search.Response response = 1; * @return The response. */ @java.lang.Override @@ -10108,7 +10107,7 @@ public org.vdaas.vald.api.v1.payload.Search.Response getResponse() { * Represent the search response. * * - * .payload.v1.Search.Response response = 1 [json_name = "response"]; + * .payload.v1.Search.Response response = 1; */ public Builder setResponse(org.vdaas.vald.api.v1.payload.Search.Response value) { if (responseBuilder_ == null) { @@ -10128,7 +10127,7 @@ public Builder setResponse(org.vdaas.vald.api.v1.payload.Search.Response value) * Represent the search response. * * - * .payload.v1.Search.Response response = 1 [json_name = "response"]; + * .payload.v1.Search.Response response = 1; */ public Builder setResponse( org.vdaas.vald.api.v1.payload.Search.Response.Builder builderForValue) { @@ -10146,7 +10145,7 @@ public Builder setResponse( * Represent the search response. * * - * .payload.v1.Search.Response response = 1 [json_name = "response"]; + * .payload.v1.Search.Response response = 1; */ public Builder mergeResponse(org.vdaas.vald.api.v1.payload.Search.Response value) { if (responseBuilder_ == null) { @@ -10173,7 +10172,7 @@ public Builder mergeResponse(org.vdaas.vald.api.v1.payload.Search.Response value * Represent the search response. * * - * .payload.v1.Search.Response response = 1 [json_name = "response"]; + * .payload.v1.Search.Response response = 1; */ public Builder clearResponse() { if (responseBuilder_ == null) { @@ -10196,7 +10195,7 @@ public Builder clearResponse() { * Represent the search response. * * - * .payload.v1.Search.Response response = 1 [json_name = "response"]; + * .payload.v1.Search.Response response = 1; */ public org.vdaas.vald.api.v1.payload.Search.Response.Builder getResponseBuilder() { return getResponseFieldBuilder().getBuilder(); @@ -10206,7 +10205,7 @@ public org.vdaas.vald.api.v1.payload.Search.Response.Builder getResponseBuilder( * Represent the search response. * * - * .payload.v1.Search.Response response = 1 [json_name = "response"]; + * .payload.v1.Search.Response response = 1; */ @java.lang.Override public org.vdaas.vald.api.v1.payload.Search.ResponseOrBuilder getResponseOrBuilder() { @@ -10224,7 +10223,7 @@ public org.vdaas.vald.api.v1.payload.Search.ResponseOrBuilder getResponseOrBuild * Represent the search response. * * - * .payload.v1.Search.Response response = 1 [json_name = "response"]; + * .payload.v1.Search.Response response = 1; */ private com.google.protobuf.SingleFieldBuilderV3< org.vdaas.vald.api.v1.payload.Search.Response, org.vdaas.vald.api.v1.payload.Search.Response.Builder, org.vdaas.vald.api.v1.payload.Search.ResponseOrBuilder> @@ -10252,7 +10251,7 @@ public org.vdaas.vald.api.v1.payload.Search.ResponseOrBuilder getResponseOrBuild * The RPC error status. * * - * .google.rpc.Status status = 2 [json_name = "status"]; + * .google.rpc.Status status = 2; * @return Whether the status field is set. */ @java.lang.Override @@ -10264,7 +10263,7 @@ public boolean hasStatus() { * The RPC error status. * * - * .google.rpc.Status status = 2 [json_name = "status"]; + * .google.rpc.Status status = 2; * @return The status. */ @java.lang.Override @@ -10286,7 +10285,7 @@ public com.google.rpc.Status getStatus() { * The RPC error status. * * - * .google.rpc.Status status = 2 [json_name = "status"]; + * .google.rpc.Status status = 2; */ public Builder setStatus(com.google.rpc.Status value) { if (statusBuilder_ == null) { @@ -10306,7 +10305,7 @@ public Builder setStatus(com.google.rpc.Status value) { * The RPC error status. * * - * .google.rpc.Status status = 2 [json_name = "status"]; + * .google.rpc.Status status = 2; */ public Builder setStatus( com.google.rpc.Status.Builder builderForValue) { @@ -10324,7 +10323,7 @@ public Builder setStatus( * The RPC error status. * * - * .google.rpc.Status status = 2 [json_name = "status"]; + * .google.rpc.Status status = 2; */ public Builder mergeStatus(com.google.rpc.Status value) { if (statusBuilder_ == null) { @@ -10351,7 +10350,7 @@ public Builder mergeStatus(com.google.rpc.Status value) { * The RPC error status. * * - * .google.rpc.Status status = 2 [json_name = "status"]; + * .google.rpc.Status status = 2; */ public Builder clearStatus() { if (statusBuilder_ == null) { @@ -10374,7 +10373,7 @@ public Builder clearStatus() { * The RPC error status. * * - * .google.rpc.Status status = 2 [json_name = "status"]; + * .google.rpc.Status status = 2; */ public com.google.rpc.Status.Builder getStatusBuilder() { return getStatusFieldBuilder().getBuilder(); @@ -10384,7 +10383,7 @@ public com.google.rpc.Status.Builder getStatusBuilder() { * The RPC error status. * * - * .google.rpc.Status status = 2 [json_name = "status"]; + * .google.rpc.Status status = 2; */ @java.lang.Override public com.google.rpc.StatusOrBuilder getStatusOrBuilder() { @@ -10402,7 +10401,7 @@ public com.google.rpc.StatusOrBuilder getStatusOrBuilder() { * The RPC error status. * * - * .google.rpc.Status status = 2 [json_name = "status"]; + * .google.rpc.Status status = 2; */ private com.google.protobuf.SingleFieldBuilderV3< com.google.rpc.Status, com.google.rpc.Status.Builder, com.google.rpc.StatusOrBuilder> diff --git a/src/main/java/org/vdaas/vald/api/v1/payload/SearchOrBuilder.java b/src/main/java/org/vdaas/vald/api/v1/payload/SearchOrBuilder.java index 9483d033..fc2ec824 100644 --- a/src/main/java/org/vdaas/vald/api/v1/payload/SearchOrBuilder.java +++ b/src/main/java/org/vdaas/vald/api/v1/payload/SearchOrBuilder.java @@ -1,7 +1,6 @@ // Generated by the protocol buffer compiler. DO NOT EDIT! -// source: v1/payload/payload.proto +// source: apis/proto/v1/payload/payload.proto -// Protobuf Java Version: 3.25.1 package org.vdaas.vald.api.v1.payload; public interface SearchOrBuilder extends diff --git a/src/main/java/org/vdaas/vald/api/v1/payload/Update.java b/src/main/java/org/vdaas/vald/api/v1/payload/Update.java index c47581dd..89aaa5e4 100644 --- a/src/main/java/org/vdaas/vald/api/v1/payload/Update.java +++ b/src/main/java/org/vdaas/vald/api/v1/payload/Update.java @@ -1,7 +1,6 @@ // Generated by the protocol buffer compiler. DO NOT EDIT! -// source: v1/payload/payload.proto +// source: apis/proto/v1/payload/payload.proto -// Protobuf Java Version: 3.25.1 package org.vdaas.vald.api.v1.payload; /** @@ -52,7 +51,7 @@ public interface RequestOrBuilder extends * The vector to be updated. * * - * .payload.v1.Object.Vector vector = 1 [json_name = "vector", (.buf.validate.field) = { ... } + * .payload.v1.Object.Vector vector = 1 [(.validate.rules) = { ... } * @return Whether the vector field is set. */ boolean hasVector(); @@ -61,7 +60,7 @@ public interface RequestOrBuilder extends * The vector to be updated. * * - * .payload.v1.Object.Vector vector = 1 [json_name = "vector", (.buf.validate.field) = { ... } + * .payload.v1.Object.Vector vector = 1 [(.validate.rules) = { ... } * @return The vector. */ org.vdaas.vald.api.v1.payload.Object.Vector getVector(); @@ -70,7 +69,7 @@ public interface RequestOrBuilder extends * The vector to be updated. * * - * .payload.v1.Object.Vector vector = 1 [json_name = "vector", (.buf.validate.field) = { ... } + * .payload.v1.Object.Vector vector = 1 [(.validate.rules) = { ... } */ org.vdaas.vald.api.v1.payload.Object.VectorOrBuilder getVectorOrBuilder(); @@ -79,7 +78,7 @@ public interface RequestOrBuilder extends * The configuration of the update request. * * - * .payload.v1.Update.Config config = 2 [json_name = "config"]; + * .payload.v1.Update.Config config = 2; * @return Whether the config field is set. */ boolean hasConfig(); @@ -88,7 +87,7 @@ public interface RequestOrBuilder extends * The configuration of the update request. * * - * .payload.v1.Update.Config config = 2 [json_name = "config"]; + * .payload.v1.Update.Config config = 2; * @return The config. */ org.vdaas.vald.api.v1.payload.Update.Config getConfig(); @@ -97,7 +96,7 @@ public interface RequestOrBuilder extends * The configuration of the update request. * * - * .payload.v1.Update.Config config = 2 [json_name = "config"]; + * .payload.v1.Update.Config config = 2; */ org.vdaas.vald.api.v1.payload.Update.ConfigOrBuilder getConfigOrBuilder(); } @@ -148,7 +147,7 @@ protected java.lang.Object newInstance( * The vector to be updated. * * - * .payload.v1.Object.Vector vector = 1 [json_name = "vector", (.buf.validate.field) = { ... } + * .payload.v1.Object.Vector vector = 1 [(.validate.rules) = { ... } * @return Whether the vector field is set. */ @java.lang.Override @@ -160,7 +159,7 @@ public boolean hasVector() { * The vector to be updated. * * - * .payload.v1.Object.Vector vector = 1 [json_name = "vector", (.buf.validate.field) = { ... } + * .payload.v1.Object.Vector vector = 1 [(.validate.rules) = { ... } * @return The vector. */ @java.lang.Override @@ -172,7 +171,7 @@ public org.vdaas.vald.api.v1.payload.Object.Vector getVector() { * The vector to be updated. * * - * .payload.v1.Object.Vector vector = 1 [json_name = "vector", (.buf.validate.field) = { ... } + * .payload.v1.Object.Vector vector = 1 [(.validate.rules) = { ... } */ @java.lang.Override public org.vdaas.vald.api.v1.payload.Object.VectorOrBuilder getVectorOrBuilder() { @@ -186,7 +185,7 @@ public org.vdaas.vald.api.v1.payload.Object.VectorOrBuilder getVectorOrBuilder() * The configuration of the update request. * * - * .payload.v1.Update.Config config = 2 [json_name = "config"]; + * .payload.v1.Update.Config config = 2; * @return Whether the config field is set. */ @java.lang.Override @@ -198,7 +197,7 @@ public boolean hasConfig() { * The configuration of the update request. * * - * .payload.v1.Update.Config config = 2 [json_name = "config"]; + * .payload.v1.Update.Config config = 2; * @return The config. */ @java.lang.Override @@ -210,7 +209,7 @@ public org.vdaas.vald.api.v1.payload.Update.Config getConfig() { * The configuration of the update request. * * - * .payload.v1.Update.Config config = 2 [json_name = "config"]; + * .payload.v1.Update.Config config = 2; */ @java.lang.Override public org.vdaas.vald.api.v1.payload.Update.ConfigOrBuilder getConfigOrBuilder() { @@ -614,7 +613,7 @@ public Builder mergeFrom( * The vector to be updated. * * - * .payload.v1.Object.Vector vector = 1 [json_name = "vector", (.buf.validate.field) = { ... } + * .payload.v1.Object.Vector vector = 1 [(.validate.rules) = { ... } * @return Whether the vector field is set. */ public boolean hasVector() { @@ -625,7 +624,7 @@ public boolean hasVector() { * The vector to be updated. * * - * .payload.v1.Object.Vector vector = 1 [json_name = "vector", (.buf.validate.field) = { ... } + * .payload.v1.Object.Vector vector = 1 [(.validate.rules) = { ... } * @return The vector. */ public org.vdaas.vald.api.v1.payload.Object.Vector getVector() { @@ -640,7 +639,7 @@ public org.vdaas.vald.api.v1.payload.Object.Vector getVector() { * The vector to be updated. * * - * .payload.v1.Object.Vector vector = 1 [json_name = "vector", (.buf.validate.field) = { ... } + * .payload.v1.Object.Vector vector = 1 [(.validate.rules) = { ... } */ public Builder setVector(org.vdaas.vald.api.v1.payload.Object.Vector value) { if (vectorBuilder_ == null) { @@ -660,7 +659,7 @@ public Builder setVector(org.vdaas.vald.api.v1.payload.Object.Vector value) { * The vector to be updated. * * - * .payload.v1.Object.Vector vector = 1 [json_name = "vector", (.buf.validate.field) = { ... } + * .payload.v1.Object.Vector vector = 1 [(.validate.rules) = { ... } */ public Builder setVector( org.vdaas.vald.api.v1.payload.Object.Vector.Builder builderForValue) { @@ -678,7 +677,7 @@ public Builder setVector( * The vector to be updated. * * - * .payload.v1.Object.Vector vector = 1 [json_name = "vector", (.buf.validate.field) = { ... } + * .payload.v1.Object.Vector vector = 1 [(.validate.rules) = { ... } */ public Builder mergeVector(org.vdaas.vald.api.v1.payload.Object.Vector value) { if (vectorBuilder_ == null) { @@ -703,7 +702,7 @@ public Builder mergeVector(org.vdaas.vald.api.v1.payload.Object.Vector value) { * The vector to be updated. * * - * .payload.v1.Object.Vector vector = 1 [json_name = "vector", (.buf.validate.field) = { ... } + * .payload.v1.Object.Vector vector = 1 [(.validate.rules) = { ... } */ public Builder clearVector() { bitField0_ = (bitField0_ & ~0x00000001); @@ -720,7 +719,7 @@ public Builder clearVector() { * The vector to be updated. * * - * .payload.v1.Object.Vector vector = 1 [json_name = "vector", (.buf.validate.field) = { ... } + * .payload.v1.Object.Vector vector = 1 [(.validate.rules) = { ... } */ public org.vdaas.vald.api.v1.payload.Object.Vector.Builder getVectorBuilder() { bitField0_ |= 0x00000001; @@ -732,7 +731,7 @@ public org.vdaas.vald.api.v1.payload.Object.Vector.Builder getVectorBuilder() { * The vector to be updated. * * - * .payload.v1.Object.Vector vector = 1 [json_name = "vector", (.buf.validate.field) = { ... } + * .payload.v1.Object.Vector vector = 1 [(.validate.rules) = { ... } */ public org.vdaas.vald.api.v1.payload.Object.VectorOrBuilder getVectorOrBuilder() { if (vectorBuilder_ != null) { @@ -747,7 +746,7 @@ public org.vdaas.vald.api.v1.payload.Object.VectorOrBuilder getVectorOrBuilder() * The vector to be updated. * * - * .payload.v1.Object.Vector vector = 1 [json_name = "vector", (.buf.validate.field) = { ... } + * .payload.v1.Object.Vector vector = 1 [(.validate.rules) = { ... } */ private com.google.protobuf.SingleFieldBuilderV3< org.vdaas.vald.api.v1.payload.Object.Vector, org.vdaas.vald.api.v1.payload.Object.Vector.Builder, org.vdaas.vald.api.v1.payload.Object.VectorOrBuilder> @@ -771,7 +770,7 @@ public org.vdaas.vald.api.v1.payload.Object.VectorOrBuilder getVectorOrBuilder() * The configuration of the update request. * * - * .payload.v1.Update.Config config = 2 [json_name = "config"]; + * .payload.v1.Update.Config config = 2; * @return Whether the config field is set. */ public boolean hasConfig() { @@ -782,7 +781,7 @@ public boolean hasConfig() { * The configuration of the update request. * * - * .payload.v1.Update.Config config = 2 [json_name = "config"]; + * .payload.v1.Update.Config config = 2; * @return The config. */ public org.vdaas.vald.api.v1.payload.Update.Config getConfig() { @@ -797,7 +796,7 @@ public org.vdaas.vald.api.v1.payload.Update.Config getConfig() { * The configuration of the update request. * * - * .payload.v1.Update.Config config = 2 [json_name = "config"]; + * .payload.v1.Update.Config config = 2; */ public Builder setConfig(org.vdaas.vald.api.v1.payload.Update.Config value) { if (configBuilder_ == null) { @@ -817,7 +816,7 @@ public Builder setConfig(org.vdaas.vald.api.v1.payload.Update.Config value) { * The configuration of the update request. * * - * .payload.v1.Update.Config config = 2 [json_name = "config"]; + * .payload.v1.Update.Config config = 2; */ public Builder setConfig( org.vdaas.vald.api.v1.payload.Update.Config.Builder builderForValue) { @@ -835,7 +834,7 @@ public Builder setConfig( * The configuration of the update request. * * - * .payload.v1.Update.Config config = 2 [json_name = "config"]; + * .payload.v1.Update.Config config = 2; */ public Builder mergeConfig(org.vdaas.vald.api.v1.payload.Update.Config value) { if (configBuilder_ == null) { @@ -860,7 +859,7 @@ public Builder mergeConfig(org.vdaas.vald.api.v1.payload.Update.Config value) { * The configuration of the update request. * * - * .payload.v1.Update.Config config = 2 [json_name = "config"]; + * .payload.v1.Update.Config config = 2; */ public Builder clearConfig() { bitField0_ = (bitField0_ & ~0x00000002); @@ -877,7 +876,7 @@ public Builder clearConfig() { * The configuration of the update request. * * - * .payload.v1.Update.Config config = 2 [json_name = "config"]; + * .payload.v1.Update.Config config = 2; */ public org.vdaas.vald.api.v1.payload.Update.Config.Builder getConfigBuilder() { bitField0_ |= 0x00000002; @@ -889,7 +888,7 @@ public org.vdaas.vald.api.v1.payload.Update.Config.Builder getConfigBuilder() { * The configuration of the update request. * * - * .payload.v1.Update.Config config = 2 [json_name = "config"]; + * .payload.v1.Update.Config config = 2; */ public org.vdaas.vald.api.v1.payload.Update.ConfigOrBuilder getConfigOrBuilder() { if (configBuilder_ != null) { @@ -904,7 +903,7 @@ public org.vdaas.vald.api.v1.payload.Update.ConfigOrBuilder getConfigOrBuilder() * The configuration of the update request. * * - * .payload.v1.Update.Config config = 2 [json_name = "config"]; + * .payload.v1.Update.Config config = 2; */ private com.google.protobuf.SingleFieldBuilderV3< org.vdaas.vald.api.v1.payload.Update.Config, org.vdaas.vald.api.v1.payload.Update.Config.Builder, org.vdaas.vald.api.v1.payload.Update.ConfigOrBuilder> @@ -992,7 +991,7 @@ public interface MultiRequestOrBuilder extends * Represent the multiple update request content. * * - * repeated .payload.v1.Update.Request requests = 1 [json_name = "requests"]; + * repeated .payload.v1.Update.Request requests = 1; */ java.util.List getRequestsList(); @@ -1001,7 +1000,7 @@ public interface MultiRequestOrBuilder extends * Represent the multiple update request content. * * - * repeated .payload.v1.Update.Request requests = 1 [json_name = "requests"]; + * repeated .payload.v1.Update.Request requests = 1; */ org.vdaas.vald.api.v1.payload.Update.Request getRequests(int index); /** @@ -1009,7 +1008,7 @@ public interface MultiRequestOrBuilder extends * Represent the multiple update request content. * * - * repeated .payload.v1.Update.Request requests = 1 [json_name = "requests"]; + * repeated .payload.v1.Update.Request requests = 1; */ int getRequestsCount(); /** @@ -1017,7 +1016,7 @@ public interface MultiRequestOrBuilder extends * Represent the multiple update request content. * * - * repeated .payload.v1.Update.Request requests = 1 [json_name = "requests"]; + * repeated .payload.v1.Update.Request requests = 1; */ java.util.List getRequestsOrBuilderList(); @@ -1026,7 +1025,7 @@ public interface MultiRequestOrBuilder extends * Represent the multiple update request content. * * - * repeated .payload.v1.Update.Request requests = 1 [json_name = "requests"]; + * repeated .payload.v1.Update.Request requests = 1; */ org.vdaas.vald.api.v1.payload.Update.RequestOrBuilder getRequestsOrBuilder( int index); @@ -1079,7 +1078,7 @@ protected java.lang.Object newInstance( * Represent the multiple update request content. * * - * repeated .payload.v1.Update.Request requests = 1 [json_name = "requests"]; + * repeated .payload.v1.Update.Request requests = 1; */ @java.lang.Override public java.util.List getRequestsList() { @@ -1090,7 +1089,7 @@ public java.util.List getRequestsL * Represent the multiple update request content. * * - * repeated .payload.v1.Update.Request requests = 1 [json_name = "requests"]; + * repeated .payload.v1.Update.Request requests = 1; */ @java.lang.Override public java.util.List @@ -1102,7 +1101,7 @@ public java.util.List getRequestsL * Represent the multiple update request content. * * - * repeated .payload.v1.Update.Request requests = 1 [json_name = "requests"]; + * repeated .payload.v1.Update.Request requests = 1; */ @java.lang.Override public int getRequestsCount() { @@ -1113,7 +1112,7 @@ public int getRequestsCount() { * Represent the multiple update request content. * * - * repeated .payload.v1.Update.Request requests = 1 [json_name = "requests"]; + * repeated .payload.v1.Update.Request requests = 1; */ @java.lang.Override public org.vdaas.vald.api.v1.payload.Update.Request getRequests(int index) { @@ -1124,7 +1123,7 @@ public org.vdaas.vald.api.v1.payload.Update.Request getRequests(int index) { * Represent the multiple update request content. * * - * repeated .payload.v1.Update.Request requests = 1 [json_name = "requests"]; + * repeated .payload.v1.Update.Request requests = 1; */ @java.lang.Override public org.vdaas.vald.api.v1.payload.Update.RequestOrBuilder getRequestsOrBuilder( @@ -1527,7 +1526,7 @@ private void ensureRequestsIsMutable() { * Represent the multiple update request content. * * - * repeated .payload.v1.Update.Request requests = 1 [json_name = "requests"]; + * repeated .payload.v1.Update.Request requests = 1; */ public java.util.List getRequestsList() { if (requestsBuilder_ == null) { @@ -1541,7 +1540,7 @@ public java.util.List getRequestsL * Represent the multiple update request content. * * - * repeated .payload.v1.Update.Request requests = 1 [json_name = "requests"]; + * repeated .payload.v1.Update.Request requests = 1; */ public int getRequestsCount() { if (requestsBuilder_ == null) { @@ -1555,7 +1554,7 @@ public int getRequestsCount() { * Represent the multiple update request content. * * - * repeated .payload.v1.Update.Request requests = 1 [json_name = "requests"]; + * repeated .payload.v1.Update.Request requests = 1; */ public org.vdaas.vald.api.v1.payload.Update.Request getRequests(int index) { if (requestsBuilder_ == null) { @@ -1569,7 +1568,7 @@ public org.vdaas.vald.api.v1.payload.Update.Request getRequests(int index) { * Represent the multiple update request content. * * - * repeated .payload.v1.Update.Request requests = 1 [json_name = "requests"]; + * repeated .payload.v1.Update.Request requests = 1; */ public Builder setRequests( int index, org.vdaas.vald.api.v1.payload.Update.Request value) { @@ -1590,7 +1589,7 @@ public Builder setRequests( * Represent the multiple update request content. * * - * repeated .payload.v1.Update.Request requests = 1 [json_name = "requests"]; + * repeated .payload.v1.Update.Request requests = 1; */ public Builder setRequests( int index, org.vdaas.vald.api.v1.payload.Update.Request.Builder builderForValue) { @@ -1608,7 +1607,7 @@ public Builder setRequests( * Represent the multiple update request content. * * - * repeated .payload.v1.Update.Request requests = 1 [json_name = "requests"]; + * repeated .payload.v1.Update.Request requests = 1; */ public Builder addRequests(org.vdaas.vald.api.v1.payload.Update.Request value) { if (requestsBuilder_ == null) { @@ -1628,7 +1627,7 @@ public Builder addRequests(org.vdaas.vald.api.v1.payload.Update.Request value) { * Represent the multiple update request content. * * - * repeated .payload.v1.Update.Request requests = 1 [json_name = "requests"]; + * repeated .payload.v1.Update.Request requests = 1; */ public Builder addRequests( int index, org.vdaas.vald.api.v1.payload.Update.Request value) { @@ -1649,7 +1648,7 @@ public Builder addRequests( * Represent the multiple update request content. * * - * repeated .payload.v1.Update.Request requests = 1 [json_name = "requests"]; + * repeated .payload.v1.Update.Request requests = 1; */ public Builder addRequests( org.vdaas.vald.api.v1.payload.Update.Request.Builder builderForValue) { @@ -1667,7 +1666,7 @@ public Builder addRequests( * Represent the multiple update request content. * * - * repeated .payload.v1.Update.Request requests = 1 [json_name = "requests"]; + * repeated .payload.v1.Update.Request requests = 1; */ public Builder addRequests( int index, org.vdaas.vald.api.v1.payload.Update.Request.Builder builderForValue) { @@ -1685,7 +1684,7 @@ public Builder addRequests( * Represent the multiple update request content. * * - * repeated .payload.v1.Update.Request requests = 1 [json_name = "requests"]; + * repeated .payload.v1.Update.Request requests = 1; */ public Builder addAllRequests( java.lang.Iterable values) { @@ -1704,7 +1703,7 @@ public Builder addAllRequests( * Represent the multiple update request content. * * - * repeated .payload.v1.Update.Request requests = 1 [json_name = "requests"]; + * repeated .payload.v1.Update.Request requests = 1; */ public Builder clearRequests() { if (requestsBuilder_ == null) { @@ -1721,7 +1720,7 @@ public Builder clearRequests() { * Represent the multiple update request content. * * - * repeated .payload.v1.Update.Request requests = 1 [json_name = "requests"]; + * repeated .payload.v1.Update.Request requests = 1; */ public Builder removeRequests(int index) { if (requestsBuilder_ == null) { @@ -1738,7 +1737,7 @@ public Builder removeRequests(int index) { * Represent the multiple update request content. * * - * repeated .payload.v1.Update.Request requests = 1 [json_name = "requests"]; + * repeated .payload.v1.Update.Request requests = 1; */ public org.vdaas.vald.api.v1.payload.Update.Request.Builder getRequestsBuilder( int index) { @@ -1749,7 +1748,7 @@ public org.vdaas.vald.api.v1.payload.Update.Request.Builder getRequestsBuilder( * Represent the multiple update request content. * * - * repeated .payload.v1.Update.Request requests = 1 [json_name = "requests"]; + * repeated .payload.v1.Update.Request requests = 1; */ public org.vdaas.vald.api.v1.payload.Update.RequestOrBuilder getRequestsOrBuilder( int index) { @@ -1763,7 +1762,7 @@ public org.vdaas.vald.api.v1.payload.Update.RequestOrBuilder getRequestsOrBuilde * Represent the multiple update request content. * * - * repeated .payload.v1.Update.Request requests = 1 [json_name = "requests"]; + * repeated .payload.v1.Update.Request requests = 1; */ public java.util.List getRequestsOrBuilderList() { @@ -1778,7 +1777,7 @@ public org.vdaas.vald.api.v1.payload.Update.RequestOrBuilder getRequestsOrBuilde * Represent the multiple update request content. * * - * repeated .payload.v1.Update.Request requests = 1 [json_name = "requests"]; + * repeated .payload.v1.Update.Request requests = 1; */ public org.vdaas.vald.api.v1.payload.Update.Request.Builder addRequestsBuilder() { return getRequestsFieldBuilder().addBuilder( @@ -1789,7 +1788,7 @@ public org.vdaas.vald.api.v1.payload.Update.Request.Builder addRequestsBuilder() * Represent the multiple update request content. * * - * repeated .payload.v1.Update.Request requests = 1 [json_name = "requests"]; + * repeated .payload.v1.Update.Request requests = 1; */ public org.vdaas.vald.api.v1.payload.Update.Request.Builder addRequestsBuilder( int index) { @@ -1801,7 +1800,7 @@ public org.vdaas.vald.api.v1.payload.Update.Request.Builder addRequestsBuilder( * Represent the multiple update request content. * * - * repeated .payload.v1.Update.Request requests = 1 [json_name = "requests"]; + * repeated .payload.v1.Update.Request requests = 1; */ public java.util.List getRequestsBuilderList() { @@ -1894,7 +1893,7 @@ public interface ObjectRequestOrBuilder extends * The binary object to be updated. * * - * .payload.v1.Object.Blob object = 1 [json_name = "object"]; + * .payload.v1.Object.Blob object = 1; * @return Whether the object field is set. */ boolean hasObject(); @@ -1903,7 +1902,7 @@ public interface ObjectRequestOrBuilder extends * The binary object to be updated. * * - * .payload.v1.Object.Blob object = 1 [json_name = "object"]; + * .payload.v1.Object.Blob object = 1; * @return The object. */ org.vdaas.vald.api.v1.payload.Object.Blob getObject(); @@ -1912,7 +1911,7 @@ public interface ObjectRequestOrBuilder extends * The binary object to be updated. * * - * .payload.v1.Object.Blob object = 1 [json_name = "object"]; + * .payload.v1.Object.Blob object = 1; */ org.vdaas.vald.api.v1.payload.Object.BlobOrBuilder getObjectOrBuilder(); @@ -1921,7 +1920,7 @@ public interface ObjectRequestOrBuilder extends * The configuration of the update request. * * - * .payload.v1.Update.Config config = 2 [json_name = "config"]; + * .payload.v1.Update.Config config = 2; * @return Whether the config field is set. */ boolean hasConfig(); @@ -1930,7 +1929,7 @@ public interface ObjectRequestOrBuilder extends * The configuration of the update request. * * - * .payload.v1.Update.Config config = 2 [json_name = "config"]; + * .payload.v1.Update.Config config = 2; * @return The config. */ org.vdaas.vald.api.v1.payload.Update.Config getConfig(); @@ -1939,7 +1938,7 @@ public interface ObjectRequestOrBuilder extends * The configuration of the update request. * * - * .payload.v1.Update.Config config = 2 [json_name = "config"]; + * .payload.v1.Update.Config config = 2; */ org.vdaas.vald.api.v1.payload.Update.ConfigOrBuilder getConfigOrBuilder(); @@ -1948,7 +1947,7 @@ public interface ObjectRequestOrBuilder extends * Filter target. * * - * .payload.v1.Filter.Target vectorizer = 3 [json_name = "vectorizer"]; + * .payload.v1.Filter.Target vectorizer = 3; * @return Whether the vectorizer field is set. */ boolean hasVectorizer(); @@ -1957,7 +1956,7 @@ public interface ObjectRequestOrBuilder extends * Filter target. * * - * .payload.v1.Filter.Target vectorizer = 3 [json_name = "vectorizer"]; + * .payload.v1.Filter.Target vectorizer = 3; * @return The vectorizer. */ org.vdaas.vald.api.v1.payload.Filter.Target getVectorizer(); @@ -1966,7 +1965,7 @@ public interface ObjectRequestOrBuilder extends * Filter target. * * - * .payload.v1.Filter.Target vectorizer = 3 [json_name = "vectorizer"]; + * .payload.v1.Filter.Target vectorizer = 3; */ org.vdaas.vald.api.v1.payload.Filter.TargetOrBuilder getVectorizerOrBuilder(); } @@ -2017,7 +2016,7 @@ protected java.lang.Object newInstance( * The binary object to be updated. * * - * .payload.v1.Object.Blob object = 1 [json_name = "object"]; + * .payload.v1.Object.Blob object = 1; * @return Whether the object field is set. */ @java.lang.Override @@ -2029,7 +2028,7 @@ public boolean hasObject() { * The binary object to be updated. * * - * .payload.v1.Object.Blob object = 1 [json_name = "object"]; + * .payload.v1.Object.Blob object = 1; * @return The object. */ @java.lang.Override @@ -2041,7 +2040,7 @@ public org.vdaas.vald.api.v1.payload.Object.Blob getObject() { * The binary object to be updated. * * - * .payload.v1.Object.Blob object = 1 [json_name = "object"]; + * .payload.v1.Object.Blob object = 1; */ @java.lang.Override public org.vdaas.vald.api.v1.payload.Object.BlobOrBuilder getObjectOrBuilder() { @@ -2055,7 +2054,7 @@ public org.vdaas.vald.api.v1.payload.Object.BlobOrBuilder getObjectOrBuilder() { * The configuration of the update request. * * - * .payload.v1.Update.Config config = 2 [json_name = "config"]; + * .payload.v1.Update.Config config = 2; * @return Whether the config field is set. */ @java.lang.Override @@ -2067,7 +2066,7 @@ public boolean hasConfig() { * The configuration of the update request. * * - * .payload.v1.Update.Config config = 2 [json_name = "config"]; + * .payload.v1.Update.Config config = 2; * @return The config. */ @java.lang.Override @@ -2079,7 +2078,7 @@ public org.vdaas.vald.api.v1.payload.Update.Config getConfig() { * The configuration of the update request. * * - * .payload.v1.Update.Config config = 2 [json_name = "config"]; + * .payload.v1.Update.Config config = 2; */ @java.lang.Override public org.vdaas.vald.api.v1.payload.Update.ConfigOrBuilder getConfigOrBuilder() { @@ -2093,7 +2092,7 @@ public org.vdaas.vald.api.v1.payload.Update.ConfigOrBuilder getConfigOrBuilder() * Filter target. * * - * .payload.v1.Filter.Target vectorizer = 3 [json_name = "vectorizer"]; + * .payload.v1.Filter.Target vectorizer = 3; * @return Whether the vectorizer field is set. */ @java.lang.Override @@ -2105,7 +2104,7 @@ public boolean hasVectorizer() { * Filter target. * * - * .payload.v1.Filter.Target vectorizer = 3 [json_name = "vectorizer"]; + * .payload.v1.Filter.Target vectorizer = 3; * @return The vectorizer. */ @java.lang.Override @@ -2117,7 +2116,7 @@ public org.vdaas.vald.api.v1.payload.Filter.Target getVectorizer() { * Filter target. * * - * .payload.v1.Filter.Target vectorizer = 3 [json_name = "vectorizer"]; + * .payload.v1.Filter.Target vectorizer = 3; */ @java.lang.Override public org.vdaas.vald.api.v1.payload.Filter.TargetOrBuilder getVectorizerOrBuilder() { @@ -2559,7 +2558,7 @@ public Builder mergeFrom( * The binary object to be updated. * * - * .payload.v1.Object.Blob object = 1 [json_name = "object"]; + * .payload.v1.Object.Blob object = 1; * @return Whether the object field is set. */ public boolean hasObject() { @@ -2570,7 +2569,7 @@ public boolean hasObject() { * The binary object to be updated. * * - * .payload.v1.Object.Blob object = 1 [json_name = "object"]; + * .payload.v1.Object.Blob object = 1; * @return The object. */ public org.vdaas.vald.api.v1.payload.Object.Blob getObject() { @@ -2585,7 +2584,7 @@ public org.vdaas.vald.api.v1.payload.Object.Blob getObject() { * The binary object to be updated. * * - * .payload.v1.Object.Blob object = 1 [json_name = "object"]; + * .payload.v1.Object.Blob object = 1; */ public Builder setObject(org.vdaas.vald.api.v1.payload.Object.Blob value) { if (objectBuilder_ == null) { @@ -2605,7 +2604,7 @@ public Builder setObject(org.vdaas.vald.api.v1.payload.Object.Blob value) { * The binary object to be updated. * * - * .payload.v1.Object.Blob object = 1 [json_name = "object"]; + * .payload.v1.Object.Blob object = 1; */ public Builder setObject( org.vdaas.vald.api.v1.payload.Object.Blob.Builder builderForValue) { @@ -2623,7 +2622,7 @@ public Builder setObject( * The binary object to be updated. * * - * .payload.v1.Object.Blob object = 1 [json_name = "object"]; + * .payload.v1.Object.Blob object = 1; */ public Builder mergeObject(org.vdaas.vald.api.v1.payload.Object.Blob value) { if (objectBuilder_ == null) { @@ -2648,7 +2647,7 @@ public Builder mergeObject(org.vdaas.vald.api.v1.payload.Object.Blob value) { * The binary object to be updated. * * - * .payload.v1.Object.Blob object = 1 [json_name = "object"]; + * .payload.v1.Object.Blob object = 1; */ public Builder clearObject() { bitField0_ = (bitField0_ & ~0x00000001); @@ -2665,7 +2664,7 @@ public Builder clearObject() { * The binary object to be updated. * * - * .payload.v1.Object.Blob object = 1 [json_name = "object"]; + * .payload.v1.Object.Blob object = 1; */ public org.vdaas.vald.api.v1.payload.Object.Blob.Builder getObjectBuilder() { bitField0_ |= 0x00000001; @@ -2677,7 +2676,7 @@ public org.vdaas.vald.api.v1.payload.Object.Blob.Builder getObjectBuilder() { * The binary object to be updated. * * - * .payload.v1.Object.Blob object = 1 [json_name = "object"]; + * .payload.v1.Object.Blob object = 1; */ public org.vdaas.vald.api.v1.payload.Object.BlobOrBuilder getObjectOrBuilder() { if (objectBuilder_ != null) { @@ -2692,7 +2691,7 @@ public org.vdaas.vald.api.v1.payload.Object.BlobOrBuilder getObjectOrBuilder() { * The binary object to be updated. * * - * .payload.v1.Object.Blob object = 1 [json_name = "object"]; + * .payload.v1.Object.Blob object = 1; */ private com.google.protobuf.SingleFieldBuilderV3< org.vdaas.vald.api.v1.payload.Object.Blob, org.vdaas.vald.api.v1.payload.Object.Blob.Builder, org.vdaas.vald.api.v1.payload.Object.BlobOrBuilder> @@ -2716,7 +2715,7 @@ public org.vdaas.vald.api.v1.payload.Object.BlobOrBuilder getObjectOrBuilder() { * The configuration of the update request. * * - * .payload.v1.Update.Config config = 2 [json_name = "config"]; + * .payload.v1.Update.Config config = 2; * @return Whether the config field is set. */ public boolean hasConfig() { @@ -2727,7 +2726,7 @@ public boolean hasConfig() { * The configuration of the update request. * * - * .payload.v1.Update.Config config = 2 [json_name = "config"]; + * .payload.v1.Update.Config config = 2; * @return The config. */ public org.vdaas.vald.api.v1.payload.Update.Config getConfig() { @@ -2742,7 +2741,7 @@ public org.vdaas.vald.api.v1.payload.Update.Config getConfig() { * The configuration of the update request. * * - * .payload.v1.Update.Config config = 2 [json_name = "config"]; + * .payload.v1.Update.Config config = 2; */ public Builder setConfig(org.vdaas.vald.api.v1.payload.Update.Config value) { if (configBuilder_ == null) { @@ -2762,7 +2761,7 @@ public Builder setConfig(org.vdaas.vald.api.v1.payload.Update.Config value) { * The configuration of the update request. * * - * .payload.v1.Update.Config config = 2 [json_name = "config"]; + * .payload.v1.Update.Config config = 2; */ public Builder setConfig( org.vdaas.vald.api.v1.payload.Update.Config.Builder builderForValue) { @@ -2780,7 +2779,7 @@ public Builder setConfig( * The configuration of the update request. * * - * .payload.v1.Update.Config config = 2 [json_name = "config"]; + * .payload.v1.Update.Config config = 2; */ public Builder mergeConfig(org.vdaas.vald.api.v1.payload.Update.Config value) { if (configBuilder_ == null) { @@ -2805,7 +2804,7 @@ public Builder mergeConfig(org.vdaas.vald.api.v1.payload.Update.Config value) { * The configuration of the update request. * * - * .payload.v1.Update.Config config = 2 [json_name = "config"]; + * .payload.v1.Update.Config config = 2; */ public Builder clearConfig() { bitField0_ = (bitField0_ & ~0x00000002); @@ -2822,7 +2821,7 @@ public Builder clearConfig() { * The configuration of the update request. * * - * .payload.v1.Update.Config config = 2 [json_name = "config"]; + * .payload.v1.Update.Config config = 2; */ public org.vdaas.vald.api.v1.payload.Update.Config.Builder getConfigBuilder() { bitField0_ |= 0x00000002; @@ -2834,7 +2833,7 @@ public org.vdaas.vald.api.v1.payload.Update.Config.Builder getConfigBuilder() { * The configuration of the update request. * * - * .payload.v1.Update.Config config = 2 [json_name = "config"]; + * .payload.v1.Update.Config config = 2; */ public org.vdaas.vald.api.v1.payload.Update.ConfigOrBuilder getConfigOrBuilder() { if (configBuilder_ != null) { @@ -2849,7 +2848,7 @@ public org.vdaas.vald.api.v1.payload.Update.ConfigOrBuilder getConfigOrBuilder() * The configuration of the update request. * * - * .payload.v1.Update.Config config = 2 [json_name = "config"]; + * .payload.v1.Update.Config config = 2; */ private com.google.protobuf.SingleFieldBuilderV3< org.vdaas.vald.api.v1.payload.Update.Config, org.vdaas.vald.api.v1.payload.Update.Config.Builder, org.vdaas.vald.api.v1.payload.Update.ConfigOrBuilder> @@ -2873,7 +2872,7 @@ public org.vdaas.vald.api.v1.payload.Update.ConfigOrBuilder getConfigOrBuilder() * Filter target. * * - * .payload.v1.Filter.Target vectorizer = 3 [json_name = "vectorizer"]; + * .payload.v1.Filter.Target vectorizer = 3; * @return Whether the vectorizer field is set. */ public boolean hasVectorizer() { @@ -2884,7 +2883,7 @@ public boolean hasVectorizer() { * Filter target. * * - * .payload.v1.Filter.Target vectorizer = 3 [json_name = "vectorizer"]; + * .payload.v1.Filter.Target vectorizer = 3; * @return The vectorizer. */ public org.vdaas.vald.api.v1.payload.Filter.Target getVectorizer() { @@ -2899,7 +2898,7 @@ public org.vdaas.vald.api.v1.payload.Filter.Target getVectorizer() { * Filter target. * * - * .payload.v1.Filter.Target vectorizer = 3 [json_name = "vectorizer"]; + * .payload.v1.Filter.Target vectorizer = 3; */ public Builder setVectorizer(org.vdaas.vald.api.v1.payload.Filter.Target value) { if (vectorizerBuilder_ == null) { @@ -2919,7 +2918,7 @@ public Builder setVectorizer(org.vdaas.vald.api.v1.payload.Filter.Target value) * Filter target. * * - * .payload.v1.Filter.Target vectorizer = 3 [json_name = "vectorizer"]; + * .payload.v1.Filter.Target vectorizer = 3; */ public Builder setVectorizer( org.vdaas.vald.api.v1.payload.Filter.Target.Builder builderForValue) { @@ -2937,7 +2936,7 @@ public Builder setVectorizer( * Filter target. * * - * .payload.v1.Filter.Target vectorizer = 3 [json_name = "vectorizer"]; + * .payload.v1.Filter.Target vectorizer = 3; */ public Builder mergeVectorizer(org.vdaas.vald.api.v1.payload.Filter.Target value) { if (vectorizerBuilder_ == null) { @@ -2962,7 +2961,7 @@ public Builder mergeVectorizer(org.vdaas.vald.api.v1.payload.Filter.Target value * Filter target. * * - * .payload.v1.Filter.Target vectorizer = 3 [json_name = "vectorizer"]; + * .payload.v1.Filter.Target vectorizer = 3; */ public Builder clearVectorizer() { bitField0_ = (bitField0_ & ~0x00000004); @@ -2979,7 +2978,7 @@ public Builder clearVectorizer() { * Filter target. * * - * .payload.v1.Filter.Target vectorizer = 3 [json_name = "vectorizer"]; + * .payload.v1.Filter.Target vectorizer = 3; */ public org.vdaas.vald.api.v1.payload.Filter.Target.Builder getVectorizerBuilder() { bitField0_ |= 0x00000004; @@ -2991,7 +2990,7 @@ public org.vdaas.vald.api.v1.payload.Filter.Target.Builder getVectorizerBuilder( * Filter target. * * - * .payload.v1.Filter.Target vectorizer = 3 [json_name = "vectorizer"]; + * .payload.v1.Filter.Target vectorizer = 3; */ public org.vdaas.vald.api.v1.payload.Filter.TargetOrBuilder getVectorizerOrBuilder() { if (vectorizerBuilder_ != null) { @@ -3006,7 +3005,7 @@ public org.vdaas.vald.api.v1.payload.Filter.TargetOrBuilder getVectorizerOrBuild * Filter target. * * - * .payload.v1.Filter.Target vectorizer = 3 [json_name = "vectorizer"]; + * .payload.v1.Filter.Target vectorizer = 3; */ private com.google.protobuf.SingleFieldBuilderV3< org.vdaas.vald.api.v1.payload.Filter.Target, org.vdaas.vald.api.v1.payload.Filter.Target.Builder, org.vdaas.vald.api.v1.payload.Filter.TargetOrBuilder> @@ -3094,7 +3093,7 @@ public interface MultiObjectRequestOrBuilder extends * Represent the multiple update object request content. * * - * repeated .payload.v1.Update.ObjectRequest requests = 1 [json_name = "requests"]; + * repeated .payload.v1.Update.ObjectRequest requests = 1; */ java.util.List getRequestsList(); @@ -3103,7 +3102,7 @@ public interface MultiObjectRequestOrBuilder extends * Represent the multiple update object request content. * * - * repeated .payload.v1.Update.ObjectRequest requests = 1 [json_name = "requests"]; + * repeated .payload.v1.Update.ObjectRequest requests = 1; */ org.vdaas.vald.api.v1.payload.Update.ObjectRequest getRequests(int index); /** @@ -3111,7 +3110,7 @@ public interface MultiObjectRequestOrBuilder extends * Represent the multiple update object request content. * * - * repeated .payload.v1.Update.ObjectRequest requests = 1 [json_name = "requests"]; + * repeated .payload.v1.Update.ObjectRequest requests = 1; */ int getRequestsCount(); /** @@ -3119,7 +3118,7 @@ public interface MultiObjectRequestOrBuilder extends * Represent the multiple update object request content. * * - * repeated .payload.v1.Update.ObjectRequest requests = 1 [json_name = "requests"]; + * repeated .payload.v1.Update.ObjectRequest requests = 1; */ java.util.List getRequestsOrBuilderList(); @@ -3128,7 +3127,7 @@ public interface MultiObjectRequestOrBuilder extends * Represent the multiple update object request content. * * - * repeated .payload.v1.Update.ObjectRequest requests = 1 [json_name = "requests"]; + * repeated .payload.v1.Update.ObjectRequest requests = 1; */ org.vdaas.vald.api.v1.payload.Update.ObjectRequestOrBuilder getRequestsOrBuilder( int index); @@ -3181,7 +3180,7 @@ protected java.lang.Object newInstance( * Represent the multiple update object request content. * * - * repeated .payload.v1.Update.ObjectRequest requests = 1 [json_name = "requests"]; + * repeated .payload.v1.Update.ObjectRequest requests = 1; */ @java.lang.Override public java.util.List getRequestsList() { @@ -3192,7 +3191,7 @@ public java.util.List getReq * Represent the multiple update object request content. * * - * repeated .payload.v1.Update.ObjectRequest requests = 1 [json_name = "requests"]; + * repeated .payload.v1.Update.ObjectRequest requests = 1; */ @java.lang.Override public java.util.List @@ -3204,7 +3203,7 @@ public java.util.List getReq * Represent the multiple update object request content. * * - * repeated .payload.v1.Update.ObjectRequest requests = 1 [json_name = "requests"]; + * repeated .payload.v1.Update.ObjectRequest requests = 1; */ @java.lang.Override public int getRequestsCount() { @@ -3215,7 +3214,7 @@ public int getRequestsCount() { * Represent the multiple update object request content. * * - * repeated .payload.v1.Update.ObjectRequest requests = 1 [json_name = "requests"]; + * repeated .payload.v1.Update.ObjectRequest requests = 1; */ @java.lang.Override public org.vdaas.vald.api.v1.payload.Update.ObjectRequest getRequests(int index) { @@ -3226,7 +3225,7 @@ public org.vdaas.vald.api.v1.payload.Update.ObjectRequest getRequests(int index) * Represent the multiple update object request content. * * - * repeated .payload.v1.Update.ObjectRequest requests = 1 [json_name = "requests"]; + * repeated .payload.v1.Update.ObjectRequest requests = 1; */ @java.lang.Override public org.vdaas.vald.api.v1.payload.Update.ObjectRequestOrBuilder getRequestsOrBuilder( @@ -3629,7 +3628,7 @@ private void ensureRequestsIsMutable() { * Represent the multiple update object request content. * * - * repeated .payload.v1.Update.ObjectRequest requests = 1 [json_name = "requests"]; + * repeated .payload.v1.Update.ObjectRequest requests = 1; */ public java.util.List getRequestsList() { if (requestsBuilder_ == null) { @@ -3643,7 +3642,7 @@ public java.util.List getReq * Represent the multiple update object request content. * * - * repeated .payload.v1.Update.ObjectRequest requests = 1 [json_name = "requests"]; + * repeated .payload.v1.Update.ObjectRequest requests = 1; */ public int getRequestsCount() { if (requestsBuilder_ == null) { @@ -3657,7 +3656,7 @@ public int getRequestsCount() { * Represent the multiple update object request content. * * - * repeated .payload.v1.Update.ObjectRequest requests = 1 [json_name = "requests"]; + * repeated .payload.v1.Update.ObjectRequest requests = 1; */ public org.vdaas.vald.api.v1.payload.Update.ObjectRequest getRequests(int index) { if (requestsBuilder_ == null) { @@ -3671,7 +3670,7 @@ public org.vdaas.vald.api.v1.payload.Update.ObjectRequest getRequests(int index) * Represent the multiple update object request content. * * - * repeated .payload.v1.Update.ObjectRequest requests = 1 [json_name = "requests"]; + * repeated .payload.v1.Update.ObjectRequest requests = 1; */ public Builder setRequests( int index, org.vdaas.vald.api.v1.payload.Update.ObjectRequest value) { @@ -3692,7 +3691,7 @@ public Builder setRequests( * Represent the multiple update object request content. * * - * repeated .payload.v1.Update.ObjectRequest requests = 1 [json_name = "requests"]; + * repeated .payload.v1.Update.ObjectRequest requests = 1; */ public Builder setRequests( int index, org.vdaas.vald.api.v1.payload.Update.ObjectRequest.Builder builderForValue) { @@ -3710,7 +3709,7 @@ public Builder setRequests( * Represent the multiple update object request content. * * - * repeated .payload.v1.Update.ObjectRequest requests = 1 [json_name = "requests"]; + * repeated .payload.v1.Update.ObjectRequest requests = 1; */ public Builder addRequests(org.vdaas.vald.api.v1.payload.Update.ObjectRequest value) { if (requestsBuilder_ == null) { @@ -3730,7 +3729,7 @@ public Builder addRequests(org.vdaas.vald.api.v1.payload.Update.ObjectRequest va * Represent the multiple update object request content. * * - * repeated .payload.v1.Update.ObjectRequest requests = 1 [json_name = "requests"]; + * repeated .payload.v1.Update.ObjectRequest requests = 1; */ public Builder addRequests( int index, org.vdaas.vald.api.v1.payload.Update.ObjectRequest value) { @@ -3751,7 +3750,7 @@ public Builder addRequests( * Represent the multiple update object request content. * * - * repeated .payload.v1.Update.ObjectRequest requests = 1 [json_name = "requests"]; + * repeated .payload.v1.Update.ObjectRequest requests = 1; */ public Builder addRequests( org.vdaas.vald.api.v1.payload.Update.ObjectRequest.Builder builderForValue) { @@ -3769,7 +3768,7 @@ public Builder addRequests( * Represent the multiple update object request content. * * - * repeated .payload.v1.Update.ObjectRequest requests = 1 [json_name = "requests"]; + * repeated .payload.v1.Update.ObjectRequest requests = 1; */ public Builder addRequests( int index, org.vdaas.vald.api.v1.payload.Update.ObjectRequest.Builder builderForValue) { @@ -3787,7 +3786,7 @@ public Builder addRequests( * Represent the multiple update object request content. * * - * repeated .payload.v1.Update.ObjectRequest requests = 1 [json_name = "requests"]; + * repeated .payload.v1.Update.ObjectRequest requests = 1; */ public Builder addAllRequests( java.lang.Iterable values) { @@ -3806,7 +3805,7 @@ public Builder addAllRequests( * Represent the multiple update object request content. * * - * repeated .payload.v1.Update.ObjectRequest requests = 1 [json_name = "requests"]; + * repeated .payload.v1.Update.ObjectRequest requests = 1; */ public Builder clearRequests() { if (requestsBuilder_ == null) { @@ -3823,7 +3822,7 @@ public Builder clearRequests() { * Represent the multiple update object request content. * * - * repeated .payload.v1.Update.ObjectRequest requests = 1 [json_name = "requests"]; + * repeated .payload.v1.Update.ObjectRequest requests = 1; */ public Builder removeRequests(int index) { if (requestsBuilder_ == null) { @@ -3840,7 +3839,7 @@ public Builder removeRequests(int index) { * Represent the multiple update object request content. * * - * repeated .payload.v1.Update.ObjectRequest requests = 1 [json_name = "requests"]; + * repeated .payload.v1.Update.ObjectRequest requests = 1; */ public org.vdaas.vald.api.v1.payload.Update.ObjectRequest.Builder getRequestsBuilder( int index) { @@ -3851,7 +3850,7 @@ public org.vdaas.vald.api.v1.payload.Update.ObjectRequest.Builder getRequestsBui * Represent the multiple update object request content. * * - * repeated .payload.v1.Update.ObjectRequest requests = 1 [json_name = "requests"]; + * repeated .payload.v1.Update.ObjectRequest requests = 1; */ public org.vdaas.vald.api.v1.payload.Update.ObjectRequestOrBuilder getRequestsOrBuilder( int index) { @@ -3865,7 +3864,7 @@ public org.vdaas.vald.api.v1.payload.Update.ObjectRequestOrBuilder getRequestsOr * Represent the multiple update object request content. * * - * repeated .payload.v1.Update.ObjectRequest requests = 1 [json_name = "requests"]; + * repeated .payload.v1.Update.ObjectRequest requests = 1; */ public java.util.List getRequestsOrBuilderList() { @@ -3880,7 +3879,7 @@ public org.vdaas.vald.api.v1.payload.Update.ObjectRequestOrBuilder getRequestsOr * Represent the multiple update object request content. * * - * repeated .payload.v1.Update.ObjectRequest requests = 1 [json_name = "requests"]; + * repeated .payload.v1.Update.ObjectRequest requests = 1; */ public org.vdaas.vald.api.v1.payload.Update.ObjectRequest.Builder addRequestsBuilder() { return getRequestsFieldBuilder().addBuilder( @@ -3891,7 +3890,7 @@ public org.vdaas.vald.api.v1.payload.Update.ObjectRequest.Builder addRequestsBui * Represent the multiple update object request content. * * - * repeated .payload.v1.Update.ObjectRequest requests = 1 [json_name = "requests"]; + * repeated .payload.v1.Update.ObjectRequest requests = 1; */ public org.vdaas.vald.api.v1.payload.Update.ObjectRequest.Builder addRequestsBuilder( int index) { @@ -3903,7 +3902,7 @@ public org.vdaas.vald.api.v1.payload.Update.ObjectRequest.Builder addRequestsBui * Represent the multiple update object request content. * * - * repeated .payload.v1.Update.ObjectRequest requests = 1 [json_name = "requests"]; + * repeated .payload.v1.Update.ObjectRequest requests = 1; */ public java.util.List getRequestsBuilderList() { @@ -3996,7 +3995,7 @@ public interface ConfigOrBuilder extends * A flag to skip exist check during update operation. * * - * bool skip_strict_exist_check = 1 [json_name = "skipStrictExistCheck"]; + * bool skip_strict_exist_check = 1; * @return The skipStrictExistCheck. */ boolean getSkipStrictExistCheck(); @@ -4006,7 +4005,7 @@ public interface ConfigOrBuilder extends * Filter configuration. * * - * .payload.v1.Filter.Config filters = 2 [json_name = "filters"]; + * .payload.v1.Filter.Config filters = 2; * @return Whether the filters field is set. */ boolean hasFilters(); @@ -4015,7 +4014,7 @@ public interface ConfigOrBuilder extends * Filter configuration. * * - * .payload.v1.Filter.Config filters = 2 [json_name = "filters"]; + * .payload.v1.Filter.Config filters = 2; * @return The filters. */ org.vdaas.vald.api.v1.payload.Filter.Config getFilters(); @@ -4024,7 +4023,7 @@ public interface ConfigOrBuilder extends * Filter configuration. * * - * .payload.v1.Filter.Config filters = 2 [json_name = "filters"]; + * .payload.v1.Filter.Config filters = 2; */ org.vdaas.vald.api.v1.payload.Filter.ConfigOrBuilder getFiltersOrBuilder(); @@ -4033,7 +4032,7 @@ public interface ConfigOrBuilder extends * Update timestamp. * * - * int64 timestamp = 3 [json_name = "timestamp"]; + * int64 timestamp = 3; * @return The timestamp. */ long getTimestamp(); @@ -4044,7 +4043,7 @@ public interface ConfigOrBuilder extends * during update operation. * * - * bool disable_balanced_update = 4 [json_name = "disableBalancedUpdate"]; + * bool disable_balanced_update = 4; * @return The disableBalancedUpdate. */ boolean getDisableBalancedUpdate(); @@ -4096,7 +4095,7 @@ protected java.lang.Object newInstance( * A flag to skip exist check during update operation. * * - * bool skip_strict_exist_check = 1 [json_name = "skipStrictExistCheck"]; + * bool skip_strict_exist_check = 1; * @return The skipStrictExistCheck. */ @java.lang.Override @@ -4111,7 +4110,7 @@ public boolean getSkipStrictExistCheck() { * Filter configuration. * * - * .payload.v1.Filter.Config filters = 2 [json_name = "filters"]; + * .payload.v1.Filter.Config filters = 2; * @return Whether the filters field is set. */ @java.lang.Override @@ -4123,7 +4122,7 @@ public boolean hasFilters() { * Filter configuration. * * - * .payload.v1.Filter.Config filters = 2 [json_name = "filters"]; + * .payload.v1.Filter.Config filters = 2; * @return The filters. */ @java.lang.Override @@ -4135,7 +4134,7 @@ public org.vdaas.vald.api.v1.payload.Filter.Config getFilters() { * Filter configuration. * * - * .payload.v1.Filter.Config filters = 2 [json_name = "filters"]; + * .payload.v1.Filter.Config filters = 2; */ @java.lang.Override public org.vdaas.vald.api.v1.payload.Filter.ConfigOrBuilder getFiltersOrBuilder() { @@ -4149,7 +4148,7 @@ public org.vdaas.vald.api.v1.payload.Filter.ConfigOrBuilder getFiltersOrBuilder( * Update timestamp. * * - * int64 timestamp = 3 [json_name = "timestamp"]; + * int64 timestamp = 3; * @return The timestamp. */ @java.lang.Override @@ -4165,7 +4164,7 @@ public long getTimestamp() { * during update operation. * * - * bool disable_balanced_update = 4 [json_name = "disableBalancedUpdate"]; + * bool disable_balanced_update = 4; * @return The disableBalancedUpdate. */ @java.lang.Override @@ -4602,7 +4601,7 @@ public Builder mergeFrom( * A flag to skip exist check during update operation. * * - * bool skip_strict_exist_check = 1 [json_name = "skipStrictExistCheck"]; + * bool skip_strict_exist_check = 1; * @return The skipStrictExistCheck. */ @java.lang.Override @@ -4614,7 +4613,7 @@ public boolean getSkipStrictExistCheck() { * A flag to skip exist check during update operation. * * - * bool skip_strict_exist_check = 1 [json_name = "skipStrictExistCheck"]; + * bool skip_strict_exist_check = 1; * @param value The skipStrictExistCheck to set. * @return This builder for chaining. */ @@ -4630,7 +4629,7 @@ public Builder setSkipStrictExistCheck(boolean value) { * A flag to skip exist check during update operation. * * - * bool skip_strict_exist_check = 1 [json_name = "skipStrictExistCheck"]; + * bool skip_strict_exist_check = 1; * @return This builder for chaining. */ public Builder clearSkipStrictExistCheck() { @@ -4648,7 +4647,7 @@ public Builder clearSkipStrictExistCheck() { * Filter configuration. * * - * .payload.v1.Filter.Config filters = 2 [json_name = "filters"]; + * .payload.v1.Filter.Config filters = 2; * @return Whether the filters field is set. */ public boolean hasFilters() { @@ -4659,7 +4658,7 @@ public boolean hasFilters() { * Filter configuration. * * - * .payload.v1.Filter.Config filters = 2 [json_name = "filters"]; + * .payload.v1.Filter.Config filters = 2; * @return The filters. */ public org.vdaas.vald.api.v1.payload.Filter.Config getFilters() { @@ -4674,7 +4673,7 @@ public org.vdaas.vald.api.v1.payload.Filter.Config getFilters() { * Filter configuration. * * - * .payload.v1.Filter.Config filters = 2 [json_name = "filters"]; + * .payload.v1.Filter.Config filters = 2; */ public Builder setFilters(org.vdaas.vald.api.v1.payload.Filter.Config value) { if (filtersBuilder_ == null) { @@ -4694,7 +4693,7 @@ public Builder setFilters(org.vdaas.vald.api.v1.payload.Filter.Config value) { * Filter configuration. * * - * .payload.v1.Filter.Config filters = 2 [json_name = "filters"]; + * .payload.v1.Filter.Config filters = 2; */ public Builder setFilters( org.vdaas.vald.api.v1.payload.Filter.Config.Builder builderForValue) { @@ -4712,7 +4711,7 @@ public Builder setFilters( * Filter configuration. * * - * .payload.v1.Filter.Config filters = 2 [json_name = "filters"]; + * .payload.v1.Filter.Config filters = 2; */ public Builder mergeFilters(org.vdaas.vald.api.v1.payload.Filter.Config value) { if (filtersBuilder_ == null) { @@ -4737,7 +4736,7 @@ public Builder mergeFilters(org.vdaas.vald.api.v1.payload.Filter.Config value) { * Filter configuration. * * - * .payload.v1.Filter.Config filters = 2 [json_name = "filters"]; + * .payload.v1.Filter.Config filters = 2; */ public Builder clearFilters() { bitField0_ = (bitField0_ & ~0x00000002); @@ -4754,7 +4753,7 @@ public Builder clearFilters() { * Filter configuration. * * - * .payload.v1.Filter.Config filters = 2 [json_name = "filters"]; + * .payload.v1.Filter.Config filters = 2; */ public org.vdaas.vald.api.v1.payload.Filter.Config.Builder getFiltersBuilder() { bitField0_ |= 0x00000002; @@ -4766,7 +4765,7 @@ public org.vdaas.vald.api.v1.payload.Filter.Config.Builder getFiltersBuilder() { * Filter configuration. * * - * .payload.v1.Filter.Config filters = 2 [json_name = "filters"]; + * .payload.v1.Filter.Config filters = 2; */ public org.vdaas.vald.api.v1.payload.Filter.ConfigOrBuilder getFiltersOrBuilder() { if (filtersBuilder_ != null) { @@ -4781,7 +4780,7 @@ public org.vdaas.vald.api.v1.payload.Filter.ConfigOrBuilder getFiltersOrBuilder( * Filter configuration. * * - * .payload.v1.Filter.Config filters = 2 [json_name = "filters"]; + * .payload.v1.Filter.Config filters = 2; */ private com.google.protobuf.SingleFieldBuilderV3< org.vdaas.vald.api.v1.payload.Filter.Config, org.vdaas.vald.api.v1.payload.Filter.Config.Builder, org.vdaas.vald.api.v1.payload.Filter.ConfigOrBuilder> @@ -4803,7 +4802,7 @@ public org.vdaas.vald.api.v1.payload.Filter.ConfigOrBuilder getFiltersOrBuilder( * Update timestamp. * * - * int64 timestamp = 3 [json_name = "timestamp"]; + * int64 timestamp = 3; * @return The timestamp. */ @java.lang.Override @@ -4815,7 +4814,7 @@ public long getTimestamp() { * Update timestamp. * * - * int64 timestamp = 3 [json_name = "timestamp"]; + * int64 timestamp = 3; * @param value The timestamp to set. * @return This builder for chaining. */ @@ -4831,7 +4830,7 @@ public Builder setTimestamp(long value) { * Update timestamp. * * - * int64 timestamp = 3 [json_name = "timestamp"]; + * int64 timestamp = 3; * @return This builder for chaining. */ public Builder clearTimestamp() { @@ -4848,7 +4847,7 @@ public Builder clearTimestamp() { * during update operation. * * - * bool disable_balanced_update = 4 [json_name = "disableBalancedUpdate"]; + * bool disable_balanced_update = 4; * @return The disableBalancedUpdate. */ @java.lang.Override @@ -4861,7 +4860,7 @@ public boolean getDisableBalancedUpdate() { * during update operation. * * - * bool disable_balanced_update = 4 [json_name = "disableBalancedUpdate"]; + * bool disable_balanced_update = 4; * @param value The disableBalancedUpdate to set. * @return This builder for chaining. */ @@ -4878,7 +4877,7 @@ public Builder setDisableBalancedUpdate(boolean value) { * during update operation. * * - * bool disable_balanced_update = 4 [json_name = "disableBalancedUpdate"]; + * bool disable_balanced_update = 4; * @return This builder for chaining. */ public Builder clearDisableBalancedUpdate() { diff --git a/src/main/java/org/vdaas/vald/api/v1/payload/UpdateOrBuilder.java b/src/main/java/org/vdaas/vald/api/v1/payload/UpdateOrBuilder.java index 26e658e9..0b9b1a27 100644 --- a/src/main/java/org/vdaas/vald/api/v1/payload/UpdateOrBuilder.java +++ b/src/main/java/org/vdaas/vald/api/v1/payload/UpdateOrBuilder.java @@ -1,7 +1,6 @@ // Generated by the protocol buffer compiler. DO NOT EDIT! -// source: v1/payload/payload.proto +// source: apis/proto/v1/payload/payload.proto -// Protobuf Java Version: 3.25.1 package org.vdaas.vald.api.v1.payload; public interface UpdateOrBuilder extends diff --git a/src/main/java/org/vdaas/vald/api/v1/payload/Upsert.java b/src/main/java/org/vdaas/vald/api/v1/payload/Upsert.java index adb2051d..10ab43f6 100644 --- a/src/main/java/org/vdaas/vald/api/v1/payload/Upsert.java +++ b/src/main/java/org/vdaas/vald/api/v1/payload/Upsert.java @@ -1,7 +1,6 @@ // Generated by the protocol buffer compiler. DO NOT EDIT! -// source: v1/payload/payload.proto +// source: apis/proto/v1/payload/payload.proto -// Protobuf Java Version: 3.25.1 package org.vdaas.vald.api.v1.payload; /** @@ -52,7 +51,7 @@ public interface RequestOrBuilder extends * The vector to be upserted. * * - * .payload.v1.Object.Vector vector = 1 [json_name = "vector", (.buf.validate.field) = { ... } + * .payload.v1.Object.Vector vector = 1 [(.validate.rules) = { ... } * @return Whether the vector field is set. */ boolean hasVector(); @@ -61,7 +60,7 @@ public interface RequestOrBuilder extends * The vector to be upserted. * * - * .payload.v1.Object.Vector vector = 1 [json_name = "vector", (.buf.validate.field) = { ... } + * .payload.v1.Object.Vector vector = 1 [(.validate.rules) = { ... } * @return The vector. */ org.vdaas.vald.api.v1.payload.Object.Vector getVector(); @@ -70,7 +69,7 @@ public interface RequestOrBuilder extends * The vector to be upserted. * * - * .payload.v1.Object.Vector vector = 1 [json_name = "vector", (.buf.validate.field) = { ... } + * .payload.v1.Object.Vector vector = 1 [(.validate.rules) = { ... } */ org.vdaas.vald.api.v1.payload.Object.VectorOrBuilder getVectorOrBuilder(); @@ -79,7 +78,7 @@ public interface RequestOrBuilder extends * The configuration of the upsert request. * * - * .payload.v1.Upsert.Config config = 2 [json_name = "config"]; + * .payload.v1.Upsert.Config config = 2; * @return Whether the config field is set. */ boolean hasConfig(); @@ -88,7 +87,7 @@ public interface RequestOrBuilder extends * The configuration of the upsert request. * * - * .payload.v1.Upsert.Config config = 2 [json_name = "config"]; + * .payload.v1.Upsert.Config config = 2; * @return The config. */ org.vdaas.vald.api.v1.payload.Upsert.Config getConfig(); @@ -97,7 +96,7 @@ public interface RequestOrBuilder extends * The configuration of the upsert request. * * - * .payload.v1.Upsert.Config config = 2 [json_name = "config"]; + * .payload.v1.Upsert.Config config = 2; */ org.vdaas.vald.api.v1.payload.Upsert.ConfigOrBuilder getConfigOrBuilder(); } @@ -148,7 +147,7 @@ protected java.lang.Object newInstance( * The vector to be upserted. * * - * .payload.v1.Object.Vector vector = 1 [json_name = "vector", (.buf.validate.field) = { ... } + * .payload.v1.Object.Vector vector = 1 [(.validate.rules) = { ... } * @return Whether the vector field is set. */ @java.lang.Override @@ -160,7 +159,7 @@ public boolean hasVector() { * The vector to be upserted. * * - * .payload.v1.Object.Vector vector = 1 [json_name = "vector", (.buf.validate.field) = { ... } + * .payload.v1.Object.Vector vector = 1 [(.validate.rules) = { ... } * @return The vector. */ @java.lang.Override @@ -172,7 +171,7 @@ public org.vdaas.vald.api.v1.payload.Object.Vector getVector() { * The vector to be upserted. * * - * .payload.v1.Object.Vector vector = 1 [json_name = "vector", (.buf.validate.field) = { ... } + * .payload.v1.Object.Vector vector = 1 [(.validate.rules) = { ... } */ @java.lang.Override public org.vdaas.vald.api.v1.payload.Object.VectorOrBuilder getVectorOrBuilder() { @@ -186,7 +185,7 @@ public org.vdaas.vald.api.v1.payload.Object.VectorOrBuilder getVectorOrBuilder() * The configuration of the upsert request. * * - * .payload.v1.Upsert.Config config = 2 [json_name = "config"]; + * .payload.v1.Upsert.Config config = 2; * @return Whether the config field is set. */ @java.lang.Override @@ -198,7 +197,7 @@ public boolean hasConfig() { * The configuration of the upsert request. * * - * .payload.v1.Upsert.Config config = 2 [json_name = "config"]; + * .payload.v1.Upsert.Config config = 2; * @return The config. */ @java.lang.Override @@ -210,7 +209,7 @@ public org.vdaas.vald.api.v1.payload.Upsert.Config getConfig() { * The configuration of the upsert request. * * - * .payload.v1.Upsert.Config config = 2 [json_name = "config"]; + * .payload.v1.Upsert.Config config = 2; */ @java.lang.Override public org.vdaas.vald.api.v1.payload.Upsert.ConfigOrBuilder getConfigOrBuilder() { @@ -614,7 +613,7 @@ public Builder mergeFrom( * The vector to be upserted. * * - * .payload.v1.Object.Vector vector = 1 [json_name = "vector", (.buf.validate.field) = { ... } + * .payload.v1.Object.Vector vector = 1 [(.validate.rules) = { ... } * @return Whether the vector field is set. */ public boolean hasVector() { @@ -625,7 +624,7 @@ public boolean hasVector() { * The vector to be upserted. * * - * .payload.v1.Object.Vector vector = 1 [json_name = "vector", (.buf.validate.field) = { ... } + * .payload.v1.Object.Vector vector = 1 [(.validate.rules) = { ... } * @return The vector. */ public org.vdaas.vald.api.v1.payload.Object.Vector getVector() { @@ -640,7 +639,7 @@ public org.vdaas.vald.api.v1.payload.Object.Vector getVector() { * The vector to be upserted. * * - * .payload.v1.Object.Vector vector = 1 [json_name = "vector", (.buf.validate.field) = { ... } + * .payload.v1.Object.Vector vector = 1 [(.validate.rules) = { ... } */ public Builder setVector(org.vdaas.vald.api.v1.payload.Object.Vector value) { if (vectorBuilder_ == null) { @@ -660,7 +659,7 @@ public Builder setVector(org.vdaas.vald.api.v1.payload.Object.Vector value) { * The vector to be upserted. * * - * .payload.v1.Object.Vector vector = 1 [json_name = "vector", (.buf.validate.field) = { ... } + * .payload.v1.Object.Vector vector = 1 [(.validate.rules) = { ... } */ public Builder setVector( org.vdaas.vald.api.v1.payload.Object.Vector.Builder builderForValue) { @@ -678,7 +677,7 @@ public Builder setVector( * The vector to be upserted. * * - * .payload.v1.Object.Vector vector = 1 [json_name = "vector", (.buf.validate.field) = { ... } + * .payload.v1.Object.Vector vector = 1 [(.validate.rules) = { ... } */ public Builder mergeVector(org.vdaas.vald.api.v1.payload.Object.Vector value) { if (vectorBuilder_ == null) { @@ -703,7 +702,7 @@ public Builder mergeVector(org.vdaas.vald.api.v1.payload.Object.Vector value) { * The vector to be upserted. * * - * .payload.v1.Object.Vector vector = 1 [json_name = "vector", (.buf.validate.field) = { ... } + * .payload.v1.Object.Vector vector = 1 [(.validate.rules) = { ... } */ public Builder clearVector() { bitField0_ = (bitField0_ & ~0x00000001); @@ -720,7 +719,7 @@ public Builder clearVector() { * The vector to be upserted. * * - * .payload.v1.Object.Vector vector = 1 [json_name = "vector", (.buf.validate.field) = { ... } + * .payload.v1.Object.Vector vector = 1 [(.validate.rules) = { ... } */ public org.vdaas.vald.api.v1.payload.Object.Vector.Builder getVectorBuilder() { bitField0_ |= 0x00000001; @@ -732,7 +731,7 @@ public org.vdaas.vald.api.v1.payload.Object.Vector.Builder getVectorBuilder() { * The vector to be upserted. * * - * .payload.v1.Object.Vector vector = 1 [json_name = "vector", (.buf.validate.field) = { ... } + * .payload.v1.Object.Vector vector = 1 [(.validate.rules) = { ... } */ public org.vdaas.vald.api.v1.payload.Object.VectorOrBuilder getVectorOrBuilder() { if (vectorBuilder_ != null) { @@ -747,7 +746,7 @@ public org.vdaas.vald.api.v1.payload.Object.VectorOrBuilder getVectorOrBuilder() * The vector to be upserted. * * - * .payload.v1.Object.Vector vector = 1 [json_name = "vector", (.buf.validate.field) = { ... } + * .payload.v1.Object.Vector vector = 1 [(.validate.rules) = { ... } */ private com.google.protobuf.SingleFieldBuilderV3< org.vdaas.vald.api.v1.payload.Object.Vector, org.vdaas.vald.api.v1.payload.Object.Vector.Builder, org.vdaas.vald.api.v1.payload.Object.VectorOrBuilder> @@ -771,7 +770,7 @@ public org.vdaas.vald.api.v1.payload.Object.VectorOrBuilder getVectorOrBuilder() * The configuration of the upsert request. * * - * .payload.v1.Upsert.Config config = 2 [json_name = "config"]; + * .payload.v1.Upsert.Config config = 2; * @return Whether the config field is set. */ public boolean hasConfig() { @@ -782,7 +781,7 @@ public boolean hasConfig() { * The configuration of the upsert request. * * - * .payload.v1.Upsert.Config config = 2 [json_name = "config"]; + * .payload.v1.Upsert.Config config = 2; * @return The config. */ public org.vdaas.vald.api.v1.payload.Upsert.Config getConfig() { @@ -797,7 +796,7 @@ public org.vdaas.vald.api.v1.payload.Upsert.Config getConfig() { * The configuration of the upsert request. * * - * .payload.v1.Upsert.Config config = 2 [json_name = "config"]; + * .payload.v1.Upsert.Config config = 2; */ public Builder setConfig(org.vdaas.vald.api.v1.payload.Upsert.Config value) { if (configBuilder_ == null) { @@ -817,7 +816,7 @@ public Builder setConfig(org.vdaas.vald.api.v1.payload.Upsert.Config value) { * The configuration of the upsert request. * * - * .payload.v1.Upsert.Config config = 2 [json_name = "config"]; + * .payload.v1.Upsert.Config config = 2; */ public Builder setConfig( org.vdaas.vald.api.v1.payload.Upsert.Config.Builder builderForValue) { @@ -835,7 +834,7 @@ public Builder setConfig( * The configuration of the upsert request. * * - * .payload.v1.Upsert.Config config = 2 [json_name = "config"]; + * .payload.v1.Upsert.Config config = 2; */ public Builder mergeConfig(org.vdaas.vald.api.v1.payload.Upsert.Config value) { if (configBuilder_ == null) { @@ -860,7 +859,7 @@ public Builder mergeConfig(org.vdaas.vald.api.v1.payload.Upsert.Config value) { * The configuration of the upsert request. * * - * .payload.v1.Upsert.Config config = 2 [json_name = "config"]; + * .payload.v1.Upsert.Config config = 2; */ public Builder clearConfig() { bitField0_ = (bitField0_ & ~0x00000002); @@ -877,7 +876,7 @@ public Builder clearConfig() { * The configuration of the upsert request. * * - * .payload.v1.Upsert.Config config = 2 [json_name = "config"]; + * .payload.v1.Upsert.Config config = 2; */ public org.vdaas.vald.api.v1.payload.Upsert.Config.Builder getConfigBuilder() { bitField0_ |= 0x00000002; @@ -889,7 +888,7 @@ public org.vdaas.vald.api.v1.payload.Upsert.Config.Builder getConfigBuilder() { * The configuration of the upsert request. * * - * .payload.v1.Upsert.Config config = 2 [json_name = "config"]; + * .payload.v1.Upsert.Config config = 2; */ public org.vdaas.vald.api.v1.payload.Upsert.ConfigOrBuilder getConfigOrBuilder() { if (configBuilder_ != null) { @@ -904,7 +903,7 @@ public org.vdaas.vald.api.v1.payload.Upsert.ConfigOrBuilder getConfigOrBuilder() * The configuration of the upsert request. * * - * .payload.v1.Upsert.Config config = 2 [json_name = "config"]; + * .payload.v1.Upsert.Config config = 2; */ private com.google.protobuf.SingleFieldBuilderV3< org.vdaas.vald.api.v1.payload.Upsert.Config, org.vdaas.vald.api.v1.payload.Upsert.Config.Builder, org.vdaas.vald.api.v1.payload.Upsert.ConfigOrBuilder> @@ -992,7 +991,7 @@ public interface MultiRequestOrBuilder extends * Represent the multiple upsert request content. * * - * repeated .payload.v1.Upsert.Request requests = 1 [json_name = "requests"]; + * repeated .payload.v1.Upsert.Request requests = 1; */ java.util.List getRequestsList(); @@ -1001,7 +1000,7 @@ public interface MultiRequestOrBuilder extends * Represent the multiple upsert request content. * * - * repeated .payload.v1.Upsert.Request requests = 1 [json_name = "requests"]; + * repeated .payload.v1.Upsert.Request requests = 1; */ org.vdaas.vald.api.v1.payload.Upsert.Request getRequests(int index); /** @@ -1009,7 +1008,7 @@ public interface MultiRequestOrBuilder extends * Represent the multiple upsert request content. * * - * repeated .payload.v1.Upsert.Request requests = 1 [json_name = "requests"]; + * repeated .payload.v1.Upsert.Request requests = 1; */ int getRequestsCount(); /** @@ -1017,7 +1016,7 @@ public interface MultiRequestOrBuilder extends * Represent the multiple upsert request content. * * - * repeated .payload.v1.Upsert.Request requests = 1 [json_name = "requests"]; + * repeated .payload.v1.Upsert.Request requests = 1; */ java.util.List getRequestsOrBuilderList(); @@ -1026,7 +1025,7 @@ public interface MultiRequestOrBuilder extends * Represent the multiple upsert request content. * * - * repeated .payload.v1.Upsert.Request requests = 1 [json_name = "requests"]; + * repeated .payload.v1.Upsert.Request requests = 1; */ org.vdaas.vald.api.v1.payload.Upsert.RequestOrBuilder getRequestsOrBuilder( int index); @@ -1079,7 +1078,7 @@ protected java.lang.Object newInstance( * Represent the multiple upsert request content. * * - * repeated .payload.v1.Upsert.Request requests = 1 [json_name = "requests"]; + * repeated .payload.v1.Upsert.Request requests = 1; */ @java.lang.Override public java.util.List getRequestsList() { @@ -1090,7 +1089,7 @@ public java.util.List getRequestsL * Represent the multiple upsert request content. * * - * repeated .payload.v1.Upsert.Request requests = 1 [json_name = "requests"]; + * repeated .payload.v1.Upsert.Request requests = 1; */ @java.lang.Override public java.util.List @@ -1102,7 +1101,7 @@ public java.util.List getRequestsL * Represent the multiple upsert request content. * * - * repeated .payload.v1.Upsert.Request requests = 1 [json_name = "requests"]; + * repeated .payload.v1.Upsert.Request requests = 1; */ @java.lang.Override public int getRequestsCount() { @@ -1113,7 +1112,7 @@ public int getRequestsCount() { * Represent the multiple upsert request content. * * - * repeated .payload.v1.Upsert.Request requests = 1 [json_name = "requests"]; + * repeated .payload.v1.Upsert.Request requests = 1; */ @java.lang.Override public org.vdaas.vald.api.v1.payload.Upsert.Request getRequests(int index) { @@ -1124,7 +1123,7 @@ public org.vdaas.vald.api.v1.payload.Upsert.Request getRequests(int index) { * Represent the multiple upsert request content. * * - * repeated .payload.v1.Upsert.Request requests = 1 [json_name = "requests"]; + * repeated .payload.v1.Upsert.Request requests = 1; */ @java.lang.Override public org.vdaas.vald.api.v1.payload.Upsert.RequestOrBuilder getRequestsOrBuilder( @@ -1527,7 +1526,7 @@ private void ensureRequestsIsMutable() { * Represent the multiple upsert request content. * * - * repeated .payload.v1.Upsert.Request requests = 1 [json_name = "requests"]; + * repeated .payload.v1.Upsert.Request requests = 1; */ public java.util.List getRequestsList() { if (requestsBuilder_ == null) { @@ -1541,7 +1540,7 @@ public java.util.List getRequestsL * Represent the multiple upsert request content. * * - * repeated .payload.v1.Upsert.Request requests = 1 [json_name = "requests"]; + * repeated .payload.v1.Upsert.Request requests = 1; */ public int getRequestsCount() { if (requestsBuilder_ == null) { @@ -1555,7 +1554,7 @@ public int getRequestsCount() { * Represent the multiple upsert request content. * * - * repeated .payload.v1.Upsert.Request requests = 1 [json_name = "requests"]; + * repeated .payload.v1.Upsert.Request requests = 1; */ public org.vdaas.vald.api.v1.payload.Upsert.Request getRequests(int index) { if (requestsBuilder_ == null) { @@ -1569,7 +1568,7 @@ public org.vdaas.vald.api.v1.payload.Upsert.Request getRequests(int index) { * Represent the multiple upsert request content. * * - * repeated .payload.v1.Upsert.Request requests = 1 [json_name = "requests"]; + * repeated .payload.v1.Upsert.Request requests = 1; */ public Builder setRequests( int index, org.vdaas.vald.api.v1.payload.Upsert.Request value) { @@ -1590,7 +1589,7 @@ public Builder setRequests( * Represent the multiple upsert request content. * * - * repeated .payload.v1.Upsert.Request requests = 1 [json_name = "requests"]; + * repeated .payload.v1.Upsert.Request requests = 1; */ public Builder setRequests( int index, org.vdaas.vald.api.v1.payload.Upsert.Request.Builder builderForValue) { @@ -1608,7 +1607,7 @@ public Builder setRequests( * Represent the multiple upsert request content. * * - * repeated .payload.v1.Upsert.Request requests = 1 [json_name = "requests"]; + * repeated .payload.v1.Upsert.Request requests = 1; */ public Builder addRequests(org.vdaas.vald.api.v1.payload.Upsert.Request value) { if (requestsBuilder_ == null) { @@ -1628,7 +1627,7 @@ public Builder addRequests(org.vdaas.vald.api.v1.payload.Upsert.Request value) { * Represent the multiple upsert request content. * * - * repeated .payload.v1.Upsert.Request requests = 1 [json_name = "requests"]; + * repeated .payload.v1.Upsert.Request requests = 1; */ public Builder addRequests( int index, org.vdaas.vald.api.v1.payload.Upsert.Request value) { @@ -1649,7 +1648,7 @@ public Builder addRequests( * Represent the multiple upsert request content. * * - * repeated .payload.v1.Upsert.Request requests = 1 [json_name = "requests"]; + * repeated .payload.v1.Upsert.Request requests = 1; */ public Builder addRequests( org.vdaas.vald.api.v1.payload.Upsert.Request.Builder builderForValue) { @@ -1667,7 +1666,7 @@ public Builder addRequests( * Represent the multiple upsert request content. * * - * repeated .payload.v1.Upsert.Request requests = 1 [json_name = "requests"]; + * repeated .payload.v1.Upsert.Request requests = 1; */ public Builder addRequests( int index, org.vdaas.vald.api.v1.payload.Upsert.Request.Builder builderForValue) { @@ -1685,7 +1684,7 @@ public Builder addRequests( * Represent the multiple upsert request content. * * - * repeated .payload.v1.Upsert.Request requests = 1 [json_name = "requests"]; + * repeated .payload.v1.Upsert.Request requests = 1; */ public Builder addAllRequests( java.lang.Iterable values) { @@ -1704,7 +1703,7 @@ public Builder addAllRequests( * Represent the multiple upsert request content. * * - * repeated .payload.v1.Upsert.Request requests = 1 [json_name = "requests"]; + * repeated .payload.v1.Upsert.Request requests = 1; */ public Builder clearRequests() { if (requestsBuilder_ == null) { @@ -1721,7 +1720,7 @@ public Builder clearRequests() { * Represent the multiple upsert request content. * * - * repeated .payload.v1.Upsert.Request requests = 1 [json_name = "requests"]; + * repeated .payload.v1.Upsert.Request requests = 1; */ public Builder removeRequests(int index) { if (requestsBuilder_ == null) { @@ -1738,7 +1737,7 @@ public Builder removeRequests(int index) { * Represent the multiple upsert request content. * * - * repeated .payload.v1.Upsert.Request requests = 1 [json_name = "requests"]; + * repeated .payload.v1.Upsert.Request requests = 1; */ public org.vdaas.vald.api.v1.payload.Upsert.Request.Builder getRequestsBuilder( int index) { @@ -1749,7 +1748,7 @@ public org.vdaas.vald.api.v1.payload.Upsert.Request.Builder getRequestsBuilder( * Represent the multiple upsert request content. * * - * repeated .payload.v1.Upsert.Request requests = 1 [json_name = "requests"]; + * repeated .payload.v1.Upsert.Request requests = 1; */ public org.vdaas.vald.api.v1.payload.Upsert.RequestOrBuilder getRequestsOrBuilder( int index) { @@ -1763,7 +1762,7 @@ public org.vdaas.vald.api.v1.payload.Upsert.RequestOrBuilder getRequestsOrBuilde * Represent the multiple upsert request content. * * - * repeated .payload.v1.Upsert.Request requests = 1 [json_name = "requests"]; + * repeated .payload.v1.Upsert.Request requests = 1; */ public java.util.List getRequestsOrBuilderList() { @@ -1778,7 +1777,7 @@ public org.vdaas.vald.api.v1.payload.Upsert.RequestOrBuilder getRequestsOrBuilde * Represent the multiple upsert request content. * * - * repeated .payload.v1.Upsert.Request requests = 1 [json_name = "requests"]; + * repeated .payload.v1.Upsert.Request requests = 1; */ public org.vdaas.vald.api.v1.payload.Upsert.Request.Builder addRequestsBuilder() { return getRequestsFieldBuilder().addBuilder( @@ -1789,7 +1788,7 @@ public org.vdaas.vald.api.v1.payload.Upsert.Request.Builder addRequestsBuilder() * Represent the multiple upsert request content. * * - * repeated .payload.v1.Upsert.Request requests = 1 [json_name = "requests"]; + * repeated .payload.v1.Upsert.Request requests = 1; */ public org.vdaas.vald.api.v1.payload.Upsert.Request.Builder addRequestsBuilder( int index) { @@ -1801,7 +1800,7 @@ public org.vdaas.vald.api.v1.payload.Upsert.Request.Builder addRequestsBuilder( * Represent the multiple upsert request content. * * - * repeated .payload.v1.Upsert.Request requests = 1 [json_name = "requests"]; + * repeated .payload.v1.Upsert.Request requests = 1; */ public java.util.List getRequestsBuilderList() { @@ -1894,7 +1893,7 @@ public interface ObjectRequestOrBuilder extends * The binary object to be upserted. * * - * .payload.v1.Object.Blob object = 1 [json_name = "object"]; + * .payload.v1.Object.Blob object = 1; * @return Whether the object field is set. */ boolean hasObject(); @@ -1903,7 +1902,7 @@ public interface ObjectRequestOrBuilder extends * The binary object to be upserted. * * - * .payload.v1.Object.Blob object = 1 [json_name = "object"]; + * .payload.v1.Object.Blob object = 1; * @return The object. */ org.vdaas.vald.api.v1.payload.Object.Blob getObject(); @@ -1912,7 +1911,7 @@ public interface ObjectRequestOrBuilder extends * The binary object to be upserted. * * - * .payload.v1.Object.Blob object = 1 [json_name = "object"]; + * .payload.v1.Object.Blob object = 1; */ org.vdaas.vald.api.v1.payload.Object.BlobOrBuilder getObjectOrBuilder(); @@ -1921,7 +1920,7 @@ public interface ObjectRequestOrBuilder extends * The configuration of the upsert request. * * - * .payload.v1.Upsert.Config config = 2 [json_name = "config"]; + * .payload.v1.Upsert.Config config = 2; * @return Whether the config field is set. */ boolean hasConfig(); @@ -1930,7 +1929,7 @@ public interface ObjectRequestOrBuilder extends * The configuration of the upsert request. * * - * .payload.v1.Upsert.Config config = 2 [json_name = "config"]; + * .payload.v1.Upsert.Config config = 2; * @return The config. */ org.vdaas.vald.api.v1.payload.Upsert.Config getConfig(); @@ -1939,7 +1938,7 @@ public interface ObjectRequestOrBuilder extends * The configuration of the upsert request. * * - * .payload.v1.Upsert.Config config = 2 [json_name = "config"]; + * .payload.v1.Upsert.Config config = 2; */ org.vdaas.vald.api.v1.payload.Upsert.ConfigOrBuilder getConfigOrBuilder(); @@ -1948,7 +1947,7 @@ public interface ObjectRequestOrBuilder extends * Filter target. * * - * .payload.v1.Filter.Target vectorizer = 3 [json_name = "vectorizer"]; + * .payload.v1.Filter.Target vectorizer = 3; * @return Whether the vectorizer field is set. */ boolean hasVectorizer(); @@ -1957,7 +1956,7 @@ public interface ObjectRequestOrBuilder extends * Filter target. * * - * .payload.v1.Filter.Target vectorizer = 3 [json_name = "vectorizer"]; + * .payload.v1.Filter.Target vectorizer = 3; * @return The vectorizer. */ org.vdaas.vald.api.v1.payload.Filter.Target getVectorizer(); @@ -1966,7 +1965,7 @@ public interface ObjectRequestOrBuilder extends * Filter target. * * - * .payload.v1.Filter.Target vectorizer = 3 [json_name = "vectorizer"]; + * .payload.v1.Filter.Target vectorizer = 3; */ org.vdaas.vald.api.v1.payload.Filter.TargetOrBuilder getVectorizerOrBuilder(); } @@ -2017,7 +2016,7 @@ protected java.lang.Object newInstance( * The binary object to be upserted. * * - * .payload.v1.Object.Blob object = 1 [json_name = "object"]; + * .payload.v1.Object.Blob object = 1; * @return Whether the object field is set. */ @java.lang.Override @@ -2029,7 +2028,7 @@ public boolean hasObject() { * The binary object to be upserted. * * - * .payload.v1.Object.Blob object = 1 [json_name = "object"]; + * .payload.v1.Object.Blob object = 1; * @return The object. */ @java.lang.Override @@ -2041,7 +2040,7 @@ public org.vdaas.vald.api.v1.payload.Object.Blob getObject() { * The binary object to be upserted. * * - * .payload.v1.Object.Blob object = 1 [json_name = "object"]; + * .payload.v1.Object.Blob object = 1; */ @java.lang.Override public org.vdaas.vald.api.v1.payload.Object.BlobOrBuilder getObjectOrBuilder() { @@ -2055,7 +2054,7 @@ public org.vdaas.vald.api.v1.payload.Object.BlobOrBuilder getObjectOrBuilder() { * The configuration of the upsert request. * * - * .payload.v1.Upsert.Config config = 2 [json_name = "config"]; + * .payload.v1.Upsert.Config config = 2; * @return Whether the config field is set. */ @java.lang.Override @@ -2067,7 +2066,7 @@ public boolean hasConfig() { * The configuration of the upsert request. * * - * .payload.v1.Upsert.Config config = 2 [json_name = "config"]; + * .payload.v1.Upsert.Config config = 2; * @return The config. */ @java.lang.Override @@ -2079,7 +2078,7 @@ public org.vdaas.vald.api.v1.payload.Upsert.Config getConfig() { * The configuration of the upsert request. * * - * .payload.v1.Upsert.Config config = 2 [json_name = "config"]; + * .payload.v1.Upsert.Config config = 2; */ @java.lang.Override public org.vdaas.vald.api.v1.payload.Upsert.ConfigOrBuilder getConfigOrBuilder() { @@ -2093,7 +2092,7 @@ public org.vdaas.vald.api.v1.payload.Upsert.ConfigOrBuilder getConfigOrBuilder() * Filter target. * * - * .payload.v1.Filter.Target vectorizer = 3 [json_name = "vectorizer"]; + * .payload.v1.Filter.Target vectorizer = 3; * @return Whether the vectorizer field is set. */ @java.lang.Override @@ -2105,7 +2104,7 @@ public boolean hasVectorizer() { * Filter target. * * - * .payload.v1.Filter.Target vectorizer = 3 [json_name = "vectorizer"]; + * .payload.v1.Filter.Target vectorizer = 3; * @return The vectorizer. */ @java.lang.Override @@ -2117,7 +2116,7 @@ public org.vdaas.vald.api.v1.payload.Filter.Target getVectorizer() { * Filter target. * * - * .payload.v1.Filter.Target vectorizer = 3 [json_name = "vectorizer"]; + * .payload.v1.Filter.Target vectorizer = 3; */ @java.lang.Override public org.vdaas.vald.api.v1.payload.Filter.TargetOrBuilder getVectorizerOrBuilder() { @@ -2559,7 +2558,7 @@ public Builder mergeFrom( * The binary object to be upserted. * * - * .payload.v1.Object.Blob object = 1 [json_name = "object"]; + * .payload.v1.Object.Blob object = 1; * @return Whether the object field is set. */ public boolean hasObject() { @@ -2570,7 +2569,7 @@ public boolean hasObject() { * The binary object to be upserted. * * - * .payload.v1.Object.Blob object = 1 [json_name = "object"]; + * .payload.v1.Object.Blob object = 1; * @return The object. */ public org.vdaas.vald.api.v1.payload.Object.Blob getObject() { @@ -2585,7 +2584,7 @@ public org.vdaas.vald.api.v1.payload.Object.Blob getObject() { * The binary object to be upserted. * * - * .payload.v1.Object.Blob object = 1 [json_name = "object"]; + * .payload.v1.Object.Blob object = 1; */ public Builder setObject(org.vdaas.vald.api.v1.payload.Object.Blob value) { if (objectBuilder_ == null) { @@ -2605,7 +2604,7 @@ public Builder setObject(org.vdaas.vald.api.v1.payload.Object.Blob value) { * The binary object to be upserted. * * - * .payload.v1.Object.Blob object = 1 [json_name = "object"]; + * .payload.v1.Object.Blob object = 1; */ public Builder setObject( org.vdaas.vald.api.v1.payload.Object.Blob.Builder builderForValue) { @@ -2623,7 +2622,7 @@ public Builder setObject( * The binary object to be upserted. * * - * .payload.v1.Object.Blob object = 1 [json_name = "object"]; + * .payload.v1.Object.Blob object = 1; */ public Builder mergeObject(org.vdaas.vald.api.v1.payload.Object.Blob value) { if (objectBuilder_ == null) { @@ -2648,7 +2647,7 @@ public Builder mergeObject(org.vdaas.vald.api.v1.payload.Object.Blob value) { * The binary object to be upserted. * * - * .payload.v1.Object.Blob object = 1 [json_name = "object"]; + * .payload.v1.Object.Blob object = 1; */ public Builder clearObject() { bitField0_ = (bitField0_ & ~0x00000001); @@ -2665,7 +2664,7 @@ public Builder clearObject() { * The binary object to be upserted. * * - * .payload.v1.Object.Blob object = 1 [json_name = "object"]; + * .payload.v1.Object.Blob object = 1; */ public org.vdaas.vald.api.v1.payload.Object.Blob.Builder getObjectBuilder() { bitField0_ |= 0x00000001; @@ -2677,7 +2676,7 @@ public org.vdaas.vald.api.v1.payload.Object.Blob.Builder getObjectBuilder() { * The binary object to be upserted. * * - * .payload.v1.Object.Blob object = 1 [json_name = "object"]; + * .payload.v1.Object.Blob object = 1; */ public org.vdaas.vald.api.v1.payload.Object.BlobOrBuilder getObjectOrBuilder() { if (objectBuilder_ != null) { @@ -2692,7 +2691,7 @@ public org.vdaas.vald.api.v1.payload.Object.BlobOrBuilder getObjectOrBuilder() { * The binary object to be upserted. * * - * .payload.v1.Object.Blob object = 1 [json_name = "object"]; + * .payload.v1.Object.Blob object = 1; */ private com.google.protobuf.SingleFieldBuilderV3< org.vdaas.vald.api.v1.payload.Object.Blob, org.vdaas.vald.api.v1.payload.Object.Blob.Builder, org.vdaas.vald.api.v1.payload.Object.BlobOrBuilder> @@ -2716,7 +2715,7 @@ public org.vdaas.vald.api.v1.payload.Object.BlobOrBuilder getObjectOrBuilder() { * The configuration of the upsert request. * * - * .payload.v1.Upsert.Config config = 2 [json_name = "config"]; + * .payload.v1.Upsert.Config config = 2; * @return Whether the config field is set. */ public boolean hasConfig() { @@ -2727,7 +2726,7 @@ public boolean hasConfig() { * The configuration of the upsert request. * * - * .payload.v1.Upsert.Config config = 2 [json_name = "config"]; + * .payload.v1.Upsert.Config config = 2; * @return The config. */ public org.vdaas.vald.api.v1.payload.Upsert.Config getConfig() { @@ -2742,7 +2741,7 @@ public org.vdaas.vald.api.v1.payload.Upsert.Config getConfig() { * The configuration of the upsert request. * * - * .payload.v1.Upsert.Config config = 2 [json_name = "config"]; + * .payload.v1.Upsert.Config config = 2; */ public Builder setConfig(org.vdaas.vald.api.v1.payload.Upsert.Config value) { if (configBuilder_ == null) { @@ -2762,7 +2761,7 @@ public Builder setConfig(org.vdaas.vald.api.v1.payload.Upsert.Config value) { * The configuration of the upsert request. * * - * .payload.v1.Upsert.Config config = 2 [json_name = "config"]; + * .payload.v1.Upsert.Config config = 2; */ public Builder setConfig( org.vdaas.vald.api.v1.payload.Upsert.Config.Builder builderForValue) { @@ -2780,7 +2779,7 @@ public Builder setConfig( * The configuration of the upsert request. * * - * .payload.v1.Upsert.Config config = 2 [json_name = "config"]; + * .payload.v1.Upsert.Config config = 2; */ public Builder mergeConfig(org.vdaas.vald.api.v1.payload.Upsert.Config value) { if (configBuilder_ == null) { @@ -2805,7 +2804,7 @@ public Builder mergeConfig(org.vdaas.vald.api.v1.payload.Upsert.Config value) { * The configuration of the upsert request. * * - * .payload.v1.Upsert.Config config = 2 [json_name = "config"]; + * .payload.v1.Upsert.Config config = 2; */ public Builder clearConfig() { bitField0_ = (bitField0_ & ~0x00000002); @@ -2822,7 +2821,7 @@ public Builder clearConfig() { * The configuration of the upsert request. * * - * .payload.v1.Upsert.Config config = 2 [json_name = "config"]; + * .payload.v1.Upsert.Config config = 2; */ public org.vdaas.vald.api.v1.payload.Upsert.Config.Builder getConfigBuilder() { bitField0_ |= 0x00000002; @@ -2834,7 +2833,7 @@ public org.vdaas.vald.api.v1.payload.Upsert.Config.Builder getConfigBuilder() { * The configuration of the upsert request. * * - * .payload.v1.Upsert.Config config = 2 [json_name = "config"]; + * .payload.v1.Upsert.Config config = 2; */ public org.vdaas.vald.api.v1.payload.Upsert.ConfigOrBuilder getConfigOrBuilder() { if (configBuilder_ != null) { @@ -2849,7 +2848,7 @@ public org.vdaas.vald.api.v1.payload.Upsert.ConfigOrBuilder getConfigOrBuilder() * The configuration of the upsert request. * * - * .payload.v1.Upsert.Config config = 2 [json_name = "config"]; + * .payload.v1.Upsert.Config config = 2; */ private com.google.protobuf.SingleFieldBuilderV3< org.vdaas.vald.api.v1.payload.Upsert.Config, org.vdaas.vald.api.v1.payload.Upsert.Config.Builder, org.vdaas.vald.api.v1.payload.Upsert.ConfigOrBuilder> @@ -2873,7 +2872,7 @@ public org.vdaas.vald.api.v1.payload.Upsert.ConfigOrBuilder getConfigOrBuilder() * Filter target. * * - * .payload.v1.Filter.Target vectorizer = 3 [json_name = "vectorizer"]; + * .payload.v1.Filter.Target vectorizer = 3; * @return Whether the vectorizer field is set. */ public boolean hasVectorizer() { @@ -2884,7 +2883,7 @@ public boolean hasVectorizer() { * Filter target. * * - * .payload.v1.Filter.Target vectorizer = 3 [json_name = "vectorizer"]; + * .payload.v1.Filter.Target vectorizer = 3; * @return The vectorizer. */ public org.vdaas.vald.api.v1.payload.Filter.Target getVectorizer() { @@ -2899,7 +2898,7 @@ public org.vdaas.vald.api.v1.payload.Filter.Target getVectorizer() { * Filter target. * * - * .payload.v1.Filter.Target vectorizer = 3 [json_name = "vectorizer"]; + * .payload.v1.Filter.Target vectorizer = 3; */ public Builder setVectorizer(org.vdaas.vald.api.v1.payload.Filter.Target value) { if (vectorizerBuilder_ == null) { @@ -2919,7 +2918,7 @@ public Builder setVectorizer(org.vdaas.vald.api.v1.payload.Filter.Target value) * Filter target. * * - * .payload.v1.Filter.Target vectorizer = 3 [json_name = "vectorizer"]; + * .payload.v1.Filter.Target vectorizer = 3; */ public Builder setVectorizer( org.vdaas.vald.api.v1.payload.Filter.Target.Builder builderForValue) { @@ -2937,7 +2936,7 @@ public Builder setVectorizer( * Filter target. * * - * .payload.v1.Filter.Target vectorizer = 3 [json_name = "vectorizer"]; + * .payload.v1.Filter.Target vectorizer = 3; */ public Builder mergeVectorizer(org.vdaas.vald.api.v1.payload.Filter.Target value) { if (vectorizerBuilder_ == null) { @@ -2962,7 +2961,7 @@ public Builder mergeVectorizer(org.vdaas.vald.api.v1.payload.Filter.Target value * Filter target. * * - * .payload.v1.Filter.Target vectorizer = 3 [json_name = "vectorizer"]; + * .payload.v1.Filter.Target vectorizer = 3; */ public Builder clearVectorizer() { bitField0_ = (bitField0_ & ~0x00000004); @@ -2979,7 +2978,7 @@ public Builder clearVectorizer() { * Filter target. * * - * .payload.v1.Filter.Target vectorizer = 3 [json_name = "vectorizer"]; + * .payload.v1.Filter.Target vectorizer = 3; */ public org.vdaas.vald.api.v1.payload.Filter.Target.Builder getVectorizerBuilder() { bitField0_ |= 0x00000004; @@ -2991,7 +2990,7 @@ public org.vdaas.vald.api.v1.payload.Filter.Target.Builder getVectorizerBuilder( * Filter target. * * - * .payload.v1.Filter.Target vectorizer = 3 [json_name = "vectorizer"]; + * .payload.v1.Filter.Target vectorizer = 3; */ public org.vdaas.vald.api.v1.payload.Filter.TargetOrBuilder getVectorizerOrBuilder() { if (vectorizerBuilder_ != null) { @@ -3006,7 +3005,7 @@ public org.vdaas.vald.api.v1.payload.Filter.TargetOrBuilder getVectorizerOrBuild * Filter target. * * - * .payload.v1.Filter.Target vectorizer = 3 [json_name = "vectorizer"]; + * .payload.v1.Filter.Target vectorizer = 3; */ private com.google.protobuf.SingleFieldBuilderV3< org.vdaas.vald.api.v1.payload.Filter.Target, org.vdaas.vald.api.v1.payload.Filter.Target.Builder, org.vdaas.vald.api.v1.payload.Filter.TargetOrBuilder> @@ -3094,7 +3093,7 @@ public interface MultiObjectRequestOrBuilder extends * Represent the multiple upsert object request content. * * - * repeated .payload.v1.Upsert.ObjectRequest requests = 1 [json_name = "requests"]; + * repeated .payload.v1.Upsert.ObjectRequest requests = 1; */ java.util.List getRequestsList(); @@ -3103,7 +3102,7 @@ public interface MultiObjectRequestOrBuilder extends * Represent the multiple upsert object request content. * * - * repeated .payload.v1.Upsert.ObjectRequest requests = 1 [json_name = "requests"]; + * repeated .payload.v1.Upsert.ObjectRequest requests = 1; */ org.vdaas.vald.api.v1.payload.Upsert.ObjectRequest getRequests(int index); /** @@ -3111,7 +3110,7 @@ public interface MultiObjectRequestOrBuilder extends * Represent the multiple upsert object request content. * * - * repeated .payload.v1.Upsert.ObjectRequest requests = 1 [json_name = "requests"]; + * repeated .payload.v1.Upsert.ObjectRequest requests = 1; */ int getRequestsCount(); /** @@ -3119,7 +3118,7 @@ public interface MultiObjectRequestOrBuilder extends * Represent the multiple upsert object request content. * * - * repeated .payload.v1.Upsert.ObjectRequest requests = 1 [json_name = "requests"]; + * repeated .payload.v1.Upsert.ObjectRequest requests = 1; */ java.util.List getRequestsOrBuilderList(); @@ -3128,7 +3127,7 @@ public interface MultiObjectRequestOrBuilder extends * Represent the multiple upsert object request content. * * - * repeated .payload.v1.Upsert.ObjectRequest requests = 1 [json_name = "requests"]; + * repeated .payload.v1.Upsert.ObjectRequest requests = 1; */ org.vdaas.vald.api.v1.payload.Upsert.ObjectRequestOrBuilder getRequestsOrBuilder( int index); @@ -3181,7 +3180,7 @@ protected java.lang.Object newInstance( * Represent the multiple upsert object request content. * * - * repeated .payload.v1.Upsert.ObjectRequest requests = 1 [json_name = "requests"]; + * repeated .payload.v1.Upsert.ObjectRequest requests = 1; */ @java.lang.Override public java.util.List getRequestsList() { @@ -3192,7 +3191,7 @@ public java.util.List getReq * Represent the multiple upsert object request content. * * - * repeated .payload.v1.Upsert.ObjectRequest requests = 1 [json_name = "requests"]; + * repeated .payload.v1.Upsert.ObjectRequest requests = 1; */ @java.lang.Override public java.util.List @@ -3204,7 +3203,7 @@ public java.util.List getReq * Represent the multiple upsert object request content. * * - * repeated .payload.v1.Upsert.ObjectRequest requests = 1 [json_name = "requests"]; + * repeated .payload.v1.Upsert.ObjectRequest requests = 1; */ @java.lang.Override public int getRequestsCount() { @@ -3215,7 +3214,7 @@ public int getRequestsCount() { * Represent the multiple upsert object request content. * * - * repeated .payload.v1.Upsert.ObjectRequest requests = 1 [json_name = "requests"]; + * repeated .payload.v1.Upsert.ObjectRequest requests = 1; */ @java.lang.Override public org.vdaas.vald.api.v1.payload.Upsert.ObjectRequest getRequests(int index) { @@ -3226,7 +3225,7 @@ public org.vdaas.vald.api.v1.payload.Upsert.ObjectRequest getRequests(int index) * Represent the multiple upsert object request content. * * - * repeated .payload.v1.Upsert.ObjectRequest requests = 1 [json_name = "requests"]; + * repeated .payload.v1.Upsert.ObjectRequest requests = 1; */ @java.lang.Override public org.vdaas.vald.api.v1.payload.Upsert.ObjectRequestOrBuilder getRequestsOrBuilder( @@ -3629,7 +3628,7 @@ private void ensureRequestsIsMutable() { * Represent the multiple upsert object request content. * * - * repeated .payload.v1.Upsert.ObjectRequest requests = 1 [json_name = "requests"]; + * repeated .payload.v1.Upsert.ObjectRequest requests = 1; */ public java.util.List getRequestsList() { if (requestsBuilder_ == null) { @@ -3643,7 +3642,7 @@ public java.util.List getReq * Represent the multiple upsert object request content. * * - * repeated .payload.v1.Upsert.ObjectRequest requests = 1 [json_name = "requests"]; + * repeated .payload.v1.Upsert.ObjectRequest requests = 1; */ public int getRequestsCount() { if (requestsBuilder_ == null) { @@ -3657,7 +3656,7 @@ public int getRequestsCount() { * Represent the multiple upsert object request content. * * - * repeated .payload.v1.Upsert.ObjectRequest requests = 1 [json_name = "requests"]; + * repeated .payload.v1.Upsert.ObjectRequest requests = 1; */ public org.vdaas.vald.api.v1.payload.Upsert.ObjectRequest getRequests(int index) { if (requestsBuilder_ == null) { @@ -3671,7 +3670,7 @@ public org.vdaas.vald.api.v1.payload.Upsert.ObjectRequest getRequests(int index) * Represent the multiple upsert object request content. * * - * repeated .payload.v1.Upsert.ObjectRequest requests = 1 [json_name = "requests"]; + * repeated .payload.v1.Upsert.ObjectRequest requests = 1; */ public Builder setRequests( int index, org.vdaas.vald.api.v1.payload.Upsert.ObjectRequest value) { @@ -3692,7 +3691,7 @@ public Builder setRequests( * Represent the multiple upsert object request content. * * - * repeated .payload.v1.Upsert.ObjectRequest requests = 1 [json_name = "requests"]; + * repeated .payload.v1.Upsert.ObjectRequest requests = 1; */ public Builder setRequests( int index, org.vdaas.vald.api.v1.payload.Upsert.ObjectRequest.Builder builderForValue) { @@ -3710,7 +3709,7 @@ public Builder setRequests( * Represent the multiple upsert object request content. * * - * repeated .payload.v1.Upsert.ObjectRequest requests = 1 [json_name = "requests"]; + * repeated .payload.v1.Upsert.ObjectRequest requests = 1; */ public Builder addRequests(org.vdaas.vald.api.v1.payload.Upsert.ObjectRequest value) { if (requestsBuilder_ == null) { @@ -3730,7 +3729,7 @@ public Builder addRequests(org.vdaas.vald.api.v1.payload.Upsert.ObjectRequest va * Represent the multiple upsert object request content. * * - * repeated .payload.v1.Upsert.ObjectRequest requests = 1 [json_name = "requests"]; + * repeated .payload.v1.Upsert.ObjectRequest requests = 1; */ public Builder addRequests( int index, org.vdaas.vald.api.v1.payload.Upsert.ObjectRequest value) { @@ -3751,7 +3750,7 @@ public Builder addRequests( * Represent the multiple upsert object request content. * * - * repeated .payload.v1.Upsert.ObjectRequest requests = 1 [json_name = "requests"]; + * repeated .payload.v1.Upsert.ObjectRequest requests = 1; */ public Builder addRequests( org.vdaas.vald.api.v1.payload.Upsert.ObjectRequest.Builder builderForValue) { @@ -3769,7 +3768,7 @@ public Builder addRequests( * Represent the multiple upsert object request content. * * - * repeated .payload.v1.Upsert.ObjectRequest requests = 1 [json_name = "requests"]; + * repeated .payload.v1.Upsert.ObjectRequest requests = 1; */ public Builder addRequests( int index, org.vdaas.vald.api.v1.payload.Upsert.ObjectRequest.Builder builderForValue) { @@ -3787,7 +3786,7 @@ public Builder addRequests( * Represent the multiple upsert object request content. * * - * repeated .payload.v1.Upsert.ObjectRequest requests = 1 [json_name = "requests"]; + * repeated .payload.v1.Upsert.ObjectRequest requests = 1; */ public Builder addAllRequests( java.lang.Iterable values) { @@ -3806,7 +3805,7 @@ public Builder addAllRequests( * Represent the multiple upsert object request content. * * - * repeated .payload.v1.Upsert.ObjectRequest requests = 1 [json_name = "requests"]; + * repeated .payload.v1.Upsert.ObjectRequest requests = 1; */ public Builder clearRequests() { if (requestsBuilder_ == null) { @@ -3823,7 +3822,7 @@ public Builder clearRequests() { * Represent the multiple upsert object request content. * * - * repeated .payload.v1.Upsert.ObjectRequest requests = 1 [json_name = "requests"]; + * repeated .payload.v1.Upsert.ObjectRequest requests = 1; */ public Builder removeRequests(int index) { if (requestsBuilder_ == null) { @@ -3840,7 +3839,7 @@ public Builder removeRequests(int index) { * Represent the multiple upsert object request content. * * - * repeated .payload.v1.Upsert.ObjectRequest requests = 1 [json_name = "requests"]; + * repeated .payload.v1.Upsert.ObjectRequest requests = 1; */ public org.vdaas.vald.api.v1.payload.Upsert.ObjectRequest.Builder getRequestsBuilder( int index) { @@ -3851,7 +3850,7 @@ public org.vdaas.vald.api.v1.payload.Upsert.ObjectRequest.Builder getRequestsBui * Represent the multiple upsert object request content. * * - * repeated .payload.v1.Upsert.ObjectRequest requests = 1 [json_name = "requests"]; + * repeated .payload.v1.Upsert.ObjectRequest requests = 1; */ public org.vdaas.vald.api.v1.payload.Upsert.ObjectRequestOrBuilder getRequestsOrBuilder( int index) { @@ -3865,7 +3864,7 @@ public org.vdaas.vald.api.v1.payload.Upsert.ObjectRequestOrBuilder getRequestsOr * Represent the multiple upsert object request content. * * - * repeated .payload.v1.Upsert.ObjectRequest requests = 1 [json_name = "requests"]; + * repeated .payload.v1.Upsert.ObjectRequest requests = 1; */ public java.util.List getRequestsOrBuilderList() { @@ -3880,7 +3879,7 @@ public org.vdaas.vald.api.v1.payload.Upsert.ObjectRequestOrBuilder getRequestsOr * Represent the multiple upsert object request content. * * - * repeated .payload.v1.Upsert.ObjectRequest requests = 1 [json_name = "requests"]; + * repeated .payload.v1.Upsert.ObjectRequest requests = 1; */ public org.vdaas.vald.api.v1.payload.Upsert.ObjectRequest.Builder addRequestsBuilder() { return getRequestsFieldBuilder().addBuilder( @@ -3891,7 +3890,7 @@ public org.vdaas.vald.api.v1.payload.Upsert.ObjectRequest.Builder addRequestsBui * Represent the multiple upsert object request content. * * - * repeated .payload.v1.Upsert.ObjectRequest requests = 1 [json_name = "requests"]; + * repeated .payload.v1.Upsert.ObjectRequest requests = 1; */ public org.vdaas.vald.api.v1.payload.Upsert.ObjectRequest.Builder addRequestsBuilder( int index) { @@ -3903,7 +3902,7 @@ public org.vdaas.vald.api.v1.payload.Upsert.ObjectRequest.Builder addRequestsBui * Represent the multiple upsert object request content. * * - * repeated .payload.v1.Upsert.ObjectRequest requests = 1 [json_name = "requests"]; + * repeated .payload.v1.Upsert.ObjectRequest requests = 1; */ public java.util.List getRequestsBuilderList() { @@ -3996,7 +3995,7 @@ public interface ConfigOrBuilder extends * A flag to skip exist check during upsert operation. * * - * bool skip_strict_exist_check = 1 [json_name = "skipStrictExistCheck"]; + * bool skip_strict_exist_check = 1; * @return The skipStrictExistCheck. */ boolean getSkipStrictExistCheck(); @@ -4006,7 +4005,7 @@ public interface ConfigOrBuilder extends * Filter configuration. * * - * .payload.v1.Filter.Config filters = 2 [json_name = "filters"]; + * .payload.v1.Filter.Config filters = 2; * @return Whether the filters field is set. */ boolean hasFilters(); @@ -4015,7 +4014,7 @@ public interface ConfigOrBuilder extends * Filter configuration. * * - * .payload.v1.Filter.Config filters = 2 [json_name = "filters"]; + * .payload.v1.Filter.Config filters = 2; * @return The filters. */ org.vdaas.vald.api.v1.payload.Filter.Config getFilters(); @@ -4024,7 +4023,7 @@ public interface ConfigOrBuilder extends * Filter configuration. * * - * .payload.v1.Filter.Config filters = 2 [json_name = "filters"]; + * .payload.v1.Filter.Config filters = 2; */ org.vdaas.vald.api.v1.payload.Filter.ConfigOrBuilder getFiltersOrBuilder(); @@ -4033,7 +4032,7 @@ public interface ConfigOrBuilder extends * Upsert timestamp. * * - * int64 timestamp = 3 [json_name = "timestamp"]; + * int64 timestamp = 3; * @return The timestamp. */ long getTimestamp(); @@ -4044,7 +4043,7 @@ public interface ConfigOrBuilder extends * during update operation. * * - * bool disable_balanced_update = 4 [json_name = "disableBalancedUpdate"]; + * bool disable_balanced_update = 4; * @return The disableBalancedUpdate. */ boolean getDisableBalancedUpdate(); @@ -4096,7 +4095,7 @@ protected java.lang.Object newInstance( * A flag to skip exist check during upsert operation. * * - * bool skip_strict_exist_check = 1 [json_name = "skipStrictExistCheck"]; + * bool skip_strict_exist_check = 1; * @return The skipStrictExistCheck. */ @java.lang.Override @@ -4111,7 +4110,7 @@ public boolean getSkipStrictExistCheck() { * Filter configuration. * * - * .payload.v1.Filter.Config filters = 2 [json_name = "filters"]; + * .payload.v1.Filter.Config filters = 2; * @return Whether the filters field is set. */ @java.lang.Override @@ -4123,7 +4122,7 @@ public boolean hasFilters() { * Filter configuration. * * - * .payload.v1.Filter.Config filters = 2 [json_name = "filters"]; + * .payload.v1.Filter.Config filters = 2; * @return The filters. */ @java.lang.Override @@ -4135,7 +4134,7 @@ public org.vdaas.vald.api.v1.payload.Filter.Config getFilters() { * Filter configuration. * * - * .payload.v1.Filter.Config filters = 2 [json_name = "filters"]; + * .payload.v1.Filter.Config filters = 2; */ @java.lang.Override public org.vdaas.vald.api.v1.payload.Filter.ConfigOrBuilder getFiltersOrBuilder() { @@ -4149,7 +4148,7 @@ public org.vdaas.vald.api.v1.payload.Filter.ConfigOrBuilder getFiltersOrBuilder( * Upsert timestamp. * * - * int64 timestamp = 3 [json_name = "timestamp"]; + * int64 timestamp = 3; * @return The timestamp. */ @java.lang.Override @@ -4165,7 +4164,7 @@ public long getTimestamp() { * during update operation. * * - * bool disable_balanced_update = 4 [json_name = "disableBalancedUpdate"]; + * bool disable_balanced_update = 4; * @return The disableBalancedUpdate. */ @java.lang.Override @@ -4602,7 +4601,7 @@ public Builder mergeFrom( * A flag to skip exist check during upsert operation. * * - * bool skip_strict_exist_check = 1 [json_name = "skipStrictExistCheck"]; + * bool skip_strict_exist_check = 1; * @return The skipStrictExistCheck. */ @java.lang.Override @@ -4614,7 +4613,7 @@ public boolean getSkipStrictExistCheck() { * A flag to skip exist check during upsert operation. * * - * bool skip_strict_exist_check = 1 [json_name = "skipStrictExistCheck"]; + * bool skip_strict_exist_check = 1; * @param value The skipStrictExistCheck to set. * @return This builder for chaining. */ @@ -4630,7 +4629,7 @@ public Builder setSkipStrictExistCheck(boolean value) { * A flag to skip exist check during upsert operation. * * - * bool skip_strict_exist_check = 1 [json_name = "skipStrictExistCheck"]; + * bool skip_strict_exist_check = 1; * @return This builder for chaining. */ public Builder clearSkipStrictExistCheck() { @@ -4648,7 +4647,7 @@ public Builder clearSkipStrictExistCheck() { * Filter configuration. * * - * .payload.v1.Filter.Config filters = 2 [json_name = "filters"]; + * .payload.v1.Filter.Config filters = 2; * @return Whether the filters field is set. */ public boolean hasFilters() { @@ -4659,7 +4658,7 @@ public boolean hasFilters() { * Filter configuration. * * - * .payload.v1.Filter.Config filters = 2 [json_name = "filters"]; + * .payload.v1.Filter.Config filters = 2; * @return The filters. */ public org.vdaas.vald.api.v1.payload.Filter.Config getFilters() { @@ -4674,7 +4673,7 @@ public org.vdaas.vald.api.v1.payload.Filter.Config getFilters() { * Filter configuration. * * - * .payload.v1.Filter.Config filters = 2 [json_name = "filters"]; + * .payload.v1.Filter.Config filters = 2; */ public Builder setFilters(org.vdaas.vald.api.v1.payload.Filter.Config value) { if (filtersBuilder_ == null) { @@ -4694,7 +4693,7 @@ public Builder setFilters(org.vdaas.vald.api.v1.payload.Filter.Config value) { * Filter configuration. * * - * .payload.v1.Filter.Config filters = 2 [json_name = "filters"]; + * .payload.v1.Filter.Config filters = 2; */ public Builder setFilters( org.vdaas.vald.api.v1.payload.Filter.Config.Builder builderForValue) { @@ -4712,7 +4711,7 @@ public Builder setFilters( * Filter configuration. * * - * .payload.v1.Filter.Config filters = 2 [json_name = "filters"]; + * .payload.v1.Filter.Config filters = 2; */ public Builder mergeFilters(org.vdaas.vald.api.v1.payload.Filter.Config value) { if (filtersBuilder_ == null) { @@ -4737,7 +4736,7 @@ public Builder mergeFilters(org.vdaas.vald.api.v1.payload.Filter.Config value) { * Filter configuration. * * - * .payload.v1.Filter.Config filters = 2 [json_name = "filters"]; + * .payload.v1.Filter.Config filters = 2; */ public Builder clearFilters() { bitField0_ = (bitField0_ & ~0x00000002); @@ -4754,7 +4753,7 @@ public Builder clearFilters() { * Filter configuration. * * - * .payload.v1.Filter.Config filters = 2 [json_name = "filters"]; + * .payload.v1.Filter.Config filters = 2; */ public org.vdaas.vald.api.v1.payload.Filter.Config.Builder getFiltersBuilder() { bitField0_ |= 0x00000002; @@ -4766,7 +4765,7 @@ public org.vdaas.vald.api.v1.payload.Filter.Config.Builder getFiltersBuilder() { * Filter configuration. * * - * .payload.v1.Filter.Config filters = 2 [json_name = "filters"]; + * .payload.v1.Filter.Config filters = 2; */ public org.vdaas.vald.api.v1.payload.Filter.ConfigOrBuilder getFiltersOrBuilder() { if (filtersBuilder_ != null) { @@ -4781,7 +4780,7 @@ public org.vdaas.vald.api.v1.payload.Filter.ConfigOrBuilder getFiltersOrBuilder( * Filter configuration. * * - * .payload.v1.Filter.Config filters = 2 [json_name = "filters"]; + * .payload.v1.Filter.Config filters = 2; */ private com.google.protobuf.SingleFieldBuilderV3< org.vdaas.vald.api.v1.payload.Filter.Config, org.vdaas.vald.api.v1.payload.Filter.Config.Builder, org.vdaas.vald.api.v1.payload.Filter.ConfigOrBuilder> @@ -4803,7 +4802,7 @@ public org.vdaas.vald.api.v1.payload.Filter.ConfigOrBuilder getFiltersOrBuilder( * Upsert timestamp. * * - * int64 timestamp = 3 [json_name = "timestamp"]; + * int64 timestamp = 3; * @return The timestamp. */ @java.lang.Override @@ -4815,7 +4814,7 @@ public long getTimestamp() { * Upsert timestamp. * * - * int64 timestamp = 3 [json_name = "timestamp"]; + * int64 timestamp = 3; * @param value The timestamp to set. * @return This builder for chaining. */ @@ -4831,7 +4830,7 @@ public Builder setTimestamp(long value) { * Upsert timestamp. * * - * int64 timestamp = 3 [json_name = "timestamp"]; + * int64 timestamp = 3; * @return This builder for chaining. */ public Builder clearTimestamp() { @@ -4848,7 +4847,7 @@ public Builder clearTimestamp() { * during update operation. * * - * bool disable_balanced_update = 4 [json_name = "disableBalancedUpdate"]; + * bool disable_balanced_update = 4; * @return The disableBalancedUpdate. */ @java.lang.Override @@ -4861,7 +4860,7 @@ public boolean getDisableBalancedUpdate() { * during update operation. * * - * bool disable_balanced_update = 4 [json_name = "disableBalancedUpdate"]; + * bool disable_balanced_update = 4; * @param value The disableBalancedUpdate to set. * @return This builder for chaining. */ @@ -4878,7 +4877,7 @@ public Builder setDisableBalancedUpdate(boolean value) { * during update operation. * * - * bool disable_balanced_update = 4 [json_name = "disableBalancedUpdate"]; + * bool disable_balanced_update = 4; * @return This builder for chaining. */ public Builder clearDisableBalancedUpdate() { diff --git a/src/main/java/org/vdaas/vald/api/v1/payload/UpsertOrBuilder.java b/src/main/java/org/vdaas/vald/api/v1/payload/UpsertOrBuilder.java index 508961bb..053c61ae 100644 --- a/src/main/java/org/vdaas/vald/api/v1/payload/UpsertOrBuilder.java +++ b/src/main/java/org/vdaas/vald/api/v1/payload/UpsertOrBuilder.java @@ -1,7 +1,6 @@ // Generated by the protocol buffer compiler. DO NOT EDIT! -// source: v1/payload/payload.proto +// source: apis/proto/v1/payload/payload.proto -// Protobuf Java Version: 3.25.1 package org.vdaas.vald.api.v1.payload; public interface UpsertOrBuilder extends diff --git a/src/main/java/org/vdaas/vald/api/v1/payload/ValdPayload.java b/src/main/java/org/vdaas/vald/api/v1/payload/ValdPayload.java index 794bb0ea..0df38fd3 100644 --- a/src/main/java/org/vdaas/vald/api/v1/payload/ValdPayload.java +++ b/src/main/java/org/vdaas/vald/api/v1/payload/ValdPayload.java @@ -1,7 +1,6 @@ // Generated by the protocol buffer compiler. DO NOT EDIT! -// source: v1/payload/payload.proto +// source: apis/proto/v1/payload/payload.proto -// Protobuf Java Version: 3.25.1 package org.vdaas.vald.api.v1.payload; public final class ValdPayload { @@ -365,36 +364,6 @@ public static void registerAllExtensions( static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internal_static_payload_v1_Info_Node_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_payload_v1_Info_Service_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_payload_v1_Info_Service_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_payload_v1_Info_ServicePort_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_payload_v1_Info_ServicePort_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_payload_v1_Info_Labels_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_payload_v1_Info_Labels_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_payload_v1_Info_Labels_LabelsEntry_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_payload_v1_Info_Labels_LabelsEntry_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_payload_v1_Info_Annotations_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_payload_v1_Info_Annotations_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_payload_v1_Info_Annotations_AnnotationsEntry_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_payload_v1_Info_Annotations_AnnotationsEntry_fieldAccessorTable; static final com.google.protobuf.Descriptors.Descriptor internal_static_payload_v1_Info_CPU_descriptor; static final @@ -415,11 +384,6 @@ public static void registerAllExtensions( static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internal_static_payload_v1_Info_Nodes_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_payload_v1_Info_Services_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_payload_v1_Info_Services_fieldAccessorTable; static final com.google.protobuf.Descriptors.Descriptor internal_static_payload_v1_Info_IPs_descriptor; static final @@ -439,200 +403,155 @@ public static void registerAllExtensions( descriptor; static { java.lang.String[] descriptorData = { - "\n\030v1/payload/payload.proto\022\npayload.v1\032\033" + - "buf/validate/validate.proto\032\027google/rpc/" + - "status.proto\"\355\n\n\006Search\032^\n\007Request\022 \n\006ve" + - "ctor\030\001 \003(\002B\010\272H\005\222\001\002\010\002R\006vector\0221\n\006config\030\002" + - " \001(\0132\031.payload.v1.Search.ConfigR\006config\032" + - "F\n\014MultiRequest\0226\n\010requests\030\001 \003(\0132\032.payl" + - "oad.v1.Search.RequestR\010requests\032N\n\tIDReq" + - "uest\022\016\n\002id\030\001 \001(\tR\002id\0221\n\006config\030\002 \001(\0132\031.p" + - "ayload.v1.Search.ConfigR\006config\032J\n\016Multi" + - "IDRequest\0228\n\010requests\030\001 \003(\0132\034.payload.v1" + - ".Search.IDRequestR\010requests\032\225\001\n\rObjectRe" + - "quest\022\026\n\006object\030\001 \001(\014R\006object\0221\n\006config\030" + - "\002 \001(\0132\031.payload.v1.Search.ConfigR\006config" + - "\0229\n\nvectorizer\030\003 \001(\0132\031.payload.v1.Filter" + - ".TargetR\nvectorizer\032R\n\022MultiObjectReques" + - "t\022<\n\010requests\030\001 \003(\0132 .payload.v1.Search." + - "ObjectRequestR\010requests\032\224\003\n\006Config\022\035\n\nre" + - "quest_id\030\001 \001(\tR\trequestId\022\031\n\003num\030\002 \001(\rB\007" + - "\272H\004*\002(\001R\003num\022\026\n\006radius\030\003 \001(\002R\006radius\022\030\n\007" + - "epsilon\030\004 \001(\002R\007epsilon\022\030\n\007timeout\030\005 \001(\003R" + - "\007timeout\022B\n\017ingress_filters\030\006 \001(\0132\031.payl" + - "oad.v1.Filter.ConfigR\016ingressFilters\022@\n\016" + - "egress_filters\030\007 \001(\0132\031.payload.v1.Filter" + - ".ConfigR\regressFilters\022 \n\007min_num\030\010 \001(\rB" + - "\007\272H\004*\002(\000R\006minNum\022\\\n\025aggregation_algorith" + - "m\030\t \001(\0162\'.payload.v1.Search.AggregationA" + - "lgorithmR\024aggregationAlgorithm\032`\n\010Respon" + - "se\022\035\n\nrequest_id\030\001 \001(\tR\trequestId\0225\n\007res" + - "ults\030\002 \003(\0132\033.payload.v1.Object.DistanceR" + - "\007results\032F\n\tResponses\0229\n\tresponses\030\001 \003(\013" + - "2\033.payload.v1.Search.ResponseR\tresponses" + - "\032\204\001\n\016StreamResponse\0229\n\010response\030\001 \001(\0132\033." + - "payload.v1.Search.ResponseH\000R\010response\022," + - "\n\006status\030\002 \001(\0132\022.google.rpc.StatusH\000R\006st" + - "atusB\t\n\007payload\"k\n\024AggregationAlgorithm\022" + - "\013\n\007Unknown\020\000\022\023\n\017ConcurrentQueue\020\001\022\r\n\tSor" + - "tSlice\020\002\022\021\n\rSortPoolSlice\020\003\022\017\n\013PairingHe" + - "ap\020\004\"y\n\006Filter\0320\n\006Target\022\022\n\004host\030\001 \001(\tR\004" + - "host\022\022\n\004port\030\002 \001(\rR\004port\032=\n\006Config\0223\n\007ta" + - "rgets\030\001 \003(\0132\031.payload.v1.Filter.TargetR\007" + - "targets\"\345\004\n\006Insert\032y\n\007Request\022;\n\006vector\030" + - "\001 \001(\0132\031.payload.v1.Object.VectorB\010\272H\005\222\001\002" + - "\010\002R\006vector\0221\n\006config\030\002 \001(\0132\031.payload.v1." + - "Insert.ConfigR\006config\032F\n\014MultiRequest\0226\n" + - "\010requests\030\001 \003(\0132\032.payload.v1.Insert.Requ" + - "estR\010requests\032\256\001\n\rObjectRequest\022/\n\006objec" + - "t\030\001 \001(\0132\027.payload.v1.Object.BlobR\006object" + - "\0221\n\006config\030\002 \001(\0132\031.payload.v1.Insert.Con" + - "figR\006config\0229\n\nvectorizer\030\003 \001(\0132\031.payloa" + - "d.v1.Filter.TargetR\nvectorizer\032R\n\022MultiO" + - "bjectRequest\022<\n\010requests\030\001 \003(\0132 .payload" + - ".v1.Insert.ObjectRequestR\010requests\032\222\001\n\006C" + - "onfig\0225\n\027skip_strict_exist_check\030\001 \001(\010R\024" + - "skipStrictExistCheck\0223\n\007filters\030\002 \001(\0132\031." + - "payload.v1.Filter.ConfigR\007filters\022\034\n\ttim" + - "estamp\030\003 \001(\003R\ttimestamp\"\235\005\n\006Update\032y\n\007Re" + - "quest\022;\n\006vector\030\001 \001(\0132\031.payload.v1.Objec" + - "t.VectorB\010\272H\005\222\001\002\010\002R\006vector\0221\n\006config\030\002 \001" + - "(\0132\031.payload.v1.Update.ConfigR\006config\032F\n" + - "\014MultiRequest\0226\n\010requests\030\001 \003(\0132\032.payloa" + - "d.v1.Update.RequestR\010requests\032\256\001\n\rObject" + - "Request\022/\n\006object\030\001 \001(\0132\027.payload.v1.Obj" + - "ect.BlobR\006object\0221\n\006config\030\002 \001(\0132\031.paylo" + - "ad.v1.Update.ConfigR\006config\0229\n\nvectorize" + - "r\030\003 \001(\0132\031.payload.v1.Filter.TargetR\nvect" + - "orizer\032R\n\022MultiObjectRequest\022<\n\010requests" + - "\030\001 \003(\0132 .payload.v1.Update.ObjectRequest" + - "R\010requests\032\312\001\n\006Config\0225\n\027skip_strict_exi" + - "st_check\030\001 \001(\010R\024skipStrictExistCheck\0223\n\007" + - "filters\030\002 \001(\0132\031.payload.v1.Filter.Config" + - "R\007filters\022\034\n\ttimestamp\030\003 \001(\003R\ttimestamp\022" + - "6\n\027disable_balanced_update\030\004 \001(\010R\025disabl" + - "eBalancedUpdate\"\235\005\n\006Upsert\032y\n\007Request\022;\n" + - "\006vector\030\001 \001(\0132\031.payload.v1.Object.Vector" + - "B\010\272H\005\222\001\002\010\002R\006vector\0221\n\006config\030\002 \001(\0132\031.pay" + - "load.v1.Upsert.ConfigR\006config\032F\n\014MultiRe" + - "quest\0226\n\010requests\030\001 \003(\0132\032.payload.v1.Ups" + - "ert.RequestR\010requests\032\256\001\n\rObjectRequest\022" + - "/\n\006object\030\001 \001(\0132\027.payload.v1.Object.Blob" + - "R\006object\0221\n\006config\030\002 \001(\0132\031.payload.v1.Up" + - "sert.ConfigR\006config\0229\n\nvectorizer\030\003 \001(\0132" + - "\031.payload.v1.Filter.TargetR\nvectorizer\032R" + - "\n\022MultiObjectRequest\022<\n\010requests\030\001 \003(\0132 " + - ".payload.v1.Upsert.ObjectRequestR\010reques" + - "ts\032\312\001\n\006Config\0225\n\027skip_strict_exist_check" + - "\030\001 \001(\010R\024skipStrictExistCheck\0223\n\007filters\030" + - "\002 \001(\0132\031.payload.v1.Filter.ConfigR\007filter" + - "s\022\034\n\ttimestamp\030\003 \001(\003R\ttimestamp\0226\n\027disab" + - "le_balanced_update\030\004 \001(\010R\025disableBalance" + - "dUpdate\"\221\004\n\006Remove\032c\n\007Request\022%\n\002id\030\001 \001(" + - "\0132\025.payload.v1.Object.IDR\002id\0221\n\006config\030\002" + - " \001(\0132\031.payload.v1.Remove.ConfigR\006config\032" + - "F\n\014MultiRequest\0226\n\010requests\030\001 \003(\0132\032.payl" + - "oad.v1.Remove.RequestR\010requests\032P\n\020Times" + - "tampRequest\022<\n\ntimestamps\030\001 \003(\0132\034.payloa" + - "d.v1.Remove.TimestampR\ntimestamps\032\250\001\n\tTi" + - "mestamp\022\034\n\ttimestamp\030\001 \001(\003R\ttimestamp\022A\n" + - "\010operator\030\002 \001(\0162%.payload.v1.Remove.Time" + - "stamp.OperatorR\010operator\":\n\010Operator\022\006\n\002" + - "Eq\020\000\022\006\n\002Ne\020\001\022\006\n\002Ge\020\002\022\006\n\002Gt\020\003\022\006\n\002Le\020\004\022\006\n\002" + - "Lt\020\005\032]\n\006Config\0225\n\027skip_strict_exist_chec" + - "k\030\001 \001(\010R\024skipStrictExistCheck\022\034\n\ttimesta" + - "mp\030\003 \001(\003R\ttimestamp\"\264\013\n\006Object\032u\n\rVector" + - "Request\022/\n\002id\030\001 \001(\0132\025.payload.v1.Object." + - "IDB\010\272H\005\222\001\002\010\002R\002id\0223\n\007filters\030\002 \001(\0132\031.payl" + - "oad.v1.Filter.ConfigR\007filters\0326\n\010Distanc" + - "e\022\016\n\002id\030\001 \001(\tR\002id\022\032\n\010distance\030\002 \001(\002R\010dis" + - "tance\032\204\001\n\016StreamDistance\0229\n\010distance\030\001 \001" + - "(\0132\033.payload.v1.Object.DistanceH\000R\010dista" + - "nce\022,\n\006status\030\002 \001(\0132\022.google.rpc.StatusH" + - "\000R\006statusB\t\n\007payload\032\035\n\002ID\022\027\n\002id\030\001 \001(\tB\007" + - "\272H\004r\002\020\001R\002id\032\027\n\003IDs\022\020\n\003ids\030\001 \003(\tR\003ids\032a\n\006" + - "Vector\022\027\n\002id\030\001 \001(\tB\007\272H\004r\002\020\001R\002id\022 \n\006vecto" + - "r\030\002 \003(\002B\010\272H\005\222\001\002\010\002R\006vector\022\034\n\ttimestamp\030\003" + - " \001(\003R\ttimestamp\032F\n\023GetTimestampRequest\022/" + - "\n\002id\030\001 \001(\0132\025.payload.v1.Object.IDB\010\272H\005\222\001" + - "\002\010\002R\002id\032B\n\tTimestamp\022\027\n\002id\030\001 \001(\tB\007\272H\004r\002\020" + - "\001R\002id\022\034\n\ttimestamp\030\002 \001(\003R\ttimestamp\032>\n\007V" + - "ectors\0223\n\007vectors\030\001 \003(\0132\031.payload.v1.Obj" + - "ect.VectorR\007vectors\032|\n\014StreamVector\0223\n\006v" + - "ector\030\001 \001(\0132\031.payload.v1.Object.VectorH\000" + - "R\006vector\022,\n\006status\030\002 \001(\0132\022.google.rpc.St" + - "atusH\000R\006statusB\t\n\007payload\032=\n\rReshapeVect" + - "or\022\026\n\006object\030\001 \001(\014R\006object\022\024\n\005shape\030\002 \003(" + - "\005R\005shape\0327\n\004Blob\022\027\n\002id\030\001 \001(\tB\007\272H\004r\002\020\001R\002i" + - "d\022\026\n\006object\030\002 \001(\014R\006object\032t\n\nStreamBlob\022" + - "-\n\004blob\030\001 \001(\0132\027.payload.v1.Object.BlobH\000" + - "R\004blob\022,\n\006status\030\002 \001(\0132\022.google.rpc.Stat" + - "usH\000R\006statusB\t\n\007payload\032D\n\010Location\022\022\n\004n" + - "ame\030\001 \001(\tR\004name\022\022\n\004uuid\030\002 \001(\tR\004uuid\022\020\n\003i" + - "ps\030\003 \003(\tR\003ips\032\204\001\n\016StreamLocation\0229\n\010loca" + - "tion\030\001 \001(\0132\033.payload.v1.Object.LocationH" + - "\000R\010location\022,\n\006status\030\002 \001(\0132\022.google.rpc" + - ".StatusH\000R\006statusB\t\n\007payload\032F\n\tLocation" + - "s\0229\n\tlocations\030\001 \003(\0132\033.payload.v1.Object" + - ".LocationR\tlocations\032\213\001\n\004List\032\t\n\007Request" + - "\032x\n\010Response\0223\n\006vector\030\001 \001(\0132\031.payload.v" + - "1.Object.VectorH\000R\006vector\022,\n\006status\030\002 \001(" + - "\0132\022.google.rpc.StatusH\000R\006statusB\t\n\007paylo" + - "ad\"E\n\007Control\032:\n\022CreateIndexRequest\022$\n\tp" + - "ool_size\030\001 \001(\rB\007\272H\004*\002(\000R\010poolSize\"f\n\nDis" + - "coverer\032X\n\007Request\022\033\n\004name\030\001 \001(\tB\007\272H\004r\002\020" + - "\001R\004name\022\034\n\tnamespace\030\002 \001(\tR\tnamespace\022\022\n" + - "\004node\030\003 \001(\tR\004node\"\214\r\n\004Info\032\312\001\n\005Index\032u\n\005" + - "Count\022\026\n\006stored\030\001 \001(\rR\006stored\022 \n\013uncommi" + - "tted\030\002 \001(\rR\013uncommitted\022\032\n\010indexing\030\003 \001(" + - "\010R\010indexing\022\026\n\006saving\030\004 \001(\010R\006saving\032J\n\004U" + - "UID\032\037\n\tCommitted\022\022\n\004uuid\030\001 \001(\tR\004uuid\032!\n\013" + - "Uncommitted\022\022\n\004uuid\030\001 \001(\tR\004uuid\032\357\001\n\003Pod\022" + - "\031\n\010app_name\030\001 \001(\tR\007appName\022\022\n\004name\030\002 \001(\t" + - "R\004name\022\034\n\tnamespace\030\003 \001(\tR\tnamespace\022\027\n\002" + - "ip\030\004 \001(\tB\007\272H\004r\002x\001R\002ip\022&\n\003cpu\030\005 \001(\0132\024.pay" + - "load.v1.Info.CPUR\003cpu\022/\n\006memory\030\006 \001(\0132\027." + - "payload.v1.Info.MemoryR\006memory\022)\n\004node\030\007" + - " \001(\0132\025.payload.v1.Info.NodeR\004node\032\350\001\n\004No" + - "de\022\022\n\004name\030\001 \001(\tR\004name\022#\n\rinternal_addr\030" + - "\002 \001(\tR\014internalAddr\022#\n\rexternal_addr\030\003 \001" + - "(\tR\014externalAddr\022&\n\003cpu\030\004 \001(\0132\024.payload." + - "v1.Info.CPUR\003cpu\022/\n\006memory\030\005 \001(\0132\027.paylo" + - "ad.v1.Info.MemoryR\006memory\022)\n\004Pods\030\006 \001(\0132" + - "\025.payload.v1.Info.PodsR\004Pods\032\202\002\n\007Service" + - "\022\022\n\004name\030\001 \001(\tR\004name\022\035\n\ncluster_ip\030\002 \001(\t" + - "R\tclusterIp\022\037\n\013cluster_ips\030\003 \003(\tR\ncluste" + - "rIps\0222\n\005ports\030\004 \003(\0132\034.payload.v1.Info.Se" + - "rvicePortR\005ports\022/\n\006labels\030\005 \001(\0132\027.paylo" + - "ad.v1.Info.LabelsR\006labels\022>\n\013annotations" + - "\030\006 \001(\0132\034.payload.v1.Info.AnnotationsR\013an" + - "notations\0325\n\013ServicePort\022\022\n\004name\030\001 \001(\tR\004" + - "name\022\022\n\004port\030\002 \001(\005R\004port\032\200\001\n\006Labels\022;\n\006l" + - "abels\030\001 \003(\0132#.payload.v1.Info.Labels.Lab" + - "elsEntryR\006labels\0329\n\013LabelsEntry\022\020\n\003key\030\001" + - " \001(\tR\003key\022\024\n\005value\030\002 \001(\tR\005value:\0028\001\032\236\001\n\013" + - "Annotations\022O\n\013annotations\030\001 \003(\0132-.paylo" + - "ad.v1.Info.Annotations.AnnotationsEntryR" + - "\013annotations\032>\n\020AnnotationsEntry\022\020\n\003key\030" + - "\001 \001(\tR\003key\022\024\n\005value\030\002 \001(\tR\005value:\0028\001\032K\n\003" + - "CPU\022\024\n\005limit\030\001 \001(\001R\005limit\022\030\n\007request\030\002 \001" + - "(\001R\007request\022\024\n\005usage\030\003 \001(\001R\005usage\032N\n\006Mem" + - "ory\022\024\n\005limit\030\001 \001(\001R\005limit\022\030\n\007request\030\002 \001" + - "(\001R\007request\022\024\n\005usage\030\003 \001(\001R\005usage\032:\n\004Pod" + - "s\0222\n\004pods\030\001 \003(\0132\024.payload.v1.Info.PodB\010\272" + - "H\005\222\001\002\010\001R\004pods\032>\n\005Nodes\0225\n\005nodes\030\001 \003(\0132\025." + - "payload.v1.Info.NodeB\010\272H\005\222\001\002\010\001R\005nodes\032J\n" + - "\010Services\022>\n\010services\030\001 \003(\0132\030.payload.v1" + - ".Info.ServiceB\010\272H\005\222\001\002\010\001R\010services\032\025\n\003IPs" + - "\022\016\n\002ip\030\001 \003(\tR\002ip\"\007\n\005EmptyBd\n\035org.vdaas.v" + - "ald.api.v1.payloadB\013ValdPayloadP\001Z*githu" + - "b.com/vdaas/vald/apis/grpc/v1/payload\242\002\007" + - "Payloadb\006proto3" + "\n#apis/proto/v1/payload/payload.proto\022\np" + + "ayload.v1\032Agithub.com/envoyproxy/protoc-" + + "gen-validate/validate/validate.proto\0328gi" + + "thub.com/googleapis/googleapis/google/rp" + + "c/status.proto\"\375\010\n\006Search\032N\n\007Request\022\030\n\006" + + "vector\030\001 \003(\002B\010\372B\005\222\001\002\010\002\022)\n\006config\030\002 \001(\0132\031" + + ".payload.v1.Search.Config\032<\n\014MultiReques" + + "t\022,\n\010requests\030\001 \003(\0132\032.payload.v1.Search." + + "Request\032B\n\tIDRequest\022\n\n\002id\030\001 \001(\t\022)\n\006conf" + + "ig\030\002 \001(\0132\031.payload.v1.Search.Config\032@\n\016M" + + "ultiIDRequest\022.\n\010requests\030\001 \003(\0132\034.payloa" + + "d.v1.Search.IDRequest\032y\n\rObjectRequest\022\016" + + "\n\006object\030\001 \001(\014\022)\n\006config\030\002 \001(\0132\031.payload" + + ".v1.Search.Config\022-\n\nvectorizer\030\003 \001(\0132\031." + + "payload.v1.Filter.Target\032H\n\022MultiObjectR" + + "equest\0222\n\010requests\030\001 \003(\0132 .payload.v1.Se" + + "arch.ObjectRequest\032\255\002\n\006Config\022\022\n\nrequest" + + "_id\030\001 \001(\t\022\024\n\003num\030\002 \001(\rB\007\372B\004*\002(\001\022\016\n\006radiu" + + "s\030\003 \001(\002\022\017\n\007epsilon\030\004 \001(\002\022\017\n\007timeout\030\005 \001(" + + "\003\0222\n\017ingress_filters\030\006 \001(\0132\031.payload.v1." + + "Filter.Config\0221\n\016egress_filters\030\007 \001(\0132\031." + + "payload.v1.Filter.Config\022\030\n\007min_num\030\010 \001(" + + "\rB\007\372B\004*\002(\000\022F\n\025aggregation_algorithm\030\t \001(" + + "\0162\'.payload.v1.Search.AggregationAlgorit" + + "hm\032L\n\010Response\022\022\n\nrequest_id\030\001 \001(\t\022,\n\007re" + + "sults\030\002 \003(\0132\033.payload.v1.Object.Distance" + + "\032;\n\tResponses\022.\n\tresponses\030\001 \003(\0132\033.paylo" + + "ad.v1.Search.Response\032r\n\016StreamResponse\022" + + "/\n\010response\030\001 \001(\0132\033.payload.v1.Search.Re" + + "sponseH\000\022$\n\006status\030\002 \001(\0132\022.google.rpc.St" + + "atusH\000B\t\n\007payload\"k\n\024AggregationAlgorith" + + "m\022\013\n\007Unknown\020\000\022\023\n\017ConcurrentQueue\020\001\022\r\n\tS" + + "ortSlice\020\002\022\021\n\rSortPoolSlice\020\003\022\017\n\013Pairing" + + "Heap\020\004\"d\n\006Filter\032$\n\006Target\022\014\n\004host\030\001 \001(\t" + + "\022\014\n\004port\030\002 \001(\r\0324\n\006Config\022*\n\007targets\030\001 \003(" + + "\0132\031.payload.v1.Filter.Target\"\372\003\n\006Insert\032" + + "i\n\007Request\0223\n\006vector\030\001 \001(\0132\031.payload.v1." + + "Object.VectorB\010\372B\005\222\001\002\010\002\022)\n\006config\030\002 \001(\0132" + + "\031.payload.v1.Insert.Config\032<\n\014MultiReque" + + "st\022,\n\010requests\030\001 \003(\0132\032.payload.v1.Insert" + + ".Request\032\222\001\n\rObjectRequest\022\'\n\006object\030\001 \001" + + "(\0132\027.payload.v1.Object.Blob\022)\n\006config\030\002 " + + "\001(\0132\031.payload.v1.Insert.Config\022-\n\nvector" + + "izer\030\003 \001(\0132\031.payload.v1.Filter.Target\032H\n" + + "\022MultiObjectRequest\0222\n\010requests\030\001 \003(\0132 ." + + "payload.v1.Insert.ObjectRequest\032h\n\006Confi" + + "g\022\037\n\027skip_strict_exist_check\030\001 \001(\010\022*\n\007fi" + + "lters\030\002 \001(\0132\031.payload.v1.Filter.Config\022\021" + + "\n\ttimestamp\030\003 \001(\003\"\234\004\n\006Update\032i\n\007Request\022" + + "3\n\006vector\030\001 \001(\0132\031.payload.v1.Object.Vect" + + "orB\010\372B\005\222\001\002\010\002\022)\n\006config\030\002 \001(\0132\031.payload.v" + + "1.Update.Config\032<\n\014MultiRequest\022,\n\010reque" + + "sts\030\001 \003(\0132\032.payload.v1.Update.Request\032\222\001" + + "\n\rObjectRequest\022\'\n\006object\030\001 \001(\0132\027.payloa" + + "d.v1.Object.Blob\022)\n\006config\030\002 \001(\0132\031.paylo" + + "ad.v1.Update.Config\022-\n\nvectorizer\030\003 \001(\0132" + + "\031.payload.v1.Filter.Target\032H\n\022MultiObjec" + + "tRequest\0222\n\010requests\030\001 \003(\0132 .payload.v1." + + "Update.ObjectRequest\032\211\001\n\006Config\022\037\n\027skip_" + + "strict_exist_check\030\001 \001(\010\022*\n\007filters\030\002 \001(" + + "\0132\031.payload.v1.Filter.Config\022\021\n\ttimestam" + + "p\030\003 \001(\003\022\037\n\027disable_balanced_update\030\004 \001(\010" + + "\"\234\004\n\006Upsert\032i\n\007Request\0223\n\006vector\030\001 \001(\0132\031" + + ".payload.v1.Object.VectorB\010\372B\005\222\001\002\010\002\022)\n\006c" + + "onfig\030\002 \001(\0132\031.payload.v1.Upsert.Config\032<" + + "\n\014MultiRequest\022,\n\010requests\030\001 \003(\0132\032.paylo" + + "ad.v1.Upsert.Request\032\222\001\n\rObjectRequest\022\'" + + "\n\006object\030\001 \001(\0132\027.payload.v1.Object.Blob\022" + + ")\n\006config\030\002 \001(\0132\031.payload.v1.Upsert.Conf" + + "ig\022-\n\nvectorizer\030\003 \001(\0132\031.payload.v1.Filt" + + "er.Target\032H\n\022MultiObjectRequest\0222\n\010reque" + + "sts\030\001 \003(\0132 .payload.v1.Upsert.ObjectRequ" + + "est\032\211\001\n\006Config\022\037\n\027skip_strict_exist_chec" + + "k\030\001 \001(\010\022*\n\007filters\030\002 \001(\0132\031.payload.v1.Fi" + + "lter.Config\022\021\n\ttimestamp\030\003 \001(\003\022\037\n\027disabl" + + "e_balanced_update\030\004 \001(\010\"\271\003\n\006Remove\032W\n\007Re" + + "quest\022!\n\002id\030\001 \001(\0132\025.payload.v1.Object.ID" + + "\022)\n\006config\030\002 \001(\0132\031.payload.v1.Remove.Con" + + "fig\032<\n\014MultiRequest\022,\n\010requests\030\001 \003(\0132\032." + + "payload.v1.Remove.Request\032D\n\020TimestampRe" + + "quest\0220\n\ntimestamps\030\001 \003(\0132\034.payload.v1.R" + + "emove.Timestamp\032\223\001\n\tTimestamp\022\021\n\ttimesta" + + "mp\030\001 \001(\003\0227\n\010operator\030\002 \001(\0162%.payload.v1." + + "Remove.Timestamp.Operator\":\n\010Operator\022\006\n" + + "\002Eq\020\000\022\006\n\002Ne\020\001\022\006\n\002Ge\020\002\022\006\n\002Gt\020\003\022\006\n\002Le\020\004\022\006\n" + + "\002Lt\020\005\032<\n\006Config\022\037\n\027skip_strict_exist_che" + + "ck\030\001 \001(\010\022\021\n\ttimestamp\030\003 \001(\003\"\321\t\n\006Object\032h" + + "\n\rVectorRequest\022+\n\002id\030\001 \001(\0132\025.payload.v1" + + ".Object.IDB\010\372B\005\222\001\002\010\002\022*\n\007filters\030\002 \001(\0132\031." + + "payload.v1.Filter.Config\032(\n\010Distance\022\n\n\002" + + "id\030\001 \001(\t\022\020\n\010distance\030\002 \001(\002\032r\n\016StreamDist" + + "ance\022/\n\010distance\030\001 \001(\0132\033.payload.v1.Obje" + + "ct.DistanceH\000\022$\n\006status\030\002 \001(\0132\022.google.r" + + "pc.StatusH\000B\t\n\007payload\032\031\n\002ID\022\023\n\002id\030\001 \001(\t" + + "B\007\372B\004r\002\020\001\032\022\n\003IDs\022\013\n\003ids\030\001 \003(\t\032J\n\006Vector\022" + + "\023\n\002id\030\001 \001(\tB\007\372B\004r\002\020\001\022\030\n\006vector\030\002 \003(\002B\010\372B" + + "\005\222\001\002\010\002\022\021\n\ttimestamp\030\003 \001(\003\032B\n\023GetTimestam" + + "pRequest\022+\n\002id\030\001 \001(\0132\025.payload.v1.Object" + + ".IDB\010\372B\005\222\001\002\010\002\0323\n\tTimestamp\022\023\n\002id\030\001 \001(\tB\007" + + "\372B\004r\002\020\001\022\021\n\ttimestamp\030\002 \001(\003\0325\n\007Vectors\022*\n" + + "\007vectors\030\001 \003(\0132\031.payload.v1.Object.Vecto" + + "r\032l\n\014StreamVector\022+\n\006vector\030\001 \001(\0132\031.payl" + + "oad.v1.Object.VectorH\000\022$\n\006status\030\002 \001(\0132\022" + + ".google.rpc.StatusH\000B\t\n\007payload\032.\n\rResha" + + "peVector\022\016\n\006object\030\001 \001(\014\022\r\n\005shape\030\002 \003(\005\032" + + "+\n\004Blob\022\023\n\002id\030\001 \001(\tB\007\372B\004r\002\020\001\022\016\n\006object\030\002" + + " \001(\014\032f\n\nStreamBlob\022\'\n\004blob\030\001 \001(\0132\027.paylo" + + "ad.v1.Object.BlobH\000\022$\n\006status\030\002 \001(\0132\022.go" + + "ogle.rpc.StatusH\000B\t\n\007payload\0323\n\010Location" + + "\022\014\n\004name\030\001 \001(\t\022\014\n\004uuid\030\002 \001(\t\022\013\n\003ips\030\003 \003(" + + "\t\032r\n\016StreamLocation\022/\n\010location\030\001 \001(\0132\033." + + "payload.v1.Object.LocationH\000\022$\n\006status\030\002" + + " \001(\0132\022.google.rpc.StatusH\000B\t\n\007payload\032;\n" + + "\tLocations\022.\n\tlocations\030\001 \003(\0132\033.payload." + + "v1.Object.Location\032{\n\004List\032\t\n\007Request\032h\n" + + "\010Response\022+\n\006vector\030\001 \001(\0132\031.payload.v1.O" + + "bject.VectorH\000\022$\n\006status\030\002 \001(\0132\022.google." + + "rpc.StatusH\000B\t\n\007payload\";\n\007Control\0320\n\022Cr" + + "eateIndexRequest\022\032\n\tpool_size\030\001 \001(\rB\007\372B\004" + + "*\002(\000\"O\n\nDiscoverer\032A\n\007Request\022\025\n\004name\030\001 " + + "\001(\tB\007\372B\004r\002\020\001\022\021\n\tnamespace\030\002 \001(\t\022\014\n\004node\030" + + "\003 \001(\t\"\210\006\n\004Info\032\227\001\n\005Index\032N\n\005Count\022\016\n\006sto" + + "red\030\001 \001(\r\022\023\n\013uncommitted\030\002 \001(\r\022\020\n\010indexi" + + "ng\030\003 \001(\010\022\016\n\006saving\030\004 \001(\010\032>\n\004UUID\032\031\n\tComm" + + "itted\022\014\n\004uuid\030\001 \001(\t\032\033\n\013Uncommitted\022\014\n\004uu" + + "id\030\001 \001(\t\032\276\001\n\003Pod\022\020\n\010app_name\030\001 \001(\t\022\014\n\004na" + + "me\030\002 \001(\t\022\021\n\tnamespace\030\003 \001(\t\022\023\n\002ip\030\004 \001(\tB" + + "\007\372B\004r\002x\001\022!\n\003cpu\030\005 \001(\0132\024.payload.v1.Info." + + "CPU\022\'\n\006memory\030\006 \001(\0132\027.payload.v1.Info.Me" + + "mory\022#\n\004node\030\007 \001(\0132\025.payload.v1.Info.Nod" + + "e\032\263\001\n\004Node\022\014\n\004name\030\001 \001(\t\022\025\n\rinternal_add" + + "r\030\002 \001(\t\022\025\n\rexternal_addr\030\003 \001(\t\022!\n\003cpu\030\004 " + + "\001(\0132\024.payload.v1.Info.CPU\022\'\n\006memory\030\005 \001(" + + "\0132\027.payload.v1.Info.Memory\022#\n\004Pods\030\006 \001(\013" + + "2\025.payload.v1.Info.Pods\0324\n\003CPU\022\r\n\005limit\030" + + "\001 \001(\001\022\017\n\007request\030\002 \001(\001\022\r\n\005usage\030\003 \001(\001\0327\n" + + "\006Memory\022\r\n\005limit\030\001 \001(\001\022\017\n\007request\030\002 \001(\001\022" + + "\r\n\005usage\030\003 \001(\001\0324\n\004Pods\022,\n\004pods\030\001 \003(\0132\024.p" + + "ayload.v1.Info.PodB\010\372B\005\222\001\002\010\001\0327\n\005Nodes\022.\n" + + "\005nodes\030\001 \003(\0132\025.payload.v1.Info.NodeB\010\372B\005" + + "\222\001\002\010\001\032\021\n\003IPs\022\n\n\002ip\030\001 \003(\t\"\007\n\005EmptyBd\n\035org" + + ".vdaas.vald.api.v1.payloadB\013ValdPayloadP" + + "\001Z*github.com/vdaas/vald/apis/grpc/v1/pa" + + "yload\242\002\007Payloadb\006proto3" }; descriptor = com.google.protobuf.Descriptors.FileDescriptor .internalBuildGeneratedFileFrom(descriptorData, new com.google.protobuf.Descriptors.FileDescriptor[] { - build.buf.validate.ValidateProto.getDescriptor(), + io.envoyproxy.pgv.validate.Validate.getDescriptor(), com.google.rpc.StatusProto.getDescriptor(), }); internal_static_payload_v1_Search_descriptor = @@ -1055,74 +974,32 @@ public static void registerAllExtensions( com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_payload_v1_Info_Node_descriptor, new java.lang.String[] { "Name", "InternalAddr", "ExternalAddr", "Cpu", "Memory", "Pods", }); - internal_static_payload_v1_Info_Service_descriptor = - internal_static_payload_v1_Info_descriptor.getNestedTypes().get(3); - internal_static_payload_v1_Info_Service_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_payload_v1_Info_Service_descriptor, - new java.lang.String[] { "Name", "ClusterIp", "ClusterIps", "Ports", "Labels", "Annotations", }); - internal_static_payload_v1_Info_ServicePort_descriptor = - internal_static_payload_v1_Info_descriptor.getNestedTypes().get(4); - internal_static_payload_v1_Info_ServicePort_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_payload_v1_Info_ServicePort_descriptor, - new java.lang.String[] { "Name", "Port", }); - internal_static_payload_v1_Info_Labels_descriptor = - internal_static_payload_v1_Info_descriptor.getNestedTypes().get(5); - internal_static_payload_v1_Info_Labels_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_payload_v1_Info_Labels_descriptor, - new java.lang.String[] { "Labels", }); - internal_static_payload_v1_Info_Labels_LabelsEntry_descriptor = - internal_static_payload_v1_Info_Labels_descriptor.getNestedTypes().get(0); - internal_static_payload_v1_Info_Labels_LabelsEntry_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_payload_v1_Info_Labels_LabelsEntry_descriptor, - new java.lang.String[] { "Key", "Value", }); - internal_static_payload_v1_Info_Annotations_descriptor = - internal_static_payload_v1_Info_descriptor.getNestedTypes().get(6); - internal_static_payload_v1_Info_Annotations_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_payload_v1_Info_Annotations_descriptor, - new java.lang.String[] { "Annotations", }); - internal_static_payload_v1_Info_Annotations_AnnotationsEntry_descriptor = - internal_static_payload_v1_Info_Annotations_descriptor.getNestedTypes().get(0); - internal_static_payload_v1_Info_Annotations_AnnotationsEntry_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_payload_v1_Info_Annotations_AnnotationsEntry_descriptor, - new java.lang.String[] { "Key", "Value", }); internal_static_payload_v1_Info_CPU_descriptor = - internal_static_payload_v1_Info_descriptor.getNestedTypes().get(7); + internal_static_payload_v1_Info_descriptor.getNestedTypes().get(3); internal_static_payload_v1_Info_CPU_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_payload_v1_Info_CPU_descriptor, new java.lang.String[] { "Limit", "Request", "Usage", }); internal_static_payload_v1_Info_Memory_descriptor = - internal_static_payload_v1_Info_descriptor.getNestedTypes().get(8); + internal_static_payload_v1_Info_descriptor.getNestedTypes().get(4); internal_static_payload_v1_Info_Memory_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_payload_v1_Info_Memory_descriptor, new java.lang.String[] { "Limit", "Request", "Usage", }); internal_static_payload_v1_Info_Pods_descriptor = - internal_static_payload_v1_Info_descriptor.getNestedTypes().get(9); + internal_static_payload_v1_Info_descriptor.getNestedTypes().get(5); internal_static_payload_v1_Info_Pods_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_payload_v1_Info_Pods_descriptor, new java.lang.String[] { "Pods", }); internal_static_payload_v1_Info_Nodes_descriptor = - internal_static_payload_v1_Info_descriptor.getNestedTypes().get(10); + internal_static_payload_v1_Info_descriptor.getNestedTypes().get(6); internal_static_payload_v1_Info_Nodes_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_payload_v1_Info_Nodes_descriptor, new java.lang.String[] { "Nodes", }); - internal_static_payload_v1_Info_Services_descriptor = - internal_static_payload_v1_Info_descriptor.getNestedTypes().get(11); - internal_static_payload_v1_Info_Services_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_payload_v1_Info_Services_descriptor, - new java.lang.String[] { "Services", }); internal_static_payload_v1_Info_IPs_descriptor = - internal_static_payload_v1_Info_descriptor.getNestedTypes().get(12); + internal_static_payload_v1_Info_descriptor.getNestedTypes().get(7); internal_static_payload_v1_Info_IPs_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_payload_v1_Info_IPs_descriptor, @@ -1135,10 +1012,10 @@ public static void registerAllExtensions( new java.lang.String[] { }); com.google.protobuf.ExtensionRegistry registry = com.google.protobuf.ExtensionRegistry.newInstance(); - registry.add(build.buf.validate.ValidateProto.field); + registry.add(io.envoyproxy.pgv.validate.Validate.rules); com.google.protobuf.Descriptors.FileDescriptor .internalUpdateFileDescriptor(descriptor, registry); - build.buf.validate.ValidateProto.getDescriptor(); + io.envoyproxy.pgv.validate.Validate.getDescriptor(); com.google.rpc.StatusProto.getDescriptor(); } diff --git a/src/main/java/org/vdaas/vald/api/v1/rpc/BadRequest.java b/src/main/java/org/vdaas/vald/api/v1/rpc/BadRequest.java index 60f86b84..1cf8358a 100644 --- a/src/main/java/org/vdaas/vald/api/v1/rpc/BadRequest.java +++ b/src/main/java/org/vdaas/vald/api/v1/rpc/BadRequest.java @@ -1,7 +1,6 @@ // Generated by the protocol buffer compiler. DO NOT EDIT! -// source: v1/rpc/errdetails/error_details.proto +// source: apis/proto/v1/rpc/error_details.proto -// Protobuf Java Version: 3.25.1 package org.vdaas.vald.api.v1.rpc; /** @@ -90,7 +89,7 @@ public interface FieldViolationOrBuilder extends * value in the third `emailAddresses` message. * * - * string field = 1 [json_name = "field"]; + * string field = 1; * @return The field. */ java.lang.String getField(); @@ -135,7 +134,7 @@ public interface FieldViolationOrBuilder extends * value in the third `emailAddresses` message. * * - * string field = 1 [json_name = "field"]; + * string field = 1; * @return The bytes for field. */ com.google.protobuf.ByteString @@ -146,7 +145,7 @@ public interface FieldViolationOrBuilder extends * A description of why the request element is bad. * * - * string description = 2 [json_name = "description"]; + * string description = 2; * @return The description. */ java.lang.String getDescription(); @@ -155,7 +154,7 @@ public interface FieldViolationOrBuilder extends * A description of why the request element is bad. * * - * string description = 2 [json_name = "description"]; + * string description = 2; * @return The bytes for description. */ com.google.protobuf.ByteString @@ -246,7 +245,7 @@ protected java.lang.Object newInstance( * value in the third `emailAddresses` message. * * - * string field = 1 [json_name = "field"]; + * string field = 1; * @return The field. */ @java.lang.Override @@ -303,7 +302,7 @@ public java.lang.String getField() { * value in the third `emailAddresses` message. * * - * string field = 1 [json_name = "field"]; + * string field = 1; * @return The bytes for field. */ @java.lang.Override @@ -329,7 +328,7 @@ public java.lang.String getField() { * A description of why the request element is bad. * * - * string description = 2 [json_name = "description"]; + * string description = 2; * @return The description. */ @java.lang.Override @@ -350,7 +349,7 @@ public java.lang.String getDescription() { * A description of why the request element is bad. * * - * string description = 2 [json_name = "description"]; + * string description = 2; * @return The bytes for description. */ @java.lang.Override @@ -764,7 +763,7 @@ public Builder mergeFrom( * value in the third `emailAddresses` message. * * - * string field = 1 [json_name = "field"]; + * string field = 1; * @return The field. */ public java.lang.String getField() { @@ -820,7 +819,7 @@ public java.lang.String getField() { * value in the third `emailAddresses` message. * * - * string field = 1 [json_name = "field"]; + * string field = 1; * @return The bytes for field. */ public com.google.protobuf.ByteString @@ -877,7 +876,7 @@ public java.lang.String getField() { * value in the third `emailAddresses` message. * * - * string field = 1 [json_name = "field"]; + * string field = 1; * @param value The field to set. * @return This builder for chaining. */ @@ -930,7 +929,7 @@ public Builder setField( * value in the third `emailAddresses` message. * * - * string field = 1 [json_name = "field"]; + * string field = 1; * @return This builder for chaining. */ public Builder clearField() { @@ -980,7 +979,7 @@ public Builder clearField() { * value in the third `emailAddresses` message. * * - * string field = 1 [json_name = "field"]; + * string field = 1; * @param value The bytes for field to set. * @return This builder for chaining. */ @@ -1000,7 +999,7 @@ public Builder setFieldBytes( * A description of why the request element is bad. * * - * string description = 2 [json_name = "description"]; + * string description = 2; * @return The description. */ public java.lang.String getDescription() { @@ -1020,7 +1019,7 @@ public java.lang.String getDescription() { * A description of why the request element is bad. * * - * string description = 2 [json_name = "description"]; + * string description = 2; * @return The bytes for description. */ public com.google.protobuf.ByteString @@ -1041,7 +1040,7 @@ public java.lang.String getDescription() { * A description of why the request element is bad. * * - * string description = 2 [json_name = "description"]; + * string description = 2; * @param value The description to set. * @return This builder for chaining. */ @@ -1058,7 +1057,7 @@ public Builder setDescription( * A description of why the request element is bad. * * - * string description = 2 [json_name = "description"]; + * string description = 2; * @return This builder for chaining. */ public Builder clearDescription() { @@ -1072,7 +1071,7 @@ public Builder clearDescription() { * A description of why the request element is bad. * * - * string description = 2 [json_name = "description"]; + * string description = 2; * @param value The bytes for description to set. * @return This builder for chaining. */ @@ -1157,7 +1156,7 @@ public org.vdaas.vald.api.v1.rpc.BadRequest.FieldViolation getDefaultInstanceFor * Describes all violations in a client request. * * - * repeated .rpc.v1.BadRequest.FieldViolation field_violations = 1 [json_name = "fieldViolations"]; + * repeated .rpc.v1.BadRequest.FieldViolation field_violations = 1; */ @java.lang.Override public java.util.List getFieldViolationsList() { @@ -1168,7 +1167,7 @@ public java.util.List getFi * Describes all violations in a client request. * * - * repeated .rpc.v1.BadRequest.FieldViolation field_violations = 1 [json_name = "fieldViolations"]; + * repeated .rpc.v1.BadRequest.FieldViolation field_violations = 1; */ @java.lang.Override public java.util.List @@ -1180,7 +1179,7 @@ public java.util.List getFi * Describes all violations in a client request. * * - * repeated .rpc.v1.BadRequest.FieldViolation field_violations = 1 [json_name = "fieldViolations"]; + * repeated .rpc.v1.BadRequest.FieldViolation field_violations = 1; */ @java.lang.Override public int getFieldViolationsCount() { @@ -1191,7 +1190,7 @@ public int getFieldViolationsCount() { * Describes all violations in a client request. * * - * repeated .rpc.v1.BadRequest.FieldViolation field_violations = 1 [json_name = "fieldViolations"]; + * repeated .rpc.v1.BadRequest.FieldViolation field_violations = 1; */ @java.lang.Override public org.vdaas.vald.api.v1.rpc.BadRequest.FieldViolation getFieldViolations(int index) { @@ -1202,7 +1201,7 @@ public org.vdaas.vald.api.v1.rpc.BadRequest.FieldViolation getFieldViolations(in * Describes all violations in a client request. * * - * repeated .rpc.v1.BadRequest.FieldViolation field_violations = 1 [json_name = "fieldViolations"]; + * repeated .rpc.v1.BadRequest.FieldViolation field_violations = 1; */ @java.lang.Override public org.vdaas.vald.api.v1.rpc.BadRequest.FieldViolationOrBuilder getFieldViolationsOrBuilder( @@ -1606,7 +1605,7 @@ private void ensureFieldViolationsIsMutable() { * Describes all violations in a client request. * * - * repeated .rpc.v1.BadRequest.FieldViolation field_violations = 1 [json_name = "fieldViolations"]; + * repeated .rpc.v1.BadRequest.FieldViolation field_violations = 1; */ public java.util.List getFieldViolationsList() { if (fieldViolationsBuilder_ == null) { @@ -1620,7 +1619,7 @@ public java.util.List getFi * Describes all violations in a client request. * * - * repeated .rpc.v1.BadRequest.FieldViolation field_violations = 1 [json_name = "fieldViolations"]; + * repeated .rpc.v1.BadRequest.FieldViolation field_violations = 1; */ public int getFieldViolationsCount() { if (fieldViolationsBuilder_ == null) { @@ -1634,7 +1633,7 @@ public int getFieldViolationsCount() { * Describes all violations in a client request. * * - * repeated .rpc.v1.BadRequest.FieldViolation field_violations = 1 [json_name = "fieldViolations"]; + * repeated .rpc.v1.BadRequest.FieldViolation field_violations = 1; */ public org.vdaas.vald.api.v1.rpc.BadRequest.FieldViolation getFieldViolations(int index) { if (fieldViolationsBuilder_ == null) { @@ -1648,7 +1647,7 @@ public org.vdaas.vald.api.v1.rpc.BadRequest.FieldViolation getFieldViolations(in * Describes all violations in a client request. * * - * repeated .rpc.v1.BadRequest.FieldViolation field_violations = 1 [json_name = "fieldViolations"]; + * repeated .rpc.v1.BadRequest.FieldViolation field_violations = 1; */ public Builder setFieldViolations( int index, org.vdaas.vald.api.v1.rpc.BadRequest.FieldViolation value) { @@ -1669,7 +1668,7 @@ public Builder setFieldViolations( * Describes all violations in a client request. * * - * repeated .rpc.v1.BadRequest.FieldViolation field_violations = 1 [json_name = "fieldViolations"]; + * repeated .rpc.v1.BadRequest.FieldViolation field_violations = 1; */ public Builder setFieldViolations( int index, org.vdaas.vald.api.v1.rpc.BadRequest.FieldViolation.Builder builderForValue) { @@ -1687,7 +1686,7 @@ public Builder setFieldViolations( * Describes all violations in a client request. * * - * repeated .rpc.v1.BadRequest.FieldViolation field_violations = 1 [json_name = "fieldViolations"]; + * repeated .rpc.v1.BadRequest.FieldViolation field_violations = 1; */ public Builder addFieldViolations(org.vdaas.vald.api.v1.rpc.BadRequest.FieldViolation value) { if (fieldViolationsBuilder_ == null) { @@ -1707,7 +1706,7 @@ public Builder addFieldViolations(org.vdaas.vald.api.v1.rpc.BadRequest.FieldViol * Describes all violations in a client request. * * - * repeated .rpc.v1.BadRequest.FieldViolation field_violations = 1 [json_name = "fieldViolations"]; + * repeated .rpc.v1.BadRequest.FieldViolation field_violations = 1; */ public Builder addFieldViolations( int index, org.vdaas.vald.api.v1.rpc.BadRequest.FieldViolation value) { @@ -1728,7 +1727,7 @@ public Builder addFieldViolations( * Describes all violations in a client request. * * - * repeated .rpc.v1.BadRequest.FieldViolation field_violations = 1 [json_name = "fieldViolations"]; + * repeated .rpc.v1.BadRequest.FieldViolation field_violations = 1; */ public Builder addFieldViolations( org.vdaas.vald.api.v1.rpc.BadRequest.FieldViolation.Builder builderForValue) { @@ -1746,7 +1745,7 @@ public Builder addFieldViolations( * Describes all violations in a client request. * * - * repeated .rpc.v1.BadRequest.FieldViolation field_violations = 1 [json_name = "fieldViolations"]; + * repeated .rpc.v1.BadRequest.FieldViolation field_violations = 1; */ public Builder addFieldViolations( int index, org.vdaas.vald.api.v1.rpc.BadRequest.FieldViolation.Builder builderForValue) { @@ -1764,7 +1763,7 @@ public Builder addFieldViolations( * Describes all violations in a client request. * * - * repeated .rpc.v1.BadRequest.FieldViolation field_violations = 1 [json_name = "fieldViolations"]; + * repeated .rpc.v1.BadRequest.FieldViolation field_violations = 1; */ public Builder addAllFieldViolations( java.lang.Iterable values) { @@ -1783,7 +1782,7 @@ public Builder addAllFieldViolations( * Describes all violations in a client request. * * - * repeated .rpc.v1.BadRequest.FieldViolation field_violations = 1 [json_name = "fieldViolations"]; + * repeated .rpc.v1.BadRequest.FieldViolation field_violations = 1; */ public Builder clearFieldViolations() { if (fieldViolationsBuilder_ == null) { @@ -1800,7 +1799,7 @@ public Builder clearFieldViolations() { * Describes all violations in a client request. * * - * repeated .rpc.v1.BadRequest.FieldViolation field_violations = 1 [json_name = "fieldViolations"]; + * repeated .rpc.v1.BadRequest.FieldViolation field_violations = 1; */ public Builder removeFieldViolations(int index) { if (fieldViolationsBuilder_ == null) { @@ -1817,7 +1816,7 @@ public Builder removeFieldViolations(int index) { * Describes all violations in a client request. * * - * repeated .rpc.v1.BadRequest.FieldViolation field_violations = 1 [json_name = "fieldViolations"]; + * repeated .rpc.v1.BadRequest.FieldViolation field_violations = 1; */ public org.vdaas.vald.api.v1.rpc.BadRequest.FieldViolation.Builder getFieldViolationsBuilder( int index) { @@ -1828,7 +1827,7 @@ public org.vdaas.vald.api.v1.rpc.BadRequest.FieldViolation.Builder getFieldViola * Describes all violations in a client request. * * - * repeated .rpc.v1.BadRequest.FieldViolation field_violations = 1 [json_name = "fieldViolations"]; + * repeated .rpc.v1.BadRequest.FieldViolation field_violations = 1; */ public org.vdaas.vald.api.v1.rpc.BadRequest.FieldViolationOrBuilder getFieldViolationsOrBuilder( int index) { @@ -1842,7 +1841,7 @@ public org.vdaas.vald.api.v1.rpc.BadRequest.FieldViolationOrBuilder getFieldViol * Describes all violations in a client request. * * - * repeated .rpc.v1.BadRequest.FieldViolation field_violations = 1 [json_name = "fieldViolations"]; + * repeated .rpc.v1.BadRequest.FieldViolation field_violations = 1; */ public java.util.List getFieldViolationsOrBuilderList() { @@ -1857,7 +1856,7 @@ public org.vdaas.vald.api.v1.rpc.BadRequest.FieldViolationOrBuilder getFieldViol * Describes all violations in a client request. * * - * repeated .rpc.v1.BadRequest.FieldViolation field_violations = 1 [json_name = "fieldViolations"]; + * repeated .rpc.v1.BadRequest.FieldViolation field_violations = 1; */ public org.vdaas.vald.api.v1.rpc.BadRequest.FieldViolation.Builder addFieldViolationsBuilder() { return getFieldViolationsFieldBuilder().addBuilder( @@ -1868,7 +1867,7 @@ public org.vdaas.vald.api.v1.rpc.BadRequest.FieldViolation.Builder addFieldViola * Describes all violations in a client request. * * - * repeated .rpc.v1.BadRequest.FieldViolation field_violations = 1 [json_name = "fieldViolations"]; + * repeated .rpc.v1.BadRequest.FieldViolation field_violations = 1; */ public org.vdaas.vald.api.v1.rpc.BadRequest.FieldViolation.Builder addFieldViolationsBuilder( int index) { @@ -1880,7 +1879,7 @@ public org.vdaas.vald.api.v1.rpc.BadRequest.FieldViolation.Builder addFieldViola * Describes all violations in a client request. * * - * repeated .rpc.v1.BadRequest.FieldViolation field_violations = 1 [json_name = "fieldViolations"]; + * repeated .rpc.v1.BadRequest.FieldViolation field_violations = 1; */ public java.util.List getFieldViolationsBuilderList() { diff --git a/src/main/java/org/vdaas/vald/api/v1/rpc/BadRequestOrBuilder.java b/src/main/java/org/vdaas/vald/api/v1/rpc/BadRequestOrBuilder.java index 2bbd6b30..92cfacc5 100644 --- a/src/main/java/org/vdaas/vald/api/v1/rpc/BadRequestOrBuilder.java +++ b/src/main/java/org/vdaas/vald/api/v1/rpc/BadRequestOrBuilder.java @@ -1,7 +1,6 @@ // Generated by the protocol buffer compiler. DO NOT EDIT! -// source: v1/rpc/errdetails/error_details.proto +// source: apis/proto/v1/rpc/error_details.proto -// Protobuf Java Version: 3.25.1 package org.vdaas.vald.api.v1.rpc; public interface BadRequestOrBuilder extends @@ -13,7 +12,7 @@ public interface BadRequestOrBuilder extends * Describes all violations in a client request. * * - * repeated .rpc.v1.BadRequest.FieldViolation field_violations = 1 [json_name = "fieldViolations"]; + * repeated .rpc.v1.BadRequest.FieldViolation field_violations = 1; */ java.util.List getFieldViolationsList(); @@ -22,7 +21,7 @@ public interface BadRequestOrBuilder extends * Describes all violations in a client request. * * - * repeated .rpc.v1.BadRequest.FieldViolation field_violations = 1 [json_name = "fieldViolations"]; + * repeated .rpc.v1.BadRequest.FieldViolation field_violations = 1; */ org.vdaas.vald.api.v1.rpc.BadRequest.FieldViolation getFieldViolations(int index); /** @@ -30,7 +29,7 @@ public interface BadRequestOrBuilder extends * Describes all violations in a client request. * * - * repeated .rpc.v1.BadRequest.FieldViolation field_violations = 1 [json_name = "fieldViolations"]; + * repeated .rpc.v1.BadRequest.FieldViolation field_violations = 1; */ int getFieldViolationsCount(); /** @@ -38,7 +37,7 @@ public interface BadRequestOrBuilder extends * Describes all violations in a client request. * * - * repeated .rpc.v1.BadRequest.FieldViolation field_violations = 1 [json_name = "fieldViolations"]; + * repeated .rpc.v1.BadRequest.FieldViolation field_violations = 1; */ java.util.List getFieldViolationsOrBuilderList(); @@ -47,7 +46,7 @@ public interface BadRequestOrBuilder extends * Describes all violations in a client request. * * - * repeated .rpc.v1.BadRequest.FieldViolation field_violations = 1 [json_name = "fieldViolations"]; + * repeated .rpc.v1.BadRequest.FieldViolation field_violations = 1; */ org.vdaas.vald.api.v1.rpc.BadRequest.FieldViolationOrBuilder getFieldViolationsOrBuilder( int index); diff --git a/src/main/java/org/vdaas/vald/api/v1/rpc/DebugInfo.java b/src/main/java/org/vdaas/vald/api/v1/rpc/DebugInfo.java index 9457cdbc..910143e5 100644 --- a/src/main/java/org/vdaas/vald/api/v1/rpc/DebugInfo.java +++ b/src/main/java/org/vdaas/vald/api/v1/rpc/DebugInfo.java @@ -1,7 +1,6 @@ // Generated by the protocol buffer compiler. DO NOT EDIT! -// source: v1/rpc/errdetails/error_details.proto +// source: apis/proto/v1/rpc/error_details.proto -// Protobuf Java Version: 3.25.1 package org.vdaas.vald.api.v1.rpc; /** @@ -55,7 +54,7 @@ protected java.lang.Object newInstance( * The stack trace entries indicating where the error occurred. * * - * repeated string stack_entries = 1 [json_name = "stackEntries"]; + * repeated string stack_entries = 1; * @return A list containing the stackEntries. */ public com.google.protobuf.ProtocolStringList @@ -67,7 +66,7 @@ protected java.lang.Object newInstance( * The stack trace entries indicating where the error occurred. * * - * repeated string stack_entries = 1 [json_name = "stackEntries"]; + * repeated string stack_entries = 1; * @return The count of stackEntries. */ public int getStackEntriesCount() { @@ -78,7 +77,7 @@ public int getStackEntriesCount() { * The stack trace entries indicating where the error occurred. * * - * repeated string stack_entries = 1 [json_name = "stackEntries"]; + * repeated string stack_entries = 1; * @param index The index of the element to return. * @return The stackEntries at the given index. */ @@ -90,7 +89,7 @@ public java.lang.String getStackEntries(int index) { * The stack trace entries indicating where the error occurred. * * - * repeated string stack_entries = 1 [json_name = "stackEntries"]; + * repeated string stack_entries = 1; * @param index The index of the value to return. * @return The bytes of the stackEntries at the given index. */ @@ -107,7 +106,7 @@ public java.lang.String getStackEntries(int index) { * Additional debugging information provided by the server. * * - * string detail = 2 [json_name = "detail"]; + * string detail = 2; * @return The detail. */ @java.lang.Override @@ -128,7 +127,7 @@ public java.lang.String getDetail() { * Additional debugging information provided by the server. * * - * string detail = 2 [json_name = "detail"]; + * string detail = 2; * @return The bytes for detail. */ @java.lang.Override @@ -528,7 +527,7 @@ private void ensureStackEntriesIsMutable() { * The stack trace entries indicating where the error occurred. * * - * repeated string stack_entries = 1 [json_name = "stackEntries"]; + * repeated string stack_entries = 1; * @return A list containing the stackEntries. */ public com.google.protobuf.ProtocolStringList @@ -541,7 +540,7 @@ private void ensureStackEntriesIsMutable() { * The stack trace entries indicating where the error occurred. * * - * repeated string stack_entries = 1 [json_name = "stackEntries"]; + * repeated string stack_entries = 1; * @return The count of stackEntries. */ public int getStackEntriesCount() { @@ -552,7 +551,7 @@ public int getStackEntriesCount() { * The stack trace entries indicating where the error occurred. * * - * repeated string stack_entries = 1 [json_name = "stackEntries"]; + * repeated string stack_entries = 1; * @param index The index of the element to return. * @return The stackEntries at the given index. */ @@ -564,7 +563,7 @@ public java.lang.String getStackEntries(int index) { * The stack trace entries indicating where the error occurred. * * - * repeated string stack_entries = 1 [json_name = "stackEntries"]; + * repeated string stack_entries = 1; * @param index The index of the value to return. * @return The bytes of the stackEntries at the given index. */ @@ -577,7 +576,7 @@ public java.lang.String getStackEntries(int index) { * The stack trace entries indicating where the error occurred. * * - * repeated string stack_entries = 1 [json_name = "stackEntries"]; + * repeated string stack_entries = 1; * @param index The index to set the value at. * @param value The stackEntries to set. * @return This builder for chaining. @@ -596,7 +595,7 @@ public Builder setStackEntries( * The stack trace entries indicating where the error occurred. * * - * repeated string stack_entries = 1 [json_name = "stackEntries"]; + * repeated string stack_entries = 1; * @param value The stackEntries to add. * @return This builder for chaining. */ @@ -614,7 +613,7 @@ public Builder addStackEntries( * The stack trace entries indicating where the error occurred. * * - * repeated string stack_entries = 1 [json_name = "stackEntries"]; + * repeated string stack_entries = 1; * @param values The stackEntries to add. * @return This builder for chaining. */ @@ -632,7 +631,7 @@ public Builder addAllStackEntries( * The stack trace entries indicating where the error occurred. * * - * repeated string stack_entries = 1 [json_name = "stackEntries"]; + * repeated string stack_entries = 1; * @return This builder for chaining. */ public Builder clearStackEntries() { @@ -647,7 +646,7 @@ public Builder clearStackEntries() { * The stack trace entries indicating where the error occurred. * * - * repeated string stack_entries = 1 [json_name = "stackEntries"]; + * repeated string stack_entries = 1; * @param value The bytes of the stackEntries to add. * @return This builder for chaining. */ @@ -668,7 +667,7 @@ public Builder addStackEntriesBytes( * Additional debugging information provided by the server. * * - * string detail = 2 [json_name = "detail"]; + * string detail = 2; * @return The detail. */ public java.lang.String getDetail() { @@ -688,7 +687,7 @@ public java.lang.String getDetail() { * Additional debugging information provided by the server. * * - * string detail = 2 [json_name = "detail"]; + * string detail = 2; * @return The bytes for detail. */ public com.google.protobuf.ByteString @@ -709,7 +708,7 @@ public java.lang.String getDetail() { * Additional debugging information provided by the server. * * - * string detail = 2 [json_name = "detail"]; + * string detail = 2; * @param value The detail to set. * @return This builder for chaining. */ @@ -726,7 +725,7 @@ public Builder setDetail( * Additional debugging information provided by the server. * * - * string detail = 2 [json_name = "detail"]; + * string detail = 2; * @return This builder for chaining. */ public Builder clearDetail() { @@ -740,7 +739,7 @@ public Builder clearDetail() { * Additional debugging information provided by the server. * * - * string detail = 2 [json_name = "detail"]; + * string detail = 2; * @param value The bytes for detail to set. * @return This builder for chaining. */ diff --git a/src/main/java/org/vdaas/vald/api/v1/rpc/DebugInfoOrBuilder.java b/src/main/java/org/vdaas/vald/api/v1/rpc/DebugInfoOrBuilder.java index e2bb3caa..dec7440e 100644 --- a/src/main/java/org/vdaas/vald/api/v1/rpc/DebugInfoOrBuilder.java +++ b/src/main/java/org/vdaas/vald/api/v1/rpc/DebugInfoOrBuilder.java @@ -1,7 +1,6 @@ // Generated by the protocol buffer compiler. DO NOT EDIT! -// source: v1/rpc/errdetails/error_details.proto +// source: apis/proto/v1/rpc/error_details.proto -// Protobuf Java Version: 3.25.1 package org.vdaas.vald.api.v1.rpc; public interface DebugInfoOrBuilder extends @@ -13,7 +12,7 @@ public interface DebugInfoOrBuilder extends * The stack trace entries indicating where the error occurred. * * - * repeated string stack_entries = 1 [json_name = "stackEntries"]; + * repeated string stack_entries = 1; * @return A list containing the stackEntries. */ java.util.List @@ -23,7 +22,7 @@ public interface DebugInfoOrBuilder extends * The stack trace entries indicating where the error occurred. * * - * repeated string stack_entries = 1 [json_name = "stackEntries"]; + * repeated string stack_entries = 1; * @return The count of stackEntries. */ int getStackEntriesCount(); @@ -32,7 +31,7 @@ public interface DebugInfoOrBuilder extends * The stack trace entries indicating where the error occurred. * * - * repeated string stack_entries = 1 [json_name = "stackEntries"]; + * repeated string stack_entries = 1; * @param index The index of the element to return. * @return The stackEntries at the given index. */ @@ -42,7 +41,7 @@ public interface DebugInfoOrBuilder extends * The stack trace entries indicating where the error occurred. * * - * repeated string stack_entries = 1 [json_name = "stackEntries"]; + * repeated string stack_entries = 1; * @param index The index of the value to return. * @return The bytes of the stackEntries at the given index. */ @@ -54,7 +53,7 @@ public interface DebugInfoOrBuilder extends * Additional debugging information provided by the server. * * - * string detail = 2 [json_name = "detail"]; + * string detail = 2; * @return The detail. */ java.lang.String getDetail(); @@ -63,7 +62,7 @@ public interface DebugInfoOrBuilder extends * Additional debugging information provided by the server. * * - * string detail = 2 [json_name = "detail"]; + * string detail = 2; * @return The bytes for detail. */ com.google.protobuf.ByteString diff --git a/src/main/java/org/vdaas/vald/api/v1/rpc/ErrorDetailsProto.java b/src/main/java/org/vdaas/vald/api/v1/rpc/ErrorDetailsProto.java index 148dfd28..3949890b 100644 --- a/src/main/java/org/vdaas/vald/api/v1/rpc/ErrorDetailsProto.java +++ b/src/main/java/org/vdaas/vald/api/v1/rpc/ErrorDetailsProto.java @@ -1,7 +1,6 @@ // Generated by the protocol buffer compiler. DO NOT EDIT! -// source: v1/rpc/errdetails/error_details.proto +// source: apis/proto/v1/rpc/error_details.proto -// Protobuf Java Version: 3.25.1 package org.vdaas.vald.api.v1.rpc; public final class ErrorDetailsProto { @@ -99,43 +98,35 @@ public static void registerAllExtensions( descriptor; static { java.lang.String[] descriptorData = { - "\n%v1/rpc/errdetails/error_details.proto\022" + + "\n%apis/proto/v1/rpc/error_details.proto\022" + "\006rpc.v1\032\036google/protobuf/duration.proto\"" + - "\265\001\n\tErrorInfo\022\026\n\006reason\030\001 \001(\tR\006reason\022\026\n" + - "\006domain\030\002 \001(\tR\006domain\022;\n\010metadata\030\003 \003(\0132" + - "\037.rpc.v1.ErrorInfo.MetadataEntryR\010metada" + - "ta\032;\n\rMetadataEntry\022\020\n\003key\030\001 \001(\tR\003key\022\024\n" + - "\005value\030\002 \001(\tR\005value:\0028\001\"G\n\tRetryInfo\022:\n\013" + - "retry_delay\030\001 \001(\0132\031.google.protobuf.Dura" + - "tionR\nretryDelay\"H\n\tDebugInfo\022#\n\rstack_e" + - "ntries\030\001 \003(\tR\014stackEntries\022\026\n\006detail\030\002 \001" + - "(\tR\006detail\"\227\001\n\014QuotaFailure\022>\n\nviolation" + - "s\030\001 \003(\0132\036.rpc.v1.QuotaFailure.ViolationR" + - "\nviolations\032G\n\tViolation\022\030\n\007subject\030\001 \001(" + - "\tR\007subject\022 \n\013description\030\002 \001(\tR\013descrip" + - "tion\"\271\001\n\023PreconditionFailure\022E\n\nviolatio" + - "ns\030\001 \003(\0132%.rpc.v1.PreconditionFailure.Vi" + - "olationR\nviolations\032[\n\tViolation\022\022\n\004type" + - "\030\001 \001(\tR\004type\022\030\n\007subject\030\002 \001(\tR\007subject\022 " + - "\n\013description\030\003 \001(\tR\013description\"\244\001\n\nBad" + - "Request\022L\n\020field_violations\030\001 \003(\0132!.rpc." + - "v1.BadRequest.FieldViolationR\017fieldViola" + - "tions\032H\n\016FieldViolation\022\024\n\005field\030\001 \001(\tR\005" + - "field\022 \n\013description\030\002 \001(\tR\013description\"" + - "O\n\013RequestInfo\022\035\n\nrequest_id\030\001 \001(\tR\trequ" + - "estId\022!\n\014serving_data\030\002 \001(\tR\013servingData" + - "\"\220\001\n\014ResourceInfo\022#\n\rresource_type\030\001 \001(\t" + - "R\014resourceType\022#\n\rresource_name\030\002 \001(\tR\014r" + - "esourceName\022\024\n\005owner\030\003 \001(\tR\005owner\022 \n\013des" + - "cription\030\004 \001(\tR\013description\"k\n\004Help\022\'\n\005l" + - "inks\030\001 \003(\0132\021.rpc.v1.Help.LinkR\005links\032:\n\004" + - "Link\022 \n\013description\030\001 \001(\tR\013description\022\020" + - "\n\003url\030\002 \001(\tR\003url\"D\n\020LocalizedMessage\022\026\n\006" + - "locale\030\001 \001(\tR\006locale\022\030\n\007message\030\002 \001(\tR\007m" + - "essageBi\n\031org.vdaas.vald.api.v1.rpcB\021Err" + - "orDetailsProtoP\001Z1github.com/vdaas/vald/" + - "apis/grpc/v1/rpc/errdetails\242\002\003RPCb\006proto" + - "3" + "\217\001\n\tErrorInfo\022\016\n\006reason\030\001 \001(\t\022\016\n\006domain\030" + + "\002 \001(\t\0221\n\010metadata\030\003 \003(\0132\037.rpc.v1.ErrorIn" + + "fo.MetadataEntry\032/\n\rMetadataEntry\022\013\n\003key" + + "\030\001 \001(\t\022\r\n\005value\030\002 \001(\t:\0028\001\";\n\tRetryInfo\022." + + "\n\013retry_delay\030\001 \001(\0132\031.google.protobuf.Du" + + "ration\"2\n\tDebugInfo\022\025\n\rstack_entries\030\001 \003" + + "(\t\022\016\n\006detail\030\002 \001(\t\"u\n\014QuotaFailure\0222\n\nvi" + + "olations\030\001 \003(\0132\036.rpc.v1.QuotaFailure.Vio" + + "lation\0321\n\tViolation\022\017\n\007subject\030\001 \001(\t\022\023\n\013" + + "description\030\002 \001(\t\"\221\001\n\023PreconditionFailur" + + "e\0229\n\nviolations\030\001 \003(\0132%.rpc.v1.Precondit" + + "ionFailure.Violation\032?\n\tViolation\022\014\n\004typ" + + "e\030\001 \001(\t\022\017\n\007subject\030\002 \001(\t\022\023\n\013description\030" + + "\003 \001(\t\"\177\n\nBadRequest\022;\n\020field_violations\030" + + "\001 \003(\0132!.rpc.v1.BadRequest.FieldViolation" + + "\0324\n\016FieldViolation\022\r\n\005field\030\001 \001(\t\022\023\n\013des" + + "cription\030\002 \001(\t\"7\n\013RequestInfo\022\022\n\nrequest" + + "_id\030\001 \001(\t\022\024\n\014serving_data\030\002 \001(\t\"`\n\014Resou" + + "rceInfo\022\025\n\rresource_type\030\001 \001(\t\022\025\n\rresour" + + "ce_name\030\002 \001(\t\022\r\n\005owner\030\003 \001(\t\022\023\n\013descript" + + "ion\030\004 \001(\t\"R\n\004Help\022 \n\005links\030\001 \003(\0132\021.rpc.v" + + "1.Help.Link\032(\n\004Link\022\023\n\013description\030\001 \001(\t" + + "\022\013\n\003url\030\002 \001(\t\"3\n\020LocalizedMessage\022\016\n\006loc" + + "ale\030\001 \001(\t\022\017\n\007message\030\002 \001(\tBi\n\031org.vdaas." + + "vald.api.v1.rpcB\021ErrorDetailsProtoP\001Z1gi" + + "thub.com/vdaas/vald/apis/grpc/v1/rpc/err" + + "details\242\002\003RPCb\006proto3" }; descriptor = com.google.protobuf.Descriptors.FileDescriptor .internalBuildGeneratedFileFrom(descriptorData, diff --git a/src/main/java/org/vdaas/vald/api/v1/rpc/ErrorInfo.java b/src/main/java/org/vdaas/vald/api/v1/rpc/ErrorInfo.java index a6e98e64..f3725c6b 100644 --- a/src/main/java/org/vdaas/vald/api/v1/rpc/ErrorInfo.java +++ b/src/main/java/org/vdaas/vald/api/v1/rpc/ErrorInfo.java @@ -1,7 +1,6 @@ // Generated by the protocol buffer compiler. DO NOT EDIT! -// source: v1/rpc/errdetails/error_details.proto +// source: apis/proto/v1/rpc/error_details.proto -// Protobuf Java Version: 3.25.1 package org.vdaas.vald.api.v1.rpc; /** @@ -62,7 +61,7 @@ protected java.lang.Object newInstance( @SuppressWarnings({"rawtypes"}) @java.lang.Override - protected com.google.protobuf.MapFieldReflectionAccessor internalGetMapFieldReflection( + protected com.google.protobuf.MapField internalGetMapField( int number) { switch (number) { case 3: @@ -92,7 +91,7 @@ protected com.google.protobuf.MapFieldReflectionAccessor internalGetMapFieldRefl * UPPER_SNAKE_CASE. * * - * string reason = 1 [json_name = "reason"]; + * string reason = 1; * @return The reason. */ @java.lang.Override @@ -117,7 +116,7 @@ public java.lang.String getReason() { * UPPER_SNAKE_CASE. * * - * string reason = 1 [json_name = "reason"]; + * string reason = 1; * @return The bytes for reason. */ @java.lang.Override @@ -148,7 +147,7 @@ public java.lang.String getReason() { * infrastructure, the error domain is "googleapis.com". * * - * string domain = 2 [json_name = "domain"]; + * string domain = 2; * @return The domain. */ @java.lang.Override @@ -174,7 +173,7 @@ public java.lang.String getDomain() { * infrastructure, the error domain is "googleapis.com". * * - * string domain = 2 [json_name = "domain"]; + * string domain = 2; * @return The bytes for domain. */ @java.lang.Override @@ -230,7 +229,7 @@ public int getMetadataCount() { * instances that can be created in a single (batch) request. * * - * map<string, string> metadata = 3 [json_name = "metadata"]; + * map<string, string> metadata = 3; */ @java.lang.Override public boolean containsMetadata( @@ -258,7 +257,7 @@ public java.util.Map getMetadata() { * instances that can be created in a single (batch) request. * * - * map<string, string> metadata = 3 [json_name = "metadata"]; + * map<string, string> metadata = 3; */ @java.lang.Override public java.util.Map getMetadataMap() { @@ -276,7 +275,7 @@ public java.util.Map getMetadataMap() { * instances that can be created in a single (batch) request. * * - * map<string, string> metadata = 3 [json_name = "metadata"]; + * map<string, string> metadata = 3; */ @java.lang.Override public /* nullable */ @@ -301,7 +300,7 @@ java.lang.String getMetadataOrDefault( * instances that can be created in a single (batch) request. * * - * map<string, string> metadata = 3 [json_name = "metadata"]; + * map<string, string> metadata = 3; */ @java.lang.Override public java.lang.String getMetadataOrThrow( @@ -543,7 +542,7 @@ public static final class Builder extends } @SuppressWarnings({"rawtypes"}) - protected com.google.protobuf.MapFieldReflectionAccessor internalGetMapFieldReflection( + protected com.google.protobuf.MapField internalGetMapField( int number) { switch (number) { case 3: @@ -554,7 +553,7 @@ protected com.google.protobuf.MapFieldReflectionAccessor internalGetMapFieldRefl } } @SuppressWarnings({"rawtypes"}) - protected com.google.protobuf.MapFieldReflectionAccessor internalGetMutableMapFieldReflection( + protected com.google.protobuf.MapField internalGetMutableMapField( int number) { switch (number) { case 3: @@ -763,7 +762,7 @@ public Builder mergeFrom( * UPPER_SNAKE_CASE. * * - * string reason = 1 [json_name = "reason"]; + * string reason = 1; * @return The reason. */ public java.lang.String getReason() { @@ -787,7 +786,7 @@ public java.lang.String getReason() { * UPPER_SNAKE_CASE. * * - * string reason = 1 [json_name = "reason"]; + * string reason = 1; * @return The bytes for reason. */ public com.google.protobuf.ByteString @@ -812,7 +811,7 @@ public java.lang.String getReason() { * UPPER_SNAKE_CASE. * * - * string reason = 1 [json_name = "reason"]; + * string reason = 1; * @param value The reason to set. * @return This builder for chaining. */ @@ -833,7 +832,7 @@ public Builder setReason( * UPPER_SNAKE_CASE. * * - * string reason = 1 [json_name = "reason"]; + * string reason = 1; * @return This builder for chaining. */ public Builder clearReason() { @@ -851,7 +850,7 @@ public Builder clearReason() { * UPPER_SNAKE_CASE. * * - * string reason = 1 [json_name = "reason"]; + * string reason = 1; * @param value The bytes for reason to set. * @return This builder for chaining. */ @@ -876,7 +875,7 @@ public Builder setReasonBytes( * infrastructure, the error domain is "googleapis.com". * * - * string domain = 2 [json_name = "domain"]; + * string domain = 2; * @return The domain. */ public java.lang.String getDomain() { @@ -901,7 +900,7 @@ public java.lang.String getDomain() { * infrastructure, the error domain is "googleapis.com". * * - * string domain = 2 [json_name = "domain"]; + * string domain = 2; * @return The bytes for domain. */ public com.google.protobuf.ByteString @@ -927,7 +926,7 @@ public java.lang.String getDomain() { * infrastructure, the error domain is "googleapis.com". * * - * string domain = 2 [json_name = "domain"]; + * string domain = 2; * @param value The domain to set. * @return This builder for chaining. */ @@ -949,7 +948,7 @@ public Builder setDomain( * infrastructure, the error domain is "googleapis.com". * * - * string domain = 2 [json_name = "domain"]; + * string domain = 2; * @return This builder for chaining. */ public Builder clearDomain() { @@ -968,7 +967,7 @@ public Builder clearDomain() { * infrastructure, the error domain is "googleapis.com". * * - * string domain = 2 [json_name = "domain"]; + * string domain = 2; * @param value The bytes for domain to set. * @return This builder for chaining. */ @@ -1020,7 +1019,7 @@ public int getMetadataCount() { * instances that can be created in a single (batch) request. * * - * map<string, string> metadata = 3 [json_name = "metadata"]; + * map<string, string> metadata = 3; */ @java.lang.Override public boolean containsMetadata( @@ -1048,7 +1047,7 @@ public java.util.Map getMetadata() { * instances that can be created in a single (batch) request. * * - * map<string, string> metadata = 3 [json_name = "metadata"]; + * map<string, string> metadata = 3; */ @java.lang.Override public java.util.Map getMetadataMap() { @@ -1066,7 +1065,7 @@ public java.util.Map getMetadataMap() { * instances that can be created in a single (batch) request. * * - * map<string, string> metadata = 3 [json_name = "metadata"]; + * map<string, string> metadata = 3; */ @java.lang.Override public /* nullable */ @@ -1091,7 +1090,7 @@ java.lang.String getMetadataOrDefault( * instances that can be created in a single (batch) request. * * - * map<string, string> metadata = 3 [json_name = "metadata"]; + * map<string, string> metadata = 3; */ @java.lang.Override public java.lang.String getMetadataOrThrow( @@ -1122,7 +1121,7 @@ public Builder clearMetadata() { * instances that can be created in a single (batch) request. * * - * map<string, string> metadata = 3 [json_name = "metadata"]; + * map<string, string> metadata = 3; */ public Builder removeMetadata( java.lang.String key) { @@ -1152,7 +1151,7 @@ public Builder removeMetadata( * instances that can be created in a single (batch) request. * * - * map<string, string> metadata = 3 [json_name = "metadata"]; + * map<string, string> metadata = 3; */ public Builder putMetadata( java.lang.String key, @@ -1176,7 +1175,7 @@ public Builder putMetadata( * instances that can be created in a single (batch) request. * * - * map<string, string> metadata = 3 [json_name = "metadata"]; + * map<string, string> metadata = 3; */ public Builder putAllMetadata( java.util.Map values) { diff --git a/src/main/java/org/vdaas/vald/api/v1/rpc/ErrorInfoOrBuilder.java b/src/main/java/org/vdaas/vald/api/v1/rpc/ErrorInfoOrBuilder.java index e8fc60b0..aee84967 100644 --- a/src/main/java/org/vdaas/vald/api/v1/rpc/ErrorInfoOrBuilder.java +++ b/src/main/java/org/vdaas/vald/api/v1/rpc/ErrorInfoOrBuilder.java @@ -1,7 +1,6 @@ // Generated by the protocol buffer compiler. DO NOT EDIT! -// source: v1/rpc/errdetails/error_details.proto +// source: apis/proto/v1/rpc/error_details.proto -// Protobuf Java Version: 3.25.1 package org.vdaas.vald.api.v1.rpc; public interface ErrorInfoOrBuilder extends @@ -17,7 +16,7 @@ public interface ErrorInfoOrBuilder extends * UPPER_SNAKE_CASE. * * - * string reason = 1 [json_name = "reason"]; + * string reason = 1; * @return The reason. */ java.lang.String getReason(); @@ -30,7 +29,7 @@ public interface ErrorInfoOrBuilder extends * UPPER_SNAKE_CASE. * * - * string reason = 1 [json_name = "reason"]; + * string reason = 1; * @return The bytes for reason. */ com.google.protobuf.ByteString @@ -46,7 +45,7 @@ public interface ErrorInfoOrBuilder extends * infrastructure, the error domain is "googleapis.com". * * - * string domain = 2 [json_name = "domain"]; + * string domain = 2; * @return The domain. */ java.lang.String getDomain(); @@ -60,7 +59,7 @@ public interface ErrorInfoOrBuilder extends * infrastructure, the error domain is "googleapis.com". * * - * string domain = 2 [json_name = "domain"]; + * string domain = 2; * @return The bytes for domain. */ com.google.protobuf.ByteString @@ -78,7 +77,7 @@ public interface ErrorInfoOrBuilder extends * instances that can be created in a single (batch) request. * * - * map<string, string> metadata = 3 [json_name = "metadata"]; + * map<string, string> metadata = 3; */ int getMetadataCount(); /** @@ -93,7 +92,7 @@ public interface ErrorInfoOrBuilder extends * instances that can be created in a single (batch) request. * * - * map<string, string> metadata = 3 [json_name = "metadata"]; + * map<string, string> metadata = 3; */ boolean containsMetadata( java.lang.String key); @@ -115,7 +114,7 @@ boolean containsMetadata( * instances that can be created in a single (batch) request. * * - * map<string, string> metadata = 3 [json_name = "metadata"]; + * map<string, string> metadata = 3; */ java.util.Map getMetadataMap(); @@ -131,7 +130,7 @@ boolean containsMetadata( * instances that can be created in a single (batch) request. * * - * map<string, string> metadata = 3 [json_name = "metadata"]; + * map<string, string> metadata = 3; */ /* nullable */ java.lang.String getMetadataOrDefault( @@ -150,7 +149,7 @@ java.lang.String getMetadataOrDefault( * instances that can be created in a single (batch) request. * * - * map<string, string> metadata = 3 [json_name = "metadata"]; + * map<string, string> metadata = 3; */ java.lang.String getMetadataOrThrow( java.lang.String key); diff --git a/src/main/java/org/vdaas/vald/api/v1/rpc/Help.java b/src/main/java/org/vdaas/vald/api/v1/rpc/Help.java index 0cca47cf..f97ed2d8 100644 --- a/src/main/java/org/vdaas/vald/api/v1/rpc/Help.java +++ b/src/main/java/org/vdaas/vald/api/v1/rpc/Help.java @@ -1,7 +1,6 @@ // Generated by the protocol buffer compiler. DO NOT EDIT! -// source: v1/rpc/errdetails/error_details.proto +// source: apis/proto/v1/rpc/error_details.proto -// Protobuf Java Version: 3.25.1 package org.vdaas.vald.api.v1.rpc; /** @@ -57,7 +56,7 @@ public interface LinkOrBuilder extends * Describes what the link offers. * * - * string description = 1 [json_name = "description"]; + * string description = 1; * @return The description. */ java.lang.String getDescription(); @@ -66,7 +65,7 @@ public interface LinkOrBuilder extends * Describes what the link offers. * * - * string description = 1 [json_name = "description"]; + * string description = 1; * @return The bytes for description. */ com.google.protobuf.ByteString @@ -77,7 +76,7 @@ public interface LinkOrBuilder extends * The URL of the link. * * - * string url = 2 [json_name = "url"]; + * string url = 2; * @return The url. */ java.lang.String getUrl(); @@ -86,7 +85,7 @@ public interface LinkOrBuilder extends * The URL of the link. * * - * string url = 2 [json_name = "url"]; + * string url = 2; * @return The bytes for url. */ com.google.protobuf.ByteString @@ -141,7 +140,7 @@ protected java.lang.Object newInstance( * Describes what the link offers. * * - * string description = 1 [json_name = "description"]; + * string description = 1; * @return The description. */ @java.lang.Override @@ -162,7 +161,7 @@ public java.lang.String getDescription() { * Describes what the link offers. * * - * string description = 1 [json_name = "description"]; + * string description = 1; * @return The bytes for description. */ @java.lang.Override @@ -188,7 +187,7 @@ public java.lang.String getDescription() { * The URL of the link. * * - * string url = 2 [json_name = "url"]; + * string url = 2; * @return The url. */ @java.lang.Override @@ -209,7 +208,7 @@ public java.lang.String getUrl() { * The URL of the link. * * - * string url = 2 [json_name = "url"]; + * string url = 2; * @return The bytes for url. */ @java.lang.Override @@ -587,7 +586,7 @@ public Builder mergeFrom( * Describes what the link offers. * * - * string description = 1 [json_name = "description"]; + * string description = 1; * @return The description. */ public java.lang.String getDescription() { @@ -607,7 +606,7 @@ public java.lang.String getDescription() { * Describes what the link offers. * * - * string description = 1 [json_name = "description"]; + * string description = 1; * @return The bytes for description. */ public com.google.protobuf.ByteString @@ -628,7 +627,7 @@ public java.lang.String getDescription() { * Describes what the link offers. * * - * string description = 1 [json_name = "description"]; + * string description = 1; * @param value The description to set. * @return This builder for chaining. */ @@ -645,7 +644,7 @@ public Builder setDescription( * Describes what the link offers. * * - * string description = 1 [json_name = "description"]; + * string description = 1; * @return This builder for chaining. */ public Builder clearDescription() { @@ -659,7 +658,7 @@ public Builder clearDescription() { * Describes what the link offers. * * - * string description = 1 [json_name = "description"]; + * string description = 1; * @param value The bytes for description to set. * @return This builder for chaining. */ @@ -679,7 +678,7 @@ public Builder setDescriptionBytes( * The URL of the link. * * - * string url = 2 [json_name = "url"]; + * string url = 2; * @return The url. */ public java.lang.String getUrl() { @@ -699,7 +698,7 @@ public java.lang.String getUrl() { * The URL of the link. * * - * string url = 2 [json_name = "url"]; + * string url = 2; * @return The bytes for url. */ public com.google.protobuf.ByteString @@ -720,7 +719,7 @@ public java.lang.String getUrl() { * The URL of the link. * * - * string url = 2 [json_name = "url"]; + * string url = 2; * @param value The url to set. * @return This builder for chaining. */ @@ -737,7 +736,7 @@ public Builder setUrl( * The URL of the link. * * - * string url = 2 [json_name = "url"]; + * string url = 2; * @return This builder for chaining. */ public Builder clearUrl() { @@ -751,7 +750,7 @@ public Builder clearUrl() { * The URL of the link. * * - * string url = 2 [json_name = "url"]; + * string url = 2; * @param value The bytes for url to set. * @return This builder for chaining. */ @@ -836,7 +835,7 @@ public org.vdaas.vald.api.v1.rpc.Help.Link getDefaultInstanceForType() { * URL(s) pointing to additional information on handling the current error. * * - * repeated .rpc.v1.Help.Link links = 1 [json_name = "links"]; + * repeated .rpc.v1.Help.Link links = 1; */ @java.lang.Override public java.util.List getLinksList() { @@ -847,7 +846,7 @@ public java.util.List getLinksList() { * URL(s) pointing to additional information on handling the current error. * * - * repeated .rpc.v1.Help.Link links = 1 [json_name = "links"]; + * repeated .rpc.v1.Help.Link links = 1; */ @java.lang.Override public java.util.List @@ -859,7 +858,7 @@ public java.util.List getLinksList() { * URL(s) pointing to additional information on handling the current error. * * - * repeated .rpc.v1.Help.Link links = 1 [json_name = "links"]; + * repeated .rpc.v1.Help.Link links = 1; */ @java.lang.Override public int getLinksCount() { @@ -870,7 +869,7 @@ public int getLinksCount() { * URL(s) pointing to additional information on handling the current error. * * - * repeated .rpc.v1.Help.Link links = 1 [json_name = "links"]; + * repeated .rpc.v1.Help.Link links = 1; */ @java.lang.Override public org.vdaas.vald.api.v1.rpc.Help.Link getLinks(int index) { @@ -881,7 +880,7 @@ public org.vdaas.vald.api.v1.rpc.Help.Link getLinks(int index) { * URL(s) pointing to additional information on handling the current error. * * - * repeated .rpc.v1.Help.Link links = 1 [json_name = "links"]; + * repeated .rpc.v1.Help.Link links = 1; */ @java.lang.Override public org.vdaas.vald.api.v1.rpc.Help.LinkOrBuilder getLinksOrBuilder( @@ -1288,7 +1287,7 @@ private void ensureLinksIsMutable() { * URL(s) pointing to additional information on handling the current error. * * - * repeated .rpc.v1.Help.Link links = 1 [json_name = "links"]; + * repeated .rpc.v1.Help.Link links = 1; */ public java.util.List getLinksList() { if (linksBuilder_ == null) { @@ -1302,7 +1301,7 @@ public java.util.List getLinksList() { * URL(s) pointing to additional information on handling the current error. * * - * repeated .rpc.v1.Help.Link links = 1 [json_name = "links"]; + * repeated .rpc.v1.Help.Link links = 1; */ public int getLinksCount() { if (linksBuilder_ == null) { @@ -1316,7 +1315,7 @@ public int getLinksCount() { * URL(s) pointing to additional information on handling the current error. * * - * repeated .rpc.v1.Help.Link links = 1 [json_name = "links"]; + * repeated .rpc.v1.Help.Link links = 1; */ public org.vdaas.vald.api.v1.rpc.Help.Link getLinks(int index) { if (linksBuilder_ == null) { @@ -1330,7 +1329,7 @@ public org.vdaas.vald.api.v1.rpc.Help.Link getLinks(int index) { * URL(s) pointing to additional information on handling the current error. * * - * repeated .rpc.v1.Help.Link links = 1 [json_name = "links"]; + * repeated .rpc.v1.Help.Link links = 1; */ public Builder setLinks( int index, org.vdaas.vald.api.v1.rpc.Help.Link value) { @@ -1351,7 +1350,7 @@ public Builder setLinks( * URL(s) pointing to additional information on handling the current error. * * - * repeated .rpc.v1.Help.Link links = 1 [json_name = "links"]; + * repeated .rpc.v1.Help.Link links = 1; */ public Builder setLinks( int index, org.vdaas.vald.api.v1.rpc.Help.Link.Builder builderForValue) { @@ -1369,7 +1368,7 @@ public Builder setLinks( * URL(s) pointing to additional information on handling the current error. * * - * repeated .rpc.v1.Help.Link links = 1 [json_name = "links"]; + * repeated .rpc.v1.Help.Link links = 1; */ public Builder addLinks(org.vdaas.vald.api.v1.rpc.Help.Link value) { if (linksBuilder_ == null) { @@ -1389,7 +1388,7 @@ public Builder addLinks(org.vdaas.vald.api.v1.rpc.Help.Link value) { * URL(s) pointing to additional information on handling the current error. * * - * repeated .rpc.v1.Help.Link links = 1 [json_name = "links"]; + * repeated .rpc.v1.Help.Link links = 1; */ public Builder addLinks( int index, org.vdaas.vald.api.v1.rpc.Help.Link value) { @@ -1410,7 +1409,7 @@ public Builder addLinks( * URL(s) pointing to additional information on handling the current error. * * - * repeated .rpc.v1.Help.Link links = 1 [json_name = "links"]; + * repeated .rpc.v1.Help.Link links = 1; */ public Builder addLinks( org.vdaas.vald.api.v1.rpc.Help.Link.Builder builderForValue) { @@ -1428,7 +1427,7 @@ public Builder addLinks( * URL(s) pointing to additional information on handling the current error. * * - * repeated .rpc.v1.Help.Link links = 1 [json_name = "links"]; + * repeated .rpc.v1.Help.Link links = 1; */ public Builder addLinks( int index, org.vdaas.vald.api.v1.rpc.Help.Link.Builder builderForValue) { @@ -1446,7 +1445,7 @@ public Builder addLinks( * URL(s) pointing to additional information on handling the current error. * * - * repeated .rpc.v1.Help.Link links = 1 [json_name = "links"]; + * repeated .rpc.v1.Help.Link links = 1; */ public Builder addAllLinks( java.lang.Iterable values) { @@ -1465,7 +1464,7 @@ public Builder addAllLinks( * URL(s) pointing to additional information on handling the current error. * * - * repeated .rpc.v1.Help.Link links = 1 [json_name = "links"]; + * repeated .rpc.v1.Help.Link links = 1; */ public Builder clearLinks() { if (linksBuilder_ == null) { @@ -1482,7 +1481,7 @@ public Builder clearLinks() { * URL(s) pointing to additional information on handling the current error. * * - * repeated .rpc.v1.Help.Link links = 1 [json_name = "links"]; + * repeated .rpc.v1.Help.Link links = 1; */ public Builder removeLinks(int index) { if (linksBuilder_ == null) { @@ -1499,7 +1498,7 @@ public Builder removeLinks(int index) { * URL(s) pointing to additional information on handling the current error. * * - * repeated .rpc.v1.Help.Link links = 1 [json_name = "links"]; + * repeated .rpc.v1.Help.Link links = 1; */ public org.vdaas.vald.api.v1.rpc.Help.Link.Builder getLinksBuilder( int index) { @@ -1510,7 +1509,7 @@ public org.vdaas.vald.api.v1.rpc.Help.Link.Builder getLinksBuilder( * URL(s) pointing to additional information on handling the current error. * * - * repeated .rpc.v1.Help.Link links = 1 [json_name = "links"]; + * repeated .rpc.v1.Help.Link links = 1; */ public org.vdaas.vald.api.v1.rpc.Help.LinkOrBuilder getLinksOrBuilder( int index) { @@ -1524,7 +1523,7 @@ public org.vdaas.vald.api.v1.rpc.Help.LinkOrBuilder getLinksOrBuilder( * URL(s) pointing to additional information on handling the current error. * * - * repeated .rpc.v1.Help.Link links = 1 [json_name = "links"]; + * repeated .rpc.v1.Help.Link links = 1; */ public java.util.List getLinksOrBuilderList() { @@ -1539,7 +1538,7 @@ public org.vdaas.vald.api.v1.rpc.Help.LinkOrBuilder getLinksOrBuilder( * URL(s) pointing to additional information on handling the current error. * * - * repeated .rpc.v1.Help.Link links = 1 [json_name = "links"]; + * repeated .rpc.v1.Help.Link links = 1; */ public org.vdaas.vald.api.v1.rpc.Help.Link.Builder addLinksBuilder() { return getLinksFieldBuilder().addBuilder( @@ -1550,7 +1549,7 @@ public org.vdaas.vald.api.v1.rpc.Help.Link.Builder addLinksBuilder() { * URL(s) pointing to additional information on handling the current error. * * - * repeated .rpc.v1.Help.Link links = 1 [json_name = "links"]; + * repeated .rpc.v1.Help.Link links = 1; */ public org.vdaas.vald.api.v1.rpc.Help.Link.Builder addLinksBuilder( int index) { @@ -1562,7 +1561,7 @@ public org.vdaas.vald.api.v1.rpc.Help.Link.Builder addLinksBuilder( * URL(s) pointing to additional information on handling the current error. * * - * repeated .rpc.v1.Help.Link links = 1 [json_name = "links"]; + * repeated .rpc.v1.Help.Link links = 1; */ public java.util.List getLinksBuilderList() { diff --git a/src/main/java/org/vdaas/vald/api/v1/rpc/HelpOrBuilder.java b/src/main/java/org/vdaas/vald/api/v1/rpc/HelpOrBuilder.java index cd5ca879..ce1dcbc4 100644 --- a/src/main/java/org/vdaas/vald/api/v1/rpc/HelpOrBuilder.java +++ b/src/main/java/org/vdaas/vald/api/v1/rpc/HelpOrBuilder.java @@ -1,7 +1,6 @@ // Generated by the protocol buffer compiler. DO NOT EDIT! -// source: v1/rpc/errdetails/error_details.proto +// source: apis/proto/v1/rpc/error_details.proto -// Protobuf Java Version: 3.25.1 package org.vdaas.vald.api.v1.rpc; public interface HelpOrBuilder extends @@ -13,7 +12,7 @@ public interface HelpOrBuilder extends * URL(s) pointing to additional information on handling the current error. * * - * repeated .rpc.v1.Help.Link links = 1 [json_name = "links"]; + * repeated .rpc.v1.Help.Link links = 1; */ java.util.List getLinksList(); @@ -22,7 +21,7 @@ public interface HelpOrBuilder extends * URL(s) pointing to additional information on handling the current error. * * - * repeated .rpc.v1.Help.Link links = 1 [json_name = "links"]; + * repeated .rpc.v1.Help.Link links = 1; */ org.vdaas.vald.api.v1.rpc.Help.Link getLinks(int index); /** @@ -30,7 +29,7 @@ public interface HelpOrBuilder extends * URL(s) pointing to additional information on handling the current error. * * - * repeated .rpc.v1.Help.Link links = 1 [json_name = "links"]; + * repeated .rpc.v1.Help.Link links = 1; */ int getLinksCount(); /** @@ -38,7 +37,7 @@ public interface HelpOrBuilder extends * URL(s) pointing to additional information on handling the current error. * * - * repeated .rpc.v1.Help.Link links = 1 [json_name = "links"]; + * repeated .rpc.v1.Help.Link links = 1; */ java.util.List getLinksOrBuilderList(); @@ -47,7 +46,7 @@ public interface HelpOrBuilder extends * URL(s) pointing to additional information on handling the current error. * * - * repeated .rpc.v1.Help.Link links = 1 [json_name = "links"]; + * repeated .rpc.v1.Help.Link links = 1; */ org.vdaas.vald.api.v1.rpc.Help.LinkOrBuilder getLinksOrBuilder( int index); diff --git a/src/main/java/org/vdaas/vald/api/v1/rpc/LocalizedMessage.java b/src/main/java/org/vdaas/vald/api/v1/rpc/LocalizedMessage.java index 75bdecee..f41b900e 100644 --- a/src/main/java/org/vdaas/vald/api/v1/rpc/LocalizedMessage.java +++ b/src/main/java/org/vdaas/vald/api/v1/rpc/LocalizedMessage.java @@ -1,7 +1,6 @@ // Generated by the protocol buffer compiler. DO NOT EDIT! -// source: v1/rpc/errdetails/error_details.proto +// source: apis/proto/v1/rpc/error_details.proto -// Protobuf Java Version: 3.25.1 package org.vdaas.vald.api.v1.rpc; /** @@ -56,7 +55,7 @@ protected java.lang.Object newInstance( * Examples are: "en-US", "fr-CH", "es-MX" * * - * string locale = 1 [json_name = "locale"]; + * string locale = 1; * @return The locale. */ @java.lang.Override @@ -79,7 +78,7 @@ public java.lang.String getLocale() { * Examples are: "en-US", "fr-CH", "es-MX" * * - * string locale = 1 [json_name = "locale"]; + * string locale = 1; * @return The bytes for locale. */ @java.lang.Override @@ -105,7 +104,7 @@ public java.lang.String getLocale() { * The localized error message in the above locale. * * - * string message = 2 [json_name = "message"]; + * string message = 2; * @return The message. */ @java.lang.Override @@ -126,7 +125,7 @@ public java.lang.String getMessage() { * The localized error message in the above locale. * * - * string message = 2 [json_name = "message"]; + * string message = 2; * @return The bytes for message. */ @java.lang.Override @@ -507,7 +506,7 @@ public Builder mergeFrom( * Examples are: "en-US", "fr-CH", "es-MX" * * - * string locale = 1 [json_name = "locale"]; + * string locale = 1; * @return The locale. */ public java.lang.String getLocale() { @@ -529,7 +528,7 @@ public java.lang.String getLocale() { * Examples are: "en-US", "fr-CH", "es-MX" * * - * string locale = 1 [json_name = "locale"]; + * string locale = 1; * @return The bytes for locale. */ public com.google.protobuf.ByteString @@ -552,7 +551,7 @@ public java.lang.String getLocale() { * Examples are: "en-US", "fr-CH", "es-MX" * * - * string locale = 1 [json_name = "locale"]; + * string locale = 1; * @param value The locale to set. * @return This builder for chaining. */ @@ -571,7 +570,7 @@ public Builder setLocale( * Examples are: "en-US", "fr-CH", "es-MX" * * - * string locale = 1 [json_name = "locale"]; + * string locale = 1; * @return This builder for chaining. */ public Builder clearLocale() { @@ -587,7 +586,7 @@ public Builder clearLocale() { * Examples are: "en-US", "fr-CH", "es-MX" * * - * string locale = 1 [json_name = "locale"]; + * string locale = 1; * @param value The bytes for locale to set. * @return This builder for chaining. */ @@ -607,7 +606,7 @@ public Builder setLocaleBytes( * The localized error message in the above locale. * * - * string message = 2 [json_name = "message"]; + * string message = 2; * @return The message. */ public java.lang.String getMessage() { @@ -627,7 +626,7 @@ public java.lang.String getMessage() { * The localized error message in the above locale. * * - * string message = 2 [json_name = "message"]; + * string message = 2; * @return The bytes for message. */ public com.google.protobuf.ByteString @@ -648,7 +647,7 @@ public java.lang.String getMessage() { * The localized error message in the above locale. * * - * string message = 2 [json_name = "message"]; + * string message = 2; * @param value The message to set. * @return This builder for chaining. */ @@ -665,7 +664,7 @@ public Builder setMessage( * The localized error message in the above locale. * * - * string message = 2 [json_name = "message"]; + * string message = 2; * @return This builder for chaining. */ public Builder clearMessage() { @@ -679,7 +678,7 @@ public Builder clearMessage() { * The localized error message in the above locale. * * - * string message = 2 [json_name = "message"]; + * string message = 2; * @param value The bytes for message to set. * @return This builder for chaining. */ diff --git a/src/main/java/org/vdaas/vald/api/v1/rpc/LocalizedMessageOrBuilder.java b/src/main/java/org/vdaas/vald/api/v1/rpc/LocalizedMessageOrBuilder.java index ffe231a1..e2f83ed1 100644 --- a/src/main/java/org/vdaas/vald/api/v1/rpc/LocalizedMessageOrBuilder.java +++ b/src/main/java/org/vdaas/vald/api/v1/rpc/LocalizedMessageOrBuilder.java @@ -1,7 +1,6 @@ // Generated by the protocol buffer compiler. DO NOT EDIT! -// source: v1/rpc/errdetails/error_details.proto +// source: apis/proto/v1/rpc/error_details.proto -// Protobuf Java Version: 3.25.1 package org.vdaas.vald.api.v1.rpc; public interface LocalizedMessageOrBuilder extends @@ -15,7 +14,7 @@ public interface LocalizedMessageOrBuilder extends * Examples are: "en-US", "fr-CH", "es-MX" * * - * string locale = 1 [json_name = "locale"]; + * string locale = 1; * @return The locale. */ java.lang.String getLocale(); @@ -26,7 +25,7 @@ public interface LocalizedMessageOrBuilder extends * Examples are: "en-US", "fr-CH", "es-MX" * * - * string locale = 1 [json_name = "locale"]; + * string locale = 1; * @return The bytes for locale. */ com.google.protobuf.ByteString @@ -37,7 +36,7 @@ public interface LocalizedMessageOrBuilder extends * The localized error message in the above locale. * * - * string message = 2 [json_name = "message"]; + * string message = 2; * @return The message. */ java.lang.String getMessage(); @@ -46,7 +45,7 @@ public interface LocalizedMessageOrBuilder extends * The localized error message in the above locale. * * - * string message = 2 [json_name = "message"]; + * string message = 2; * @return The bytes for message. */ com.google.protobuf.ByteString diff --git a/src/main/java/org/vdaas/vald/api/v1/rpc/PreconditionFailure.java b/src/main/java/org/vdaas/vald/api/v1/rpc/PreconditionFailure.java index e06b047e..dfa30fed 100644 --- a/src/main/java/org/vdaas/vald/api/v1/rpc/PreconditionFailure.java +++ b/src/main/java/org/vdaas/vald/api/v1/rpc/PreconditionFailure.java @@ -1,7 +1,6 @@ // Generated by the protocol buffer compiler. DO NOT EDIT! -// source: v1/rpc/errdetails/error_details.proto +// source: apis/proto/v1/rpc/error_details.proto -// Protobuf Java Version: 3.25.1 package org.vdaas.vald.api.v1.rpc; /** @@ -59,7 +58,7 @@ public interface ViolationOrBuilder extends * example, "TOS" for "Terms of Service violation". * * - * string type = 1 [json_name = "type"]; + * string type = 1; * @return The type. */ java.lang.String getType(); @@ -70,7 +69,7 @@ public interface ViolationOrBuilder extends * example, "TOS" for "Terms of Service violation". * * - * string type = 1 [json_name = "type"]; + * string type = 1; * @return The bytes for type. */ com.google.protobuf.ByteString @@ -83,7 +82,7 @@ public interface ViolationOrBuilder extends * which terms of service is being referenced. * * - * string subject = 2 [json_name = "subject"]; + * string subject = 2; * @return The subject. */ java.lang.String getSubject(); @@ -94,7 +93,7 @@ public interface ViolationOrBuilder extends * which terms of service is being referenced. * * - * string subject = 2 [json_name = "subject"]; + * string subject = 2; * @return The bytes for subject. */ com.google.protobuf.ByteString @@ -108,7 +107,7 @@ public interface ViolationOrBuilder extends * For example: "Terms of service not accepted". * * - * string description = 3 [json_name = "description"]; + * string description = 3; * @return The description. */ java.lang.String getDescription(); @@ -120,7 +119,7 @@ public interface ViolationOrBuilder extends * For example: "Terms of service not accepted". * * - * string description = 3 [json_name = "description"]; + * string description = 3; * @return The bytes for description. */ com.google.protobuf.ByteString @@ -178,7 +177,7 @@ protected java.lang.Object newInstance( * example, "TOS" for "Terms of Service violation". * * - * string type = 1 [json_name = "type"]; + * string type = 1; * @return The type. */ @java.lang.Override @@ -201,7 +200,7 @@ public java.lang.String getType() { * example, "TOS" for "Terms of Service violation". * * - * string type = 1 [json_name = "type"]; + * string type = 1; * @return The bytes for type. */ @java.lang.Override @@ -229,7 +228,7 @@ public java.lang.String getType() { * which terms of service is being referenced. * * - * string subject = 2 [json_name = "subject"]; + * string subject = 2; * @return The subject. */ @java.lang.Override @@ -252,7 +251,7 @@ public java.lang.String getSubject() { * which terms of service is being referenced. * * - * string subject = 2 [json_name = "subject"]; + * string subject = 2; * @return The bytes for subject. */ @java.lang.Override @@ -281,7 +280,7 @@ public java.lang.String getSubject() { * For example: "Terms of service not accepted". * * - * string description = 3 [json_name = "description"]; + * string description = 3; * @return The description. */ @java.lang.Override @@ -305,7 +304,7 @@ public java.lang.String getDescription() { * For example: "Terms of service not accepted". * * - * string description = 3 [json_name = "description"]; + * string description = 3; * @return The bytes for description. */ @java.lang.Override @@ -709,7 +708,7 @@ public Builder mergeFrom( * example, "TOS" for "Terms of Service violation". * * - * string type = 1 [json_name = "type"]; + * string type = 1; * @return The type. */ public java.lang.String getType() { @@ -731,7 +730,7 @@ public java.lang.String getType() { * example, "TOS" for "Terms of Service violation". * * - * string type = 1 [json_name = "type"]; + * string type = 1; * @return The bytes for type. */ public com.google.protobuf.ByteString @@ -754,7 +753,7 @@ public java.lang.String getType() { * example, "TOS" for "Terms of Service violation". * * - * string type = 1 [json_name = "type"]; + * string type = 1; * @param value The type to set. * @return This builder for chaining. */ @@ -773,7 +772,7 @@ public Builder setType( * example, "TOS" for "Terms of Service violation". * * - * string type = 1 [json_name = "type"]; + * string type = 1; * @return This builder for chaining. */ public Builder clearType() { @@ -789,7 +788,7 @@ public Builder clearType() { * example, "TOS" for "Terms of Service violation". * * - * string type = 1 [json_name = "type"]; + * string type = 1; * @param value The bytes for type to set. * @return This builder for chaining. */ @@ -811,7 +810,7 @@ public Builder setTypeBytes( * which terms of service is being referenced. * * - * string subject = 2 [json_name = "subject"]; + * string subject = 2; * @return The subject. */ public java.lang.String getSubject() { @@ -833,7 +832,7 @@ public java.lang.String getSubject() { * which terms of service is being referenced. * * - * string subject = 2 [json_name = "subject"]; + * string subject = 2; * @return The bytes for subject. */ public com.google.protobuf.ByteString @@ -856,7 +855,7 @@ public java.lang.String getSubject() { * which terms of service is being referenced. * * - * string subject = 2 [json_name = "subject"]; + * string subject = 2; * @param value The subject to set. * @return This builder for chaining. */ @@ -875,7 +874,7 @@ public Builder setSubject( * which terms of service is being referenced. * * - * string subject = 2 [json_name = "subject"]; + * string subject = 2; * @return This builder for chaining. */ public Builder clearSubject() { @@ -891,7 +890,7 @@ public Builder clearSubject() { * which terms of service is being referenced. * * - * string subject = 2 [json_name = "subject"]; + * string subject = 2; * @param value The bytes for subject to set. * @return This builder for chaining. */ @@ -914,7 +913,7 @@ public Builder setSubjectBytes( * For example: "Terms of service not accepted". * * - * string description = 3 [json_name = "description"]; + * string description = 3; * @return The description. */ public java.lang.String getDescription() { @@ -937,7 +936,7 @@ public java.lang.String getDescription() { * For example: "Terms of service not accepted". * * - * string description = 3 [json_name = "description"]; + * string description = 3; * @return The bytes for description. */ public com.google.protobuf.ByteString @@ -961,7 +960,7 @@ public java.lang.String getDescription() { * For example: "Terms of service not accepted". * * - * string description = 3 [json_name = "description"]; + * string description = 3; * @param value The description to set. * @return This builder for chaining. */ @@ -981,7 +980,7 @@ public Builder setDescription( * For example: "Terms of service not accepted". * * - * string description = 3 [json_name = "description"]; + * string description = 3; * @return This builder for chaining. */ public Builder clearDescription() { @@ -998,7 +997,7 @@ public Builder clearDescription() { * For example: "Terms of service not accepted". * * - * string description = 3 [json_name = "description"]; + * string description = 3; * @param value The bytes for description to set. * @return This builder for chaining. */ @@ -1083,7 +1082,7 @@ public org.vdaas.vald.api.v1.rpc.PreconditionFailure.Violation getDefaultInstanc * Describes all precondition violations. * * - * repeated .rpc.v1.PreconditionFailure.Violation violations = 1 [json_name = "violations"]; + * repeated .rpc.v1.PreconditionFailure.Violation violations = 1; */ @java.lang.Override public java.util.List getViolationsList() { @@ -1094,7 +1093,7 @@ public java.util.List g * Describes all precondition violations. * * - * repeated .rpc.v1.PreconditionFailure.Violation violations = 1 [json_name = "violations"]; + * repeated .rpc.v1.PreconditionFailure.Violation violations = 1; */ @java.lang.Override public java.util.List @@ -1106,7 +1105,7 @@ public java.util.List g * Describes all precondition violations. * * - * repeated .rpc.v1.PreconditionFailure.Violation violations = 1 [json_name = "violations"]; + * repeated .rpc.v1.PreconditionFailure.Violation violations = 1; */ @java.lang.Override public int getViolationsCount() { @@ -1117,7 +1116,7 @@ public int getViolationsCount() { * Describes all precondition violations. * * - * repeated .rpc.v1.PreconditionFailure.Violation violations = 1 [json_name = "violations"]; + * repeated .rpc.v1.PreconditionFailure.Violation violations = 1; */ @java.lang.Override public org.vdaas.vald.api.v1.rpc.PreconditionFailure.Violation getViolations(int index) { @@ -1128,7 +1127,7 @@ public org.vdaas.vald.api.v1.rpc.PreconditionFailure.Violation getViolations(int * Describes all precondition violations. * * - * repeated .rpc.v1.PreconditionFailure.Violation violations = 1 [json_name = "violations"]; + * repeated .rpc.v1.PreconditionFailure.Violation violations = 1; */ @java.lang.Override public org.vdaas.vald.api.v1.rpc.PreconditionFailure.ViolationOrBuilder getViolationsOrBuilder( @@ -1535,7 +1534,7 @@ private void ensureViolationsIsMutable() { * Describes all precondition violations. * * - * repeated .rpc.v1.PreconditionFailure.Violation violations = 1 [json_name = "violations"]; + * repeated .rpc.v1.PreconditionFailure.Violation violations = 1; */ public java.util.List getViolationsList() { if (violationsBuilder_ == null) { @@ -1549,7 +1548,7 @@ public java.util.List g * Describes all precondition violations. * * - * repeated .rpc.v1.PreconditionFailure.Violation violations = 1 [json_name = "violations"]; + * repeated .rpc.v1.PreconditionFailure.Violation violations = 1; */ public int getViolationsCount() { if (violationsBuilder_ == null) { @@ -1563,7 +1562,7 @@ public int getViolationsCount() { * Describes all precondition violations. * * - * repeated .rpc.v1.PreconditionFailure.Violation violations = 1 [json_name = "violations"]; + * repeated .rpc.v1.PreconditionFailure.Violation violations = 1; */ public org.vdaas.vald.api.v1.rpc.PreconditionFailure.Violation getViolations(int index) { if (violationsBuilder_ == null) { @@ -1577,7 +1576,7 @@ public org.vdaas.vald.api.v1.rpc.PreconditionFailure.Violation getViolations(int * Describes all precondition violations. * * - * repeated .rpc.v1.PreconditionFailure.Violation violations = 1 [json_name = "violations"]; + * repeated .rpc.v1.PreconditionFailure.Violation violations = 1; */ public Builder setViolations( int index, org.vdaas.vald.api.v1.rpc.PreconditionFailure.Violation value) { @@ -1598,7 +1597,7 @@ public Builder setViolations( * Describes all precondition violations. * * - * repeated .rpc.v1.PreconditionFailure.Violation violations = 1 [json_name = "violations"]; + * repeated .rpc.v1.PreconditionFailure.Violation violations = 1; */ public Builder setViolations( int index, org.vdaas.vald.api.v1.rpc.PreconditionFailure.Violation.Builder builderForValue) { @@ -1616,7 +1615,7 @@ public Builder setViolations( * Describes all precondition violations. * * - * repeated .rpc.v1.PreconditionFailure.Violation violations = 1 [json_name = "violations"]; + * repeated .rpc.v1.PreconditionFailure.Violation violations = 1; */ public Builder addViolations(org.vdaas.vald.api.v1.rpc.PreconditionFailure.Violation value) { if (violationsBuilder_ == null) { @@ -1636,7 +1635,7 @@ public Builder addViolations(org.vdaas.vald.api.v1.rpc.PreconditionFailure.Viola * Describes all precondition violations. * * - * repeated .rpc.v1.PreconditionFailure.Violation violations = 1 [json_name = "violations"]; + * repeated .rpc.v1.PreconditionFailure.Violation violations = 1; */ public Builder addViolations( int index, org.vdaas.vald.api.v1.rpc.PreconditionFailure.Violation value) { @@ -1657,7 +1656,7 @@ public Builder addViolations( * Describes all precondition violations. * * - * repeated .rpc.v1.PreconditionFailure.Violation violations = 1 [json_name = "violations"]; + * repeated .rpc.v1.PreconditionFailure.Violation violations = 1; */ public Builder addViolations( org.vdaas.vald.api.v1.rpc.PreconditionFailure.Violation.Builder builderForValue) { @@ -1675,7 +1674,7 @@ public Builder addViolations( * Describes all precondition violations. * * - * repeated .rpc.v1.PreconditionFailure.Violation violations = 1 [json_name = "violations"]; + * repeated .rpc.v1.PreconditionFailure.Violation violations = 1; */ public Builder addViolations( int index, org.vdaas.vald.api.v1.rpc.PreconditionFailure.Violation.Builder builderForValue) { @@ -1693,7 +1692,7 @@ public Builder addViolations( * Describes all precondition violations. * * - * repeated .rpc.v1.PreconditionFailure.Violation violations = 1 [json_name = "violations"]; + * repeated .rpc.v1.PreconditionFailure.Violation violations = 1; */ public Builder addAllViolations( java.lang.Iterable values) { @@ -1712,7 +1711,7 @@ public Builder addAllViolations( * Describes all precondition violations. * * - * repeated .rpc.v1.PreconditionFailure.Violation violations = 1 [json_name = "violations"]; + * repeated .rpc.v1.PreconditionFailure.Violation violations = 1; */ public Builder clearViolations() { if (violationsBuilder_ == null) { @@ -1729,7 +1728,7 @@ public Builder clearViolations() { * Describes all precondition violations. * * - * repeated .rpc.v1.PreconditionFailure.Violation violations = 1 [json_name = "violations"]; + * repeated .rpc.v1.PreconditionFailure.Violation violations = 1; */ public Builder removeViolations(int index) { if (violationsBuilder_ == null) { @@ -1746,7 +1745,7 @@ public Builder removeViolations(int index) { * Describes all precondition violations. * * - * repeated .rpc.v1.PreconditionFailure.Violation violations = 1 [json_name = "violations"]; + * repeated .rpc.v1.PreconditionFailure.Violation violations = 1; */ public org.vdaas.vald.api.v1.rpc.PreconditionFailure.Violation.Builder getViolationsBuilder( int index) { @@ -1757,7 +1756,7 @@ public org.vdaas.vald.api.v1.rpc.PreconditionFailure.Violation.Builder getViolat * Describes all precondition violations. * * - * repeated .rpc.v1.PreconditionFailure.Violation violations = 1 [json_name = "violations"]; + * repeated .rpc.v1.PreconditionFailure.Violation violations = 1; */ public org.vdaas.vald.api.v1.rpc.PreconditionFailure.ViolationOrBuilder getViolationsOrBuilder( int index) { @@ -1771,7 +1770,7 @@ public org.vdaas.vald.api.v1.rpc.PreconditionFailure.ViolationOrBuilder getViola * Describes all precondition violations. * * - * repeated .rpc.v1.PreconditionFailure.Violation violations = 1 [json_name = "violations"]; + * repeated .rpc.v1.PreconditionFailure.Violation violations = 1; */ public java.util.List getViolationsOrBuilderList() { @@ -1786,7 +1785,7 @@ public org.vdaas.vald.api.v1.rpc.PreconditionFailure.ViolationOrBuilder getViola * Describes all precondition violations. * * - * repeated .rpc.v1.PreconditionFailure.Violation violations = 1 [json_name = "violations"]; + * repeated .rpc.v1.PreconditionFailure.Violation violations = 1; */ public org.vdaas.vald.api.v1.rpc.PreconditionFailure.Violation.Builder addViolationsBuilder() { return getViolationsFieldBuilder().addBuilder( @@ -1797,7 +1796,7 @@ public org.vdaas.vald.api.v1.rpc.PreconditionFailure.Violation.Builder addViolat * Describes all precondition violations. * * - * repeated .rpc.v1.PreconditionFailure.Violation violations = 1 [json_name = "violations"]; + * repeated .rpc.v1.PreconditionFailure.Violation violations = 1; */ public org.vdaas.vald.api.v1.rpc.PreconditionFailure.Violation.Builder addViolationsBuilder( int index) { @@ -1809,7 +1808,7 @@ public org.vdaas.vald.api.v1.rpc.PreconditionFailure.Violation.Builder addViolat * Describes all precondition violations. * * - * repeated .rpc.v1.PreconditionFailure.Violation violations = 1 [json_name = "violations"]; + * repeated .rpc.v1.PreconditionFailure.Violation violations = 1; */ public java.util.List getViolationsBuilderList() { diff --git a/src/main/java/org/vdaas/vald/api/v1/rpc/PreconditionFailureOrBuilder.java b/src/main/java/org/vdaas/vald/api/v1/rpc/PreconditionFailureOrBuilder.java index 17029ccd..f9d484cb 100644 --- a/src/main/java/org/vdaas/vald/api/v1/rpc/PreconditionFailureOrBuilder.java +++ b/src/main/java/org/vdaas/vald/api/v1/rpc/PreconditionFailureOrBuilder.java @@ -1,7 +1,6 @@ // Generated by the protocol buffer compiler. DO NOT EDIT! -// source: v1/rpc/errdetails/error_details.proto +// source: apis/proto/v1/rpc/error_details.proto -// Protobuf Java Version: 3.25.1 package org.vdaas.vald.api.v1.rpc; public interface PreconditionFailureOrBuilder extends @@ -13,7 +12,7 @@ public interface PreconditionFailureOrBuilder extends * Describes all precondition violations. * * - * repeated .rpc.v1.PreconditionFailure.Violation violations = 1 [json_name = "violations"]; + * repeated .rpc.v1.PreconditionFailure.Violation violations = 1; */ java.util.List getViolationsList(); @@ -22,7 +21,7 @@ public interface PreconditionFailureOrBuilder extends * Describes all precondition violations. * * - * repeated .rpc.v1.PreconditionFailure.Violation violations = 1 [json_name = "violations"]; + * repeated .rpc.v1.PreconditionFailure.Violation violations = 1; */ org.vdaas.vald.api.v1.rpc.PreconditionFailure.Violation getViolations(int index); /** @@ -30,7 +29,7 @@ public interface PreconditionFailureOrBuilder extends * Describes all precondition violations. * * - * repeated .rpc.v1.PreconditionFailure.Violation violations = 1 [json_name = "violations"]; + * repeated .rpc.v1.PreconditionFailure.Violation violations = 1; */ int getViolationsCount(); /** @@ -38,7 +37,7 @@ public interface PreconditionFailureOrBuilder extends * Describes all precondition violations. * * - * repeated .rpc.v1.PreconditionFailure.Violation violations = 1 [json_name = "violations"]; + * repeated .rpc.v1.PreconditionFailure.Violation violations = 1; */ java.util.List getViolationsOrBuilderList(); @@ -47,7 +46,7 @@ public interface PreconditionFailureOrBuilder extends * Describes all precondition violations. * * - * repeated .rpc.v1.PreconditionFailure.Violation violations = 1 [json_name = "violations"]; + * repeated .rpc.v1.PreconditionFailure.Violation violations = 1; */ org.vdaas.vald.api.v1.rpc.PreconditionFailure.ViolationOrBuilder getViolationsOrBuilder( int index); diff --git a/src/main/java/org/vdaas/vald/api/v1/rpc/QuotaFailure.java b/src/main/java/org/vdaas/vald/api/v1/rpc/QuotaFailure.java index cd550db9..8cbacf6f 100644 --- a/src/main/java/org/vdaas/vald/api/v1/rpc/QuotaFailure.java +++ b/src/main/java/org/vdaas/vald/api/v1/rpc/QuotaFailure.java @@ -1,7 +1,6 @@ // Generated by the protocol buffer compiler. DO NOT EDIT! -// source: v1/rpc/errdetails/error_details.proto +// source: apis/proto/v1/rpc/error_details.proto -// Protobuf Java Version: 3.25.1 package org.vdaas.vald.api.v1.rpc; /** @@ -65,7 +64,7 @@ public interface ViolationOrBuilder extends * developer project id>". * * - * string subject = 1 [json_name = "subject"]; + * string subject = 1; * @return The subject. */ java.lang.String getSubject(); @@ -76,7 +75,7 @@ public interface ViolationOrBuilder extends * developer project id>". * * - * string subject = 1 [json_name = "subject"]; + * string subject = 1; * @return The bytes for subject. */ com.google.protobuf.ByteString @@ -93,7 +92,7 @@ public interface ViolationOrBuilder extends * exceeded". * * - * string description = 2 [json_name = "description"]; + * string description = 2; * @return The description. */ java.lang.String getDescription(); @@ -108,7 +107,7 @@ public interface ViolationOrBuilder extends * exceeded". * * - * string description = 2 [json_name = "description"]; + * string description = 2; * @return The bytes for description. */ com.google.protobuf.ByteString @@ -166,7 +165,7 @@ protected java.lang.Object newInstance( * developer project id>". * * - * string subject = 1 [json_name = "subject"]; + * string subject = 1; * @return The subject. */ @java.lang.Override @@ -189,7 +188,7 @@ public java.lang.String getSubject() { * developer project id>". * * - * string subject = 1 [json_name = "subject"]; + * string subject = 1; * @return The bytes for subject. */ @java.lang.Override @@ -221,7 +220,7 @@ public java.lang.String getSubject() { * exceeded". * * - * string description = 2 [json_name = "description"]; + * string description = 2; * @return The description. */ @java.lang.Override @@ -248,7 +247,7 @@ public java.lang.String getDescription() { * exceeded". * * - * string description = 2 [json_name = "description"]; + * string description = 2; * @return The bytes for description. */ @java.lang.Override @@ -629,7 +628,7 @@ public Builder mergeFrom( * developer project id>". * * - * string subject = 1 [json_name = "subject"]; + * string subject = 1; * @return The subject. */ public java.lang.String getSubject() { @@ -651,7 +650,7 @@ public java.lang.String getSubject() { * developer project id>". * * - * string subject = 1 [json_name = "subject"]; + * string subject = 1; * @return The bytes for subject. */ public com.google.protobuf.ByteString @@ -674,7 +673,7 @@ public java.lang.String getSubject() { * developer project id>". * * - * string subject = 1 [json_name = "subject"]; + * string subject = 1; * @param value The subject to set. * @return This builder for chaining. */ @@ -693,7 +692,7 @@ public Builder setSubject( * developer project id>". * * - * string subject = 1 [json_name = "subject"]; + * string subject = 1; * @return This builder for chaining. */ public Builder clearSubject() { @@ -709,7 +708,7 @@ public Builder clearSubject() { * developer project id>". * * - * string subject = 1 [json_name = "subject"]; + * string subject = 1; * @param value The bytes for subject to set. * @return This builder for chaining. */ @@ -735,7 +734,7 @@ public Builder setSubjectBytes( * exceeded". * * - * string description = 2 [json_name = "description"]; + * string description = 2; * @return The description. */ public java.lang.String getDescription() { @@ -761,7 +760,7 @@ public java.lang.String getDescription() { * exceeded". * * - * string description = 2 [json_name = "description"]; + * string description = 2; * @return The bytes for description. */ public com.google.protobuf.ByteString @@ -788,7 +787,7 @@ public java.lang.String getDescription() { * exceeded". * * - * string description = 2 [json_name = "description"]; + * string description = 2; * @param value The description to set. * @return This builder for chaining. */ @@ -811,7 +810,7 @@ public Builder setDescription( * exceeded". * * - * string description = 2 [json_name = "description"]; + * string description = 2; * @return This builder for chaining. */ public Builder clearDescription() { @@ -831,7 +830,7 @@ public Builder clearDescription() { * exceeded". * * - * string description = 2 [json_name = "description"]; + * string description = 2; * @param value The bytes for description to set. * @return This builder for chaining. */ @@ -916,7 +915,7 @@ public org.vdaas.vald.api.v1.rpc.QuotaFailure.Violation getDefaultInstanceForTyp * Describes all quota violations. * * - * repeated .rpc.v1.QuotaFailure.Violation violations = 1 [json_name = "violations"]; + * repeated .rpc.v1.QuotaFailure.Violation violations = 1; */ @java.lang.Override public java.util.List getViolationsList() { @@ -927,7 +926,7 @@ public java.util.List getViola * Describes all quota violations. * * - * repeated .rpc.v1.QuotaFailure.Violation violations = 1 [json_name = "violations"]; + * repeated .rpc.v1.QuotaFailure.Violation violations = 1; */ @java.lang.Override public java.util.List @@ -939,7 +938,7 @@ public java.util.List getViola * Describes all quota violations. * * - * repeated .rpc.v1.QuotaFailure.Violation violations = 1 [json_name = "violations"]; + * repeated .rpc.v1.QuotaFailure.Violation violations = 1; */ @java.lang.Override public int getViolationsCount() { @@ -950,7 +949,7 @@ public int getViolationsCount() { * Describes all quota violations. * * - * repeated .rpc.v1.QuotaFailure.Violation violations = 1 [json_name = "violations"]; + * repeated .rpc.v1.QuotaFailure.Violation violations = 1; */ @java.lang.Override public org.vdaas.vald.api.v1.rpc.QuotaFailure.Violation getViolations(int index) { @@ -961,7 +960,7 @@ public org.vdaas.vald.api.v1.rpc.QuotaFailure.Violation getViolations(int index) * Describes all quota violations. * * - * repeated .rpc.v1.QuotaFailure.Violation violations = 1 [json_name = "violations"]; + * repeated .rpc.v1.QuotaFailure.Violation violations = 1; */ @java.lang.Override public org.vdaas.vald.api.v1.rpc.QuotaFailure.ViolationOrBuilder getViolationsOrBuilder( @@ -1374,7 +1373,7 @@ private void ensureViolationsIsMutable() { * Describes all quota violations. * * - * repeated .rpc.v1.QuotaFailure.Violation violations = 1 [json_name = "violations"]; + * repeated .rpc.v1.QuotaFailure.Violation violations = 1; */ public java.util.List getViolationsList() { if (violationsBuilder_ == null) { @@ -1388,7 +1387,7 @@ public java.util.List getViola * Describes all quota violations. * * - * repeated .rpc.v1.QuotaFailure.Violation violations = 1 [json_name = "violations"]; + * repeated .rpc.v1.QuotaFailure.Violation violations = 1; */ public int getViolationsCount() { if (violationsBuilder_ == null) { @@ -1402,7 +1401,7 @@ public int getViolationsCount() { * Describes all quota violations. * * - * repeated .rpc.v1.QuotaFailure.Violation violations = 1 [json_name = "violations"]; + * repeated .rpc.v1.QuotaFailure.Violation violations = 1; */ public org.vdaas.vald.api.v1.rpc.QuotaFailure.Violation getViolations(int index) { if (violationsBuilder_ == null) { @@ -1416,7 +1415,7 @@ public org.vdaas.vald.api.v1.rpc.QuotaFailure.Violation getViolations(int index) * Describes all quota violations. * * - * repeated .rpc.v1.QuotaFailure.Violation violations = 1 [json_name = "violations"]; + * repeated .rpc.v1.QuotaFailure.Violation violations = 1; */ public Builder setViolations( int index, org.vdaas.vald.api.v1.rpc.QuotaFailure.Violation value) { @@ -1437,7 +1436,7 @@ public Builder setViolations( * Describes all quota violations. * * - * repeated .rpc.v1.QuotaFailure.Violation violations = 1 [json_name = "violations"]; + * repeated .rpc.v1.QuotaFailure.Violation violations = 1; */ public Builder setViolations( int index, org.vdaas.vald.api.v1.rpc.QuotaFailure.Violation.Builder builderForValue) { @@ -1455,7 +1454,7 @@ public Builder setViolations( * Describes all quota violations. * * - * repeated .rpc.v1.QuotaFailure.Violation violations = 1 [json_name = "violations"]; + * repeated .rpc.v1.QuotaFailure.Violation violations = 1; */ public Builder addViolations(org.vdaas.vald.api.v1.rpc.QuotaFailure.Violation value) { if (violationsBuilder_ == null) { @@ -1475,7 +1474,7 @@ public Builder addViolations(org.vdaas.vald.api.v1.rpc.QuotaFailure.Violation va * Describes all quota violations. * * - * repeated .rpc.v1.QuotaFailure.Violation violations = 1 [json_name = "violations"]; + * repeated .rpc.v1.QuotaFailure.Violation violations = 1; */ public Builder addViolations( int index, org.vdaas.vald.api.v1.rpc.QuotaFailure.Violation value) { @@ -1496,7 +1495,7 @@ public Builder addViolations( * Describes all quota violations. * * - * repeated .rpc.v1.QuotaFailure.Violation violations = 1 [json_name = "violations"]; + * repeated .rpc.v1.QuotaFailure.Violation violations = 1; */ public Builder addViolations( org.vdaas.vald.api.v1.rpc.QuotaFailure.Violation.Builder builderForValue) { @@ -1514,7 +1513,7 @@ public Builder addViolations( * Describes all quota violations. * * - * repeated .rpc.v1.QuotaFailure.Violation violations = 1 [json_name = "violations"]; + * repeated .rpc.v1.QuotaFailure.Violation violations = 1; */ public Builder addViolations( int index, org.vdaas.vald.api.v1.rpc.QuotaFailure.Violation.Builder builderForValue) { @@ -1532,7 +1531,7 @@ public Builder addViolations( * Describes all quota violations. * * - * repeated .rpc.v1.QuotaFailure.Violation violations = 1 [json_name = "violations"]; + * repeated .rpc.v1.QuotaFailure.Violation violations = 1; */ public Builder addAllViolations( java.lang.Iterable values) { @@ -1551,7 +1550,7 @@ public Builder addAllViolations( * Describes all quota violations. * * - * repeated .rpc.v1.QuotaFailure.Violation violations = 1 [json_name = "violations"]; + * repeated .rpc.v1.QuotaFailure.Violation violations = 1; */ public Builder clearViolations() { if (violationsBuilder_ == null) { @@ -1568,7 +1567,7 @@ public Builder clearViolations() { * Describes all quota violations. * * - * repeated .rpc.v1.QuotaFailure.Violation violations = 1 [json_name = "violations"]; + * repeated .rpc.v1.QuotaFailure.Violation violations = 1; */ public Builder removeViolations(int index) { if (violationsBuilder_ == null) { @@ -1585,7 +1584,7 @@ public Builder removeViolations(int index) { * Describes all quota violations. * * - * repeated .rpc.v1.QuotaFailure.Violation violations = 1 [json_name = "violations"]; + * repeated .rpc.v1.QuotaFailure.Violation violations = 1; */ public org.vdaas.vald.api.v1.rpc.QuotaFailure.Violation.Builder getViolationsBuilder( int index) { @@ -1596,7 +1595,7 @@ public org.vdaas.vald.api.v1.rpc.QuotaFailure.Violation.Builder getViolationsBui * Describes all quota violations. * * - * repeated .rpc.v1.QuotaFailure.Violation violations = 1 [json_name = "violations"]; + * repeated .rpc.v1.QuotaFailure.Violation violations = 1; */ public org.vdaas.vald.api.v1.rpc.QuotaFailure.ViolationOrBuilder getViolationsOrBuilder( int index) { @@ -1610,7 +1609,7 @@ public org.vdaas.vald.api.v1.rpc.QuotaFailure.ViolationOrBuilder getViolationsOr * Describes all quota violations. * * - * repeated .rpc.v1.QuotaFailure.Violation violations = 1 [json_name = "violations"]; + * repeated .rpc.v1.QuotaFailure.Violation violations = 1; */ public java.util.List getViolationsOrBuilderList() { @@ -1625,7 +1624,7 @@ public org.vdaas.vald.api.v1.rpc.QuotaFailure.ViolationOrBuilder getViolationsOr * Describes all quota violations. * * - * repeated .rpc.v1.QuotaFailure.Violation violations = 1 [json_name = "violations"]; + * repeated .rpc.v1.QuotaFailure.Violation violations = 1; */ public org.vdaas.vald.api.v1.rpc.QuotaFailure.Violation.Builder addViolationsBuilder() { return getViolationsFieldBuilder().addBuilder( @@ -1636,7 +1635,7 @@ public org.vdaas.vald.api.v1.rpc.QuotaFailure.Violation.Builder addViolationsBui * Describes all quota violations. * * - * repeated .rpc.v1.QuotaFailure.Violation violations = 1 [json_name = "violations"]; + * repeated .rpc.v1.QuotaFailure.Violation violations = 1; */ public org.vdaas.vald.api.v1.rpc.QuotaFailure.Violation.Builder addViolationsBuilder( int index) { @@ -1648,7 +1647,7 @@ public org.vdaas.vald.api.v1.rpc.QuotaFailure.Violation.Builder addViolationsBui * Describes all quota violations. * * - * repeated .rpc.v1.QuotaFailure.Violation violations = 1 [json_name = "violations"]; + * repeated .rpc.v1.QuotaFailure.Violation violations = 1; */ public java.util.List getViolationsBuilderList() { diff --git a/src/main/java/org/vdaas/vald/api/v1/rpc/QuotaFailureOrBuilder.java b/src/main/java/org/vdaas/vald/api/v1/rpc/QuotaFailureOrBuilder.java index 47ea0428..50adf17d 100644 --- a/src/main/java/org/vdaas/vald/api/v1/rpc/QuotaFailureOrBuilder.java +++ b/src/main/java/org/vdaas/vald/api/v1/rpc/QuotaFailureOrBuilder.java @@ -1,7 +1,6 @@ // Generated by the protocol buffer compiler. DO NOT EDIT! -// source: v1/rpc/errdetails/error_details.proto +// source: apis/proto/v1/rpc/error_details.proto -// Protobuf Java Version: 3.25.1 package org.vdaas.vald.api.v1.rpc; public interface QuotaFailureOrBuilder extends @@ -13,7 +12,7 @@ public interface QuotaFailureOrBuilder extends * Describes all quota violations. * * - * repeated .rpc.v1.QuotaFailure.Violation violations = 1 [json_name = "violations"]; + * repeated .rpc.v1.QuotaFailure.Violation violations = 1; */ java.util.List getViolationsList(); @@ -22,7 +21,7 @@ public interface QuotaFailureOrBuilder extends * Describes all quota violations. * * - * repeated .rpc.v1.QuotaFailure.Violation violations = 1 [json_name = "violations"]; + * repeated .rpc.v1.QuotaFailure.Violation violations = 1; */ org.vdaas.vald.api.v1.rpc.QuotaFailure.Violation getViolations(int index); /** @@ -30,7 +29,7 @@ public interface QuotaFailureOrBuilder extends * Describes all quota violations. * * - * repeated .rpc.v1.QuotaFailure.Violation violations = 1 [json_name = "violations"]; + * repeated .rpc.v1.QuotaFailure.Violation violations = 1; */ int getViolationsCount(); /** @@ -38,7 +37,7 @@ public interface QuotaFailureOrBuilder extends * Describes all quota violations. * * - * repeated .rpc.v1.QuotaFailure.Violation violations = 1 [json_name = "violations"]; + * repeated .rpc.v1.QuotaFailure.Violation violations = 1; */ java.util.List getViolationsOrBuilderList(); @@ -47,7 +46,7 @@ public interface QuotaFailureOrBuilder extends * Describes all quota violations. * * - * repeated .rpc.v1.QuotaFailure.Violation violations = 1 [json_name = "violations"]; + * repeated .rpc.v1.QuotaFailure.Violation violations = 1; */ org.vdaas.vald.api.v1.rpc.QuotaFailure.ViolationOrBuilder getViolationsOrBuilder( int index); diff --git a/src/main/java/org/vdaas/vald/api/v1/rpc/RequestInfo.java b/src/main/java/org/vdaas/vald/api/v1/rpc/RequestInfo.java index 8d8eecfb..fce68028 100644 --- a/src/main/java/org/vdaas/vald/api/v1/rpc/RequestInfo.java +++ b/src/main/java/org/vdaas/vald/api/v1/rpc/RequestInfo.java @@ -1,7 +1,6 @@ // Generated by the protocol buffer compiler. DO NOT EDIT! -// source: v1/rpc/errdetails/error_details.proto +// source: apis/proto/v1/rpc/error_details.proto -// Protobuf Java Version: 3.25.1 package org.vdaas.vald.api.v1.rpc; /** @@ -55,7 +54,7 @@ protected java.lang.Object newInstance( * it. For example, it can be used to identify requests in the service's logs. * * - * string request_id = 1 [json_name = "requestId"]; + * string request_id = 1; * @return The requestId. */ @java.lang.Override @@ -77,7 +76,7 @@ public java.lang.String getRequestId() { * it. For example, it can be used to identify requests in the service's logs. * * - * string request_id = 1 [json_name = "requestId"]; + * string request_id = 1; * @return The bytes for requestId. */ @java.lang.Override @@ -104,7 +103,7 @@ public java.lang.String getRequestId() { * stack trace that can be sent back to the service provider for debugging. * * - * string serving_data = 2 [json_name = "servingData"]; + * string serving_data = 2; * @return The servingData. */ @java.lang.Override @@ -126,7 +125,7 @@ public java.lang.String getServingData() { * stack trace that can be sent back to the service provider for debugging. * * - * string serving_data = 2 [json_name = "servingData"]; + * string serving_data = 2; * @return The bytes for servingData. */ @java.lang.Override @@ -506,7 +505,7 @@ public Builder mergeFrom( * it. For example, it can be used to identify requests in the service's logs. * * - * string request_id = 1 [json_name = "requestId"]; + * string request_id = 1; * @return The requestId. */ public java.lang.String getRequestId() { @@ -527,7 +526,7 @@ public java.lang.String getRequestId() { * it. For example, it can be used to identify requests in the service's logs. * * - * string request_id = 1 [json_name = "requestId"]; + * string request_id = 1; * @return The bytes for requestId. */ public com.google.protobuf.ByteString @@ -549,7 +548,7 @@ public java.lang.String getRequestId() { * it. For example, it can be used to identify requests in the service's logs. * * - * string request_id = 1 [json_name = "requestId"]; + * string request_id = 1; * @param value The requestId to set. * @return This builder for chaining. */ @@ -567,7 +566,7 @@ public Builder setRequestId( * it. For example, it can be used to identify requests in the service's logs. * * - * string request_id = 1 [json_name = "requestId"]; + * string request_id = 1; * @return This builder for chaining. */ public Builder clearRequestId() { @@ -582,7 +581,7 @@ public Builder clearRequestId() { * it. For example, it can be used to identify requests in the service's logs. * * - * string request_id = 1 [json_name = "requestId"]; + * string request_id = 1; * @param value The bytes for requestId to set. * @return This builder for chaining. */ @@ -603,7 +602,7 @@ public Builder setRequestIdBytes( * stack trace that can be sent back to the service provider for debugging. * * - * string serving_data = 2 [json_name = "servingData"]; + * string serving_data = 2; * @return The servingData. */ public java.lang.String getServingData() { @@ -624,7 +623,7 @@ public java.lang.String getServingData() { * stack trace that can be sent back to the service provider for debugging. * * - * string serving_data = 2 [json_name = "servingData"]; + * string serving_data = 2; * @return The bytes for servingData. */ public com.google.protobuf.ByteString @@ -646,7 +645,7 @@ public java.lang.String getServingData() { * stack trace that can be sent back to the service provider for debugging. * * - * string serving_data = 2 [json_name = "servingData"]; + * string serving_data = 2; * @param value The servingData to set. * @return This builder for chaining. */ @@ -664,7 +663,7 @@ public Builder setServingData( * stack trace that can be sent back to the service provider for debugging. * * - * string serving_data = 2 [json_name = "servingData"]; + * string serving_data = 2; * @return This builder for chaining. */ public Builder clearServingData() { @@ -679,7 +678,7 @@ public Builder clearServingData() { * stack trace that can be sent back to the service provider for debugging. * * - * string serving_data = 2 [json_name = "servingData"]; + * string serving_data = 2; * @param value The bytes for servingData to set. * @return This builder for chaining. */ diff --git a/src/main/java/org/vdaas/vald/api/v1/rpc/RequestInfoOrBuilder.java b/src/main/java/org/vdaas/vald/api/v1/rpc/RequestInfoOrBuilder.java index 64f7c50d..5f261410 100644 --- a/src/main/java/org/vdaas/vald/api/v1/rpc/RequestInfoOrBuilder.java +++ b/src/main/java/org/vdaas/vald/api/v1/rpc/RequestInfoOrBuilder.java @@ -1,7 +1,6 @@ // Generated by the protocol buffer compiler. DO NOT EDIT! -// source: v1/rpc/errdetails/error_details.proto +// source: apis/proto/v1/rpc/error_details.proto -// Protobuf Java Version: 3.25.1 package org.vdaas.vald.api.v1.rpc; public interface RequestInfoOrBuilder extends @@ -14,7 +13,7 @@ public interface RequestInfoOrBuilder extends * it. For example, it can be used to identify requests in the service's logs. * * - * string request_id = 1 [json_name = "requestId"]; + * string request_id = 1; * @return The requestId. */ java.lang.String getRequestId(); @@ -24,7 +23,7 @@ public interface RequestInfoOrBuilder extends * it. For example, it can be used to identify requests in the service's logs. * * - * string request_id = 1 [json_name = "requestId"]; + * string request_id = 1; * @return The bytes for requestId. */ com.google.protobuf.ByteString @@ -36,7 +35,7 @@ public interface RequestInfoOrBuilder extends * stack trace that can be sent back to the service provider for debugging. * * - * string serving_data = 2 [json_name = "servingData"]; + * string serving_data = 2; * @return The servingData. */ java.lang.String getServingData(); @@ -46,7 +45,7 @@ public interface RequestInfoOrBuilder extends * stack trace that can be sent back to the service provider for debugging. * * - * string serving_data = 2 [json_name = "servingData"]; + * string serving_data = 2; * @return The bytes for servingData. */ com.google.protobuf.ByteString diff --git a/src/main/java/org/vdaas/vald/api/v1/rpc/ResourceInfo.java b/src/main/java/org/vdaas/vald/api/v1/rpc/ResourceInfo.java index ecd7c561..1338f7b1 100644 --- a/src/main/java/org/vdaas/vald/api/v1/rpc/ResourceInfo.java +++ b/src/main/java/org/vdaas/vald/api/v1/rpc/ResourceInfo.java @@ -1,7 +1,6 @@ // Generated by the protocol buffer compiler. DO NOT EDIT! -// source: v1/rpc/errdetails/error_details.proto +// source: apis/proto/v1/rpc/error_details.proto -// Protobuf Java Version: 3.25.1 package org.vdaas.vald.api.v1.rpc; /** @@ -57,7 +56,7 @@ protected java.lang.Object newInstance( * of the resource: e.g. "type.googleapis.com/google.pubsub.v1.Topic". * * - * string resource_type = 1 [json_name = "resourceType"]; + * string resource_type = 1; * @return The resourceType. */ @java.lang.Override @@ -80,7 +79,7 @@ public java.lang.String getResourceType() { * of the resource: e.g. "type.googleapis.com/google.pubsub.v1.Topic". * * - * string resource_type = 1 [json_name = "resourceType"]; + * string resource_type = 1; * @return The bytes for resourceType. */ @java.lang.Override @@ -109,7 +108,7 @@ public java.lang.String getResourceType() { * [google.rpc.Code.PERMISSION_DENIED][google.rpc.Code.PERMISSION_DENIED]. * * - * string resource_name = 2 [json_name = "resourceName"]; + * string resource_name = 2; * @return The resourceName. */ @java.lang.Override @@ -133,7 +132,7 @@ public java.lang.String getResourceName() { * [google.rpc.Code.PERMISSION_DENIED][google.rpc.Code.PERMISSION_DENIED]. * * - * string resource_name = 2 [json_name = "resourceName"]; + * string resource_name = 2; * @return The bytes for resourceName. */ @java.lang.Override @@ -161,7 +160,7 @@ public java.lang.String getResourceName() { * id>". * * - * string owner = 3 [json_name = "owner"]; + * string owner = 3; * @return The owner. */ @java.lang.Override @@ -184,7 +183,7 @@ public java.lang.String getOwner() { * id>". * * - * string owner = 3 [json_name = "owner"]; + * string owner = 3; * @return The bytes for owner. */ @java.lang.Override @@ -212,7 +211,7 @@ public java.lang.String getOwner() { * on the developer console project. * * - * string description = 4 [json_name = "description"]; + * string description = 4; * @return The description. */ @java.lang.Override @@ -235,7 +234,7 @@ public java.lang.String getDescription() { * on the developer console project. * * - * string description = 4 [json_name = "description"]; + * string description = 4; * @return The bytes for description. */ @java.lang.Override @@ -663,7 +662,7 @@ public Builder mergeFrom( * of the resource: e.g. "type.googleapis.com/google.pubsub.v1.Topic". * * - * string resource_type = 1 [json_name = "resourceType"]; + * string resource_type = 1; * @return The resourceType. */ public java.lang.String getResourceType() { @@ -685,7 +684,7 @@ public java.lang.String getResourceType() { * of the resource: e.g. "type.googleapis.com/google.pubsub.v1.Topic". * * - * string resource_type = 1 [json_name = "resourceType"]; + * string resource_type = 1; * @return The bytes for resourceType. */ public com.google.protobuf.ByteString @@ -708,7 +707,7 @@ public java.lang.String getResourceType() { * of the resource: e.g. "type.googleapis.com/google.pubsub.v1.Topic". * * - * string resource_type = 1 [json_name = "resourceType"]; + * string resource_type = 1; * @param value The resourceType to set. * @return This builder for chaining. */ @@ -727,7 +726,7 @@ public Builder setResourceType( * of the resource: e.g. "type.googleapis.com/google.pubsub.v1.Topic". * * - * string resource_type = 1 [json_name = "resourceType"]; + * string resource_type = 1; * @return This builder for chaining. */ public Builder clearResourceType() { @@ -743,7 +742,7 @@ public Builder clearResourceType() { * of the resource: e.g. "type.googleapis.com/google.pubsub.v1.Topic". * * - * string resource_type = 1 [json_name = "resourceType"]; + * string resource_type = 1; * @param value The bytes for resourceType to set. * @return This builder for chaining. */ @@ -766,7 +765,7 @@ public Builder setResourceTypeBytes( * [google.rpc.Code.PERMISSION_DENIED][google.rpc.Code.PERMISSION_DENIED]. * * - * string resource_name = 2 [json_name = "resourceName"]; + * string resource_name = 2; * @return The resourceName. */ public java.lang.String getResourceName() { @@ -789,7 +788,7 @@ public java.lang.String getResourceName() { * [google.rpc.Code.PERMISSION_DENIED][google.rpc.Code.PERMISSION_DENIED]. * * - * string resource_name = 2 [json_name = "resourceName"]; + * string resource_name = 2; * @return The bytes for resourceName. */ public com.google.protobuf.ByteString @@ -813,7 +812,7 @@ public java.lang.String getResourceName() { * [google.rpc.Code.PERMISSION_DENIED][google.rpc.Code.PERMISSION_DENIED]. * * - * string resource_name = 2 [json_name = "resourceName"]; + * string resource_name = 2; * @param value The resourceName to set. * @return This builder for chaining. */ @@ -833,7 +832,7 @@ public Builder setResourceName( * [google.rpc.Code.PERMISSION_DENIED][google.rpc.Code.PERMISSION_DENIED]. * * - * string resource_name = 2 [json_name = "resourceName"]; + * string resource_name = 2; * @return This builder for chaining. */ public Builder clearResourceName() { @@ -850,7 +849,7 @@ public Builder clearResourceName() { * [google.rpc.Code.PERMISSION_DENIED][google.rpc.Code.PERMISSION_DENIED]. * * - * string resource_name = 2 [json_name = "resourceName"]; + * string resource_name = 2; * @param value The bytes for resourceName to set. * @return This builder for chaining. */ @@ -872,7 +871,7 @@ public Builder setResourceNameBytes( * id>". * * - * string owner = 3 [json_name = "owner"]; + * string owner = 3; * @return The owner. */ public java.lang.String getOwner() { @@ -894,7 +893,7 @@ public java.lang.String getOwner() { * id>". * * - * string owner = 3 [json_name = "owner"]; + * string owner = 3; * @return The bytes for owner. */ public com.google.protobuf.ByteString @@ -917,7 +916,7 @@ public java.lang.String getOwner() { * id>". * * - * string owner = 3 [json_name = "owner"]; + * string owner = 3; * @param value The owner to set. * @return This builder for chaining. */ @@ -936,7 +935,7 @@ public Builder setOwner( * id>". * * - * string owner = 3 [json_name = "owner"]; + * string owner = 3; * @return This builder for chaining. */ public Builder clearOwner() { @@ -952,7 +951,7 @@ public Builder clearOwner() { * id>". * * - * string owner = 3 [json_name = "owner"]; + * string owner = 3; * @param value The bytes for owner to set. * @return This builder for chaining. */ @@ -974,7 +973,7 @@ public Builder setOwnerBytes( * on the developer console project. * * - * string description = 4 [json_name = "description"]; + * string description = 4; * @return The description. */ public java.lang.String getDescription() { @@ -996,7 +995,7 @@ public java.lang.String getDescription() { * on the developer console project. * * - * string description = 4 [json_name = "description"]; + * string description = 4; * @return The bytes for description. */ public com.google.protobuf.ByteString @@ -1019,7 +1018,7 @@ public java.lang.String getDescription() { * on the developer console project. * * - * string description = 4 [json_name = "description"]; + * string description = 4; * @param value The description to set. * @return This builder for chaining. */ @@ -1038,7 +1037,7 @@ public Builder setDescription( * on the developer console project. * * - * string description = 4 [json_name = "description"]; + * string description = 4; * @return This builder for chaining. */ public Builder clearDescription() { @@ -1054,7 +1053,7 @@ public Builder clearDescription() { * on the developer console project. * * - * string description = 4 [json_name = "description"]; + * string description = 4; * @param value The bytes for description to set. * @return This builder for chaining. */ diff --git a/src/main/java/org/vdaas/vald/api/v1/rpc/ResourceInfoOrBuilder.java b/src/main/java/org/vdaas/vald/api/v1/rpc/ResourceInfoOrBuilder.java index 40d52443..90e9033b 100644 --- a/src/main/java/org/vdaas/vald/api/v1/rpc/ResourceInfoOrBuilder.java +++ b/src/main/java/org/vdaas/vald/api/v1/rpc/ResourceInfoOrBuilder.java @@ -1,7 +1,6 @@ // Generated by the protocol buffer compiler. DO NOT EDIT! -// source: v1/rpc/errdetails/error_details.proto +// source: apis/proto/v1/rpc/error_details.proto -// Protobuf Java Version: 3.25.1 package org.vdaas.vald.api.v1.rpc; public interface ResourceInfoOrBuilder extends @@ -15,7 +14,7 @@ public interface ResourceInfoOrBuilder extends * of the resource: e.g. "type.googleapis.com/google.pubsub.v1.Topic". * * - * string resource_type = 1 [json_name = "resourceType"]; + * string resource_type = 1; * @return The resourceType. */ java.lang.String getResourceType(); @@ -26,7 +25,7 @@ public interface ResourceInfoOrBuilder extends * of the resource: e.g. "type.googleapis.com/google.pubsub.v1.Topic". * * - * string resource_type = 1 [json_name = "resourceType"]; + * string resource_type = 1; * @return The bytes for resourceType. */ com.google.protobuf.ByteString @@ -40,7 +39,7 @@ public interface ResourceInfoOrBuilder extends * [google.rpc.Code.PERMISSION_DENIED][google.rpc.Code.PERMISSION_DENIED]. * * - * string resource_name = 2 [json_name = "resourceName"]; + * string resource_name = 2; * @return The resourceName. */ java.lang.String getResourceName(); @@ -52,7 +51,7 @@ public interface ResourceInfoOrBuilder extends * [google.rpc.Code.PERMISSION_DENIED][google.rpc.Code.PERMISSION_DENIED]. * * - * string resource_name = 2 [json_name = "resourceName"]; + * string resource_name = 2; * @return The bytes for resourceName. */ com.google.protobuf.ByteString @@ -65,7 +64,7 @@ public interface ResourceInfoOrBuilder extends * id>". * * - * string owner = 3 [json_name = "owner"]; + * string owner = 3; * @return The owner. */ java.lang.String getOwner(); @@ -76,7 +75,7 @@ public interface ResourceInfoOrBuilder extends * id>". * * - * string owner = 3 [json_name = "owner"]; + * string owner = 3; * @return The bytes for owner. */ com.google.protobuf.ByteString @@ -89,7 +88,7 @@ public interface ResourceInfoOrBuilder extends * on the developer console project. * * - * string description = 4 [json_name = "description"]; + * string description = 4; * @return The description. */ java.lang.String getDescription(); @@ -100,7 +99,7 @@ public interface ResourceInfoOrBuilder extends * on the developer console project. * * - * string description = 4 [json_name = "description"]; + * string description = 4; * @return The bytes for description. */ com.google.protobuf.ByteString diff --git a/src/main/java/org/vdaas/vald/api/v1/rpc/RetryInfo.java b/src/main/java/org/vdaas/vald/api/v1/rpc/RetryInfo.java index ab51ccc8..3bfd547d 100644 --- a/src/main/java/org/vdaas/vald/api/v1/rpc/RetryInfo.java +++ b/src/main/java/org/vdaas/vald/api/v1/rpc/RetryInfo.java @@ -1,7 +1,6 @@ // Generated by the protocol buffer compiler. DO NOT EDIT! -// source: v1/rpc/errdetails/error_details.proto +// source: apis/proto/v1/rpc/error_details.proto -// Protobuf Java Version: 3.25.1 package org.vdaas.vald.api.v1.rpc; /** @@ -63,7 +62,7 @@ protected java.lang.Object newInstance( * Clients should wait at least this long between retrying the same request. * * - * .google.protobuf.Duration retry_delay = 1 [json_name = "retryDelay"]; + * .google.protobuf.Duration retry_delay = 1; * @return Whether the retryDelay field is set. */ @java.lang.Override @@ -75,7 +74,7 @@ public boolean hasRetryDelay() { * Clients should wait at least this long between retrying the same request. * * - * .google.protobuf.Duration retry_delay = 1 [json_name = "retryDelay"]; + * .google.protobuf.Duration retry_delay = 1; * @return The retryDelay. */ @java.lang.Override @@ -87,7 +86,7 @@ public com.google.protobuf.Duration getRetryDelay() { * Clients should wait at least this long between retrying the same request. * * - * .google.protobuf.Duration retry_delay = 1 [json_name = "retryDelay"]; + * .google.protobuf.Duration retry_delay = 1; */ @java.lang.Override public com.google.protobuf.DurationOrBuilder getRetryDelayOrBuilder() { @@ -465,7 +464,7 @@ public Builder mergeFrom( * Clients should wait at least this long between retrying the same request. * * - * .google.protobuf.Duration retry_delay = 1 [json_name = "retryDelay"]; + * .google.protobuf.Duration retry_delay = 1; * @return Whether the retryDelay field is set. */ public boolean hasRetryDelay() { @@ -476,7 +475,7 @@ public boolean hasRetryDelay() { * Clients should wait at least this long between retrying the same request. * * - * .google.protobuf.Duration retry_delay = 1 [json_name = "retryDelay"]; + * .google.protobuf.Duration retry_delay = 1; * @return The retryDelay. */ public com.google.protobuf.Duration getRetryDelay() { @@ -491,7 +490,7 @@ public com.google.protobuf.Duration getRetryDelay() { * Clients should wait at least this long between retrying the same request. * * - * .google.protobuf.Duration retry_delay = 1 [json_name = "retryDelay"]; + * .google.protobuf.Duration retry_delay = 1; */ public Builder setRetryDelay(com.google.protobuf.Duration value) { if (retryDelayBuilder_ == null) { @@ -511,7 +510,7 @@ public Builder setRetryDelay(com.google.protobuf.Duration value) { * Clients should wait at least this long between retrying the same request. * * - * .google.protobuf.Duration retry_delay = 1 [json_name = "retryDelay"]; + * .google.protobuf.Duration retry_delay = 1; */ public Builder setRetryDelay( com.google.protobuf.Duration.Builder builderForValue) { @@ -529,7 +528,7 @@ public Builder setRetryDelay( * Clients should wait at least this long between retrying the same request. * * - * .google.protobuf.Duration retry_delay = 1 [json_name = "retryDelay"]; + * .google.protobuf.Duration retry_delay = 1; */ public Builder mergeRetryDelay(com.google.protobuf.Duration value) { if (retryDelayBuilder_ == null) { @@ -554,7 +553,7 @@ public Builder mergeRetryDelay(com.google.protobuf.Duration value) { * Clients should wait at least this long between retrying the same request. * * - * .google.protobuf.Duration retry_delay = 1 [json_name = "retryDelay"]; + * .google.protobuf.Duration retry_delay = 1; */ public Builder clearRetryDelay() { bitField0_ = (bitField0_ & ~0x00000001); @@ -571,7 +570,7 @@ public Builder clearRetryDelay() { * Clients should wait at least this long between retrying the same request. * * - * .google.protobuf.Duration retry_delay = 1 [json_name = "retryDelay"]; + * .google.protobuf.Duration retry_delay = 1; */ public com.google.protobuf.Duration.Builder getRetryDelayBuilder() { bitField0_ |= 0x00000001; @@ -583,7 +582,7 @@ public com.google.protobuf.Duration.Builder getRetryDelayBuilder() { * Clients should wait at least this long between retrying the same request. * * - * .google.protobuf.Duration retry_delay = 1 [json_name = "retryDelay"]; + * .google.protobuf.Duration retry_delay = 1; */ public com.google.protobuf.DurationOrBuilder getRetryDelayOrBuilder() { if (retryDelayBuilder_ != null) { @@ -598,7 +597,7 @@ public com.google.protobuf.DurationOrBuilder getRetryDelayOrBuilder() { * Clients should wait at least this long between retrying the same request. * * - * .google.protobuf.Duration retry_delay = 1 [json_name = "retryDelay"]; + * .google.protobuf.Duration retry_delay = 1; */ private com.google.protobuf.SingleFieldBuilderV3< com.google.protobuf.Duration, com.google.protobuf.Duration.Builder, com.google.protobuf.DurationOrBuilder> diff --git a/src/main/java/org/vdaas/vald/api/v1/rpc/RetryInfoOrBuilder.java b/src/main/java/org/vdaas/vald/api/v1/rpc/RetryInfoOrBuilder.java index 728302ff..9ebebe8c 100644 --- a/src/main/java/org/vdaas/vald/api/v1/rpc/RetryInfoOrBuilder.java +++ b/src/main/java/org/vdaas/vald/api/v1/rpc/RetryInfoOrBuilder.java @@ -1,7 +1,6 @@ // Generated by the protocol buffer compiler. DO NOT EDIT! -// source: v1/rpc/errdetails/error_details.proto +// source: apis/proto/v1/rpc/error_details.proto -// Protobuf Java Version: 3.25.1 package org.vdaas.vald.api.v1.rpc; public interface RetryInfoOrBuilder extends @@ -13,7 +12,7 @@ public interface RetryInfoOrBuilder extends * Clients should wait at least this long between retrying the same request. * * - * .google.protobuf.Duration retry_delay = 1 [json_name = "retryDelay"]; + * .google.protobuf.Duration retry_delay = 1; * @return Whether the retryDelay field is set. */ boolean hasRetryDelay(); @@ -22,7 +21,7 @@ public interface RetryInfoOrBuilder extends * Clients should wait at least this long between retrying the same request. * * - * .google.protobuf.Duration retry_delay = 1 [json_name = "retryDelay"]; + * .google.protobuf.Duration retry_delay = 1; * @return The retryDelay. */ com.google.protobuf.Duration getRetryDelay(); @@ -31,7 +30,7 @@ public interface RetryInfoOrBuilder extends * Clients should wait at least this long between retrying the same request. * * - * .google.protobuf.Duration retry_delay = 1 [json_name = "retryDelay"]; + * .google.protobuf.Duration retry_delay = 1; */ com.google.protobuf.DurationOrBuilder getRetryDelayOrBuilder(); } diff --git a/src/main/java/org/vdaas/vald/api/v1/vald/FilterGrpc.java b/src/main/java/org/vdaas/vald/api/v1/vald/FilterGrpc.java index 9b96b636..5d64819b 100644 --- a/src/main/java/org/vdaas/vald/api/v1/vald/FilterGrpc.java +++ b/src/main/java/org/vdaas/vald/api/v1/vald/FilterGrpc.java @@ -8,8 +8,8 @@ * */ @javax.annotation.Generated( - value = "by gRPC proto compiler (version 1.60.0)", - comments = "Source: v1/vald/filter.proto") + value = "by gRPC proto compiler (version 1.58.0)", + comments = "Source: apis/proto/v1/vald/filter.proto") @io.grpc.stub.annotations.GrpcGenerated public final class FilterGrpc { diff --git a/src/main/java/org/vdaas/vald/api/v1/vald/InsertGrpc.java b/src/main/java/org/vdaas/vald/api/v1/vald/InsertGrpc.java index 69e21b84..32496d43 100644 --- a/src/main/java/org/vdaas/vald/api/v1/vald/InsertGrpc.java +++ b/src/main/java/org/vdaas/vald/api/v1/vald/InsertGrpc.java @@ -8,8 +8,8 @@ * */ @javax.annotation.Generated( - value = "by gRPC proto compiler (version 1.60.0)", - comments = "Source: v1/vald/insert.proto") + value = "by gRPC proto compiler (version 1.58.0)", + comments = "Source: apis/proto/v1/vald/insert.proto") @io.grpc.stub.annotations.GrpcGenerated public final class InsertGrpc { diff --git a/src/main/java/org/vdaas/vald/api/v1/vald/ObjectGrpc.java b/src/main/java/org/vdaas/vald/api/v1/vald/ObjectGrpc.java index abd93361..0932bd0a 100644 --- a/src/main/java/org/vdaas/vald/api/v1/vald/ObjectGrpc.java +++ b/src/main/java/org/vdaas/vald/api/v1/vald/ObjectGrpc.java @@ -8,8 +8,8 @@ * */ @javax.annotation.Generated( - value = "by gRPC proto compiler (version 1.60.0)", - comments = "Source: v1/vald/object.proto") + value = "by gRPC proto compiler (version 1.58.0)", + comments = "Source: apis/proto/v1/vald/object.proto") @io.grpc.stub.annotations.GrpcGenerated public final class ObjectGrpc { diff --git a/src/main/java/org/vdaas/vald/api/v1/vald/RemoveGrpc.java b/src/main/java/org/vdaas/vald/api/v1/vald/RemoveGrpc.java index 3c785a13..b14ed08a 100644 --- a/src/main/java/org/vdaas/vald/api/v1/vald/RemoveGrpc.java +++ b/src/main/java/org/vdaas/vald/api/v1/vald/RemoveGrpc.java @@ -8,8 +8,8 @@ * */ @javax.annotation.Generated( - value = "by gRPC proto compiler (version 1.60.0)", - comments = "Source: v1/vald/remove.proto") + value = "by gRPC proto compiler (version 1.58.0)", + comments = "Source: apis/proto/v1/vald/remove.proto") @io.grpc.stub.annotations.GrpcGenerated public final class RemoveGrpc { diff --git a/src/main/java/org/vdaas/vald/api/v1/vald/SearchGrpc.java b/src/main/java/org/vdaas/vald/api/v1/vald/SearchGrpc.java index f76fae1c..96f3498a 100644 --- a/src/main/java/org/vdaas/vald/api/v1/vald/SearchGrpc.java +++ b/src/main/java/org/vdaas/vald/api/v1/vald/SearchGrpc.java @@ -8,8 +8,8 @@ * */ @javax.annotation.Generated( - value = "by gRPC proto compiler (version 1.60.0)", - comments = "Source: v1/vald/search.proto") + value = "by gRPC proto compiler (version 1.58.0)", + comments = "Source: apis/proto/v1/vald/search.proto") @io.grpc.stub.annotations.GrpcGenerated public final class SearchGrpc { diff --git a/src/main/java/org/vdaas/vald/api/v1/vald/UpdateGrpc.java b/src/main/java/org/vdaas/vald/api/v1/vald/UpdateGrpc.java index 20e32725..6cc5cef3 100644 --- a/src/main/java/org/vdaas/vald/api/v1/vald/UpdateGrpc.java +++ b/src/main/java/org/vdaas/vald/api/v1/vald/UpdateGrpc.java @@ -8,8 +8,8 @@ * */ @javax.annotation.Generated( - value = "by gRPC proto compiler (version 1.60.0)", - comments = "Source: v1/vald/update.proto") + value = "by gRPC proto compiler (version 1.58.0)", + comments = "Source: apis/proto/v1/vald/update.proto") @io.grpc.stub.annotations.GrpcGenerated public final class UpdateGrpc { diff --git a/src/main/java/org/vdaas/vald/api/v1/vald/UpsertGrpc.java b/src/main/java/org/vdaas/vald/api/v1/vald/UpsertGrpc.java index d1fd8442..41c4cc8a 100644 --- a/src/main/java/org/vdaas/vald/api/v1/vald/UpsertGrpc.java +++ b/src/main/java/org/vdaas/vald/api/v1/vald/UpsertGrpc.java @@ -8,8 +8,8 @@ * */ @javax.annotation.Generated( - value = "by gRPC proto compiler (version 1.60.0)", - comments = "Source: v1/vald/upsert.proto") + value = "by gRPC proto compiler (version 1.58.0)", + comments = "Source: apis/proto/v1/vald/upsert.proto") @io.grpc.stub.annotations.GrpcGenerated public final class UpsertGrpc { diff --git a/src/main/java/org/vdaas/vald/api/v1/vald/ValdFilter.java b/src/main/java/org/vdaas/vald/api/v1/vald/ValdFilter.java index f7d6a368..2c49de9c 100644 --- a/src/main/java/org/vdaas/vald/api/v1/vald/ValdFilter.java +++ b/src/main/java/org/vdaas/vald/api/v1/vald/ValdFilter.java @@ -1,7 +1,6 @@ // Generated by the protocol buffer compiler. DO NOT EDIT! -// source: v1/vald/filter.proto +// source: apis/proto/v1/vald/filter.proto -// Protobuf Java Version: 3.25.1 package org.vdaas.vald.api.v1.vald; public final class ValdFilter { @@ -24,58 +23,60 @@ public static void registerAllExtensions( descriptor; static { java.lang.String[] descriptorData = { - "\n\024v1/vald/filter.proto\022\007vald.v1\032\034google/" + - "api/annotations.proto\032\030v1/payload/payloa" + - "d.proto2\254\n\n\006Filter\022h\n\014SearchObject\022 .pay" + - "load.v1.Search.ObjectRequest\032\033.payload.v" + - "1.Search.Response\"\031\202\323\344\223\002\023\"\016/search/objec" + - "t:\001*\022|\n\021MultiSearchObject\022%.payload.v1.S" + - "earch.MultiObjectRequest\032\034.payload.v1.Se" + - "arch.Responses\"\"\202\323\344\223\002\034\"\027/search/object/m" + - "ultiple:\001*\022_\n\022StreamSearchObject\022 .paylo" + - "ad.v1.Search.ObjectRequest\032!.payload.v1." + - "Search.StreamResponse\"\000(\0010\001\022h\n\014InsertObj" + - "ect\022 .payload.v1.Insert.ObjectRequest\032\033." + - "payload.v1.Object.Location\"\031\202\323\344\223\002\023\"\016/ins" + - "ert/object:\001*\022_\n\022StreamInsertObject\022 .pa" + - "yload.v1.Insert.ObjectRequest\032!.payload." + - "v1.Object.StreamLocation\"\000(\0010\001\022|\n\021MultiI" + - "nsertObject\022%.payload.v1.Insert.MultiObj" + - "ectRequest\032\034.payload.v1.Object.Locations" + - "\"\"\202\323\344\223\002\034\"\027/insert/object/multiple:\001*\022h\n\014" + - "UpdateObject\022 .payload.v1.Update.ObjectR" + - "equest\032\033.payload.v1.Object.Location\"\031\202\323\344" + - "\223\002\023\"\016/update/object:\001*\022_\n\022StreamUpdateOb" + - "ject\022 .payload.v1.Update.ObjectRequest\032!" + - ".payload.v1.Object.StreamLocation\"\000(\0010\001\022" + - "|\n\021MultiUpdateObject\022%.payload.v1.Update" + - ".MultiObjectRequest\032\034.payload.v1.Object." + - "Locations\"\"\202\323\344\223\002\034\"\027/update/object/multip" + - "le:\001*\022h\n\014UpsertObject\022 .payload.v1.Upser" + - "t.ObjectRequest\032\033.payload.v1.Object.Loca" + - "tion\"\031\202\323\344\223\002\023\"\016/upsert/object:\001*\022_\n\022Strea" + - "mUpsertObject\022 .payload.v1.Upsert.Object" + - "Request\032!.payload.v1.Object.StreamLocati" + - "on\"\000(\0010\001\022|\n\021MultiUpsertObject\022%.payload." + - "v1.Upsert.MultiObjectRequest\032\034.payload.v" + - "1.Object.Locations\"\"\202\323\344\223\002\034\"\027/upsert/obje" + - "ct/multiple:\001*BS\n\032org.vdaas.vald.api.v1." + - "valdB\nValdFilterP\001Z\'github.com/vdaas/val" + - "d/apis/grpc/v1/valdb\006proto3" + "\n\037apis/proto/v1/vald/filter.proto\022\007vald." + + "v1\032#apis/proto/v1/payload/payload.proto\032" + + "=github.com/googleapis/googleapis/google" + + "/api/annotations.proto2\254\n\n\006Filter\022h\n\014Sea" + + "rchObject\022 .payload.v1.Search.ObjectRequ" + + "est\032\033.payload.v1.Search.Response\"\031\202\323\344\223\002\023" + + "\"\016/search/object:\001*\022|\n\021MultiSearchObject" + + "\022%.payload.v1.Search.MultiObjectRequest\032" + + "\034.payload.v1.Search.Responses\"\"\202\323\344\223\002\034\"\027/" + + "search/object/multiple:\001*\022_\n\022StreamSearc" + + "hObject\022 .payload.v1.Search.ObjectReques" + + "t\032!.payload.v1.Search.StreamResponse\"\000(\001" + + "0\001\022h\n\014InsertObject\022 .payload.v1.Insert.O" + + "bjectRequest\032\033.payload.v1.Object.Locatio" + + "n\"\031\202\323\344\223\002\023\"\016/insert/object:\001*\022_\n\022StreamIn" + + "sertObject\022 .payload.v1.Insert.ObjectReq" + + "uest\032!.payload.v1.Object.StreamLocation\"" + + "\000(\0010\001\022|\n\021MultiInsertObject\022%.payload.v1." + + "Insert.MultiObjectRequest\032\034.payload.v1.O" + + "bject.Locations\"\"\202\323\344\223\002\034\"\027/insert/object/" + + "multiple:\001*\022h\n\014UpdateObject\022 .payload.v1" + + ".Update.ObjectRequest\032\033.payload.v1.Objec" + + "t.Location\"\031\202\323\344\223\002\023\"\016/update/object:\001*\022_\n" + + "\022StreamUpdateObject\022 .payload.v1.Update." + + "ObjectRequest\032!.payload.v1.Object.Stream" + + "Location\"\000(\0010\001\022|\n\021MultiUpdateObject\022%.pa" + + "yload.v1.Update.MultiObjectRequest\032\034.pay" + + "load.v1.Object.Locations\"\"\202\323\344\223\002\034\"\027/updat" + + "e/object/multiple:\001*\022h\n\014UpsertObject\022 .p" + + "ayload.v1.Upsert.ObjectRequest\032\033.payload" + + ".v1.Object.Location\"\031\202\323\344\223\002\023\"\016/upsert/obj" + + "ect:\001*\022_\n\022StreamUpsertObject\022 .payload.v" + + "1.Upsert.ObjectRequest\032!.payload.v1.Obje" + + "ct.StreamLocation\"\000(\0010\001\022|\n\021MultiUpsertOb" + + "ject\022%.payload.v1.Upsert.MultiObjectRequ" + + "est\032\034.payload.v1.Object.Locations\"\"\202\323\344\223\002" + + "\034\"\027/upsert/object/multiple:\001*BS\n\032org.vda" + + "as.vald.api.v1.valdB\nValdFilterP\001Z\'githu" + + "b.com/vdaas/vald/apis/grpc/v1/valdb\006prot" + + "o3" }; descriptor = com.google.protobuf.Descriptors.FileDescriptor .internalBuildGeneratedFileFrom(descriptorData, new com.google.protobuf.Descriptors.FileDescriptor[] { - com.google.api.AnnotationsProto.getDescriptor(), org.vdaas.vald.api.v1.payload.ValdPayload.getDescriptor(), + com.google.api.AnnotationsProto.getDescriptor(), }); com.google.protobuf.ExtensionRegistry registry = com.google.protobuf.ExtensionRegistry.newInstance(); registry.add(com.google.api.AnnotationsProto.http); com.google.protobuf.Descriptors.FileDescriptor .internalUpdateFileDescriptor(descriptor, registry); - com.google.api.AnnotationsProto.getDescriptor(); org.vdaas.vald.api.v1.payload.ValdPayload.getDescriptor(); + com.google.api.AnnotationsProto.getDescriptor(); } // @@protoc_insertion_point(outer_class_scope) diff --git a/src/main/java/org/vdaas/vald/api/v1/vald/ValdInsert.java b/src/main/java/org/vdaas/vald/api/v1/vald/ValdInsert.java index 2df3a1b9..0ac6a185 100644 --- a/src/main/java/org/vdaas/vald/api/v1/vald/ValdInsert.java +++ b/src/main/java/org/vdaas/vald/api/v1/vald/ValdInsert.java @@ -1,7 +1,6 @@ // Generated by the protocol buffer compiler. DO NOT EDIT! -// source: v1/vald/insert.proto +// source: apis/proto/v1/vald/insert.proto -// Protobuf Java Version: 3.25.1 package org.vdaas.vald.api.v1.vald; public final class ValdInsert { @@ -24,32 +23,34 @@ public static void registerAllExtensions( descriptor; static { java.lang.String[] descriptorData = { - "\n\024v1/vald/insert.proto\022\007vald.v1\032\034google/" + - "api/annotations.proto\032\030v1/payload/payloa" + - "d.proto2\237\002\n\006Insert\022U\n\006Insert\022\032.payload.v" + - "1.Insert.Request\032\033.payload.v1.Object.Loc" + - "ation\"\022\202\323\344\223\002\014\"\007/insert:\001*\022S\n\014StreamInser" + - "t\022\032.payload.v1.Insert.Request\032!.payload." + - "v1.Object.StreamLocation\"\000(\0010\001\022i\n\013MultiI" + - "nsert\022\037.payload.v1.Insert.MultiRequest\032\034" + - ".payload.v1.Object.Locations\"\033\202\323\344\223\002\025\"\020/i" + - "nsert/multiple:\001*BS\n\032org.vdaas.vald.api." + - "v1.valdB\nValdInsertP\001Z\'github.com/vdaas/" + - "vald/apis/grpc/v1/valdb\006proto3" + "\n\037apis/proto/v1/vald/insert.proto\022\007vald." + + "v1\032#apis/proto/v1/payload/payload.proto\032" + + "=github.com/googleapis/googleapis/google" + + "/api/annotations.proto2\237\002\n\006Insert\022U\n\006Ins" + + "ert\022\032.payload.v1.Insert.Request\032\033.payloa" + + "d.v1.Object.Location\"\022\202\323\344\223\002\014\"\007/insert:\001*" + + "\022S\n\014StreamInsert\022\032.payload.v1.Insert.Req" + + "uest\032!.payload.v1.Object.StreamLocation\"" + + "\000(\0010\001\022i\n\013MultiInsert\022\037.payload.v1.Insert" + + ".MultiRequest\032\034.payload.v1.Object.Locati" + + "ons\"\033\202\323\344\223\002\025\"\020/insert/multiple:\001*BS\n\032org." + + "vdaas.vald.api.v1.valdB\nValdInsertP\001Z\'gi" + + "thub.com/vdaas/vald/apis/grpc/v1/valdb\006p" + + "roto3" }; descriptor = com.google.protobuf.Descriptors.FileDescriptor .internalBuildGeneratedFileFrom(descriptorData, new com.google.protobuf.Descriptors.FileDescriptor[] { - com.google.api.AnnotationsProto.getDescriptor(), org.vdaas.vald.api.v1.payload.ValdPayload.getDescriptor(), + com.google.api.AnnotationsProto.getDescriptor(), }); com.google.protobuf.ExtensionRegistry registry = com.google.protobuf.ExtensionRegistry.newInstance(); registry.add(com.google.api.AnnotationsProto.http); com.google.protobuf.Descriptors.FileDescriptor .internalUpdateFileDescriptor(descriptor, registry); - com.google.api.AnnotationsProto.getDescriptor(); org.vdaas.vald.api.v1.payload.ValdPayload.getDescriptor(); + com.google.api.AnnotationsProto.getDescriptor(); } // @@protoc_insertion_point(outer_class_scope) diff --git a/src/main/java/org/vdaas/vald/api/v1/vald/ValdObject.java b/src/main/java/org/vdaas/vald/api/v1/vald/ValdObject.java index 1b9aab4b..7cc6b5e0 100644 --- a/src/main/java/org/vdaas/vald/api/v1/vald/ValdObject.java +++ b/src/main/java/org/vdaas/vald/api/v1/vald/ValdObject.java @@ -1,7 +1,6 @@ // Generated by the protocol buffer compiler. DO NOT EDIT! -// source: v1/vald/object.proto +// source: apis/proto/v1/vald/object.proto -// Protobuf Java Version: 3.25.1 package org.vdaas.vald.api.v1.vald; public final class ValdObject { @@ -24,35 +23,36 @@ public static void registerAllExtensions( descriptor; static { java.lang.String[] descriptorData = { - "\n\024v1/vald/object.proto\022\007vald.v1\032\034google/" + - "api/annotations.proto\032\030v1/payload/payloa" + - "d.proto2\204\003\n\006Object\022L\n\006Exists\022\025.payload.v" + - "1.Object.ID\032\025.payload.v1.Object.ID\"\024\202\323\344\223" + - "\002\016\022\014/exists/{id}\022a\n\tGetObject\022 .payload." + - "v1.Object.VectorRequest\032\031.payload.v1.Obj" + - "ect.Vector\"\027\202\323\344\223\002\021\022\017/object/{id.id}\022Z\n\017S" + - "treamGetObject\022 .payload.v1.Object.Vecto" + - "rRequest\032\037.payload.v1.Object.StreamVecto" + - "r\"\000(\0010\001\022m\n\020StreamListObject\022\037.payload.v1" + - ".Object.List.Request\032 .payload.v1.Object" + - ".List.Response\"\024\202\323\344\223\002\016\022\014/object/list0\001BS" + - "\n\032org.vdaas.vald.api.v1.valdB\nValdObject" + - "P\001Z\'github.com/vdaas/vald/apis/grpc/v1/v" + - "aldb\006proto3" + "\n\037apis/proto/v1/vald/object.proto\022\007vald." + + "v1\032#apis/proto/v1/payload/payload.proto\032" + + "=github.com/googleapis/googleapis/google" + + "/api/annotations.proto2\204\003\n\006Object\022L\n\006Exi" + + "sts\022\025.payload.v1.Object.ID\032\025.payload.v1." + + "Object.ID\"\024\202\323\344\223\002\016\022\014/exists/{id}\022a\n\tGetOb" + + "ject\022 .payload.v1.Object.VectorRequest\032\031" + + ".payload.v1.Object.Vector\"\027\202\323\344\223\002\021\022\017/obje" + + "ct/{id.id}\022Z\n\017StreamGetObject\022 .payload." + + "v1.Object.VectorRequest\032\037.payload.v1.Obj" + + "ect.StreamVector\"\000(\0010\001\022m\n\020StreamListObje" + + "ct\022\037.payload.v1.Object.List.Request\032 .pa" + + "yload.v1.Object.List.Response\"\024\202\323\344\223\002\016\022\014/" + + "object/list0\001BS\n\032org.vdaas.vald.api.v1.v" + + "aldB\nValdObjectP\001Z\'github.com/vdaas/vald" + + "/apis/grpc/v1/valdb\006proto3" }; descriptor = com.google.protobuf.Descriptors.FileDescriptor .internalBuildGeneratedFileFrom(descriptorData, new com.google.protobuf.Descriptors.FileDescriptor[] { - com.google.api.AnnotationsProto.getDescriptor(), org.vdaas.vald.api.v1.payload.ValdPayload.getDescriptor(), + com.google.api.AnnotationsProto.getDescriptor(), }); com.google.protobuf.ExtensionRegistry registry = com.google.protobuf.ExtensionRegistry.newInstance(); registry.add(com.google.api.AnnotationsProto.http); com.google.protobuf.Descriptors.FileDescriptor .internalUpdateFileDescriptor(descriptor, registry); - com.google.api.AnnotationsProto.getDescriptor(); org.vdaas.vald.api.v1.payload.ValdPayload.getDescriptor(); + com.google.api.AnnotationsProto.getDescriptor(); } // @@protoc_insertion_point(outer_class_scope) diff --git a/src/main/java/org/vdaas/vald/api/v1/vald/ValdRemove.java b/src/main/java/org/vdaas/vald/api/v1/vald/ValdRemove.java index a811677b..9f2d27f9 100644 --- a/src/main/java/org/vdaas/vald/api/v1/vald/ValdRemove.java +++ b/src/main/java/org/vdaas/vald/api/v1/vald/ValdRemove.java @@ -1,7 +1,6 @@ // Generated by the protocol buffer compiler. DO NOT EDIT! -// source: v1/vald/remove.proto +// source: apis/proto/v1/vald/remove.proto -// Protobuf Java Version: 3.25.1 package org.vdaas.vald.api.v1.vald; public final class ValdRemove { @@ -24,35 +23,37 @@ public static void registerAllExtensions( descriptor; static { java.lang.String[] descriptorData = { - "\n\024v1/vald/remove.proto\022\007vald.v1\032\034google/" + - "api/annotations.proto\032\030v1/payload/payloa" + - "d.proto2\225\003\n\006Remove\022U\n\006Remove\022\032.payload.v" + - "1.Remove.Request\032\033.payload.v1.Object.Loc" + - "ation\"\022\202\323\344\223\002\014\"\007/remove:\001*\022t\n\021RemoveByTim" + - "estamp\022#.payload.v1.Remove.TimestampRequ" + - "est\032\034.payload.v1.Object.Locations\"\034\202\323\344\223\002" + - "\026\"\021/remove/timestamp:\001*\022S\n\014StreamRemove\022" + - "\032.payload.v1.Remove.Request\032!.payload.v1" + - ".Object.StreamLocation\"\000(\0010\001\022i\n\013MultiRem" + - "ove\022\037.payload.v1.Remove.MultiRequest\032\034.p" + - "ayload.v1.Object.Locations\"\033\202\323\344\223\002\025\"\020/rem" + - "ove/multiple:\001*BS\n\032org.vdaas.vald.api.v1" + - ".valdB\nValdRemoveP\001Z\'github.com/vdaas/va" + - "ld/apis/grpc/v1/valdb\006proto3" + "\n\037apis/proto/v1/vald/remove.proto\022\007vald." + + "v1\032#apis/proto/v1/payload/payload.proto\032" + + "=github.com/googleapis/googleapis/google" + + "/api/annotations.proto2\225\003\n\006Remove\022U\n\006Rem" + + "ove\022\032.payload.v1.Remove.Request\032\033.payloa" + + "d.v1.Object.Location\"\022\202\323\344\223\002\014\"\007/remove:\001*" + + "\022t\n\021RemoveByTimestamp\022#.payload.v1.Remov" + + "e.TimestampRequest\032\034.payload.v1.Object.L" + + "ocations\"\034\202\323\344\223\002\026\"\021/remove/timestamp:\001*\022S" + + "\n\014StreamRemove\022\032.payload.v1.Remove.Reque" + + "st\032!.payload.v1.Object.StreamLocation\"\000(" + + "\0010\001\022i\n\013MultiRemove\022\037.payload.v1.Remove.M" + + "ultiRequest\032\034.payload.v1.Object.Location" + + "s\"\033\202\323\344\223\002\025\"\020/remove/multiple:\001*BS\n\032org.vd" + + "aas.vald.api.v1.valdB\nValdRemoveP\001Z\'gith" + + "ub.com/vdaas/vald/apis/grpc/v1/valdb\006pro" + + "to3" }; descriptor = com.google.protobuf.Descriptors.FileDescriptor .internalBuildGeneratedFileFrom(descriptorData, new com.google.protobuf.Descriptors.FileDescriptor[] { - com.google.api.AnnotationsProto.getDescriptor(), org.vdaas.vald.api.v1.payload.ValdPayload.getDescriptor(), + com.google.api.AnnotationsProto.getDescriptor(), }); com.google.protobuf.ExtensionRegistry registry = com.google.protobuf.ExtensionRegistry.newInstance(); registry.add(com.google.api.AnnotationsProto.http); com.google.protobuf.Descriptors.FileDescriptor .internalUpdateFileDescriptor(descriptor, registry); - com.google.api.AnnotationsProto.getDescriptor(); org.vdaas.vald.api.v1.payload.ValdPayload.getDescriptor(); + com.google.api.AnnotationsProto.getDescriptor(); } // @@protoc_insertion_point(outer_class_scope) diff --git a/src/main/java/org/vdaas/vald/api/v1/vald/ValdSearch.java b/src/main/java/org/vdaas/vald/api/v1/vald/ValdSearch.java index 64620119..5a8d38e5 100644 --- a/src/main/java/org/vdaas/vald/api/v1/vald/ValdSearch.java +++ b/src/main/java/org/vdaas/vald/api/v1/vald/ValdSearch.java @@ -1,7 +1,6 @@ // Generated by the protocol buffer compiler. DO NOT EDIT! -// source: v1/vald/search.proto +// source: apis/proto/v1/vald/search.proto -// Protobuf Java Version: 3.25.1 package org.vdaas.vald.api.v1.vald; public final class ValdSearch { @@ -24,56 +23,57 @@ public static void registerAllExtensions( descriptor; static { java.lang.String[] descriptorData = { - "\n\024v1/vald/search.proto\022\007vald.v1\032\034google/" + - "api/annotations.proto\032\030v1/payload/payloa" + - "d.proto2\320\t\n\006Search\022U\n\006Search\022\032.payload.v" + - "1.Search.Request\032\033.payload.v1.Search.Res" + - "ponse\"\022\202\323\344\223\002\014\"\007/search:\001*\022^\n\nSearchByID\022" + - "\034.payload.v1.Search.IDRequest\032\033.payload." + - "v1.Search.Response\"\025\202\323\344\223\002\017\"\n/search/id:\001" + - "*\022S\n\014StreamSearch\022\032.payload.v1.Search.Re" + - "quest\032!.payload.v1.Search.StreamResponse" + - "\"\000(\0010\001\022Y\n\020StreamSearchByID\022\034.payload.v1." + - "Search.IDRequest\032!.payload.v1.Search.Str" + - "eamResponse\"\000(\0010\001\022i\n\013MultiSearch\022\037.paylo" + - "ad.v1.Search.MultiRequest\032\034.payload.v1.S" + - "earch.Responses\"\033\202\323\344\223\002\025\"\020/search/multipl" + - "e:\001*\022r\n\017MultiSearchByID\022!.payload.v1.Sea" + - "rch.MultiIDRequest\032\034.payload.v1.Search.R" + - "esponses\"\036\202\323\344\223\002\030\"\023/search/id/multiple:\001*" + - "\022a\n\014LinearSearch\022\032.payload.v1.Search.Req" + - "uest\032\033.payload.v1.Search.Response\"\030\202\323\344\223\002" + - "\022\"\r/linearsearch:\001*\022j\n\020LinearSearchByID\022" + - "\034.payload.v1.Search.IDRequest\032\033.payload." + - "v1.Search.Response\"\033\202\323\344\223\002\025\"\020/linearsearc" + - "h/id:\001*\022Y\n\022StreamLinearSearch\022\032.payload." + - "v1.Search.Request\032!.payload.v1.Search.St" + - "reamResponse\"\000(\0010\001\022_\n\026StreamLinearSearch" + - "ByID\022\034.payload.v1.Search.IDRequest\032!.pay" + - "load.v1.Search.StreamResponse\"\000(\0010\001\022u\n\021M" + - "ultiLinearSearch\022\037.payload.v1.Search.Mul" + - "tiRequest\032\034.payload.v1.Search.Responses\"" + - "!\202\323\344\223\002\033\"\026/linearsearch/multiple:\001*\022~\n\025Mu" + - "ltiLinearSearchByID\022!.payload.v1.Search." + - "MultiIDRequest\032\034.payload.v1.Search.Respo" + - "nses\"$\202\323\344\223\002\036\"\031/linearsearch/id/multiple:" + - "\001*BS\n\032org.vdaas.vald.api.v1.valdB\nValdSe" + - "archP\001Z\'github.com/vdaas/vald/apis/grpc/" + - "v1/valdb\006proto3" + "\n\037apis/proto/v1/vald/search.proto\022\007vald." + + "v1\032#apis/proto/v1/payload/payload.proto\032" + + "=github.com/googleapis/googleapis/google" + + "/api/annotations.proto2\320\t\n\006Search\022U\n\006Sea" + + "rch\022\032.payload.v1.Search.Request\032\033.payloa" + + "d.v1.Search.Response\"\022\202\323\344\223\002\014\"\007/search:\001*" + + "\022^\n\nSearchByID\022\034.payload.v1.Search.IDReq" + + "uest\032\033.payload.v1.Search.Response\"\025\202\323\344\223\002" + + "\017\"\n/search/id:\001*\022S\n\014StreamSearch\022\032.paylo" + + "ad.v1.Search.Request\032!.payload.v1.Search" + + ".StreamResponse\"\000(\0010\001\022Y\n\020StreamSearchByI" + + "D\022\034.payload.v1.Search.IDRequest\032!.payloa" + + "d.v1.Search.StreamResponse\"\000(\0010\001\022i\n\013Mult" + + "iSearch\022\037.payload.v1.Search.MultiRequest" + + "\032\034.payload.v1.Search.Responses\"\033\202\323\344\223\002\025\"\020" + + "/search/multiple:\001*\022r\n\017MultiSearchByID\022!" + + ".payload.v1.Search.MultiIDRequest\032\034.payl" + + "oad.v1.Search.Responses\"\036\202\323\344\223\002\030\"\023/search" + + "/id/multiple:\001*\022a\n\014LinearSearch\022\032.payloa" + + "d.v1.Search.Request\032\033.payload.v1.Search." + + "Response\"\030\202\323\344\223\002\022\"\r/linearsearch:\001*\022j\n\020Li" + + "nearSearchByID\022\034.payload.v1.Search.IDReq" + + "uest\032\033.payload.v1.Search.Response\"\033\202\323\344\223\002" + + "\025\"\020/linearsearch/id:\001*\022Y\n\022StreamLinearSe" + + "arch\022\032.payload.v1.Search.Request\032!.paylo" + + "ad.v1.Search.StreamResponse\"\000(\0010\001\022_\n\026Str" + + "eamLinearSearchByID\022\034.payload.v1.Search." + + "IDRequest\032!.payload.v1.Search.StreamResp" + + "onse\"\000(\0010\001\022u\n\021MultiLinearSearch\022\037.payloa" + + "d.v1.Search.MultiRequest\032\034.payload.v1.Se" + + "arch.Responses\"!\202\323\344\223\002\033\"\026/linearsearch/mu" + + "ltiple:\001*\022~\n\025MultiLinearSearchByID\022!.pay" + + "load.v1.Search.MultiIDRequest\032\034.payload." + + "v1.Search.Responses\"$\202\323\344\223\002\036\"\031/linearsear" + + "ch/id/multiple:\001*BS\n\032org.vdaas.vald.api." + + "v1.valdB\nValdSearchP\001Z\'github.com/vdaas/" + + "vald/apis/grpc/v1/valdb\006proto3" }; descriptor = com.google.protobuf.Descriptors.FileDescriptor .internalBuildGeneratedFileFrom(descriptorData, new com.google.protobuf.Descriptors.FileDescriptor[] { - com.google.api.AnnotationsProto.getDescriptor(), org.vdaas.vald.api.v1.payload.ValdPayload.getDescriptor(), + com.google.api.AnnotationsProto.getDescriptor(), }); com.google.protobuf.ExtensionRegistry registry = com.google.protobuf.ExtensionRegistry.newInstance(); registry.add(com.google.api.AnnotationsProto.http); com.google.protobuf.Descriptors.FileDescriptor .internalUpdateFileDescriptor(descriptor, registry); - com.google.api.AnnotationsProto.getDescriptor(); org.vdaas.vald.api.v1.payload.ValdPayload.getDescriptor(); + com.google.api.AnnotationsProto.getDescriptor(); } // @@protoc_insertion_point(outer_class_scope) diff --git a/src/main/java/org/vdaas/vald/api/v1/vald/ValdUpdate.java b/src/main/java/org/vdaas/vald/api/v1/vald/ValdUpdate.java index 420371ec..c64b2924 100644 --- a/src/main/java/org/vdaas/vald/api/v1/vald/ValdUpdate.java +++ b/src/main/java/org/vdaas/vald/api/v1/vald/ValdUpdate.java @@ -1,7 +1,6 @@ // Generated by the protocol buffer compiler. DO NOT EDIT! -// source: v1/vald/update.proto +// source: apis/proto/v1/vald/update.proto -// Protobuf Java Version: 3.25.1 package org.vdaas.vald.api.v1.vald; public final class ValdUpdate { @@ -24,32 +23,34 @@ public static void registerAllExtensions( descriptor; static { java.lang.String[] descriptorData = { - "\n\024v1/vald/update.proto\022\007vald.v1\032\034google/" + - "api/annotations.proto\032\030v1/payload/payloa" + - "d.proto2\237\002\n\006Update\022U\n\006Update\022\032.payload.v" + - "1.Update.Request\032\033.payload.v1.Object.Loc" + - "ation\"\022\202\323\344\223\002\014\"\007/update:\001*\022S\n\014StreamUpdat" + - "e\022\032.payload.v1.Update.Request\032!.payload." + - "v1.Object.StreamLocation\"\000(\0010\001\022i\n\013MultiU" + - "pdate\022\037.payload.v1.Update.MultiRequest\032\034" + - ".payload.v1.Object.Locations\"\033\202\323\344\223\002\025\"\020/u" + - "pdate/multiple:\001*BS\n\032org.vdaas.vald.api." + - "v1.valdB\nValdUpdateP\001Z\'github.com/vdaas/" + - "vald/apis/grpc/v1/valdb\006proto3" + "\n\037apis/proto/v1/vald/update.proto\022\007vald." + + "v1\032#apis/proto/v1/payload/payload.proto\032" + + "=github.com/googleapis/googleapis/google" + + "/api/annotations.proto2\237\002\n\006Update\022U\n\006Upd" + + "ate\022\032.payload.v1.Update.Request\032\033.payloa" + + "d.v1.Object.Location\"\022\202\323\344\223\002\014\"\007/update:\001*" + + "\022S\n\014StreamUpdate\022\032.payload.v1.Update.Req" + + "uest\032!.payload.v1.Object.StreamLocation\"" + + "\000(\0010\001\022i\n\013MultiUpdate\022\037.payload.v1.Update" + + ".MultiRequest\032\034.payload.v1.Object.Locati" + + "ons\"\033\202\323\344\223\002\025\"\020/update/multiple:\001*BS\n\032org." + + "vdaas.vald.api.v1.valdB\nValdUpdateP\001Z\'gi" + + "thub.com/vdaas/vald/apis/grpc/v1/valdb\006p" + + "roto3" }; descriptor = com.google.protobuf.Descriptors.FileDescriptor .internalBuildGeneratedFileFrom(descriptorData, new com.google.protobuf.Descriptors.FileDescriptor[] { - com.google.api.AnnotationsProto.getDescriptor(), org.vdaas.vald.api.v1.payload.ValdPayload.getDescriptor(), + com.google.api.AnnotationsProto.getDescriptor(), }); com.google.protobuf.ExtensionRegistry registry = com.google.protobuf.ExtensionRegistry.newInstance(); registry.add(com.google.api.AnnotationsProto.http); com.google.protobuf.Descriptors.FileDescriptor .internalUpdateFileDescriptor(descriptor, registry); - com.google.api.AnnotationsProto.getDescriptor(); org.vdaas.vald.api.v1.payload.ValdPayload.getDescriptor(); + com.google.api.AnnotationsProto.getDescriptor(); } // @@protoc_insertion_point(outer_class_scope) diff --git a/src/main/java/org/vdaas/vald/api/v1/vald/ValdUpsert.java b/src/main/java/org/vdaas/vald/api/v1/vald/ValdUpsert.java index 96b97ea3..c50b3b03 100644 --- a/src/main/java/org/vdaas/vald/api/v1/vald/ValdUpsert.java +++ b/src/main/java/org/vdaas/vald/api/v1/vald/ValdUpsert.java @@ -1,7 +1,6 @@ // Generated by the protocol buffer compiler. DO NOT EDIT! -// source: v1/vald/upsert.proto +// source: apis/proto/v1/vald/upsert.proto -// Protobuf Java Version: 3.25.1 package org.vdaas.vald.api.v1.vald; public final class ValdUpsert { @@ -24,32 +23,34 @@ public static void registerAllExtensions( descriptor; static { java.lang.String[] descriptorData = { - "\n\024v1/vald/upsert.proto\022\007vald.v1\032\034google/" + - "api/annotations.proto\032\030v1/payload/payloa" + - "d.proto2\237\002\n\006Upsert\022U\n\006Upsert\022\032.payload.v" + - "1.Upsert.Request\032\033.payload.v1.Object.Loc" + - "ation\"\022\202\323\344\223\002\014\"\007/upsert:\001*\022S\n\014StreamUpser" + - "t\022\032.payload.v1.Upsert.Request\032!.payload." + - "v1.Object.StreamLocation\"\000(\0010\001\022i\n\013MultiU" + - "psert\022\037.payload.v1.Upsert.MultiRequest\032\034" + - ".payload.v1.Object.Locations\"\033\202\323\344\223\002\025\"\020/u" + - "psert/multiple:\001*BS\n\032org.vdaas.vald.api." + - "v1.valdB\nValdUpsertP\001Z\'github.com/vdaas/" + - "vald/apis/grpc/v1/valdb\006proto3" + "\n\037apis/proto/v1/vald/upsert.proto\022\007vald." + + "v1\032#apis/proto/v1/payload/payload.proto\032" + + "=github.com/googleapis/googleapis/google" + + "/api/annotations.proto2\237\002\n\006Upsert\022U\n\006Ups" + + "ert\022\032.payload.v1.Upsert.Request\032\033.payloa" + + "d.v1.Object.Location\"\022\202\323\344\223\002\014\"\007/upsert:\001*" + + "\022S\n\014StreamUpsert\022\032.payload.v1.Upsert.Req" + + "uest\032!.payload.v1.Object.StreamLocation\"" + + "\000(\0010\001\022i\n\013MultiUpsert\022\037.payload.v1.Upsert" + + ".MultiRequest\032\034.payload.v1.Object.Locati" + + "ons\"\033\202\323\344\223\002\025\"\020/upsert/multiple:\001*BS\n\032org." + + "vdaas.vald.api.v1.valdB\nValdUpsertP\001Z\'gi" + + "thub.com/vdaas/vald/apis/grpc/v1/valdb\006p" + + "roto3" }; descriptor = com.google.protobuf.Descriptors.FileDescriptor .internalBuildGeneratedFileFrom(descriptorData, new com.google.protobuf.Descriptors.FileDescriptor[] { - com.google.api.AnnotationsProto.getDescriptor(), org.vdaas.vald.api.v1.payload.ValdPayload.getDescriptor(), + com.google.api.AnnotationsProto.getDescriptor(), }); com.google.protobuf.ExtensionRegistry registry = com.google.protobuf.ExtensionRegistry.newInstance(); registry.add(com.google.api.AnnotationsProto.http); com.google.protobuf.Descriptors.FileDescriptor .internalUpdateFileDescriptor(descriptor, registry); - com.google.api.AnnotationsProto.getDescriptor(); org.vdaas.vald.api.v1.payload.ValdPayload.getDescriptor(); + com.google.api.AnnotationsProto.getDescriptor(); } // @@protoc_insertion_point(outer_class_scope) diff --git a/version/VALD_CLIENT_JAVA_VERSION b/version/VALD_CLIENT_JAVA_VERSION index a412349e..f65dc1e2 100644 --- a/version/VALD_CLIENT_JAVA_VERSION +++ b/version/VALD_CLIENT_JAVA_VERSION @@ -1 +1 @@ -1.7.10 +1.7.9