diff --git a/java-aiplatform/google-cloud-aiplatform/src/main/java/com/google/cloud/aiplatform/v1/EndpointServiceClient.java b/java-aiplatform/google-cloud-aiplatform/src/main/java/com/google/cloud/aiplatform/v1/EndpointServiceClient.java index 8b555b35372c..5d263762c231 100644 --- a/java-aiplatform/google-cloud-aiplatform/src/main/java/com/google/cloud/aiplatform/v1/EndpointServiceClient.java +++ b/java-aiplatform/google-cloud-aiplatform/src/main/java/com/google/cloud/aiplatform/v1/EndpointServiceClient.java @@ -159,6 +159,25 @@ * * *
UpdateEndpointLongRunning
Updates an Endpoint with a long running operation.
Request object method variants only take one parameter, a request object, which must be constructed before the call.
+ *updateEndpointLongRunningAsync(UpdateEndpointLongRunningRequest request) + *
Methods that return long-running operations have "Async" method variants that return `OperationFuture`, which is used to track polling of the service.
+ *updateEndpointLongRunningAsync(Endpoint endpoint) + *
Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service.
+ *updateEndpointLongRunningOperationCallable() + *
updateEndpointLongRunningCallable() + *
DeleteEndpoint
Deletes an Endpoint.
Sample code: + * + *
{@code + * // This snippet has been automatically generated and should be regarded as a code template only. + * // It will require modifications to work: + * // - It may require correct/in-range values for request initialization. + * // - It may require specifying regional endpoints when creating the service client as shown in + * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library + * try (EndpointServiceClient endpointServiceClient = EndpointServiceClient.create()) { + * Endpoint endpoint = Endpoint.newBuilder().build(); + * Endpoint response = endpointServiceClient.updateEndpointLongRunningAsync(endpoint).get(); + * } + * }+ * + * @param endpoint Required. The Endpoint which replaces the resource on the server. Currently we + * only support updating the `client_connection_config` field, all the other fields' update + * will be blocked. + * @throws com.google.api.gax.rpc.ApiException if the remote call fails + */ + public final OperationFuture
Sample code: + * + *
{@code + * // This snippet has been automatically generated and should be regarded as a code template only. + * // It will require modifications to work: + * // - It may require correct/in-range values for request initialization. + * // - It may require specifying regional endpoints when creating the service client as shown in + * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library + * try (EndpointServiceClient endpointServiceClient = EndpointServiceClient.create()) { + * UpdateEndpointLongRunningRequest request = + * UpdateEndpointLongRunningRequest.newBuilder() + * .setEndpoint(Endpoint.newBuilder().build()) + * .build(); + * Endpoint response = endpointServiceClient.updateEndpointLongRunningAsync(request).get(); + * } + * }+ * + * @param request The request object containing all of the parameters for the API call. + * @throws com.google.api.gax.rpc.ApiException if the remote call fails + */ + public final OperationFuture
Sample code: + * + *
{@code + * // This snippet has been automatically generated and should be regarded as a code template only. + * // It will require modifications to work: + * // - It may require correct/in-range values for request initialization. + * // - It may require specifying regional endpoints when creating the service client as shown in + * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library + * try (EndpointServiceClient endpointServiceClient = EndpointServiceClient.create()) { + * UpdateEndpointLongRunningRequest request = + * UpdateEndpointLongRunningRequest.newBuilder() + * .setEndpoint(Endpoint.newBuilder().build()) + * .build(); + * OperationFuture+ */ + public final OperationCallable< + UpdateEndpointLongRunningRequest, Endpoint, UpdateEndpointOperationMetadata> + updateEndpointLongRunningOperationCallable() { + return stub.updateEndpointLongRunningOperationCallable(); + } + + // AUTO-GENERATED DOCUMENTATION AND METHOD. + /** + * Updates an Endpoint with a long running operation. + * + *future = + * endpointServiceClient.updateEndpointLongRunningOperationCallable().futureCall(request); + * // Do something. + * Endpoint response = future.get(); + * } + * }
Sample code: + * + *
{@code + * // This snippet has been automatically generated and should be regarded as a code template only. + * // It will require modifications to work: + * // - It may require correct/in-range values for request initialization. + * // - It may require specifying regional endpoints when creating the service client as shown in + * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library + * try (EndpointServiceClient endpointServiceClient = EndpointServiceClient.create()) { + * UpdateEndpointLongRunningRequest request = + * UpdateEndpointLongRunningRequest.newBuilder() + * .setEndpoint(Endpoint.newBuilder().build()) + * .build(); + * ApiFuture+ */ + public final UnaryCallablefuture = + * endpointServiceClient.updateEndpointLongRunningCallable().futureCall(request); + * // Do something. + * Operation response = future.get(); + * } + * }
+ * Updates an Endpoint with a long running operation. + *+ */ + default void updateEndpointLongRunning( + com.google.cloud.aiplatform.v1.UpdateEndpointLongRunningRequest request, + io.grpc.stub.StreamObserver
+ * Updates an Endpoint with a long running operation. + *+ */ + public void updateEndpointLongRunning( + com.google.cloud.aiplatform.v1.UpdateEndpointLongRunningRequest request, + io.grpc.stub.StreamObserver
+ * Updates an Endpoint with a long running operation. + *+ */ + public com.google.longrunning.Operation updateEndpointLongRunning( + com.google.cloud.aiplatform.v1.UpdateEndpointLongRunningRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getUpdateEndpointLongRunningMethod(), getCallOptions(), request); + } + /** * * @@ -932,6 +1026,20 @@ protected EndpointServiceFutureStub build( getChannel().newCall(getUpdateEndpointMethod(), getCallOptions()), request); } + /** + * + * + *
+ * Updates an Endpoint with a long running operation. + *+ */ + public com.google.common.util.concurrent.ListenableFuture
+ * Configurations (e.g. inference timeout) that are applied on your endpoints. + *+ * + * Protobuf type {@code google.cloud.aiplatform.v1.ClientConnectionConfig} + */ +public final class ClientConnectionConfig extends com.google.protobuf.GeneratedMessageV3 + implements + // @@protoc_insertion_point(message_implements:google.cloud.aiplatform.v1.ClientConnectionConfig) + ClientConnectionConfigOrBuilder { + private static final long serialVersionUID = 0L; + // Use ClientConnectionConfig.newBuilder() to construct. + private ClientConnectionConfig(com.google.protobuf.GeneratedMessageV3.Builder> builder) { + super(builder); + } + + private ClientConnectionConfig() {} + + @java.lang.Override + @SuppressWarnings({"unused"}) + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + return new ClientConnectionConfig(); + } + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.aiplatform.v1.EndpointProto + .internal_static_google_cloud_aiplatform_v1_ClientConnectionConfig_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return com.google.cloud.aiplatform.v1.EndpointProto + .internal_static_google_cloud_aiplatform_v1_ClientConnectionConfig_fieldAccessorTable + .ensureFieldAccessorsInitialized( + com.google.cloud.aiplatform.v1.ClientConnectionConfig.class, + com.google.cloud.aiplatform.v1.ClientConnectionConfig.Builder.class); + } + + private int bitField0_; + public static final int INFERENCE_TIMEOUT_FIELD_NUMBER = 1; + private com.google.protobuf.Duration inferenceTimeout_; + /** + * + * + *
+ * Customizable online prediction request timeout. + *+ * + *
.google.protobuf.Duration inference_timeout = 1;
+ *
+ * @return Whether the inferenceTimeout field is set.
+ */
+ @java.lang.Override
+ public boolean hasInferenceTimeout() {
+ return ((bitField0_ & 0x00000001) != 0);
+ }
+ /**
+ *
+ *
+ * + * Customizable online prediction request timeout. + *+ * + *
.google.protobuf.Duration inference_timeout = 1;
+ *
+ * @return The inferenceTimeout.
+ */
+ @java.lang.Override
+ public com.google.protobuf.Duration getInferenceTimeout() {
+ return inferenceTimeout_ == null
+ ? com.google.protobuf.Duration.getDefaultInstance()
+ : inferenceTimeout_;
+ }
+ /**
+ *
+ *
+ * + * Customizable online prediction request timeout. + *+ * + *
.google.protobuf.Duration inference_timeout = 1;
+ */
+ @java.lang.Override
+ public com.google.protobuf.DurationOrBuilder getInferenceTimeoutOrBuilder() {
+ return inferenceTimeout_ == null
+ ? com.google.protobuf.Duration.getDefaultInstance()
+ : inferenceTimeout_;
+ }
+
+ private byte memoizedIsInitialized = -1;
+
+ @java.lang.Override
+ public final boolean isInitialized() {
+ byte isInitialized = memoizedIsInitialized;
+ if (isInitialized == 1) return true;
+ if (isInitialized == 0) return false;
+
+ memoizedIsInitialized = 1;
+ return true;
+ }
+
+ @java.lang.Override
+ public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException {
+ if (((bitField0_ & 0x00000001) != 0)) {
+ output.writeMessage(1, getInferenceTimeout());
+ }
+ getUnknownFields().writeTo(output);
+ }
+
+ @java.lang.Override
+ public int getSerializedSize() {
+ int size = memoizedSize;
+ if (size != -1) return size;
+
+ size = 0;
+ if (((bitField0_ & 0x00000001) != 0)) {
+ size += com.google.protobuf.CodedOutputStream.computeMessageSize(1, getInferenceTimeout());
+ }
+ 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 com.google.cloud.aiplatform.v1.ClientConnectionConfig)) {
+ return super.equals(obj);
+ }
+ com.google.cloud.aiplatform.v1.ClientConnectionConfig other =
+ (com.google.cloud.aiplatform.v1.ClientConnectionConfig) obj;
+
+ if (hasInferenceTimeout() != other.hasInferenceTimeout()) return false;
+ if (hasInferenceTimeout()) {
+ if (!getInferenceTimeout().equals(other.getInferenceTimeout())) 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 (hasInferenceTimeout()) {
+ hash = (37 * hash) + INFERENCE_TIMEOUT_FIELD_NUMBER;
+ hash = (53 * hash) + getInferenceTimeout().hashCode();
+ }
+ hash = (29 * hash) + getUnknownFields().hashCode();
+ memoizedHashCode = hash;
+ return hash;
+ }
+
+ public static com.google.cloud.aiplatform.v1.ClientConnectionConfig parseFrom(
+ java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException {
+ return PARSER.parseFrom(data);
+ }
+
+ public static com.google.cloud.aiplatform.v1.ClientConnectionConfig parseFrom(
+ java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+ throws com.google.protobuf.InvalidProtocolBufferException {
+ return PARSER.parseFrom(data, extensionRegistry);
+ }
+
+ public static com.google.cloud.aiplatform.v1.ClientConnectionConfig parseFrom(
+ com.google.protobuf.ByteString data)
+ throws com.google.protobuf.InvalidProtocolBufferException {
+ return PARSER.parseFrom(data);
+ }
+
+ public static com.google.cloud.aiplatform.v1.ClientConnectionConfig parseFrom(
+ com.google.protobuf.ByteString data,
+ com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+ throws com.google.protobuf.InvalidProtocolBufferException {
+ return PARSER.parseFrom(data, extensionRegistry);
+ }
+
+ public static com.google.cloud.aiplatform.v1.ClientConnectionConfig parseFrom(byte[] data)
+ throws com.google.protobuf.InvalidProtocolBufferException {
+ return PARSER.parseFrom(data);
+ }
+
+ public static com.google.cloud.aiplatform.v1.ClientConnectionConfig parseFrom(
+ byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+ throws com.google.protobuf.InvalidProtocolBufferException {
+ return PARSER.parseFrom(data, extensionRegistry);
+ }
+
+ public static com.google.cloud.aiplatform.v1.ClientConnectionConfig parseFrom(
+ java.io.InputStream input) throws java.io.IOException {
+ return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input);
+ }
+
+ public static com.google.cloud.aiplatform.v1.ClientConnectionConfig parseFrom(
+ java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+ throws java.io.IOException {
+ return com.google.protobuf.GeneratedMessageV3.parseWithIOException(
+ PARSER, input, extensionRegistry);
+ }
+
+ public static com.google.cloud.aiplatform.v1.ClientConnectionConfig parseDelimitedFrom(
+ java.io.InputStream input) throws java.io.IOException {
+ return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input);
+ }
+
+ public static com.google.cloud.aiplatform.v1.ClientConnectionConfig parseDelimitedFrom(
+ java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+ throws java.io.IOException {
+ return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(
+ PARSER, input, extensionRegistry);
+ }
+
+ public static com.google.cloud.aiplatform.v1.ClientConnectionConfig parseFrom(
+ com.google.protobuf.CodedInputStream input) throws java.io.IOException {
+ return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input);
+ }
+
+ public static com.google.cloud.aiplatform.v1.ClientConnectionConfig 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(
+ com.google.cloud.aiplatform.v1.ClientConnectionConfig 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;
+ }
+ /**
+ *
+ *
+ * + * Configurations (e.g. inference timeout) that are applied on your endpoints. + *+ * + * Protobuf type {@code google.cloud.aiplatform.v1.ClientConnectionConfig} + */ + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder
+ * Customizable online prediction request timeout. + *+ * + *
.google.protobuf.Duration inference_timeout = 1;
+ *
+ * @return Whether the inferenceTimeout field is set.
+ */
+ public boolean hasInferenceTimeout() {
+ return ((bitField0_ & 0x00000001) != 0);
+ }
+ /**
+ *
+ *
+ * + * Customizable online prediction request timeout. + *+ * + *
.google.protobuf.Duration inference_timeout = 1;
+ *
+ * @return The inferenceTimeout.
+ */
+ public com.google.protobuf.Duration getInferenceTimeout() {
+ if (inferenceTimeoutBuilder_ == null) {
+ return inferenceTimeout_ == null
+ ? com.google.protobuf.Duration.getDefaultInstance()
+ : inferenceTimeout_;
+ } else {
+ return inferenceTimeoutBuilder_.getMessage();
+ }
+ }
+ /**
+ *
+ *
+ * + * Customizable online prediction request timeout. + *+ * + *
.google.protobuf.Duration inference_timeout = 1;
+ */
+ public Builder setInferenceTimeout(com.google.protobuf.Duration value) {
+ if (inferenceTimeoutBuilder_ == null) {
+ if (value == null) {
+ throw new NullPointerException();
+ }
+ inferenceTimeout_ = value;
+ } else {
+ inferenceTimeoutBuilder_.setMessage(value);
+ }
+ bitField0_ |= 0x00000001;
+ onChanged();
+ return this;
+ }
+ /**
+ *
+ *
+ * + * Customizable online prediction request timeout. + *+ * + *
.google.protobuf.Duration inference_timeout = 1;
+ */
+ public Builder setInferenceTimeout(com.google.protobuf.Duration.Builder builderForValue) {
+ if (inferenceTimeoutBuilder_ == null) {
+ inferenceTimeout_ = builderForValue.build();
+ } else {
+ inferenceTimeoutBuilder_.setMessage(builderForValue.build());
+ }
+ bitField0_ |= 0x00000001;
+ onChanged();
+ return this;
+ }
+ /**
+ *
+ *
+ * + * Customizable online prediction request timeout. + *+ * + *
.google.protobuf.Duration inference_timeout = 1;
+ */
+ public Builder mergeInferenceTimeout(com.google.protobuf.Duration value) {
+ if (inferenceTimeoutBuilder_ == null) {
+ if (((bitField0_ & 0x00000001) != 0)
+ && inferenceTimeout_ != null
+ && inferenceTimeout_ != com.google.protobuf.Duration.getDefaultInstance()) {
+ getInferenceTimeoutBuilder().mergeFrom(value);
+ } else {
+ inferenceTimeout_ = value;
+ }
+ } else {
+ inferenceTimeoutBuilder_.mergeFrom(value);
+ }
+ if (inferenceTimeout_ != null) {
+ bitField0_ |= 0x00000001;
+ onChanged();
+ }
+ return this;
+ }
+ /**
+ *
+ *
+ * + * Customizable online prediction request timeout. + *+ * + *
.google.protobuf.Duration inference_timeout = 1;
+ */
+ public Builder clearInferenceTimeout() {
+ bitField0_ = (bitField0_ & ~0x00000001);
+ inferenceTimeout_ = null;
+ if (inferenceTimeoutBuilder_ != null) {
+ inferenceTimeoutBuilder_.dispose();
+ inferenceTimeoutBuilder_ = null;
+ }
+ onChanged();
+ return this;
+ }
+ /**
+ *
+ *
+ * + * Customizable online prediction request timeout. + *+ * + *
.google.protobuf.Duration inference_timeout = 1;
+ */
+ public com.google.protobuf.Duration.Builder getInferenceTimeoutBuilder() {
+ bitField0_ |= 0x00000001;
+ onChanged();
+ return getInferenceTimeoutFieldBuilder().getBuilder();
+ }
+ /**
+ *
+ *
+ * + * Customizable online prediction request timeout. + *+ * + *
.google.protobuf.Duration inference_timeout = 1;
+ */
+ public com.google.protobuf.DurationOrBuilder getInferenceTimeoutOrBuilder() {
+ if (inferenceTimeoutBuilder_ != null) {
+ return inferenceTimeoutBuilder_.getMessageOrBuilder();
+ } else {
+ return inferenceTimeout_ == null
+ ? com.google.protobuf.Duration.getDefaultInstance()
+ : inferenceTimeout_;
+ }
+ }
+ /**
+ *
+ *
+ * + * Customizable online prediction request timeout. + *+ * + *
.google.protobuf.Duration inference_timeout = 1;
+ */
+ private com.google.protobuf.SingleFieldBuilderV3<
+ com.google.protobuf.Duration,
+ com.google.protobuf.Duration.Builder,
+ com.google.protobuf.DurationOrBuilder>
+ getInferenceTimeoutFieldBuilder() {
+ if (inferenceTimeoutBuilder_ == null) {
+ inferenceTimeoutBuilder_ =
+ new com.google.protobuf.SingleFieldBuilderV3<
+ com.google.protobuf.Duration,
+ com.google.protobuf.Duration.Builder,
+ com.google.protobuf.DurationOrBuilder>(
+ getInferenceTimeout(), getParentForChildren(), isClean());
+ inferenceTimeout_ = null;
+ }
+ return inferenceTimeoutBuilder_;
+ }
+
+ @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:google.cloud.aiplatform.v1.ClientConnectionConfig)
+ }
+
+ // @@protoc_insertion_point(class_scope:google.cloud.aiplatform.v1.ClientConnectionConfig)
+ private static final com.google.cloud.aiplatform.v1.ClientConnectionConfig DEFAULT_INSTANCE;
+
+ static {
+ DEFAULT_INSTANCE = new com.google.cloud.aiplatform.v1.ClientConnectionConfig();
+ }
+
+ public static com.google.cloud.aiplatform.v1.ClientConnectionConfig getDefaultInstance() {
+ return DEFAULT_INSTANCE;
+ }
+
+ private static final com.google.protobuf.Parser+ * Customizable online prediction request timeout. + *+ * + *
.google.protobuf.Duration inference_timeout = 1;
+ *
+ * @return Whether the inferenceTimeout field is set.
+ */
+ boolean hasInferenceTimeout();
+ /**
+ *
+ *
+ * + * Customizable online prediction request timeout. + *+ * + *
.google.protobuf.Duration inference_timeout = 1;
+ *
+ * @return The inferenceTimeout.
+ */
+ com.google.protobuf.Duration getInferenceTimeout();
+ /**
+ *
+ *
+ * + * Customizable online prediction request timeout. + *+ * + *
.google.protobuf.Duration inference_timeout = 1;
+ */
+ com.google.protobuf.DurationOrBuilder getInferenceTimeoutOrBuilder();
+}
diff --git a/java-aiplatform/proto-google-cloud-aiplatform-v1/src/main/java/com/google/cloud/aiplatform/v1/Endpoint.java b/java-aiplatform/proto-google-cloud-aiplatform-v1/src/main/java/com/google/cloud/aiplatform/v1/Endpoint.java
index 68017a7abedc..f0538eabe92e 100644
--- a/java-aiplatform/proto-google-cloud-aiplatform-v1/src/main/java/com/google/cloud/aiplatform/v1/Endpoint.java
+++ b/java-aiplatform/proto-google-cloud-aiplatform-v1/src/main/java/com/google/cloud/aiplatform/v1/Endpoint.java
@@ -914,7 +914,7 @@ public com.google.protobuf.ByteString getNetworkBytes() {
* bool enable_private_service_connect = 17 [deprecated = true];
*
* @deprecated google.cloud.aiplatform.v1.Endpoint.enable_private_service_connect is deprecated.
- * See google/cloud/aiplatform/v1/endpoint.proto;l=127
+ * See google/cloud/aiplatform/v1/endpoint.proto;l=128
* @return The enablePrivateServiceConnect.
*/
@java.lang.Override
@@ -1196,6 +1196,57 @@ public com.google.protobuf.ByteString getDedicatedEndpointDnsBytes() {
}
}
+ public static final int CLIENT_CONNECTION_CONFIG_FIELD_NUMBER = 23;
+ private com.google.cloud.aiplatform.v1.ClientConnectionConfig clientConnectionConfig_;
+ /**
+ *
+ *
+ * + * Configurations that are applied to the endpoint for online prediction. + *+ * + *
.google.cloud.aiplatform.v1.ClientConnectionConfig client_connection_config = 23;
+ *
+ * @return Whether the clientConnectionConfig field is set.
+ */
+ @java.lang.Override
+ public boolean hasClientConnectionConfig() {
+ return ((bitField0_ & 0x00000020) != 0);
+ }
+ /**
+ *
+ *
+ * + * Configurations that are applied to the endpoint for online prediction. + *+ * + *
.google.cloud.aiplatform.v1.ClientConnectionConfig client_connection_config = 23;
+ *
+ * @return The clientConnectionConfig.
+ */
+ @java.lang.Override
+ public com.google.cloud.aiplatform.v1.ClientConnectionConfig getClientConnectionConfig() {
+ return clientConnectionConfig_ == null
+ ? com.google.cloud.aiplatform.v1.ClientConnectionConfig.getDefaultInstance()
+ : clientConnectionConfig_;
+ }
+ /**
+ *
+ *
+ * + * Configurations that are applied to the endpoint for online prediction. + *+ * + *
.google.cloud.aiplatform.v1.ClientConnectionConfig client_connection_config = 23;
+ */
+ @java.lang.Override
+ public com.google.cloud.aiplatform.v1.ClientConnectionConfigOrBuilder
+ getClientConnectionConfigOrBuilder() {
+ return clientConnectionConfig_ == null
+ ? com.google.cloud.aiplatform.v1.ClientConnectionConfig.getDefaultInstance()
+ : clientConnectionConfig_;
+ }
+
public static final int SATISFIES_PZS_FIELD_NUMBER = 27;
private boolean satisfiesPzs_ = false;
/**
@@ -1289,6 +1340,9 @@ public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io
if (((bitField0_ & 0x00000008) != 0)) {
output.writeMessage(21, getPrivateServiceConnectConfig());
}
+ if (((bitField0_ & 0x00000020) != 0)) {
+ output.writeMessage(23, getClientConnectionConfig());
+ }
if (dedicatedEndpointEnabled_ != false) {
output.writeBool(24, dedicatedEndpointEnabled_);
}
@@ -1376,6 +1430,10 @@ public int getSerializedSize() {
com.google.protobuf.CodedOutputStream.computeMessageSize(
21, getPrivateServiceConnectConfig());
}
+ if (((bitField0_ & 0x00000020) != 0)) {
+ size +=
+ com.google.protobuf.CodedOutputStream.computeMessageSize(23, getClientConnectionConfig());
+ }
if (dedicatedEndpointEnabled_ != false) {
size += com.google.protobuf.CodedOutputStream.computeBoolSize(24, dedicatedEndpointEnabled_);
}
@@ -1439,6 +1497,10 @@ public boolean equals(final java.lang.Object obj) {
}
if (getDedicatedEndpointEnabled() != other.getDedicatedEndpointEnabled()) return false;
if (!getDedicatedEndpointDns().equals(other.getDedicatedEndpointDns())) return false;
+ if (hasClientConnectionConfig() != other.hasClientConnectionConfig()) return false;
+ if (hasClientConnectionConfig()) {
+ if (!getClientConnectionConfig().equals(other.getClientConnectionConfig())) return false;
+ }
if (getSatisfiesPzs() != other.getSatisfiesPzs()) return false;
if (getSatisfiesPzi() != other.getSatisfiesPzi()) return false;
if (!getUnknownFields().equals(other.getUnknownFields())) return false;
@@ -1502,6 +1564,10 @@ public int hashCode() {
hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(getDedicatedEndpointEnabled());
hash = (37 * hash) + DEDICATED_ENDPOINT_DNS_FIELD_NUMBER;
hash = (53 * hash) + getDedicatedEndpointDns().hashCode();
+ if (hasClientConnectionConfig()) {
+ hash = (37 * hash) + CLIENT_CONNECTION_CONFIG_FIELD_NUMBER;
+ hash = (53 * hash) + getClientConnectionConfig().hashCode();
+ }
hash = (37 * hash) + SATISFIES_PZS_FIELD_NUMBER;
hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(getSatisfiesPzs());
hash = (37 * hash) + SATISFIES_PZI_FIELD_NUMBER;
@@ -1679,6 +1745,7 @@ private void maybeForceBuilderInitialization() {
getEncryptionSpecFieldBuilder();
getPrivateServiceConnectConfigFieldBuilder();
getPredictRequestResponseLoggingConfigFieldBuilder();
+ getClientConnectionConfigFieldBuilder();
}
}
@@ -1729,6 +1796,11 @@ public Builder clear() {
}
dedicatedEndpointEnabled_ = false;
dedicatedEndpointDns_ = "";
+ clientConnectionConfig_ = null;
+ if (clientConnectionConfigBuilder_ != null) {
+ clientConnectionConfigBuilder_.dispose();
+ clientConnectionConfigBuilder_ = null;
+ }
satisfiesPzs_ = false;
satisfiesPzi_ = false;
return this;
@@ -1844,9 +1916,16 @@ private void buildPartial0(com.google.cloud.aiplatform.v1.Endpoint result) {
result.dedicatedEndpointDns_ = dedicatedEndpointDns_;
}
if (((from_bitField0_ & 0x00020000) != 0)) {
- result.satisfiesPzs_ = satisfiesPzs_;
+ result.clientConnectionConfig_ =
+ clientConnectionConfigBuilder_ == null
+ ? clientConnectionConfig_
+ : clientConnectionConfigBuilder_.build();
+ to_bitField0_ |= 0x00000020;
}
if (((from_bitField0_ & 0x00040000) != 0)) {
+ result.satisfiesPzs_ = satisfiesPzs_;
+ }
+ if (((from_bitField0_ & 0x00080000) != 0)) {
result.satisfiesPzi_ = satisfiesPzi_;
}
result.bitField0_ |= to_bitField0_;
@@ -1984,6 +2063,9 @@ public Builder mergeFrom(com.google.cloud.aiplatform.v1.Endpoint other) {
bitField0_ |= 0x00010000;
onChanged();
}
+ if (other.hasClientConnectionConfig()) {
+ mergeClientConnectionConfig(other.getClientConnectionConfig());
+ }
if (other.getSatisfiesPzs() != false) {
setSatisfiesPzs(other.getSatisfiesPzs());
}
@@ -2128,6 +2210,13 @@ public Builder mergeFrom(
bitField0_ |= 0x00001000;
break;
} // case 170
+ case 186:
+ {
+ input.readMessage(
+ getClientConnectionConfigFieldBuilder().getBuilder(), extensionRegistry);
+ bitField0_ |= 0x00020000;
+ break;
+ } // case 186
case 192:
{
dedicatedEndpointEnabled_ = input.readBool();
@@ -2143,13 +2232,13 @@ public Builder mergeFrom(
case 216:
{
satisfiesPzs_ = input.readBool();
- bitField0_ |= 0x00020000;
+ bitField0_ |= 0x00040000;
break;
} // case 216
case 224:
{
satisfiesPzi_ = input.readBool();
- bitField0_ |= 0x00040000;
+ bitField0_ |= 0x00080000;
break;
} // case 224
default:
@@ -4328,7 +4417,7 @@ public Builder setNetworkBytes(com.google.protobuf.ByteString value) {
* bool enable_private_service_connect = 17 [deprecated = true];
*
* @deprecated google.cloud.aiplatform.v1.Endpoint.enable_private_service_connect is deprecated.
- * See google/cloud/aiplatform/v1/endpoint.proto;l=127
+ * See google/cloud/aiplatform/v1/endpoint.proto;l=128
* @return The enablePrivateServiceConnect.
*/
@java.lang.Override
@@ -4351,7 +4440,7 @@ public boolean getEnablePrivateServiceConnect() {
* bool enable_private_service_connect = 17 [deprecated = true];
*
* @deprecated google.cloud.aiplatform.v1.Endpoint.enable_private_service_connect is deprecated.
- * See google/cloud/aiplatform/v1/endpoint.proto;l=127
+ * See google/cloud/aiplatform/v1/endpoint.proto;l=128
* @param value The enablePrivateServiceConnect to set.
* @return This builder for chaining.
*/
@@ -4378,7 +4467,7 @@ public Builder setEnablePrivateServiceConnect(boolean value) {
* bool enable_private_service_connect = 17 [deprecated = true];
*
* @deprecated google.cloud.aiplatform.v1.Endpoint.enable_private_service_connect is deprecated.
- * See google/cloud/aiplatform/v1/endpoint.proto;l=127
+ * See google/cloud/aiplatform/v1/endpoint.proto;l=128
* @return This builder for chaining.
*/
@java.lang.Deprecated
@@ -5179,6 +5268,206 @@ public Builder setDedicatedEndpointDnsBytes(com.google.protobuf.ByteString value
return this;
}
+ private com.google.cloud.aiplatform.v1.ClientConnectionConfig clientConnectionConfig_;
+ private com.google.protobuf.SingleFieldBuilderV3<
+ com.google.cloud.aiplatform.v1.ClientConnectionConfig,
+ com.google.cloud.aiplatform.v1.ClientConnectionConfig.Builder,
+ com.google.cloud.aiplatform.v1.ClientConnectionConfigOrBuilder>
+ clientConnectionConfigBuilder_;
+ /**
+ *
+ *
+ * + * Configurations that are applied to the endpoint for online prediction. + *+ * + *
.google.cloud.aiplatform.v1.ClientConnectionConfig client_connection_config = 23;
+ *
+ *
+ * @return Whether the clientConnectionConfig field is set.
+ */
+ public boolean hasClientConnectionConfig() {
+ return ((bitField0_ & 0x00020000) != 0);
+ }
+ /**
+ *
+ *
+ * + * Configurations that are applied to the endpoint for online prediction. + *+ * + *
.google.cloud.aiplatform.v1.ClientConnectionConfig client_connection_config = 23;
+ *
+ *
+ * @return The clientConnectionConfig.
+ */
+ public com.google.cloud.aiplatform.v1.ClientConnectionConfig getClientConnectionConfig() {
+ if (clientConnectionConfigBuilder_ == null) {
+ return clientConnectionConfig_ == null
+ ? com.google.cloud.aiplatform.v1.ClientConnectionConfig.getDefaultInstance()
+ : clientConnectionConfig_;
+ } else {
+ return clientConnectionConfigBuilder_.getMessage();
+ }
+ }
+ /**
+ *
+ *
+ * + * Configurations that are applied to the endpoint for online prediction. + *+ * + *
.google.cloud.aiplatform.v1.ClientConnectionConfig client_connection_config = 23;
+ *
+ */
+ public Builder setClientConnectionConfig(
+ com.google.cloud.aiplatform.v1.ClientConnectionConfig value) {
+ if (clientConnectionConfigBuilder_ == null) {
+ if (value == null) {
+ throw new NullPointerException();
+ }
+ clientConnectionConfig_ = value;
+ } else {
+ clientConnectionConfigBuilder_.setMessage(value);
+ }
+ bitField0_ |= 0x00020000;
+ onChanged();
+ return this;
+ }
+ /**
+ *
+ *
+ * + * Configurations that are applied to the endpoint for online prediction. + *+ * + *
.google.cloud.aiplatform.v1.ClientConnectionConfig client_connection_config = 23;
+ *
+ */
+ public Builder setClientConnectionConfig(
+ com.google.cloud.aiplatform.v1.ClientConnectionConfig.Builder builderForValue) {
+ if (clientConnectionConfigBuilder_ == null) {
+ clientConnectionConfig_ = builderForValue.build();
+ } else {
+ clientConnectionConfigBuilder_.setMessage(builderForValue.build());
+ }
+ bitField0_ |= 0x00020000;
+ onChanged();
+ return this;
+ }
+ /**
+ *
+ *
+ * + * Configurations that are applied to the endpoint for online prediction. + *+ * + *
.google.cloud.aiplatform.v1.ClientConnectionConfig client_connection_config = 23;
+ *
+ */
+ public Builder mergeClientConnectionConfig(
+ com.google.cloud.aiplatform.v1.ClientConnectionConfig value) {
+ if (clientConnectionConfigBuilder_ == null) {
+ if (((bitField0_ & 0x00020000) != 0)
+ && clientConnectionConfig_ != null
+ && clientConnectionConfig_
+ != com.google.cloud.aiplatform.v1.ClientConnectionConfig.getDefaultInstance()) {
+ getClientConnectionConfigBuilder().mergeFrom(value);
+ } else {
+ clientConnectionConfig_ = value;
+ }
+ } else {
+ clientConnectionConfigBuilder_.mergeFrom(value);
+ }
+ if (clientConnectionConfig_ != null) {
+ bitField0_ |= 0x00020000;
+ onChanged();
+ }
+ return this;
+ }
+ /**
+ *
+ *
+ * + * Configurations that are applied to the endpoint for online prediction. + *+ * + *
.google.cloud.aiplatform.v1.ClientConnectionConfig client_connection_config = 23;
+ *
+ */
+ public Builder clearClientConnectionConfig() {
+ bitField0_ = (bitField0_ & ~0x00020000);
+ clientConnectionConfig_ = null;
+ if (clientConnectionConfigBuilder_ != null) {
+ clientConnectionConfigBuilder_.dispose();
+ clientConnectionConfigBuilder_ = null;
+ }
+ onChanged();
+ return this;
+ }
+ /**
+ *
+ *
+ * + * Configurations that are applied to the endpoint for online prediction. + *+ * + *
.google.cloud.aiplatform.v1.ClientConnectionConfig client_connection_config = 23;
+ *
+ */
+ public com.google.cloud.aiplatform.v1.ClientConnectionConfig.Builder
+ getClientConnectionConfigBuilder() {
+ bitField0_ |= 0x00020000;
+ onChanged();
+ return getClientConnectionConfigFieldBuilder().getBuilder();
+ }
+ /**
+ *
+ *
+ * + * Configurations that are applied to the endpoint for online prediction. + *+ * + *
.google.cloud.aiplatform.v1.ClientConnectionConfig client_connection_config = 23;
+ *
+ */
+ public com.google.cloud.aiplatform.v1.ClientConnectionConfigOrBuilder
+ getClientConnectionConfigOrBuilder() {
+ if (clientConnectionConfigBuilder_ != null) {
+ return clientConnectionConfigBuilder_.getMessageOrBuilder();
+ } else {
+ return clientConnectionConfig_ == null
+ ? com.google.cloud.aiplatform.v1.ClientConnectionConfig.getDefaultInstance()
+ : clientConnectionConfig_;
+ }
+ }
+ /**
+ *
+ *
+ * + * Configurations that are applied to the endpoint for online prediction. + *+ * + *
.google.cloud.aiplatform.v1.ClientConnectionConfig client_connection_config = 23;
+ *
+ */
+ private com.google.protobuf.SingleFieldBuilderV3<
+ com.google.cloud.aiplatform.v1.ClientConnectionConfig,
+ com.google.cloud.aiplatform.v1.ClientConnectionConfig.Builder,
+ com.google.cloud.aiplatform.v1.ClientConnectionConfigOrBuilder>
+ getClientConnectionConfigFieldBuilder() {
+ if (clientConnectionConfigBuilder_ == null) {
+ clientConnectionConfigBuilder_ =
+ new com.google.protobuf.SingleFieldBuilderV3<
+ com.google.cloud.aiplatform.v1.ClientConnectionConfig,
+ com.google.cloud.aiplatform.v1.ClientConnectionConfig.Builder,
+ com.google.cloud.aiplatform.v1.ClientConnectionConfigOrBuilder>(
+ getClientConnectionConfig(), getParentForChildren(), isClean());
+ clientConnectionConfig_ = null;
+ }
+ return clientConnectionConfigBuilder_;
+ }
+
private boolean satisfiesPzs_;
/**
*
@@ -5210,7 +5499,7 @@ public boolean getSatisfiesPzs() {
public Builder setSatisfiesPzs(boolean value) {
satisfiesPzs_ = value;
- bitField0_ |= 0x00020000;
+ bitField0_ |= 0x00040000;
onChanged();
return this;
}
@@ -5226,7 +5515,7 @@ public Builder setSatisfiesPzs(boolean value) {
* @return This builder for chaining.
*/
public Builder clearSatisfiesPzs() {
- bitField0_ = (bitField0_ & ~0x00020000);
+ bitField0_ = (bitField0_ & ~0x00040000);
satisfiesPzs_ = false;
onChanged();
return this;
@@ -5263,7 +5552,7 @@ public boolean getSatisfiesPzi() {
public Builder setSatisfiesPzi(boolean value) {
satisfiesPzi_ = value;
- bitField0_ |= 0x00040000;
+ bitField0_ |= 0x00080000;
onChanged();
return this;
}
@@ -5279,7 +5568,7 @@ public Builder setSatisfiesPzi(boolean value) {
* @return This builder for chaining.
*/
public Builder clearSatisfiesPzi() {
- bitField0_ = (bitField0_ & ~0x00040000);
+ bitField0_ = (bitField0_ & ~0x00080000);
satisfiesPzi_ = false;
onChanged();
return this;
diff --git a/java-aiplatform/proto-google-cloud-aiplatform-v1/src/main/java/com/google/cloud/aiplatform/v1/EndpointOrBuilder.java b/java-aiplatform/proto-google-cloud-aiplatform-v1/src/main/java/com/google/cloud/aiplatform/v1/EndpointOrBuilder.java
index d3da5ec58771..a4c20b8d6ade 100644
--- a/java-aiplatform/proto-google-cloud-aiplatform-v1/src/main/java/com/google/cloud/aiplatform/v1/EndpointOrBuilder.java
+++ b/java-aiplatform/proto-google-cloud-aiplatform-v1/src/main/java/com/google/cloud/aiplatform/v1/EndpointOrBuilder.java
@@ -585,7 +585,7 @@ java.lang.String getLabelsOrDefault(
* bool enable_private_service_connect = 17 [deprecated = true];
*
* @deprecated google.cloud.aiplatform.v1.Endpoint.enable_private_service_connect is deprecated.
- * See google/cloud/aiplatform/v1/endpoint.proto;l=127
+ * See google/cloud/aiplatform/v1/endpoint.proto;l=128
* @return The enablePrivateServiceConnect.
*/
@java.lang.Deprecated
@@ -775,6 +775,42 @@ java.lang.String getLabelsOrDefault(
*/
com.google.protobuf.ByteString getDedicatedEndpointDnsBytes();
+ /**
+ *
+ *
+ * + * Configurations that are applied to the endpoint for online prediction. + *+ * + *
.google.cloud.aiplatform.v1.ClientConnectionConfig client_connection_config = 23;
+ *
+ * @return Whether the clientConnectionConfig field is set.
+ */
+ boolean hasClientConnectionConfig();
+ /**
+ *
+ *
+ * + * Configurations that are applied to the endpoint for online prediction. + *+ * + *
.google.cloud.aiplatform.v1.ClientConnectionConfig client_connection_config = 23;
+ *
+ * @return The clientConnectionConfig.
+ */
+ com.google.cloud.aiplatform.v1.ClientConnectionConfig getClientConnectionConfig();
+ /**
+ *
+ *
+ * + * Configurations that are applied to the endpoint for online prediction. + *+ * + *
.google.cloud.aiplatform.v1.ClientConnectionConfig client_connection_config = 23;
+ */
+ com.google.cloud.aiplatform.v1.ClientConnectionConfigOrBuilder
+ getClientConnectionConfigOrBuilder();
+
/**
*
*
diff --git a/java-aiplatform/proto-google-cloud-aiplatform-v1/src/main/java/com/google/cloud/aiplatform/v1/EndpointProto.java b/java-aiplatform/proto-google-cloud-aiplatform-v1/src/main/java/com/google/cloud/aiplatform/v1/EndpointProto.java
index f4a9542669fb..f70d3efac478 100644
--- a/java-aiplatform/proto-google-cloud-aiplatform-v1/src/main/java/com/google/cloud/aiplatform/v1/EndpointProto.java
+++ b/java-aiplatform/proto-google-cloud-aiplatform-v1/src/main/java/com/google/cloud/aiplatform/v1/EndpointProto.java
@@ -60,6 +60,10 @@ public static void registerAllExtensions(com.google.protobuf.ExtensionRegistry r
internal_static_google_cloud_aiplatform_v1_FasterDeploymentConfig_descriptor;
static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internal_static_google_cloud_aiplatform_v1_FasterDeploymentConfig_fieldAccessorTable;
+ static final com.google.protobuf.Descriptors.Descriptor
+ internal_static_google_cloud_aiplatform_v1_ClientConnectionConfig_descriptor;
+ static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
+ internal_static_google_cloud_aiplatform_v1_ClientConnectionConfig_fieldAccessorTable;
public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() {
return descriptor;
@@ -78,79 +82,84 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() {
+ "d/aiplatform/v1/io.proto\0322google/cloud/a"
+ "iplatform/v1/machine_resources.proto\0323go"
+ "ogle/cloud/aiplatform/v1/service_network"
- + "ing.proto\032\037google/protobuf/timestamp.pro"
- + "to\"\251\n\n\010Endpoint\022\021\n\004name\030\001 \001(\tB\003\340A\003\022\031\n\014di"
- + "splay_name\030\002 \001(\tB\003\340A\002\022\023\n\013description\030\003 \001"
- + "(\t\022G\n\017deployed_models\030\004 \003(\0132).google.clo"
- + "ud.aiplatform.v1.DeployedModelB\003\340A\003\022M\n\rt"
- + "raffic_split\030\005 \003(\01326.google.cloud.aiplat"
- + "form.v1.Endpoint.TrafficSplitEntry\022\014\n\004et"
- + "ag\030\006 \001(\t\022@\n\006labels\030\007 \003(\01320.google.cloud."
- + "aiplatform.v1.Endpoint.LabelsEntry\0224\n\013cr"
- + "eate_time\030\010 \001(\0132\032.google.protobuf.Timest"
- + "ampB\003\340A\003\0224\n\013update_time\030\t \001(\0132\032.google.p"
- + "rotobuf.TimestampB\003\340A\003\022C\n\017encryption_spe"
- + "c\030\n \001(\0132*.google.cloud.aiplatform.v1.Enc"
- + "ryptionSpec\0227\n\007network\030\r \001(\tB&\340A\001\372A \n\036co"
- + "mpute.googleapis.com/Network\022*\n\036enable_p"
- + "rivate_service_connect\030\021 \001(\010B\002\030\001\022d\n\036priv"
- + "ate_service_connect_config\030\025 \001(\01327.googl"
- + "e.cloud.aiplatform.v1.PrivateServiceConn"
- + "ectConfigB\003\340A\001\022g\n\037model_deployment_monit"
- + "oring_job\030\016 \001(\tB>\340A\003\372A8\n6aiplatform.goog"
- + "leapis.com/ModelDeploymentMonitoringJob\022"
- + "p\n\'predict_request_response_logging_conf"
- + "ig\030\022 \001(\0132?.google.cloud.aiplatform.v1.Pr"
- + "edictRequestResponseLoggingConfig\022\"\n\032ded"
- + "icated_endpoint_enabled\030\030 \001(\010\022#\n\026dedicat"
- + "ed_endpoint_dns\030\031 \001(\tB\003\340A\003\022\032\n\rsatisfies_"
- + "pzs\030\033 \001(\010B\003\340A\003\022\032\n\rsatisfies_pzi\030\034 \001(\010B\003\340"
- + "A\003\0323\n\021TrafficSplitEntry\022\013\n\003key\030\001 \001(\t\022\r\n\005"
- + "value\030\002 \001(\005:\0028\001\032-\n\013LabelsEntry\022\013\n\003key\030\001 "
- + "\001(\t\022\r\n\005value\030\002 \001(\t:\0028\001:\265\001\352A\261\001\n\"aiplatfor"
- + "m.googleapis.com/Endpoint\022+ * The specification of a single machine for the execution job. + *+ * + *
.google.cloud.aiplatform.v1.MachineSpec machine_spec = 1;
+ *
+ * @return Whether the machineSpec field is set.
+ */
+ boolean hasMachineSpec();
+ /**
+ *
+ *
+ * + * The specification of a single machine for the execution job. + *+ * + *
.google.cloud.aiplatform.v1.MachineSpec machine_spec = 1;
+ *
+ * @return The machineSpec.
+ */
+ com.google.cloud.aiplatform.v1.MachineSpec getMachineSpec();
+ /**
+ *
+ *
+ * + * The specification of a single machine for the execution job. + *+ * + *
.google.cloud.aiplatform.v1.MachineSpec machine_spec = 1;
+ */
+ com.google.cloud.aiplatform.v1.MachineSpecOrBuilder getMachineSpecOrBuilder();
+
+ /**
+ *
+ *
+ * + * The specification of a persistent disk to attach for the execution job. + *+ * + *
.google.cloud.aiplatform.v1.PersistentDiskSpec persistent_disk_spec = 2;
+ *
+ * @return Whether the persistentDiskSpec field is set.
+ */
+ boolean hasPersistentDiskSpec();
+ /**
+ *
+ *
+ * + * The specification of a persistent disk to attach for the execution job. + *+ * + *
.google.cloud.aiplatform.v1.PersistentDiskSpec persistent_disk_spec = 2;
+ *
+ * @return The persistentDiskSpec.
+ */
+ com.google.cloud.aiplatform.v1.PersistentDiskSpec getPersistentDiskSpec();
+ /**
+ *
+ *
+ * + * The specification of a persistent disk to attach for the execution job. + *+ * + *
.google.cloud.aiplatform.v1.PersistentDiskSpec persistent_disk_spec = 2;
+ */
+ com.google.cloud.aiplatform.v1.PersistentDiskSpecOrBuilder getPersistentDiskSpecOrBuilder();
+
+ /**
+ *
+ *
+ * + * The network configuration to use for the execution job. + *+ * + *
.google.cloud.aiplatform.v1.NetworkSpec network_spec = 3;
+ *
+ * @return Whether the networkSpec field is set.
+ */
+ boolean hasNetworkSpec();
+ /**
+ *
+ *
+ * + * The network configuration to use for the execution job. + *+ * + *
.google.cloud.aiplatform.v1.NetworkSpec network_spec = 3;
+ *
+ * @return The networkSpec.
+ */
+ com.google.cloud.aiplatform.v1.NetworkSpec getNetworkSpec();
+ /**
+ *
+ *
+ * + * The network configuration to use for the execution job. + *+ * + *
.google.cloud.aiplatform.v1.NetworkSpec network_spec = 3;
+ */
+ com.google.cloud.aiplatform.v1.NetworkSpecOrBuilder getNetworkSpecOrBuilder();
+ }
+ /**
+ *
+ *
+ * + * Compute configuration to use for an execution job. + *+ * + * Protobuf type {@code google.cloud.aiplatform.v1.NotebookExecutionJob.CustomEnvironmentSpec} + */ + public static final class CustomEnvironmentSpec extends com.google.protobuf.GeneratedMessageV3 + implements + // @@protoc_insertion_point(message_implements:google.cloud.aiplatform.v1.NotebookExecutionJob.CustomEnvironmentSpec) + CustomEnvironmentSpecOrBuilder { + private static final long serialVersionUID = 0L; + // Use CustomEnvironmentSpec.newBuilder() to construct. + private CustomEnvironmentSpec(com.google.protobuf.GeneratedMessageV3.Builder> builder) { + super(builder); + } + + private CustomEnvironmentSpec() {} + + @java.lang.Override + @SuppressWarnings({"unused"}) + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + return new CustomEnvironmentSpec(); + } + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.aiplatform.v1.NotebookExecutionJobProto + .internal_static_google_cloud_aiplatform_v1_NotebookExecutionJob_CustomEnvironmentSpec_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return com.google.cloud.aiplatform.v1.NotebookExecutionJobProto + .internal_static_google_cloud_aiplatform_v1_NotebookExecutionJob_CustomEnvironmentSpec_fieldAccessorTable + .ensureFieldAccessorsInitialized( + com.google.cloud.aiplatform.v1.NotebookExecutionJob.CustomEnvironmentSpec.class, + com.google.cloud.aiplatform.v1.NotebookExecutionJob.CustomEnvironmentSpec.Builder + .class); + } + + private int bitField0_; + public static final int MACHINE_SPEC_FIELD_NUMBER = 1; + private com.google.cloud.aiplatform.v1.MachineSpec machineSpec_; + /** + * + * + *
+ * The specification of a single machine for the execution job. + *+ * + *
.google.cloud.aiplatform.v1.MachineSpec machine_spec = 1;
+ *
+ * @return Whether the machineSpec field is set.
+ */
+ @java.lang.Override
+ public boolean hasMachineSpec() {
+ return ((bitField0_ & 0x00000001) != 0);
+ }
+ /**
+ *
+ *
+ * + * The specification of a single machine for the execution job. + *+ * + *
.google.cloud.aiplatform.v1.MachineSpec machine_spec = 1;
+ *
+ * @return The machineSpec.
+ */
+ @java.lang.Override
+ public com.google.cloud.aiplatform.v1.MachineSpec getMachineSpec() {
+ return machineSpec_ == null
+ ? com.google.cloud.aiplatform.v1.MachineSpec.getDefaultInstance()
+ : machineSpec_;
+ }
+ /**
+ *
+ *
+ * + * The specification of a single machine for the execution job. + *+ * + *
.google.cloud.aiplatform.v1.MachineSpec machine_spec = 1;
+ */
+ @java.lang.Override
+ public com.google.cloud.aiplatform.v1.MachineSpecOrBuilder getMachineSpecOrBuilder() {
+ return machineSpec_ == null
+ ? com.google.cloud.aiplatform.v1.MachineSpec.getDefaultInstance()
+ : machineSpec_;
+ }
+
+ public static final int PERSISTENT_DISK_SPEC_FIELD_NUMBER = 2;
+ private com.google.cloud.aiplatform.v1.PersistentDiskSpec persistentDiskSpec_;
+ /**
+ *
+ *
+ * + * The specification of a persistent disk to attach for the execution job. + *+ * + *
.google.cloud.aiplatform.v1.PersistentDiskSpec persistent_disk_spec = 2;
+ *
+ * @return Whether the persistentDiskSpec field is set.
+ */
+ @java.lang.Override
+ public boolean hasPersistentDiskSpec() {
+ return ((bitField0_ & 0x00000002) != 0);
+ }
+ /**
+ *
+ *
+ * + * The specification of a persistent disk to attach for the execution job. + *+ * + *
.google.cloud.aiplatform.v1.PersistentDiskSpec persistent_disk_spec = 2;
+ *
+ * @return The persistentDiskSpec.
+ */
+ @java.lang.Override
+ public com.google.cloud.aiplatform.v1.PersistentDiskSpec getPersistentDiskSpec() {
+ return persistentDiskSpec_ == null
+ ? com.google.cloud.aiplatform.v1.PersistentDiskSpec.getDefaultInstance()
+ : persistentDiskSpec_;
+ }
+ /**
+ *
+ *
+ * + * The specification of a persistent disk to attach for the execution job. + *+ * + *
.google.cloud.aiplatform.v1.PersistentDiskSpec persistent_disk_spec = 2;
+ */
+ @java.lang.Override
+ public com.google.cloud.aiplatform.v1.PersistentDiskSpecOrBuilder
+ getPersistentDiskSpecOrBuilder() {
+ return persistentDiskSpec_ == null
+ ? com.google.cloud.aiplatform.v1.PersistentDiskSpec.getDefaultInstance()
+ : persistentDiskSpec_;
+ }
+
+ public static final int NETWORK_SPEC_FIELD_NUMBER = 3;
+ private com.google.cloud.aiplatform.v1.NetworkSpec networkSpec_;
+ /**
+ *
+ *
+ * + * The network configuration to use for the execution job. + *+ * + *
.google.cloud.aiplatform.v1.NetworkSpec network_spec = 3;
+ *
+ * @return Whether the networkSpec field is set.
+ */
+ @java.lang.Override
+ public boolean hasNetworkSpec() {
+ return ((bitField0_ & 0x00000004) != 0);
+ }
+ /**
+ *
+ *
+ * + * The network configuration to use for the execution job. + *+ * + *
.google.cloud.aiplatform.v1.NetworkSpec network_spec = 3;
+ *
+ * @return The networkSpec.
+ */
+ @java.lang.Override
+ public com.google.cloud.aiplatform.v1.NetworkSpec getNetworkSpec() {
+ return networkSpec_ == null
+ ? com.google.cloud.aiplatform.v1.NetworkSpec.getDefaultInstance()
+ : networkSpec_;
+ }
+ /**
+ *
+ *
+ * + * The network configuration to use for the execution job. + *+ * + *
.google.cloud.aiplatform.v1.NetworkSpec network_spec = 3;
+ */
+ @java.lang.Override
+ public com.google.cloud.aiplatform.v1.NetworkSpecOrBuilder getNetworkSpecOrBuilder() {
+ return networkSpec_ == null
+ ? com.google.cloud.aiplatform.v1.NetworkSpec.getDefaultInstance()
+ : networkSpec_;
+ }
+
+ private byte memoizedIsInitialized = -1;
+
+ @java.lang.Override
+ public final boolean isInitialized() {
+ byte isInitialized = memoizedIsInitialized;
+ if (isInitialized == 1) return true;
+ if (isInitialized == 0) return false;
+
+ memoizedIsInitialized = 1;
+ return true;
+ }
+
+ @java.lang.Override
+ public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException {
+ if (((bitField0_ & 0x00000001) != 0)) {
+ output.writeMessage(1, getMachineSpec());
+ }
+ if (((bitField0_ & 0x00000002) != 0)) {
+ output.writeMessage(2, getPersistentDiskSpec());
+ }
+ if (((bitField0_ & 0x00000004) != 0)) {
+ output.writeMessage(3, getNetworkSpec());
+ }
+ getUnknownFields().writeTo(output);
+ }
+
+ @java.lang.Override
+ public int getSerializedSize() {
+ int size = memoizedSize;
+ if (size != -1) return size;
+
+ size = 0;
+ if (((bitField0_ & 0x00000001) != 0)) {
+ size += com.google.protobuf.CodedOutputStream.computeMessageSize(1, getMachineSpec());
+ }
+ if (((bitField0_ & 0x00000002) != 0)) {
+ size +=
+ com.google.protobuf.CodedOutputStream.computeMessageSize(2, getPersistentDiskSpec());
+ }
+ if (((bitField0_ & 0x00000004) != 0)) {
+ size += com.google.protobuf.CodedOutputStream.computeMessageSize(3, getNetworkSpec());
+ }
+ 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 com.google.cloud.aiplatform.v1.NotebookExecutionJob.CustomEnvironmentSpec)) {
+ return super.equals(obj);
+ }
+ com.google.cloud.aiplatform.v1.NotebookExecutionJob.CustomEnvironmentSpec other =
+ (com.google.cloud.aiplatform.v1.NotebookExecutionJob.CustomEnvironmentSpec) obj;
+
+ if (hasMachineSpec() != other.hasMachineSpec()) return false;
+ if (hasMachineSpec()) {
+ if (!getMachineSpec().equals(other.getMachineSpec())) return false;
+ }
+ if (hasPersistentDiskSpec() != other.hasPersistentDiskSpec()) return false;
+ if (hasPersistentDiskSpec()) {
+ if (!getPersistentDiskSpec().equals(other.getPersistentDiskSpec())) return false;
+ }
+ if (hasNetworkSpec() != other.hasNetworkSpec()) return false;
+ if (hasNetworkSpec()) {
+ if (!getNetworkSpec().equals(other.getNetworkSpec())) 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 (hasMachineSpec()) {
+ hash = (37 * hash) + MACHINE_SPEC_FIELD_NUMBER;
+ hash = (53 * hash) + getMachineSpec().hashCode();
+ }
+ if (hasPersistentDiskSpec()) {
+ hash = (37 * hash) + PERSISTENT_DISK_SPEC_FIELD_NUMBER;
+ hash = (53 * hash) + getPersistentDiskSpec().hashCode();
+ }
+ if (hasNetworkSpec()) {
+ hash = (37 * hash) + NETWORK_SPEC_FIELD_NUMBER;
+ hash = (53 * hash) + getNetworkSpec().hashCode();
+ }
+ hash = (29 * hash) + getUnknownFields().hashCode();
+ memoizedHashCode = hash;
+ return hash;
+ }
+
+ public static com.google.cloud.aiplatform.v1.NotebookExecutionJob.CustomEnvironmentSpec
+ parseFrom(java.nio.ByteBuffer data)
+ throws com.google.protobuf.InvalidProtocolBufferException {
+ return PARSER.parseFrom(data);
+ }
+
+ public static com.google.cloud.aiplatform.v1.NotebookExecutionJob.CustomEnvironmentSpec
+ parseFrom(
+ java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+ throws com.google.protobuf.InvalidProtocolBufferException {
+ return PARSER.parseFrom(data, extensionRegistry);
+ }
+
+ public static com.google.cloud.aiplatform.v1.NotebookExecutionJob.CustomEnvironmentSpec
+ parseFrom(com.google.protobuf.ByteString data)
+ throws com.google.protobuf.InvalidProtocolBufferException {
+ return PARSER.parseFrom(data);
+ }
+
+ public static com.google.cloud.aiplatform.v1.NotebookExecutionJob.CustomEnvironmentSpec
+ parseFrom(
+ com.google.protobuf.ByteString data,
+ com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+ throws com.google.protobuf.InvalidProtocolBufferException {
+ return PARSER.parseFrom(data, extensionRegistry);
+ }
+
+ public static com.google.cloud.aiplatform.v1.NotebookExecutionJob.CustomEnvironmentSpec
+ parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException {
+ return PARSER.parseFrom(data);
+ }
+
+ public static com.google.cloud.aiplatform.v1.NotebookExecutionJob.CustomEnvironmentSpec
+ parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+ throws com.google.protobuf.InvalidProtocolBufferException {
+ return PARSER.parseFrom(data, extensionRegistry);
+ }
+
+ public static com.google.cloud.aiplatform.v1.NotebookExecutionJob.CustomEnvironmentSpec
+ parseFrom(java.io.InputStream input) throws java.io.IOException {
+ return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input);
+ }
+
+ public static com.google.cloud.aiplatform.v1.NotebookExecutionJob.CustomEnvironmentSpec
+ parseFrom(
+ java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+ throws java.io.IOException {
+ return com.google.protobuf.GeneratedMessageV3.parseWithIOException(
+ PARSER, input, extensionRegistry);
+ }
+
+ public static com.google.cloud.aiplatform.v1.NotebookExecutionJob.CustomEnvironmentSpec
+ parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException {
+ return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input);
+ }
+
+ public static com.google.cloud.aiplatform.v1.NotebookExecutionJob.CustomEnvironmentSpec
+ parseDelimitedFrom(
+ java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+ throws java.io.IOException {
+ return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(
+ PARSER, input, extensionRegistry);
+ }
+
+ public static com.google.cloud.aiplatform.v1.NotebookExecutionJob.CustomEnvironmentSpec
+ parseFrom(com.google.protobuf.CodedInputStream input) throws java.io.IOException {
+ return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input);
+ }
+
+ public static com.google.cloud.aiplatform.v1.NotebookExecutionJob.CustomEnvironmentSpec
+ 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(
+ com.google.cloud.aiplatform.v1.NotebookExecutionJob.CustomEnvironmentSpec 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;
+ }
+ /**
+ *
+ *
+ * + * Compute configuration to use for an execution job. + *+ * + * Protobuf type {@code google.cloud.aiplatform.v1.NotebookExecutionJob.CustomEnvironmentSpec} + */ + public static final class Builder + extends com.google.protobuf.GeneratedMessageV3.Builder
+ * The specification of a single machine for the execution job. + *+ * + *
.google.cloud.aiplatform.v1.MachineSpec machine_spec = 1;
+ *
+ * @return Whether the machineSpec field is set.
+ */
+ public boolean hasMachineSpec() {
+ return ((bitField0_ & 0x00000001) != 0);
+ }
+ /**
+ *
+ *
+ * + * The specification of a single machine for the execution job. + *+ * + *
.google.cloud.aiplatform.v1.MachineSpec machine_spec = 1;
+ *
+ * @return The machineSpec.
+ */
+ public com.google.cloud.aiplatform.v1.MachineSpec getMachineSpec() {
+ if (machineSpecBuilder_ == null) {
+ return machineSpec_ == null
+ ? com.google.cloud.aiplatform.v1.MachineSpec.getDefaultInstance()
+ : machineSpec_;
+ } else {
+ return machineSpecBuilder_.getMessage();
+ }
+ }
+ /**
+ *
+ *
+ * + * The specification of a single machine for the execution job. + *+ * + *
.google.cloud.aiplatform.v1.MachineSpec machine_spec = 1;
+ */
+ public Builder setMachineSpec(com.google.cloud.aiplatform.v1.MachineSpec value) {
+ if (machineSpecBuilder_ == null) {
+ if (value == null) {
+ throw new NullPointerException();
+ }
+ machineSpec_ = value;
+ } else {
+ machineSpecBuilder_.setMessage(value);
+ }
+ bitField0_ |= 0x00000001;
+ onChanged();
+ return this;
+ }
+ /**
+ *
+ *
+ * + * The specification of a single machine for the execution job. + *+ * + *
.google.cloud.aiplatform.v1.MachineSpec machine_spec = 1;
+ */
+ public Builder setMachineSpec(
+ com.google.cloud.aiplatform.v1.MachineSpec.Builder builderForValue) {
+ if (machineSpecBuilder_ == null) {
+ machineSpec_ = builderForValue.build();
+ } else {
+ machineSpecBuilder_.setMessage(builderForValue.build());
+ }
+ bitField0_ |= 0x00000001;
+ onChanged();
+ return this;
+ }
+ /**
+ *
+ *
+ * + * The specification of a single machine for the execution job. + *+ * + *
.google.cloud.aiplatform.v1.MachineSpec machine_spec = 1;
+ */
+ public Builder mergeMachineSpec(com.google.cloud.aiplatform.v1.MachineSpec value) {
+ if (machineSpecBuilder_ == null) {
+ if (((bitField0_ & 0x00000001) != 0)
+ && machineSpec_ != null
+ && machineSpec_ != com.google.cloud.aiplatform.v1.MachineSpec.getDefaultInstance()) {
+ getMachineSpecBuilder().mergeFrom(value);
+ } else {
+ machineSpec_ = value;
+ }
+ } else {
+ machineSpecBuilder_.mergeFrom(value);
+ }
+ if (machineSpec_ != null) {
+ bitField0_ |= 0x00000001;
+ onChanged();
+ }
+ return this;
+ }
+ /**
+ *
+ *
+ * + * The specification of a single machine for the execution job. + *+ * + *
.google.cloud.aiplatform.v1.MachineSpec machine_spec = 1;
+ */
+ public Builder clearMachineSpec() {
+ bitField0_ = (bitField0_ & ~0x00000001);
+ machineSpec_ = null;
+ if (machineSpecBuilder_ != null) {
+ machineSpecBuilder_.dispose();
+ machineSpecBuilder_ = null;
+ }
+ onChanged();
+ return this;
+ }
+ /**
+ *
+ *
+ * + * The specification of a single machine for the execution job. + *+ * + *
.google.cloud.aiplatform.v1.MachineSpec machine_spec = 1;
+ */
+ public com.google.cloud.aiplatform.v1.MachineSpec.Builder getMachineSpecBuilder() {
+ bitField0_ |= 0x00000001;
+ onChanged();
+ return getMachineSpecFieldBuilder().getBuilder();
+ }
+ /**
+ *
+ *
+ * + * The specification of a single machine for the execution job. + *+ * + *
.google.cloud.aiplatform.v1.MachineSpec machine_spec = 1;
+ */
+ public com.google.cloud.aiplatform.v1.MachineSpecOrBuilder getMachineSpecOrBuilder() {
+ if (machineSpecBuilder_ != null) {
+ return machineSpecBuilder_.getMessageOrBuilder();
+ } else {
+ return machineSpec_ == null
+ ? com.google.cloud.aiplatform.v1.MachineSpec.getDefaultInstance()
+ : machineSpec_;
+ }
+ }
+ /**
+ *
+ *
+ * + * The specification of a single machine for the execution job. + *+ * + *
.google.cloud.aiplatform.v1.MachineSpec machine_spec = 1;
+ */
+ private com.google.protobuf.SingleFieldBuilderV3<
+ com.google.cloud.aiplatform.v1.MachineSpec,
+ com.google.cloud.aiplatform.v1.MachineSpec.Builder,
+ com.google.cloud.aiplatform.v1.MachineSpecOrBuilder>
+ getMachineSpecFieldBuilder() {
+ if (machineSpecBuilder_ == null) {
+ machineSpecBuilder_ =
+ new com.google.protobuf.SingleFieldBuilderV3<
+ com.google.cloud.aiplatform.v1.MachineSpec,
+ com.google.cloud.aiplatform.v1.MachineSpec.Builder,
+ com.google.cloud.aiplatform.v1.MachineSpecOrBuilder>(
+ getMachineSpec(), getParentForChildren(), isClean());
+ machineSpec_ = null;
+ }
+ return machineSpecBuilder_;
+ }
+
+ private com.google.cloud.aiplatform.v1.PersistentDiskSpec persistentDiskSpec_;
+ private com.google.protobuf.SingleFieldBuilderV3<
+ com.google.cloud.aiplatform.v1.PersistentDiskSpec,
+ com.google.cloud.aiplatform.v1.PersistentDiskSpec.Builder,
+ com.google.cloud.aiplatform.v1.PersistentDiskSpecOrBuilder>
+ persistentDiskSpecBuilder_;
+ /**
+ *
+ *
+ * + * The specification of a persistent disk to attach for the execution job. + *+ * + *
.google.cloud.aiplatform.v1.PersistentDiskSpec persistent_disk_spec = 2;
+ *
+ * @return Whether the persistentDiskSpec field is set.
+ */
+ public boolean hasPersistentDiskSpec() {
+ return ((bitField0_ & 0x00000002) != 0);
+ }
+ /**
+ *
+ *
+ * + * The specification of a persistent disk to attach for the execution job. + *+ * + *
.google.cloud.aiplatform.v1.PersistentDiskSpec persistent_disk_spec = 2;
+ *
+ * @return The persistentDiskSpec.
+ */
+ public com.google.cloud.aiplatform.v1.PersistentDiskSpec getPersistentDiskSpec() {
+ if (persistentDiskSpecBuilder_ == null) {
+ return persistentDiskSpec_ == null
+ ? com.google.cloud.aiplatform.v1.PersistentDiskSpec.getDefaultInstance()
+ : persistentDiskSpec_;
+ } else {
+ return persistentDiskSpecBuilder_.getMessage();
+ }
+ }
+ /**
+ *
+ *
+ * + * The specification of a persistent disk to attach for the execution job. + *+ * + *
.google.cloud.aiplatform.v1.PersistentDiskSpec persistent_disk_spec = 2;
+ */
+ public Builder setPersistentDiskSpec(
+ com.google.cloud.aiplatform.v1.PersistentDiskSpec value) {
+ if (persistentDiskSpecBuilder_ == null) {
+ if (value == null) {
+ throw new NullPointerException();
+ }
+ persistentDiskSpec_ = value;
+ } else {
+ persistentDiskSpecBuilder_.setMessage(value);
+ }
+ bitField0_ |= 0x00000002;
+ onChanged();
+ return this;
+ }
+ /**
+ *
+ *
+ * + * The specification of a persistent disk to attach for the execution job. + *+ * + *
.google.cloud.aiplatform.v1.PersistentDiskSpec persistent_disk_spec = 2;
+ */
+ public Builder setPersistentDiskSpec(
+ com.google.cloud.aiplatform.v1.PersistentDiskSpec.Builder builderForValue) {
+ if (persistentDiskSpecBuilder_ == null) {
+ persistentDiskSpec_ = builderForValue.build();
+ } else {
+ persistentDiskSpecBuilder_.setMessage(builderForValue.build());
+ }
+ bitField0_ |= 0x00000002;
+ onChanged();
+ return this;
+ }
+ /**
+ *
+ *
+ * + * The specification of a persistent disk to attach for the execution job. + *+ * + *
.google.cloud.aiplatform.v1.PersistentDiskSpec persistent_disk_spec = 2;
+ */
+ public Builder mergePersistentDiskSpec(
+ com.google.cloud.aiplatform.v1.PersistentDiskSpec value) {
+ if (persistentDiskSpecBuilder_ == null) {
+ if (((bitField0_ & 0x00000002) != 0)
+ && persistentDiskSpec_ != null
+ && persistentDiskSpec_
+ != com.google.cloud.aiplatform.v1.PersistentDiskSpec.getDefaultInstance()) {
+ getPersistentDiskSpecBuilder().mergeFrom(value);
+ } else {
+ persistentDiskSpec_ = value;
+ }
+ } else {
+ persistentDiskSpecBuilder_.mergeFrom(value);
+ }
+ if (persistentDiskSpec_ != null) {
+ bitField0_ |= 0x00000002;
+ onChanged();
+ }
+ return this;
+ }
+ /**
+ *
+ *
+ * + * The specification of a persistent disk to attach for the execution job. + *+ * + *
.google.cloud.aiplatform.v1.PersistentDiskSpec persistent_disk_spec = 2;
+ */
+ public Builder clearPersistentDiskSpec() {
+ bitField0_ = (bitField0_ & ~0x00000002);
+ persistentDiskSpec_ = null;
+ if (persistentDiskSpecBuilder_ != null) {
+ persistentDiskSpecBuilder_.dispose();
+ persistentDiskSpecBuilder_ = null;
+ }
+ onChanged();
+ return this;
+ }
+ /**
+ *
+ *
+ * + * The specification of a persistent disk to attach for the execution job. + *+ * + *
.google.cloud.aiplatform.v1.PersistentDiskSpec persistent_disk_spec = 2;
+ */
+ public com.google.cloud.aiplatform.v1.PersistentDiskSpec.Builder
+ getPersistentDiskSpecBuilder() {
+ bitField0_ |= 0x00000002;
+ onChanged();
+ return getPersistentDiskSpecFieldBuilder().getBuilder();
+ }
+ /**
+ *
+ *
+ * + * The specification of a persistent disk to attach for the execution job. + *+ * + *
.google.cloud.aiplatform.v1.PersistentDiskSpec persistent_disk_spec = 2;
+ */
+ public com.google.cloud.aiplatform.v1.PersistentDiskSpecOrBuilder
+ getPersistentDiskSpecOrBuilder() {
+ if (persistentDiskSpecBuilder_ != null) {
+ return persistentDiskSpecBuilder_.getMessageOrBuilder();
+ } else {
+ return persistentDiskSpec_ == null
+ ? com.google.cloud.aiplatform.v1.PersistentDiskSpec.getDefaultInstance()
+ : persistentDiskSpec_;
+ }
+ }
+ /**
+ *
+ *
+ * + * The specification of a persistent disk to attach for the execution job. + *+ * + *
.google.cloud.aiplatform.v1.PersistentDiskSpec persistent_disk_spec = 2;
+ */
+ private com.google.protobuf.SingleFieldBuilderV3<
+ com.google.cloud.aiplatform.v1.PersistentDiskSpec,
+ com.google.cloud.aiplatform.v1.PersistentDiskSpec.Builder,
+ com.google.cloud.aiplatform.v1.PersistentDiskSpecOrBuilder>
+ getPersistentDiskSpecFieldBuilder() {
+ if (persistentDiskSpecBuilder_ == null) {
+ persistentDiskSpecBuilder_ =
+ new com.google.protobuf.SingleFieldBuilderV3<
+ com.google.cloud.aiplatform.v1.PersistentDiskSpec,
+ com.google.cloud.aiplatform.v1.PersistentDiskSpec.Builder,
+ com.google.cloud.aiplatform.v1.PersistentDiskSpecOrBuilder>(
+ getPersistentDiskSpec(), getParentForChildren(), isClean());
+ persistentDiskSpec_ = null;
+ }
+ return persistentDiskSpecBuilder_;
+ }
+
+ private com.google.cloud.aiplatform.v1.NetworkSpec networkSpec_;
+ private com.google.protobuf.SingleFieldBuilderV3<
+ com.google.cloud.aiplatform.v1.NetworkSpec,
+ com.google.cloud.aiplatform.v1.NetworkSpec.Builder,
+ com.google.cloud.aiplatform.v1.NetworkSpecOrBuilder>
+ networkSpecBuilder_;
+ /**
+ *
+ *
+ * + * The network configuration to use for the execution job. + *+ * + *
.google.cloud.aiplatform.v1.NetworkSpec network_spec = 3;
+ *
+ * @return Whether the networkSpec field is set.
+ */
+ public boolean hasNetworkSpec() {
+ return ((bitField0_ & 0x00000004) != 0);
+ }
+ /**
+ *
+ *
+ * + * The network configuration to use for the execution job. + *+ * + *
.google.cloud.aiplatform.v1.NetworkSpec network_spec = 3;
+ *
+ * @return The networkSpec.
+ */
+ public com.google.cloud.aiplatform.v1.NetworkSpec getNetworkSpec() {
+ if (networkSpecBuilder_ == null) {
+ return networkSpec_ == null
+ ? com.google.cloud.aiplatform.v1.NetworkSpec.getDefaultInstance()
+ : networkSpec_;
+ } else {
+ return networkSpecBuilder_.getMessage();
+ }
+ }
+ /**
+ *
+ *
+ * + * The network configuration to use for the execution job. + *+ * + *
.google.cloud.aiplatform.v1.NetworkSpec network_spec = 3;
+ */
+ public Builder setNetworkSpec(com.google.cloud.aiplatform.v1.NetworkSpec value) {
+ if (networkSpecBuilder_ == null) {
+ if (value == null) {
+ throw new NullPointerException();
+ }
+ networkSpec_ = value;
+ } else {
+ networkSpecBuilder_.setMessage(value);
+ }
+ bitField0_ |= 0x00000004;
+ onChanged();
+ return this;
+ }
+ /**
+ *
+ *
+ * + * The network configuration to use for the execution job. + *+ * + *
.google.cloud.aiplatform.v1.NetworkSpec network_spec = 3;
+ */
+ public Builder setNetworkSpec(
+ com.google.cloud.aiplatform.v1.NetworkSpec.Builder builderForValue) {
+ if (networkSpecBuilder_ == null) {
+ networkSpec_ = builderForValue.build();
+ } else {
+ networkSpecBuilder_.setMessage(builderForValue.build());
+ }
+ bitField0_ |= 0x00000004;
+ onChanged();
+ return this;
+ }
+ /**
+ *
+ *
+ * + * The network configuration to use for the execution job. + *+ * + *
.google.cloud.aiplatform.v1.NetworkSpec network_spec = 3;
+ */
+ public Builder mergeNetworkSpec(com.google.cloud.aiplatform.v1.NetworkSpec value) {
+ if (networkSpecBuilder_ == null) {
+ if (((bitField0_ & 0x00000004) != 0)
+ && networkSpec_ != null
+ && networkSpec_ != com.google.cloud.aiplatform.v1.NetworkSpec.getDefaultInstance()) {
+ getNetworkSpecBuilder().mergeFrom(value);
+ } else {
+ networkSpec_ = value;
+ }
+ } else {
+ networkSpecBuilder_.mergeFrom(value);
+ }
+ if (networkSpec_ != null) {
+ bitField0_ |= 0x00000004;
+ onChanged();
+ }
+ return this;
+ }
+ /**
+ *
+ *
+ * + * The network configuration to use for the execution job. + *+ * + *
.google.cloud.aiplatform.v1.NetworkSpec network_spec = 3;
+ */
+ public Builder clearNetworkSpec() {
+ bitField0_ = (bitField0_ & ~0x00000004);
+ networkSpec_ = null;
+ if (networkSpecBuilder_ != null) {
+ networkSpecBuilder_.dispose();
+ networkSpecBuilder_ = null;
+ }
+ onChanged();
+ return this;
+ }
+ /**
+ *
+ *
+ * + * The network configuration to use for the execution job. + *+ * + *
.google.cloud.aiplatform.v1.NetworkSpec network_spec = 3;
+ */
+ public com.google.cloud.aiplatform.v1.NetworkSpec.Builder getNetworkSpecBuilder() {
+ bitField0_ |= 0x00000004;
+ onChanged();
+ return getNetworkSpecFieldBuilder().getBuilder();
+ }
+ /**
+ *
+ *
+ * + * The network configuration to use for the execution job. + *+ * + *
.google.cloud.aiplatform.v1.NetworkSpec network_spec = 3;
+ */
+ public com.google.cloud.aiplatform.v1.NetworkSpecOrBuilder getNetworkSpecOrBuilder() {
+ if (networkSpecBuilder_ != null) {
+ return networkSpecBuilder_.getMessageOrBuilder();
+ } else {
+ return networkSpec_ == null
+ ? com.google.cloud.aiplatform.v1.NetworkSpec.getDefaultInstance()
+ : networkSpec_;
+ }
+ }
+ /**
+ *
+ *
+ * + * The network configuration to use for the execution job. + *+ * + *
.google.cloud.aiplatform.v1.NetworkSpec network_spec = 3;
+ */
+ private com.google.protobuf.SingleFieldBuilderV3<
+ com.google.cloud.aiplatform.v1.NetworkSpec,
+ com.google.cloud.aiplatform.v1.NetworkSpec.Builder,
+ com.google.cloud.aiplatform.v1.NetworkSpecOrBuilder>
+ getNetworkSpecFieldBuilder() {
+ if (networkSpecBuilder_ == null) {
+ networkSpecBuilder_ =
+ new com.google.protobuf.SingleFieldBuilderV3<
+ com.google.cloud.aiplatform.v1.NetworkSpec,
+ com.google.cloud.aiplatform.v1.NetworkSpec.Builder,
+ com.google.cloud.aiplatform.v1.NetworkSpecOrBuilder>(
+ getNetworkSpec(), getParentForChildren(), isClean());
+ networkSpec_ = null;
+ }
+ return networkSpecBuilder_;
+ }
+
+ @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:google.cloud.aiplatform.v1.NotebookExecutionJob.CustomEnvironmentSpec)
+ }
+
+ // @@protoc_insertion_point(class_scope:google.cloud.aiplatform.v1.NotebookExecutionJob.CustomEnvironmentSpec)
+ private static final com.google.cloud.aiplatform.v1.NotebookExecutionJob.CustomEnvironmentSpec
+ DEFAULT_INSTANCE;
+
+ static {
+ DEFAULT_INSTANCE =
+ new com.google.cloud.aiplatform.v1.NotebookExecutionJob.CustomEnvironmentSpec();
+ }
+
+ public static com.google.cloud.aiplatform.v1.NotebookExecutionJob.CustomEnvironmentSpec
+ getDefaultInstance() {
+ return DEFAULT_INSTANCE;
+ }
+
+ private static final com.google.protobuf.Parser+ * The custom compute configuration for an execution job. + *+ * + *
+ * .google.cloud.aiplatform.v1.NotebookExecutionJob.CustomEnvironmentSpec custom_environment_spec = 16;
+ *
+ *
+ * @return Whether the customEnvironmentSpec field is set.
+ */
+ @java.lang.Override
+ public boolean hasCustomEnvironmentSpec() {
+ return environmentSpecCase_ == 16;
+ }
+ /**
+ *
+ *
+ * + * The custom compute configuration for an execution job. + *+ * + *
+ * .google.cloud.aiplatform.v1.NotebookExecutionJob.CustomEnvironmentSpec custom_environment_spec = 16;
+ *
+ *
+ * @return The customEnvironmentSpec.
+ */
+ @java.lang.Override
+ public com.google.cloud.aiplatform.v1.NotebookExecutionJob.CustomEnvironmentSpec
+ getCustomEnvironmentSpec() {
+ if (environmentSpecCase_ == 16) {
+ return (com.google.cloud.aiplatform.v1.NotebookExecutionJob.CustomEnvironmentSpec)
+ environmentSpec_;
+ }
+ return com.google.cloud.aiplatform.v1.NotebookExecutionJob.CustomEnvironmentSpec
+ .getDefaultInstance();
+ }
+ /**
+ *
+ *
+ * + * The custom compute configuration for an execution job. + *+ * + *
+ * .google.cloud.aiplatform.v1.NotebookExecutionJob.CustomEnvironmentSpec custom_environment_spec = 16;
+ *
+ */
+ @java.lang.Override
+ public com.google.cloud.aiplatform.v1.NotebookExecutionJob.CustomEnvironmentSpecOrBuilder
+ getCustomEnvironmentSpecOrBuilder() {
+ if (environmentSpecCase_ == 16) {
+ return (com.google.cloud.aiplatform.v1.NotebookExecutionJob.CustomEnvironmentSpec)
+ environmentSpec_;
+ }
+ return com.google.cloud.aiplatform.v1.NotebookExecutionJob.CustomEnvironmentSpec
+ .getDefaultInstance();
+ }
+
public static final int GCS_OUTPUT_URI_FIELD_NUMBER = 8;
/**
*
@@ -3764,6 +5223,12 @@ public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io
if (environmentSpecCase_ == 14) {
com.google.protobuf.GeneratedMessageV3.writeString(output, 14, environmentSpec_);
}
+ if (environmentSpecCase_ == 16) {
+ output.writeMessage(
+ 16,
+ (com.google.cloud.aiplatform.v1.NotebookExecutionJob.CustomEnvironmentSpec)
+ environmentSpec_);
+ }
if (notebookSourceCase_ == 17) {
output.writeMessage(
17,
@@ -3834,6 +5299,13 @@ public int getSerializedSize() {
if (environmentSpecCase_ == 14) {
size += com.google.protobuf.GeneratedMessageV3.computeStringSize(14, environmentSpec_);
}
+ if (environmentSpecCase_ == 16) {
+ size +=
+ com.google.protobuf.CodedOutputStream.computeMessageSize(
+ 16,
+ (com.google.cloud.aiplatform.v1.NotebookExecutionJob.CustomEnvironmentSpec)
+ environmentSpec_);
+ }
if (notebookSourceCase_ == 17) {
size +=
com.google.protobuf.CodedOutputStream.computeMessageSize(
@@ -3919,6 +5391,9 @@ public boolean equals(final java.lang.Object obj) {
if (!getNotebookRuntimeTemplateResourceName()
.equals(other.getNotebookRuntimeTemplateResourceName())) return false;
break;
+ case 16:
+ if (!getCustomEnvironmentSpec().equals(other.getCustomEnvironmentSpec())) return false;
+ break;
case 0:
default:
}
@@ -4005,6 +5480,10 @@ public int hashCode() {
hash = (37 * hash) + NOTEBOOK_RUNTIME_TEMPLATE_RESOURCE_NAME_FIELD_NUMBER;
hash = (53 * hash) + getNotebookRuntimeTemplateResourceName().hashCode();
break;
+ case 16:
+ hash = (37 * hash) + CUSTOM_ENVIRONMENT_SPEC_FIELD_NUMBER;
+ hash = (53 * hash) + getCustomEnvironmentSpec().hashCode();
+ break;
case 0:
default:
}
@@ -4211,6 +5690,9 @@ public Builder clear() {
if (directNotebookSourceBuilder_ != null) {
directNotebookSourceBuilder_.clear();
}
+ if (customEnvironmentSpecBuilder_ != null) {
+ customEnvironmentSpecBuilder_.clear();
+ }
name_ = "";
displayName_ = "";
executionTimeout_ = null;
@@ -4286,41 +5768,41 @@ public com.google.cloud.aiplatform.v1.NotebookExecutionJob buildPartial() {
private void buildPartial0(com.google.cloud.aiplatform.v1.NotebookExecutionJob result) {
int from_bitField0_ = bitField0_;
- if (((from_bitField0_ & 0x00000080) != 0)) {
+ if (((from_bitField0_ & 0x00000100) != 0)) {
result.name_ = name_;
}
- if (((from_bitField0_ & 0x00000100) != 0)) {
+ if (((from_bitField0_ & 0x00000200) != 0)) {
result.displayName_ = displayName_;
}
int to_bitField0_ = 0;
- if (((from_bitField0_ & 0x00000200) != 0)) {
+ if (((from_bitField0_ & 0x00000400) != 0)) {
result.executionTimeout_ =
executionTimeoutBuilder_ == null ? executionTimeout_ : executionTimeoutBuilder_.build();
to_bitField0_ |= 0x00000001;
}
- if (((from_bitField0_ & 0x00000400) != 0)) {
+ if (((from_bitField0_ & 0x00000800) != 0)) {
result.scheduleResourceName_ = scheduleResourceName_;
}
- if (((from_bitField0_ & 0x00000800) != 0)) {
+ if (((from_bitField0_ & 0x00001000) != 0)) {
result.jobState_ = jobState_;
}
- if (((from_bitField0_ & 0x00001000) != 0)) {
+ if (((from_bitField0_ & 0x00002000) != 0)) {
result.status_ = statusBuilder_ == null ? status_ : statusBuilder_.build();
to_bitField0_ |= 0x00000002;
}
- if (((from_bitField0_ & 0x00002000) != 0)) {
+ if (((from_bitField0_ & 0x00004000) != 0)) {
result.createTime_ = createTimeBuilder_ == null ? createTime_ : createTimeBuilder_.build();
to_bitField0_ |= 0x00000004;
}
- if (((from_bitField0_ & 0x00004000) != 0)) {
+ if (((from_bitField0_ & 0x00008000) != 0)) {
result.updateTime_ = updateTimeBuilder_ == null ? updateTime_ : updateTimeBuilder_.build();
to_bitField0_ |= 0x00000008;
}
- if (((from_bitField0_ & 0x00008000) != 0)) {
+ if (((from_bitField0_ & 0x00010000) != 0)) {
result.labels_ = internalGetLabels();
result.labels_.makeImmutable();
}
- if (((from_bitField0_ & 0x00010000) != 0)) {
+ if (((from_bitField0_ & 0x00020000) != 0)) {
result.encryptionSpec_ =
encryptionSpecBuilder_ == null ? encryptionSpec_ : encryptionSpecBuilder_.build();
to_bitField0_ |= 0x00000010;
@@ -4342,6 +5824,9 @@ private void buildPartialOneofs(com.google.cloud.aiplatform.v1.NotebookExecution
}
result.environmentSpecCase_ = environmentSpecCase_;
result.environmentSpec_ = this.environmentSpec_;
+ if (environmentSpecCase_ == 16 && customEnvironmentSpecBuilder_ != null) {
+ result.environmentSpec_ = customEnvironmentSpecBuilder_.build();
+ }
result.executionSinkCase_ = executionSinkCase_;
result.executionSink_ = this.executionSink_;
result.executionIdentityCase_ = executionIdentityCase_;
@@ -4396,12 +5881,12 @@ public Builder mergeFrom(com.google.cloud.aiplatform.v1.NotebookExecutionJob oth
return this;
if (!other.getName().isEmpty()) {
name_ = other.name_;
- bitField0_ |= 0x00000080;
+ bitField0_ |= 0x00000100;
onChanged();
}
if (!other.getDisplayName().isEmpty()) {
displayName_ = other.displayName_;
- bitField0_ |= 0x00000100;
+ bitField0_ |= 0x00000200;
onChanged();
}
if (other.hasExecutionTimeout()) {
@@ -4409,7 +5894,7 @@ public Builder mergeFrom(com.google.cloud.aiplatform.v1.NotebookExecutionJob oth
}
if (!other.getScheduleResourceName().isEmpty()) {
scheduleResourceName_ = other.scheduleResourceName_;
- bitField0_ |= 0x00000400;
+ bitField0_ |= 0x00000800;
onChanged();
}
if (other.jobState_ != 0) {
@@ -4425,7 +5910,7 @@ public Builder mergeFrom(com.google.cloud.aiplatform.v1.NotebookExecutionJob oth
mergeUpdateTime(other.getUpdateTime());
}
internalGetMutableLabels().mergeFrom(other.internalGetLabels());
- bitField0_ |= 0x00008000;
+ bitField0_ |= 0x00010000;
if (other.hasEncryptionSpec()) {
mergeEncryptionSpec(other.getEncryptionSpec());
}
@@ -4458,6 +5943,11 @@ public Builder mergeFrom(com.google.cloud.aiplatform.v1.NotebookExecutionJob oth
onChanged();
break;
}
+ case CUSTOM_ENVIRONMENT_SPEC:
+ {
+ mergeCustomEnvironmentSpec(other.getCustomEnvironmentSpec());
+ break;
+ }
case ENVIRONMENTSPEC_NOT_SET:
{
break;
@@ -4525,13 +6015,13 @@ public Builder mergeFrom(
case 10:
{
name_ = input.readStringRequireUtf8();
- bitField0_ |= 0x00000080;
+ bitField0_ |= 0x00000100;
break;
} // case 10
case 18:
{
displayName_ = input.readStringRequireUtf8();
- bitField0_ |= 0x00000100;
+ bitField0_ |= 0x00000200;
break;
} // case 18
case 26:
@@ -4552,13 +6042,13 @@ public Builder mergeFrom(
{
input.readMessage(
getExecutionTimeoutFieldBuilder().getBuilder(), extensionRegistry);
- bitField0_ |= 0x00000200;
+ bitField0_ |= 0x00000400;
break;
} // case 42
case 50:
{
scheduleResourceName_ = input.readStringRequireUtf8();
- bitField0_ |= 0x00000400;
+ bitField0_ |= 0x00000800;
break;
} // case 50
case 66:
@@ -4578,25 +6068,25 @@ public Builder mergeFrom(
case 80:
{
jobState_ = input.readEnum();
- bitField0_ |= 0x00000800;
+ bitField0_ |= 0x00001000;
break;
} // case 80
case 90:
{
input.readMessage(getStatusFieldBuilder().getBuilder(), extensionRegistry);
- bitField0_ |= 0x00001000;
+ bitField0_ |= 0x00002000;
break;
} // case 90
case 98:
{
input.readMessage(getCreateTimeFieldBuilder().getBuilder(), extensionRegistry);
- bitField0_ |= 0x00002000;
+ bitField0_ |= 0x00004000;
break;
} // case 98
case 106:
{
input.readMessage(getUpdateTimeFieldBuilder().getBuilder(), extensionRegistry);
- bitField0_ |= 0x00004000;
+ bitField0_ |= 0x00008000;
break;
} // case 106
case 114:
@@ -4606,6 +6096,13 @@ public Builder mergeFrom(
environmentSpec_ = s;
break;
} // case 114
+ case 130:
+ {
+ input.readMessage(
+ getCustomEnvironmentSpecFieldBuilder().getBuilder(), extensionRegistry);
+ environmentSpecCase_ = 16;
+ break;
+ } // case 130
case 138:
{
input.readMessage(
@@ -4629,13 +6126,13 @@ public Builder mergeFrom(
internalGetMutableLabels()
.getMutableMap()
.put(labels__.getKey(), labels__.getValue());
- bitField0_ |= 0x00008000;
+ bitField0_ |= 0x00010000;
break;
} // case 154
case 178:
{
input.readMessage(getEncryptionSpecFieldBuilder().getBuilder(), extensionRegistry);
- bitField0_ |= 0x00010000;
+ bitField0_ |= 0x00020000;
break;
} // case 178
default:
@@ -5604,6 +7101,250 @@ public Builder setNotebookRuntimeTemplateResourceNameBytes(
return this;
}
+ private com.google.protobuf.SingleFieldBuilderV3<
+ com.google.cloud.aiplatform.v1.NotebookExecutionJob.CustomEnvironmentSpec,
+ com.google.cloud.aiplatform.v1.NotebookExecutionJob.CustomEnvironmentSpec.Builder,
+ com.google.cloud.aiplatform.v1.NotebookExecutionJob.CustomEnvironmentSpecOrBuilder>
+ customEnvironmentSpecBuilder_;
+ /**
+ *
+ *
+ * + * The custom compute configuration for an execution job. + *+ * + *
+ * .google.cloud.aiplatform.v1.NotebookExecutionJob.CustomEnvironmentSpec custom_environment_spec = 16;
+ *
+ *
+ * @return Whether the customEnvironmentSpec field is set.
+ */
+ @java.lang.Override
+ public boolean hasCustomEnvironmentSpec() {
+ return environmentSpecCase_ == 16;
+ }
+ /**
+ *
+ *
+ * + * The custom compute configuration for an execution job. + *+ * + *
+ * .google.cloud.aiplatform.v1.NotebookExecutionJob.CustomEnvironmentSpec custom_environment_spec = 16;
+ *
+ *
+ * @return The customEnvironmentSpec.
+ */
+ @java.lang.Override
+ public com.google.cloud.aiplatform.v1.NotebookExecutionJob.CustomEnvironmentSpec
+ getCustomEnvironmentSpec() {
+ if (customEnvironmentSpecBuilder_ == null) {
+ if (environmentSpecCase_ == 16) {
+ return (com.google.cloud.aiplatform.v1.NotebookExecutionJob.CustomEnvironmentSpec)
+ environmentSpec_;
+ }
+ return com.google.cloud.aiplatform.v1.NotebookExecutionJob.CustomEnvironmentSpec
+ .getDefaultInstance();
+ } else {
+ if (environmentSpecCase_ == 16) {
+ return customEnvironmentSpecBuilder_.getMessage();
+ }
+ return com.google.cloud.aiplatform.v1.NotebookExecutionJob.CustomEnvironmentSpec
+ .getDefaultInstance();
+ }
+ }
+ /**
+ *
+ *
+ * + * The custom compute configuration for an execution job. + *+ * + *
+ * .google.cloud.aiplatform.v1.NotebookExecutionJob.CustomEnvironmentSpec custom_environment_spec = 16;
+ *
+ */
+ public Builder setCustomEnvironmentSpec(
+ com.google.cloud.aiplatform.v1.NotebookExecutionJob.CustomEnvironmentSpec value) {
+ if (customEnvironmentSpecBuilder_ == null) {
+ if (value == null) {
+ throw new NullPointerException();
+ }
+ environmentSpec_ = value;
+ onChanged();
+ } else {
+ customEnvironmentSpecBuilder_.setMessage(value);
+ }
+ environmentSpecCase_ = 16;
+ return this;
+ }
+ /**
+ *
+ *
+ * + * The custom compute configuration for an execution job. + *+ * + *
+ * .google.cloud.aiplatform.v1.NotebookExecutionJob.CustomEnvironmentSpec custom_environment_spec = 16;
+ *
+ */
+ public Builder setCustomEnvironmentSpec(
+ com.google.cloud.aiplatform.v1.NotebookExecutionJob.CustomEnvironmentSpec.Builder
+ builderForValue) {
+ if (customEnvironmentSpecBuilder_ == null) {
+ environmentSpec_ = builderForValue.build();
+ onChanged();
+ } else {
+ customEnvironmentSpecBuilder_.setMessage(builderForValue.build());
+ }
+ environmentSpecCase_ = 16;
+ return this;
+ }
+ /**
+ *
+ *
+ * + * The custom compute configuration for an execution job. + *+ * + *
+ * .google.cloud.aiplatform.v1.NotebookExecutionJob.CustomEnvironmentSpec custom_environment_spec = 16;
+ *
+ */
+ public Builder mergeCustomEnvironmentSpec(
+ com.google.cloud.aiplatform.v1.NotebookExecutionJob.CustomEnvironmentSpec value) {
+ if (customEnvironmentSpecBuilder_ == null) {
+ if (environmentSpecCase_ == 16
+ && environmentSpec_
+ != com.google.cloud.aiplatform.v1.NotebookExecutionJob.CustomEnvironmentSpec
+ .getDefaultInstance()) {
+ environmentSpec_ =
+ com.google.cloud.aiplatform.v1.NotebookExecutionJob.CustomEnvironmentSpec.newBuilder(
+ (com.google.cloud.aiplatform.v1.NotebookExecutionJob.CustomEnvironmentSpec)
+ environmentSpec_)
+ .mergeFrom(value)
+ .buildPartial();
+ } else {
+ environmentSpec_ = value;
+ }
+ onChanged();
+ } else {
+ if (environmentSpecCase_ == 16) {
+ customEnvironmentSpecBuilder_.mergeFrom(value);
+ } else {
+ customEnvironmentSpecBuilder_.setMessage(value);
+ }
+ }
+ environmentSpecCase_ = 16;
+ return this;
+ }
+ /**
+ *
+ *
+ * + * The custom compute configuration for an execution job. + *+ * + *
+ * .google.cloud.aiplatform.v1.NotebookExecutionJob.CustomEnvironmentSpec custom_environment_spec = 16;
+ *
+ */
+ public Builder clearCustomEnvironmentSpec() {
+ if (customEnvironmentSpecBuilder_ == null) {
+ if (environmentSpecCase_ == 16) {
+ environmentSpecCase_ = 0;
+ environmentSpec_ = null;
+ onChanged();
+ }
+ } else {
+ if (environmentSpecCase_ == 16) {
+ environmentSpecCase_ = 0;
+ environmentSpec_ = null;
+ }
+ customEnvironmentSpecBuilder_.clear();
+ }
+ return this;
+ }
+ /**
+ *
+ *
+ * + * The custom compute configuration for an execution job. + *+ * + *
+ * .google.cloud.aiplatform.v1.NotebookExecutionJob.CustomEnvironmentSpec custom_environment_spec = 16;
+ *
+ */
+ public com.google.cloud.aiplatform.v1.NotebookExecutionJob.CustomEnvironmentSpec.Builder
+ getCustomEnvironmentSpecBuilder() {
+ return getCustomEnvironmentSpecFieldBuilder().getBuilder();
+ }
+ /**
+ *
+ *
+ * + * The custom compute configuration for an execution job. + *+ * + *
+ * .google.cloud.aiplatform.v1.NotebookExecutionJob.CustomEnvironmentSpec custom_environment_spec = 16;
+ *
+ */
+ @java.lang.Override
+ public com.google.cloud.aiplatform.v1.NotebookExecutionJob.CustomEnvironmentSpecOrBuilder
+ getCustomEnvironmentSpecOrBuilder() {
+ if ((environmentSpecCase_ == 16) && (customEnvironmentSpecBuilder_ != null)) {
+ return customEnvironmentSpecBuilder_.getMessageOrBuilder();
+ } else {
+ if (environmentSpecCase_ == 16) {
+ return (com.google.cloud.aiplatform.v1.NotebookExecutionJob.CustomEnvironmentSpec)
+ environmentSpec_;
+ }
+ return com.google.cloud.aiplatform.v1.NotebookExecutionJob.CustomEnvironmentSpec
+ .getDefaultInstance();
+ }
+ }
+ /**
+ *
+ *
+ * + * The custom compute configuration for an execution job. + *+ * + *
+ * .google.cloud.aiplatform.v1.NotebookExecutionJob.CustomEnvironmentSpec custom_environment_spec = 16;
+ *
+ */
+ private com.google.protobuf.SingleFieldBuilderV3<
+ com.google.cloud.aiplatform.v1.NotebookExecutionJob.CustomEnvironmentSpec,
+ com.google.cloud.aiplatform.v1.NotebookExecutionJob.CustomEnvironmentSpec.Builder,
+ com.google.cloud.aiplatform.v1.NotebookExecutionJob.CustomEnvironmentSpecOrBuilder>
+ getCustomEnvironmentSpecFieldBuilder() {
+ if (customEnvironmentSpecBuilder_ == null) {
+ if (!(environmentSpecCase_ == 16)) {
+ environmentSpec_ =
+ com.google.cloud.aiplatform.v1.NotebookExecutionJob.CustomEnvironmentSpec
+ .getDefaultInstance();
+ }
+ customEnvironmentSpecBuilder_ =
+ new com.google.protobuf.SingleFieldBuilderV3<
+ com.google.cloud.aiplatform.v1.NotebookExecutionJob.CustomEnvironmentSpec,
+ com.google.cloud.aiplatform.v1.NotebookExecutionJob.CustomEnvironmentSpec.Builder,
+ com.google.cloud.aiplatform.v1.NotebookExecutionJob.CustomEnvironmentSpecOrBuilder>(
+ (com.google.cloud.aiplatform.v1.NotebookExecutionJob.CustomEnvironmentSpec)
+ environmentSpec_,
+ getParentForChildren(),
+ isClean());
+ environmentSpec_ = null;
+ }
+ environmentSpecCase_ = 16;
+ onChanged();
+ return customEnvironmentSpecBuilder_;
+ }
+
/**
*
*
@@ -6077,7 +7818,7 @@ public Builder setName(java.lang.String value) {
throw new NullPointerException();
}
name_ = value;
- bitField0_ |= 0x00000080;
+ bitField0_ |= 0x00000100;
onChanged();
return this;
}
@@ -6095,7 +7836,7 @@ public Builder setName(java.lang.String value) {
*/
public Builder clearName() {
name_ = getDefaultInstance().getName();
- bitField0_ = (bitField0_ & ~0x00000080);
+ bitField0_ = (bitField0_ & ~0x00000100);
onChanged();
return this;
}
@@ -6118,7 +7859,7 @@ public Builder setNameBytes(com.google.protobuf.ByteString value) {
}
checkByteStringIsUtf8(value);
name_ = value;
- bitField0_ |= 0x00000080;
+ bitField0_ |= 0x00000100;
onChanged();
return this;
}
@@ -6188,7 +7929,7 @@ public Builder setDisplayName(java.lang.String value) {
throw new NullPointerException();
}
displayName_ = value;
- bitField0_ |= 0x00000100;
+ bitField0_ |= 0x00000200;
onChanged();
return this;
}
@@ -6206,7 +7947,7 @@ public Builder setDisplayName(java.lang.String value) {
*/
public Builder clearDisplayName() {
displayName_ = getDefaultInstance().getDisplayName();
- bitField0_ = (bitField0_ & ~0x00000100);
+ bitField0_ = (bitField0_ & ~0x00000200);
onChanged();
return this;
}
@@ -6229,7 +7970,7 @@ public Builder setDisplayNameBytes(com.google.protobuf.ByteString value) {
}
checkByteStringIsUtf8(value);
displayName_ = value;
- bitField0_ |= 0x00000100;
+ bitField0_ |= 0x00000200;
onChanged();
return this;
}
@@ -6252,7 +7993,7 @@ public Builder setDisplayNameBytes(com.google.protobuf.ByteString value) {
* @return Whether the executionTimeout field is set.
*/
public boolean hasExecutionTimeout() {
- return ((bitField0_ & 0x00000200) != 0);
+ return ((bitField0_ & 0x00000400) != 0);
}
/**
*
@@ -6292,7 +8033,7 @@ public Builder setExecutionTimeout(com.google.protobuf.Duration value) {
} else {
executionTimeoutBuilder_.setMessage(value);
}
- bitField0_ |= 0x00000200;
+ bitField0_ |= 0x00000400;
onChanged();
return this;
}
@@ -6311,7 +8052,7 @@ public Builder setExecutionTimeout(com.google.protobuf.Duration.Builder builderF
} else {
executionTimeoutBuilder_.setMessage(builderForValue.build());
}
- bitField0_ |= 0x00000200;
+ bitField0_ |= 0x00000400;
onChanged();
return this;
}
@@ -6326,7 +8067,7 @@ public Builder setExecutionTimeout(com.google.protobuf.Duration.Builder builderF
*/
public Builder mergeExecutionTimeout(com.google.protobuf.Duration value) {
if (executionTimeoutBuilder_ == null) {
- if (((bitField0_ & 0x00000200) != 0)
+ if (((bitField0_ & 0x00000400) != 0)
&& executionTimeout_ != null
&& executionTimeout_ != com.google.protobuf.Duration.getDefaultInstance()) {
getExecutionTimeoutBuilder().mergeFrom(value);
@@ -6337,7 +8078,7 @@ public Builder mergeExecutionTimeout(com.google.protobuf.Duration value) {
executionTimeoutBuilder_.mergeFrom(value);
}
if (executionTimeout_ != null) {
- bitField0_ |= 0x00000200;
+ bitField0_ |= 0x00000400;
onChanged();
}
return this;
@@ -6352,7 +8093,7 @@ public Builder mergeExecutionTimeout(com.google.protobuf.Duration value) {
* .google.protobuf.Duration execution_timeout = 5;
*/
public Builder clearExecutionTimeout() {
- bitField0_ = (bitField0_ & ~0x00000200);
+ bitField0_ = (bitField0_ & ~0x00000400);
executionTimeout_ = null;
if (executionTimeoutBuilder_ != null) {
executionTimeoutBuilder_.dispose();
@@ -6371,7 +8112,7 @@ public Builder clearExecutionTimeout() {
* .google.protobuf.Duration execution_timeout = 5;
*/
public com.google.protobuf.Duration.Builder getExecutionTimeoutBuilder() {
- bitField0_ |= 0x00000200;
+ bitField0_ |= 0x00000400;
onChanged();
return getExecutionTimeoutFieldBuilder().getBuilder();
}
@@ -6493,7 +8234,7 @@ public Builder setScheduleResourceName(java.lang.String value) {
throw new NullPointerException();
}
scheduleResourceName_ = value;
- bitField0_ |= 0x00000400;
+ bitField0_ |= 0x00000800;
onChanged();
return this;
}
@@ -6514,7 +8255,7 @@ public Builder setScheduleResourceName(java.lang.String value) {
*/
public Builder clearScheduleResourceName() {
scheduleResourceName_ = getDefaultInstance().getScheduleResourceName();
- bitField0_ = (bitField0_ & ~0x00000400);
+ bitField0_ = (bitField0_ & ~0x00000800);
onChanged();
return this;
}
@@ -6540,7 +8281,7 @@ public Builder setScheduleResourceNameBytes(com.google.protobuf.ByteString value
}
checkByteStringIsUtf8(value);
scheduleResourceName_ = value;
- bitField0_ |= 0x00000400;
+ bitField0_ |= 0x00000800;
onChanged();
return this;
}
@@ -6579,7 +8320,7 @@ public int getJobStateValue() {
*/
public Builder setJobStateValue(int value) {
jobState_ = value;
- bitField0_ |= 0x00000800;
+ bitField0_ |= 0x00001000;
onChanged();
return this;
}
@@ -6620,7 +8361,7 @@ public Builder setJobState(com.google.cloud.aiplatform.v1.JobState value) {
if (value == null) {
throw new NullPointerException();
}
- bitField0_ |= 0x00000800;
+ bitField0_ |= 0x00001000;
jobState_ = value.getNumber();
onChanged();
return this;
@@ -6639,7 +8380,7 @@ public Builder setJobState(com.google.cloud.aiplatform.v1.JobState value) {
* @return This builder for chaining.
*/
public Builder clearJobState() {
- bitField0_ = (bitField0_ & ~0x00000800);
+ bitField0_ = (bitField0_ & ~0x00001000);
jobState_ = 0;
onChanged();
return this;
@@ -6663,7 +8404,7 @@ public Builder clearJobState() {
* @return Whether the status field is set.
*/
public boolean hasStatus() {
- return ((bitField0_ & 0x00001000) != 0);
+ return ((bitField0_ & 0x00002000) != 0);
}
/**
*
@@ -6705,7 +8446,7 @@ public Builder setStatus(com.google.rpc.Status value) {
} else {
statusBuilder_.setMessage(value);
}
- bitField0_ |= 0x00001000;
+ bitField0_ |= 0x00002000;
onChanged();
return this;
}
@@ -6726,7 +8467,7 @@ public Builder setStatus(com.google.rpc.Status.Builder builderForValue) {
} else {
statusBuilder_.setMessage(builderForValue.build());
}
- bitField0_ |= 0x00001000;
+ bitField0_ |= 0x00002000;
onChanged();
return this;
}
@@ -6743,7 +8484,7 @@ public Builder setStatus(com.google.rpc.Status.Builder builderForValue) {
*/
public Builder mergeStatus(com.google.rpc.Status value) {
if (statusBuilder_ == null) {
- if (((bitField0_ & 0x00001000) != 0)
+ if (((bitField0_ & 0x00002000) != 0)
&& status_ != null
&& status_ != com.google.rpc.Status.getDefaultInstance()) {
getStatusBuilder().mergeFrom(value);
@@ -6754,7 +8495,7 @@ public Builder mergeStatus(com.google.rpc.Status value) {
statusBuilder_.mergeFrom(value);
}
if (status_ != null) {
- bitField0_ |= 0x00001000;
+ bitField0_ |= 0x00002000;
onChanged();
}
return this;
@@ -6771,7 +8512,7 @@ public Builder mergeStatus(com.google.rpc.Status value) {
* .google.rpc.Status status = 11 [(.google.api.field_behavior) = OUTPUT_ONLY];
*/
public Builder clearStatus() {
- bitField0_ = (bitField0_ & ~0x00001000);
+ bitField0_ = (bitField0_ & ~0x00002000);
status_ = null;
if (statusBuilder_ != null) {
statusBuilder_.dispose();
@@ -6792,7 +8533,7 @@ public Builder clearStatus() {
* .google.rpc.Status status = 11 [(.google.api.field_behavior) = OUTPUT_ONLY];
*/
public com.google.rpc.Status.Builder getStatusBuilder() {
- bitField0_ |= 0x00001000;
+ bitField0_ |= 0x00002000;
onChanged();
return getStatusFieldBuilder().getBuilder();
}
@@ -6859,7 +8600,7 @@ public com.google.rpc.StatusOrBuilder getStatusOrBuilder() {
* @return Whether the createTime field is set.
*/
public boolean hasCreateTime() {
- return ((bitField0_ & 0x00002000) != 0);
+ return ((bitField0_ & 0x00004000) != 0);
}
/**
*
@@ -6903,7 +8644,7 @@ public Builder setCreateTime(com.google.protobuf.Timestamp value) {
} else {
createTimeBuilder_.setMessage(value);
}
- bitField0_ |= 0x00002000;
+ bitField0_ |= 0x00004000;
onChanged();
return this;
}
@@ -6924,7 +8665,7 @@ public Builder setCreateTime(com.google.protobuf.Timestamp.Builder builderForVal
} else {
createTimeBuilder_.setMessage(builderForValue.build());
}
- bitField0_ |= 0x00002000;
+ bitField0_ |= 0x00004000;
onChanged();
return this;
}
@@ -6941,7 +8682,7 @@ public Builder setCreateTime(com.google.protobuf.Timestamp.Builder builderForVal
*/
public Builder mergeCreateTime(com.google.protobuf.Timestamp value) {
if (createTimeBuilder_ == null) {
- if (((bitField0_ & 0x00002000) != 0)
+ if (((bitField0_ & 0x00004000) != 0)
&& createTime_ != null
&& createTime_ != com.google.protobuf.Timestamp.getDefaultInstance()) {
getCreateTimeBuilder().mergeFrom(value);
@@ -6952,7 +8693,7 @@ public Builder mergeCreateTime(com.google.protobuf.Timestamp value) {
createTimeBuilder_.mergeFrom(value);
}
if (createTime_ != null) {
- bitField0_ |= 0x00002000;
+ bitField0_ |= 0x00004000;
onChanged();
}
return this;
@@ -6969,7 +8710,7 @@ public Builder mergeCreateTime(com.google.protobuf.Timestamp value) {
*
*/
public Builder clearCreateTime() {
- bitField0_ = (bitField0_ & ~0x00002000);
+ bitField0_ = (bitField0_ & ~0x00004000);
createTime_ = null;
if (createTimeBuilder_ != null) {
createTimeBuilder_.dispose();
@@ -6990,7 +8731,7 @@ public Builder clearCreateTime() {
*
*/
public com.google.protobuf.Timestamp.Builder getCreateTimeBuilder() {
- bitField0_ |= 0x00002000;
+ bitField0_ |= 0x00004000;
onChanged();
return getCreateTimeFieldBuilder().getBuilder();
}
@@ -7063,7 +8804,7 @@ public com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder() {
* @return Whether the updateTime field is set.
*/
public boolean hasUpdateTime() {
- return ((bitField0_ & 0x00004000) != 0);
+ return ((bitField0_ & 0x00008000) != 0);
}
/**
*
@@ -7109,7 +8850,7 @@ public Builder setUpdateTime(com.google.protobuf.Timestamp value) {
} else {
updateTimeBuilder_.setMessage(value);
}
- bitField0_ |= 0x00004000;
+ bitField0_ |= 0x00008000;
onChanged();
return this;
}
@@ -7131,7 +8872,7 @@ public Builder setUpdateTime(com.google.protobuf.Timestamp.Builder builderForVal
} else {
updateTimeBuilder_.setMessage(builderForValue.build());
}
- bitField0_ |= 0x00004000;
+ bitField0_ |= 0x00008000;
onChanged();
return this;
}
@@ -7149,7 +8890,7 @@ public Builder setUpdateTime(com.google.protobuf.Timestamp.Builder builderForVal
*/
public Builder mergeUpdateTime(com.google.protobuf.Timestamp value) {
if (updateTimeBuilder_ == null) {
- if (((bitField0_ & 0x00004000) != 0)
+ if (((bitField0_ & 0x00008000) != 0)
&& updateTime_ != null
&& updateTime_ != com.google.protobuf.Timestamp.getDefaultInstance()) {
getUpdateTimeBuilder().mergeFrom(value);
@@ -7160,7 +8901,7 @@ public Builder mergeUpdateTime(com.google.protobuf.Timestamp value) {
updateTimeBuilder_.mergeFrom(value);
}
if (updateTime_ != null) {
- bitField0_ |= 0x00004000;
+ bitField0_ |= 0x00008000;
onChanged();
}
return this;
@@ -7178,7 +8919,7 @@ public Builder mergeUpdateTime(com.google.protobuf.Timestamp value) {
*
*/
public Builder clearUpdateTime() {
- bitField0_ = (bitField0_ & ~0x00004000);
+ bitField0_ = (bitField0_ & ~0x00008000);
updateTime_ = null;
if (updateTimeBuilder_ != null) {
updateTimeBuilder_.dispose();
@@ -7200,7 +8941,7 @@ public Builder clearUpdateTime() {
*
*/
public com.google.protobuf.Timestamp.Builder getUpdateTimeBuilder() {
- bitField0_ |= 0x00004000;
+ bitField0_ |= 0x00008000;
onChanged();
return getUpdateTimeFieldBuilder().getBuilder();
}
@@ -7271,7 +9012,7 @@ private com.google.protobuf.MapField.google.cloud.aiplatform.v1.EncryptionSpec encryption_spec = 22;
*/
public Builder clearEncryptionSpec() {
- bitField0_ = (bitField0_ & ~0x00010000);
+ bitField0_ = (bitField0_ & ~0x00020000);
encryptionSpec_ = null;
if (encryptionSpecBuilder_ != null) {
encryptionSpecBuilder_.dispose();
@@ -7626,7 +9367,7 @@ public Builder clearEncryptionSpec() {
* .google.cloud.aiplatform.v1.EncryptionSpec encryption_spec = 22;
*/
public com.google.cloud.aiplatform.v1.EncryptionSpec.Builder getEncryptionSpecBuilder() {
- bitField0_ |= 0x00010000;
+ bitField0_ |= 0x00020000;
onChanged();
return getEncryptionSpecFieldBuilder().getBuilder();
}
diff --git a/java-aiplatform/proto-google-cloud-aiplatform-v1/src/main/java/com/google/cloud/aiplatform/v1/NotebookExecutionJobOrBuilder.java b/java-aiplatform/proto-google-cloud-aiplatform-v1/src/main/java/com/google/cloud/aiplatform/v1/NotebookExecutionJobOrBuilder.java
index ecd5ce95d9ee..aab31eb7490d 100644
--- a/java-aiplatform/proto-google-cloud-aiplatform-v1/src/main/java/com/google/cloud/aiplatform/v1/NotebookExecutionJobOrBuilder.java
+++ b/java-aiplatform/proto-google-cloud-aiplatform-v1/src/main/java/com/google/cloud/aiplatform/v1/NotebookExecutionJobOrBuilder.java
@@ -198,6 +198,49 @@ public interface NotebookExecutionJobOrBuilder
*/
com.google.protobuf.ByteString getNotebookRuntimeTemplateResourceNameBytes();
+ /**
+ *
+ *
+ * + * The custom compute configuration for an execution job. + *+ * + *
+ * .google.cloud.aiplatform.v1.NotebookExecutionJob.CustomEnvironmentSpec custom_environment_spec = 16;
+ *
+ *
+ * @return Whether the customEnvironmentSpec field is set.
+ */
+ boolean hasCustomEnvironmentSpec();
+ /**
+ *
+ *
+ * + * The custom compute configuration for an execution job. + *+ * + *
+ * .google.cloud.aiplatform.v1.NotebookExecutionJob.CustomEnvironmentSpec custom_environment_spec = 16;
+ *
+ *
+ * @return The customEnvironmentSpec.
+ */
+ com.google.cloud.aiplatform.v1.NotebookExecutionJob.CustomEnvironmentSpec
+ getCustomEnvironmentSpec();
+ /**
+ *
+ *
+ * + * The custom compute configuration for an execution job. + *+ * + *
+ * .google.cloud.aiplatform.v1.NotebookExecutionJob.CustomEnvironmentSpec custom_environment_spec = 16;
+ *
+ */
+ com.google.cloud.aiplatform.v1.NotebookExecutionJob.CustomEnvironmentSpecOrBuilder
+ getCustomEnvironmentSpecOrBuilder();
+
/**
*
*
diff --git a/java-aiplatform/proto-google-cloud-aiplatform-v1/src/main/java/com/google/cloud/aiplatform/v1/NotebookExecutionJobProto.java b/java-aiplatform/proto-google-cloud-aiplatform-v1/src/main/java/com/google/cloud/aiplatform/v1/NotebookExecutionJobProto.java
index 7c4c8700eb1a..cdf4ea0e694f 100644
--- a/java-aiplatform/proto-google-cloud-aiplatform-v1/src/main/java/com/google/cloud/aiplatform/v1/NotebookExecutionJobProto.java
+++ b/java-aiplatform/proto-google-cloud-aiplatform-v1/src/main/java/com/google/cloud/aiplatform/v1/NotebookExecutionJobProto.java
@@ -44,6 +44,10 @@ public static void registerAllExtensions(com.google.protobuf.ExtensionRegistry r
internal_static_google_cloud_aiplatform_v1_NotebookExecutionJob_DirectNotebookSource_descriptor;
static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internal_static_google_cloud_aiplatform_v1_NotebookExecutionJob_DirectNotebookSource_fieldAccessorTable;
+ static final com.google.protobuf.Descriptors.Descriptor
+ internal_static_google_cloud_aiplatform_v1_NotebookExecutionJob_CustomEnvironmentSpec_descriptor;
+ static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
+ internal_static_google_cloud_aiplatform_v1_NotebookExecutionJob_CustomEnvironmentSpec_fieldAccessorTable;
static final com.google.protobuf.Descriptors.Descriptor
internal_static_google_cloud_aiplatform_v1_NotebookExecutionJob_LabelsEntry_descriptor;
static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
@@ -63,53 +67,64 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() {
+ "google/api/resource.proto\0320google/cloud/"
+ "aiplatform/v1/encryption_spec.proto\032*goo"
+ "gle/cloud/aiplatform/v1/job_state.proto\032"
- + "\036google/protobuf/duration.proto\032\037google/"
- + "protobuf/timestamp.proto\032\027google/rpc/sta"
- + "tus.proto\"\222\014\n\024NotebookExecutionJob\022o\n\032da"
- + "taform_repository_source\030\003 \001(\0132I.google."
+ + "2google/cloud/aiplatform/v1/machine_reso"
+ + "urces.proto\032-google/cloud/aiplatform/v1/"
+ + "network_spec.proto\032\036google/protobuf/dura"
+ + "tion.proto\032\037google/protobuf/timestamp.pr"
+ + "oto\032\027google/rpc/status.proto\"\343\016\n\024Noteboo"
+ + "kExecutionJob\022o\n\032dataform_repository_sou"
+ + "rce\030\003 \001(\0132I.google.cloud.aiplatform.v1.N"
+ + "otebookExecutionJob.DataformRepositorySo"
+ + "urceH\000\022a\n\023gcs_notebook_source\030\004 \001(\0132B.go"
+ + "ogle.cloud.aiplatform.v1.NotebookExecuti"
+ + "onJob.GcsNotebookSourceH\000\022g\n\026direct_note"
+ + "book_source\030\021 \001(\0132E.google.cloud.aiplatf"
+ + "orm.v1.NotebookExecutionJob.DirectNotebo"
+ + "okSourceH\000\022i\n\'notebook_runtime_template_"
+ + "resource_name\030\016 \001(\tB6\372A3\n1aiplatform.goo"
+ + "gleapis.com/NotebookRuntimeTemplateH\001\022i\n"
+ + "\027custom_environment_spec\030\020 \001(\0132F.google."
+ "cloud.aiplatform.v1.NotebookExecutionJob"
- + ".DataformRepositorySourceH\000\022a\n\023gcs_noteb"
- + "ook_source\030\004 \001(\0132B.google.cloud.aiplatfo"
- + "rm.v1.NotebookExecutionJob.GcsNotebookSo"
- + "urceH\000\022g\n\026direct_notebook_source\030\021 \001(\0132E"
- + ".google.cloud.aiplatform.v1.NotebookExec"
- + "utionJob.DirectNotebookSourceH\000\022i\n\'noteb"
- + "ook_runtime_template_resource_name\030\016 \001(\t"
- + "B6\372A3\n1aiplatform.googleapis.com/Noteboo"
- + "kRuntimeTemplateH\001\022\030\n\016gcs_output_uri\030\010 \001"
- + "(\tH\002\022\030\n\016execution_user\030\t \001(\tH\003\022\031\n\017servic"
- + "e_account\030\022 \001(\tH\003\022\021\n\004name\030\001 \001(\tB\003\340A\003\022\024\n\014"
- + "display_name\030\002 \001(\t\0224\n\021execution_timeout\030"
- + "\005 \001(\0132\031.google.protobuf.Duration\022J\n\026sche"
- + "dule_resource_name\030\006 \001(\tB*\340A\003\372A$\n\"aiplat"
- + "form.googleapis.com/Schedule\022<\n\tjob_stat"
- + "e\030\n \001(\0162$.google.cloud.aiplatform.v1.Job"
- + "StateB\003\340A\003\022\'\n\006status\030\013 \001(\0132\022.google.rpc."
- + "StatusB\003\340A\003\0224\n\013create_time\030\014 \001(\0132\032.googl"
- + "e.protobuf.TimestampB\003\340A\003\0224\n\013update_time"
- + "\030\r \001(\0132\032.google.protobuf.TimestampB\003\340A\003\022"
- + "L\n\006labels\030\023 \003(\0132<.google.cloud.aiplatfor"
- + "m.v1.NotebookExecutionJob.LabelsEntry\022C\n"
- + "\017encryption_spec\030\026 \001(\0132*.google.cloud.ai"
- + "platform.v1.EncryptionSpec\032Y\n\030DataformRe"
- + "positorySource\022)\n!dataform_repository_re"
- + "source_name\030\001 \001(\t\022\022\n\ncommit_sha\030\002 \001(\t\0324\n"
- + "\021GcsNotebookSource\022\013\n\003uri\030\001 \001(\t\022\022\n\ngener"
- + "ation\030\002 \001(\t\032\'\n\024DirectNotebookSource\022\017\n\007c"
- + "ontent\030\001 \001(\014\032-\n\013LabelsEntry\022\013\n\003key\030\001 \001(\t"
- + "\022\r\n\005value\030\002 \001(\t:\0028\001:\271\001\352A\265\001\n.aiplatform.g"
- + "oogleapis.com/NotebookExecutionJob\022Vproj"
- + "ects/{project}/locations/{location}/note"
- + "bookExecutionJobs/{notebook_execution_jo"
- + "b}*\025notebookExecutionJobs2\024notebookExecu"
- + "tionJobB\021\n\017notebook_sourceB\022\n\020environmen"
- + "t_specB\020\n\016execution_sinkB\024\n\022execution_id"
- + "entityB\327\001\n\036com.google.cloud.aiplatform.v"
- + "1B\031NotebookExecutionJobProtoP\001Z>cloud.go"
- + "ogle.com/go/aiplatform/apiv1/aiplatformp"
- + "b;aiplatformpb\252\002\032Google.Cloud.AIPlatform"
- + ".V1\312\002\032Google\\Cloud\\AIPlatform\\V1\352\002\035Googl"
- + "e::Cloud::AIPlatform::V1b\006proto3"
+ + ".CustomEnvironmentSpecH\001\022\030\n\016gcs_output_u"
+ + "ri\030\010 \001(\tH\002\022\030\n\016execution_user\030\t \001(\tH\003\022\031\n\017"
+ + "service_account\030\022 \001(\tH\003\022\021\n\004name\030\001 \001(\tB\003\340"
+ + "A\003\022\024\n\014display_name\030\002 \001(\t\0224\n\021execution_ti"
+ + "meout\030\005 \001(\0132\031.google.protobuf.Duration\022J"
+ + "\n\026schedule_resource_name\030\006 \001(\tB*\340A\003\372A$\n\""
+ + "aiplatform.googleapis.com/Schedule\022<\n\tjo"
+ + "b_state\030\n \001(\0162$.google.cloud.aiplatform."
+ + "v1.JobStateB\003\340A\003\022\'\n\006status\030\013 \001(\0132\022.googl"
+ + "e.rpc.StatusB\003\340A\003\0224\n\013create_time\030\014 \001(\0132\032"
+ + ".google.protobuf.TimestampB\003\340A\003\0224\n\013updat"
+ + "e_time\030\r \001(\0132\032.google.protobuf.Timestamp"
+ + "B\003\340A\003\022L\n\006labels\030\023 \003(\0132<.google.cloud.aip"
+ + "latform.v1.NotebookExecutionJob.LabelsEn"
+ + "try\022C\n\017encryption_spec\030\026 \001(\0132*.google.cl"
+ + "oud.aiplatform.v1.EncryptionSpec\032Y\n\030Data"
+ + "formRepositorySource\022)\n!dataform_reposit"
+ + "ory_resource_name\030\001 \001(\t\022\022\n\ncommit_sha\030\002 "
+ + "\001(\t\0324\n\021GcsNotebookSource\022\013\n\003uri\030\001 \001(\t\022\022\n"
+ + "\ngeneration\030\002 \001(\t\032\'\n\024DirectNotebookSourc"
+ + "e\022\017\n\007content\030\001 \001(\014\032\343\001\n\025CustomEnvironment"
+ + "Spec\022=\n\014machine_spec\030\001 \001(\0132\'.google.clou"
+ + "d.aiplatform.v1.MachineSpec\022L\n\024persisten"
+ + "t_disk_spec\030\002 \001(\0132..google.cloud.aiplatf"
+ + "orm.v1.PersistentDiskSpec\022=\n\014network_spe"
+ + "c\030\003 \001(\0132\'.google.cloud.aiplatform.v1.Net"
+ + "workSpec\032-\n\013LabelsEntry\022\013\n\003key\030\001 \001(\t\022\r\n\005"
+ + "value\030\002 \001(\t:\0028\001:\271\001\352A\265\001\n.aiplatform.googl"
+ + "eapis.com/NotebookExecutionJob\022Vprojects"
+ + "/{project}/locations/{location}/notebook"
+ + "ExecutionJobs/{notebook_execution_job}*\025"
+ + "notebookExecutionJobs2\024notebookExecution"
+ + "JobB\021\n\017notebook_sourceB\022\n\020environment_sp"
+ + "ecB\020\n\016execution_sinkB\024\n\022execution_identi"
+ + "tyB\327\001\n\036com.google.cloud.aiplatform.v1B\031N"
+ + "otebookExecutionJobProtoP\001Z>cloud.google"
+ + ".com/go/aiplatform/apiv1/aiplatformpb;ai"
+ + "platformpb\252\002\032Google.Cloud.AIPlatform.V1\312"
+ + "\002\032Google\\Cloud\\AIPlatform\\V1\352\002\035Google::C"
+ + "loud::AIPlatform::V1b\006proto3"
};
descriptor =
com.google.protobuf.Descriptors.FileDescriptor.internalBuildGeneratedFileFrom(
@@ -119,6 +134,8 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() {
com.google.api.ResourceProto.getDescriptor(),
com.google.cloud.aiplatform.v1.EncryptionSpecProto.getDescriptor(),
com.google.cloud.aiplatform.v1.JobStateProto.getDescriptor(),
+ com.google.cloud.aiplatform.v1.MachineResourcesProto.getDescriptor(),
+ com.google.cloud.aiplatform.v1.NetworkSpecProto.getDescriptor(),
com.google.protobuf.DurationProto.getDescriptor(),
com.google.protobuf.TimestampProto.getDescriptor(),
com.google.rpc.StatusProto.getDescriptor(),
@@ -133,6 +150,7 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() {
"GcsNotebookSource",
"DirectNotebookSource",
"NotebookRuntimeTemplateResourceName",
+ "CustomEnvironmentSpec",
"GcsOutputUri",
"ExecutionUser",
"ServiceAccount",
@@ -181,10 +199,20 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() {
new java.lang.String[] {
"Content",
});
- internal_static_google_cloud_aiplatform_v1_NotebookExecutionJob_LabelsEntry_descriptor =
+ internal_static_google_cloud_aiplatform_v1_NotebookExecutionJob_CustomEnvironmentSpec_descriptor =
internal_static_google_cloud_aiplatform_v1_NotebookExecutionJob_descriptor
.getNestedTypes()
.get(3);
+ internal_static_google_cloud_aiplatform_v1_NotebookExecutionJob_CustomEnvironmentSpec_fieldAccessorTable =
+ new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
+ internal_static_google_cloud_aiplatform_v1_NotebookExecutionJob_CustomEnvironmentSpec_descriptor,
+ new java.lang.String[] {
+ "MachineSpec", "PersistentDiskSpec", "NetworkSpec",
+ });
+ internal_static_google_cloud_aiplatform_v1_NotebookExecutionJob_LabelsEntry_descriptor =
+ internal_static_google_cloud_aiplatform_v1_NotebookExecutionJob_descriptor
+ .getNestedTypes()
+ .get(4);
internal_static_google_cloud_aiplatform_v1_NotebookExecutionJob_LabelsEntry_fieldAccessorTable =
new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
internal_static_google_cloud_aiplatform_v1_NotebookExecutionJob_LabelsEntry_descriptor,
@@ -202,6 +230,8 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() {
com.google.api.ResourceProto.getDescriptor();
com.google.cloud.aiplatform.v1.EncryptionSpecProto.getDescriptor();
com.google.cloud.aiplatform.v1.JobStateProto.getDescriptor();
+ com.google.cloud.aiplatform.v1.MachineResourcesProto.getDescriptor();
+ com.google.cloud.aiplatform.v1.NetworkSpecProto.getDescriptor();
com.google.protobuf.DurationProto.getDescriptor();
com.google.protobuf.TimestampProto.getDescriptor();
com.google.rpc.StatusProto.getDescriptor();
diff --git a/java-aiplatform/proto-google-cloud-aiplatform-v1/src/main/java/com/google/cloud/aiplatform/v1/UpdateEndpointLongRunningRequest.java b/java-aiplatform/proto-google-cloud-aiplatform-v1/src/main/java/com/google/cloud/aiplatform/v1/UpdateEndpointLongRunningRequest.java
new file mode 100644
index 000000000000..fc3f9867751e
--- /dev/null
+++ b/java-aiplatform/proto-google-cloud-aiplatform-v1/src/main/java/com/google/cloud/aiplatform/v1/UpdateEndpointLongRunningRequest.java
@@ -0,0 +1,780 @@
+/*
+ * Copyright 2024 Google LLC
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ * https://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+// Generated by the protocol buffer compiler. DO NOT EDIT!
+// source: google/cloud/aiplatform/v1/endpoint_service.proto
+
+// Protobuf Java Version: 3.25.5
+package com.google.cloud.aiplatform.v1;
+
+/**
+ *
+ *
+ * + * Request message for + * [EndpointService.UpdateEndpointLongRunning][google.cloud.aiplatform.v1.EndpointService.UpdateEndpointLongRunning]. + *+ * + * Protobuf type {@code google.cloud.aiplatform.v1.UpdateEndpointLongRunningRequest} + */ +public final class UpdateEndpointLongRunningRequest extends com.google.protobuf.GeneratedMessageV3 + implements + // @@protoc_insertion_point(message_implements:google.cloud.aiplatform.v1.UpdateEndpointLongRunningRequest) + UpdateEndpointLongRunningRequestOrBuilder { + private static final long serialVersionUID = 0L; + // Use UpdateEndpointLongRunningRequest.newBuilder() to construct. + private UpdateEndpointLongRunningRequest( + com.google.protobuf.GeneratedMessageV3.Builder> builder) { + super(builder); + } + + private UpdateEndpointLongRunningRequest() {} + + @java.lang.Override + @SuppressWarnings({"unused"}) + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + return new UpdateEndpointLongRunningRequest(); + } + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.aiplatform.v1.EndpointServiceProto + .internal_static_google_cloud_aiplatform_v1_UpdateEndpointLongRunningRequest_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return com.google.cloud.aiplatform.v1.EndpointServiceProto + .internal_static_google_cloud_aiplatform_v1_UpdateEndpointLongRunningRequest_fieldAccessorTable + .ensureFieldAccessorsInitialized( + com.google.cloud.aiplatform.v1.UpdateEndpointLongRunningRequest.class, + com.google.cloud.aiplatform.v1.UpdateEndpointLongRunningRequest.Builder.class); + } + + private int bitField0_; + public static final int ENDPOINT_FIELD_NUMBER = 1; + private com.google.cloud.aiplatform.v1.Endpoint endpoint_; + /** + * + * + *
+ * Required. The Endpoint which replaces the resource on the server. Currently + * we only support updating the `client_connection_config` field, all the + * other fields' update will be blocked. + *+ * + *
+ * .google.cloud.aiplatform.v1.Endpoint endpoint = 1 [(.google.api.field_behavior) = REQUIRED];
+ *
+ *
+ * @return Whether the endpoint field is set.
+ */
+ @java.lang.Override
+ public boolean hasEndpoint() {
+ return ((bitField0_ & 0x00000001) != 0);
+ }
+ /**
+ *
+ *
+ * + * Required. The Endpoint which replaces the resource on the server. Currently + * we only support updating the `client_connection_config` field, all the + * other fields' update will be blocked. + *+ * + *
+ * .google.cloud.aiplatform.v1.Endpoint endpoint = 1 [(.google.api.field_behavior) = REQUIRED];
+ *
+ *
+ * @return The endpoint.
+ */
+ @java.lang.Override
+ public com.google.cloud.aiplatform.v1.Endpoint getEndpoint() {
+ return endpoint_ == null
+ ? com.google.cloud.aiplatform.v1.Endpoint.getDefaultInstance()
+ : endpoint_;
+ }
+ /**
+ *
+ *
+ * + * Required. The Endpoint which replaces the resource on the server. Currently + * we only support updating the `client_connection_config` field, all the + * other fields' update will be blocked. + *+ * + *
+ * .google.cloud.aiplatform.v1.Endpoint endpoint = 1 [(.google.api.field_behavior) = REQUIRED];
+ *
+ */
+ @java.lang.Override
+ public com.google.cloud.aiplatform.v1.EndpointOrBuilder getEndpointOrBuilder() {
+ return endpoint_ == null
+ ? com.google.cloud.aiplatform.v1.Endpoint.getDefaultInstance()
+ : endpoint_;
+ }
+
+ private byte memoizedIsInitialized = -1;
+
+ @java.lang.Override
+ public final boolean isInitialized() {
+ byte isInitialized = memoizedIsInitialized;
+ if (isInitialized == 1) return true;
+ if (isInitialized == 0) return false;
+
+ memoizedIsInitialized = 1;
+ return true;
+ }
+
+ @java.lang.Override
+ public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException {
+ if (((bitField0_ & 0x00000001) != 0)) {
+ output.writeMessage(1, getEndpoint());
+ }
+ getUnknownFields().writeTo(output);
+ }
+
+ @java.lang.Override
+ public int getSerializedSize() {
+ int size = memoizedSize;
+ if (size != -1) return size;
+
+ size = 0;
+ if (((bitField0_ & 0x00000001) != 0)) {
+ size += com.google.protobuf.CodedOutputStream.computeMessageSize(1, getEndpoint());
+ }
+ 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 com.google.cloud.aiplatform.v1.UpdateEndpointLongRunningRequest)) {
+ return super.equals(obj);
+ }
+ com.google.cloud.aiplatform.v1.UpdateEndpointLongRunningRequest other =
+ (com.google.cloud.aiplatform.v1.UpdateEndpointLongRunningRequest) obj;
+
+ if (hasEndpoint() != other.hasEndpoint()) return false;
+ if (hasEndpoint()) {
+ if (!getEndpoint().equals(other.getEndpoint())) 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 (hasEndpoint()) {
+ hash = (37 * hash) + ENDPOINT_FIELD_NUMBER;
+ hash = (53 * hash) + getEndpoint().hashCode();
+ }
+ hash = (29 * hash) + getUnknownFields().hashCode();
+ memoizedHashCode = hash;
+ return hash;
+ }
+
+ public static com.google.cloud.aiplatform.v1.UpdateEndpointLongRunningRequest parseFrom(
+ java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException {
+ return PARSER.parseFrom(data);
+ }
+
+ public static com.google.cloud.aiplatform.v1.UpdateEndpointLongRunningRequest parseFrom(
+ java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+ throws com.google.protobuf.InvalidProtocolBufferException {
+ return PARSER.parseFrom(data, extensionRegistry);
+ }
+
+ public static com.google.cloud.aiplatform.v1.UpdateEndpointLongRunningRequest parseFrom(
+ com.google.protobuf.ByteString data)
+ throws com.google.protobuf.InvalidProtocolBufferException {
+ return PARSER.parseFrom(data);
+ }
+
+ public static com.google.cloud.aiplatform.v1.UpdateEndpointLongRunningRequest parseFrom(
+ com.google.protobuf.ByteString data,
+ com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+ throws com.google.protobuf.InvalidProtocolBufferException {
+ return PARSER.parseFrom(data, extensionRegistry);
+ }
+
+ public static com.google.cloud.aiplatform.v1.UpdateEndpointLongRunningRequest parseFrom(
+ byte[] data) throws com.google.protobuf.InvalidProtocolBufferException {
+ return PARSER.parseFrom(data);
+ }
+
+ public static com.google.cloud.aiplatform.v1.UpdateEndpointLongRunningRequest parseFrom(
+ byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+ throws com.google.protobuf.InvalidProtocolBufferException {
+ return PARSER.parseFrom(data, extensionRegistry);
+ }
+
+ public static com.google.cloud.aiplatform.v1.UpdateEndpointLongRunningRequest parseFrom(
+ java.io.InputStream input) throws java.io.IOException {
+ return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input);
+ }
+
+ public static com.google.cloud.aiplatform.v1.UpdateEndpointLongRunningRequest parseFrom(
+ java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+ throws java.io.IOException {
+ return com.google.protobuf.GeneratedMessageV3.parseWithIOException(
+ PARSER, input, extensionRegistry);
+ }
+
+ public static com.google.cloud.aiplatform.v1.UpdateEndpointLongRunningRequest parseDelimitedFrom(
+ java.io.InputStream input) throws java.io.IOException {
+ return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input);
+ }
+
+ public static com.google.cloud.aiplatform.v1.UpdateEndpointLongRunningRequest parseDelimitedFrom(
+ java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+ throws java.io.IOException {
+ return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(
+ PARSER, input, extensionRegistry);
+ }
+
+ public static com.google.cloud.aiplatform.v1.UpdateEndpointLongRunningRequest parseFrom(
+ com.google.protobuf.CodedInputStream input) throws java.io.IOException {
+ return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input);
+ }
+
+ public static com.google.cloud.aiplatform.v1.UpdateEndpointLongRunningRequest 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(
+ com.google.cloud.aiplatform.v1.UpdateEndpointLongRunningRequest 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;
+ }
+ /**
+ *
+ *
+ * + * Request message for + * [EndpointService.UpdateEndpointLongRunning][google.cloud.aiplatform.v1.EndpointService.UpdateEndpointLongRunning]. + *+ * + * Protobuf type {@code google.cloud.aiplatform.v1.UpdateEndpointLongRunningRequest} + */ + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder
+ * Required. The Endpoint which replaces the resource on the server. Currently + * we only support updating the `client_connection_config` field, all the + * other fields' update will be blocked. + *+ * + *
+ * .google.cloud.aiplatform.v1.Endpoint endpoint = 1 [(.google.api.field_behavior) = REQUIRED];
+ *
+ *
+ * @return Whether the endpoint field is set.
+ */
+ public boolean hasEndpoint() {
+ return ((bitField0_ & 0x00000001) != 0);
+ }
+ /**
+ *
+ *
+ * + * Required. The Endpoint which replaces the resource on the server. Currently + * we only support updating the `client_connection_config` field, all the + * other fields' update will be blocked. + *+ * + *
+ * .google.cloud.aiplatform.v1.Endpoint endpoint = 1 [(.google.api.field_behavior) = REQUIRED];
+ *
+ *
+ * @return The endpoint.
+ */
+ public com.google.cloud.aiplatform.v1.Endpoint getEndpoint() {
+ if (endpointBuilder_ == null) {
+ return endpoint_ == null
+ ? com.google.cloud.aiplatform.v1.Endpoint.getDefaultInstance()
+ : endpoint_;
+ } else {
+ return endpointBuilder_.getMessage();
+ }
+ }
+ /**
+ *
+ *
+ * + * Required. The Endpoint which replaces the resource on the server. Currently + * we only support updating the `client_connection_config` field, all the + * other fields' update will be blocked. + *+ * + *
+ * .google.cloud.aiplatform.v1.Endpoint endpoint = 1 [(.google.api.field_behavior) = REQUIRED];
+ *
+ */
+ public Builder setEndpoint(com.google.cloud.aiplatform.v1.Endpoint value) {
+ if (endpointBuilder_ == null) {
+ if (value == null) {
+ throw new NullPointerException();
+ }
+ endpoint_ = value;
+ } else {
+ endpointBuilder_.setMessage(value);
+ }
+ bitField0_ |= 0x00000001;
+ onChanged();
+ return this;
+ }
+ /**
+ *
+ *
+ * + * Required. The Endpoint which replaces the resource on the server. Currently + * we only support updating the `client_connection_config` field, all the + * other fields' update will be blocked. + *+ * + *
+ * .google.cloud.aiplatform.v1.Endpoint endpoint = 1 [(.google.api.field_behavior) = REQUIRED];
+ *
+ */
+ public Builder setEndpoint(com.google.cloud.aiplatform.v1.Endpoint.Builder builderForValue) {
+ if (endpointBuilder_ == null) {
+ endpoint_ = builderForValue.build();
+ } else {
+ endpointBuilder_.setMessage(builderForValue.build());
+ }
+ bitField0_ |= 0x00000001;
+ onChanged();
+ return this;
+ }
+ /**
+ *
+ *
+ * + * Required. The Endpoint which replaces the resource on the server. Currently + * we only support updating the `client_connection_config` field, all the + * other fields' update will be blocked. + *+ * + *
+ * .google.cloud.aiplatform.v1.Endpoint endpoint = 1 [(.google.api.field_behavior) = REQUIRED];
+ *
+ */
+ public Builder mergeEndpoint(com.google.cloud.aiplatform.v1.Endpoint value) {
+ if (endpointBuilder_ == null) {
+ if (((bitField0_ & 0x00000001) != 0)
+ && endpoint_ != null
+ && endpoint_ != com.google.cloud.aiplatform.v1.Endpoint.getDefaultInstance()) {
+ getEndpointBuilder().mergeFrom(value);
+ } else {
+ endpoint_ = value;
+ }
+ } else {
+ endpointBuilder_.mergeFrom(value);
+ }
+ if (endpoint_ != null) {
+ bitField0_ |= 0x00000001;
+ onChanged();
+ }
+ return this;
+ }
+ /**
+ *
+ *
+ * + * Required. The Endpoint which replaces the resource on the server. Currently + * we only support updating the `client_connection_config` field, all the + * other fields' update will be blocked. + *+ * + *
+ * .google.cloud.aiplatform.v1.Endpoint endpoint = 1 [(.google.api.field_behavior) = REQUIRED];
+ *
+ */
+ public Builder clearEndpoint() {
+ bitField0_ = (bitField0_ & ~0x00000001);
+ endpoint_ = null;
+ if (endpointBuilder_ != null) {
+ endpointBuilder_.dispose();
+ endpointBuilder_ = null;
+ }
+ onChanged();
+ return this;
+ }
+ /**
+ *
+ *
+ * + * Required. The Endpoint which replaces the resource on the server. Currently + * we only support updating the `client_connection_config` field, all the + * other fields' update will be blocked. + *+ * + *
+ * .google.cloud.aiplatform.v1.Endpoint endpoint = 1 [(.google.api.field_behavior) = REQUIRED];
+ *
+ */
+ public com.google.cloud.aiplatform.v1.Endpoint.Builder getEndpointBuilder() {
+ bitField0_ |= 0x00000001;
+ onChanged();
+ return getEndpointFieldBuilder().getBuilder();
+ }
+ /**
+ *
+ *
+ * + * Required. The Endpoint which replaces the resource on the server. Currently + * we only support updating the `client_connection_config` field, all the + * other fields' update will be blocked. + *+ * + *
+ * .google.cloud.aiplatform.v1.Endpoint endpoint = 1 [(.google.api.field_behavior) = REQUIRED];
+ *
+ */
+ public com.google.cloud.aiplatform.v1.EndpointOrBuilder getEndpointOrBuilder() {
+ if (endpointBuilder_ != null) {
+ return endpointBuilder_.getMessageOrBuilder();
+ } else {
+ return endpoint_ == null
+ ? com.google.cloud.aiplatform.v1.Endpoint.getDefaultInstance()
+ : endpoint_;
+ }
+ }
+ /**
+ *
+ *
+ * + * Required. The Endpoint which replaces the resource on the server. Currently + * we only support updating the `client_connection_config` field, all the + * other fields' update will be blocked. + *+ * + *
+ * .google.cloud.aiplatform.v1.Endpoint endpoint = 1 [(.google.api.field_behavior) = REQUIRED];
+ *
+ */
+ private com.google.protobuf.SingleFieldBuilderV3<
+ com.google.cloud.aiplatform.v1.Endpoint,
+ com.google.cloud.aiplatform.v1.Endpoint.Builder,
+ com.google.cloud.aiplatform.v1.EndpointOrBuilder>
+ getEndpointFieldBuilder() {
+ if (endpointBuilder_ == null) {
+ endpointBuilder_ =
+ new com.google.protobuf.SingleFieldBuilderV3<
+ com.google.cloud.aiplatform.v1.Endpoint,
+ com.google.cloud.aiplatform.v1.Endpoint.Builder,
+ com.google.cloud.aiplatform.v1.EndpointOrBuilder>(
+ getEndpoint(), getParentForChildren(), isClean());
+ endpoint_ = null;
+ }
+ return endpointBuilder_;
+ }
+
+ @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:google.cloud.aiplatform.v1.UpdateEndpointLongRunningRequest)
+ }
+
+ // @@protoc_insertion_point(class_scope:google.cloud.aiplatform.v1.UpdateEndpointLongRunningRequest)
+ private static final com.google.cloud.aiplatform.v1.UpdateEndpointLongRunningRequest
+ DEFAULT_INSTANCE;
+
+ static {
+ DEFAULT_INSTANCE = new com.google.cloud.aiplatform.v1.UpdateEndpointLongRunningRequest();
+ }
+
+ public static com.google.cloud.aiplatform.v1.UpdateEndpointLongRunningRequest
+ getDefaultInstance() {
+ return DEFAULT_INSTANCE;
+ }
+
+ private static final com.google.protobuf.Parser+ * Required. The Endpoint which replaces the resource on the server. Currently + * we only support updating the `client_connection_config` field, all the + * other fields' update will be blocked. + *+ * + *
+ * .google.cloud.aiplatform.v1.Endpoint endpoint = 1 [(.google.api.field_behavior) = REQUIRED];
+ *
+ *
+ * @return Whether the endpoint field is set.
+ */
+ boolean hasEndpoint();
+ /**
+ *
+ *
+ * + * Required. The Endpoint which replaces the resource on the server. Currently + * we only support updating the `client_connection_config` field, all the + * other fields' update will be blocked. + *+ * + *
+ * .google.cloud.aiplatform.v1.Endpoint endpoint = 1 [(.google.api.field_behavior) = REQUIRED];
+ *
+ *
+ * @return The endpoint.
+ */
+ com.google.cloud.aiplatform.v1.Endpoint getEndpoint();
+ /**
+ *
+ *
+ * + * Required. The Endpoint which replaces the resource on the server. Currently + * we only support updating the `client_connection_config` field, all the + * other fields' update will be blocked. + *+ * + *
+ * .google.cloud.aiplatform.v1.Endpoint endpoint = 1 [(.google.api.field_behavior) = REQUIRED];
+ *
+ */
+ com.google.cloud.aiplatform.v1.EndpointOrBuilder getEndpointOrBuilder();
+}
diff --git a/java-aiplatform/proto-google-cloud-aiplatform-v1/src/main/java/com/google/cloud/aiplatform/v1/UpdateEndpointOperationMetadata.java b/java-aiplatform/proto-google-cloud-aiplatform-v1/src/main/java/com/google/cloud/aiplatform/v1/UpdateEndpointOperationMetadata.java
new file mode 100644
index 000000000000..0f80d5fec8eb
--- /dev/null
+++ b/java-aiplatform/proto-google-cloud-aiplatform-v1/src/main/java/com/google/cloud/aiplatform/v1/UpdateEndpointOperationMetadata.java
@@ -0,0 +1,739 @@
+/*
+ * Copyright 2024 Google LLC
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ * https://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+// Generated by the protocol buffer compiler. DO NOT EDIT!
+// source: google/cloud/aiplatform/v1/endpoint_service.proto
+
+// Protobuf Java Version: 3.25.5
+package com.google.cloud.aiplatform.v1;
+
+/**
+ *
+ *
+ * + * Runtime operation information for + * [EndpointService.UpdateEndpointLongRunning][google.cloud.aiplatform.v1.EndpointService.UpdateEndpointLongRunning]. + *+ * + * Protobuf type {@code google.cloud.aiplatform.v1.UpdateEndpointOperationMetadata} + */ +public final class UpdateEndpointOperationMetadata extends com.google.protobuf.GeneratedMessageV3 + implements + // @@protoc_insertion_point(message_implements:google.cloud.aiplatform.v1.UpdateEndpointOperationMetadata) + UpdateEndpointOperationMetadataOrBuilder { + private static final long serialVersionUID = 0L; + // Use UpdateEndpointOperationMetadata.newBuilder() to construct. + private UpdateEndpointOperationMetadata( + com.google.protobuf.GeneratedMessageV3.Builder> builder) { + super(builder); + } + + private UpdateEndpointOperationMetadata() {} + + @java.lang.Override + @SuppressWarnings({"unused"}) + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + return new UpdateEndpointOperationMetadata(); + } + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.aiplatform.v1.EndpointServiceProto + .internal_static_google_cloud_aiplatform_v1_UpdateEndpointOperationMetadata_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return com.google.cloud.aiplatform.v1.EndpointServiceProto + .internal_static_google_cloud_aiplatform_v1_UpdateEndpointOperationMetadata_fieldAccessorTable + .ensureFieldAccessorsInitialized( + com.google.cloud.aiplatform.v1.UpdateEndpointOperationMetadata.class, + com.google.cloud.aiplatform.v1.UpdateEndpointOperationMetadata.Builder.class); + } + + private int bitField0_; + public static final int GENERIC_METADATA_FIELD_NUMBER = 1; + private com.google.cloud.aiplatform.v1.GenericOperationMetadata genericMetadata_; + /** + * + * + *
+ * The operation generic information. + *+ * + *
.google.cloud.aiplatform.v1.GenericOperationMetadata generic_metadata = 1;
+ *
+ * @return Whether the genericMetadata field is set.
+ */
+ @java.lang.Override
+ public boolean hasGenericMetadata() {
+ return ((bitField0_ & 0x00000001) != 0);
+ }
+ /**
+ *
+ *
+ * + * The operation generic information. + *+ * + *
.google.cloud.aiplatform.v1.GenericOperationMetadata generic_metadata = 1;
+ *
+ * @return The genericMetadata.
+ */
+ @java.lang.Override
+ public com.google.cloud.aiplatform.v1.GenericOperationMetadata getGenericMetadata() {
+ return genericMetadata_ == null
+ ? com.google.cloud.aiplatform.v1.GenericOperationMetadata.getDefaultInstance()
+ : genericMetadata_;
+ }
+ /**
+ *
+ *
+ * + * The operation generic information. + *+ * + *
.google.cloud.aiplatform.v1.GenericOperationMetadata generic_metadata = 1;
+ */
+ @java.lang.Override
+ public com.google.cloud.aiplatform.v1.GenericOperationMetadataOrBuilder
+ getGenericMetadataOrBuilder() {
+ return genericMetadata_ == null
+ ? com.google.cloud.aiplatform.v1.GenericOperationMetadata.getDefaultInstance()
+ : genericMetadata_;
+ }
+
+ private byte memoizedIsInitialized = -1;
+
+ @java.lang.Override
+ public final boolean isInitialized() {
+ byte isInitialized = memoizedIsInitialized;
+ if (isInitialized == 1) return true;
+ if (isInitialized == 0) return false;
+
+ memoizedIsInitialized = 1;
+ return true;
+ }
+
+ @java.lang.Override
+ public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException {
+ if (((bitField0_ & 0x00000001) != 0)) {
+ output.writeMessage(1, getGenericMetadata());
+ }
+ getUnknownFields().writeTo(output);
+ }
+
+ @java.lang.Override
+ public int getSerializedSize() {
+ int size = memoizedSize;
+ if (size != -1) return size;
+
+ size = 0;
+ if (((bitField0_ & 0x00000001) != 0)) {
+ size += com.google.protobuf.CodedOutputStream.computeMessageSize(1, getGenericMetadata());
+ }
+ 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 com.google.cloud.aiplatform.v1.UpdateEndpointOperationMetadata)) {
+ return super.equals(obj);
+ }
+ com.google.cloud.aiplatform.v1.UpdateEndpointOperationMetadata other =
+ (com.google.cloud.aiplatform.v1.UpdateEndpointOperationMetadata) obj;
+
+ if (hasGenericMetadata() != other.hasGenericMetadata()) return false;
+ if (hasGenericMetadata()) {
+ if (!getGenericMetadata().equals(other.getGenericMetadata())) 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 (hasGenericMetadata()) {
+ hash = (37 * hash) + GENERIC_METADATA_FIELD_NUMBER;
+ hash = (53 * hash) + getGenericMetadata().hashCode();
+ }
+ hash = (29 * hash) + getUnknownFields().hashCode();
+ memoizedHashCode = hash;
+ return hash;
+ }
+
+ public static com.google.cloud.aiplatform.v1.UpdateEndpointOperationMetadata parseFrom(
+ java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException {
+ return PARSER.parseFrom(data);
+ }
+
+ public static com.google.cloud.aiplatform.v1.UpdateEndpointOperationMetadata parseFrom(
+ java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+ throws com.google.protobuf.InvalidProtocolBufferException {
+ return PARSER.parseFrom(data, extensionRegistry);
+ }
+
+ public static com.google.cloud.aiplatform.v1.UpdateEndpointOperationMetadata parseFrom(
+ com.google.protobuf.ByteString data)
+ throws com.google.protobuf.InvalidProtocolBufferException {
+ return PARSER.parseFrom(data);
+ }
+
+ public static com.google.cloud.aiplatform.v1.UpdateEndpointOperationMetadata parseFrom(
+ com.google.protobuf.ByteString data,
+ com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+ throws com.google.protobuf.InvalidProtocolBufferException {
+ return PARSER.parseFrom(data, extensionRegistry);
+ }
+
+ public static com.google.cloud.aiplatform.v1.UpdateEndpointOperationMetadata parseFrom(
+ byte[] data) throws com.google.protobuf.InvalidProtocolBufferException {
+ return PARSER.parseFrom(data);
+ }
+
+ public static com.google.cloud.aiplatform.v1.UpdateEndpointOperationMetadata parseFrom(
+ byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+ throws com.google.protobuf.InvalidProtocolBufferException {
+ return PARSER.parseFrom(data, extensionRegistry);
+ }
+
+ public static com.google.cloud.aiplatform.v1.UpdateEndpointOperationMetadata parseFrom(
+ java.io.InputStream input) throws java.io.IOException {
+ return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input);
+ }
+
+ public static com.google.cloud.aiplatform.v1.UpdateEndpointOperationMetadata parseFrom(
+ java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+ throws java.io.IOException {
+ return com.google.protobuf.GeneratedMessageV3.parseWithIOException(
+ PARSER, input, extensionRegistry);
+ }
+
+ public static com.google.cloud.aiplatform.v1.UpdateEndpointOperationMetadata parseDelimitedFrom(
+ java.io.InputStream input) throws java.io.IOException {
+ return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input);
+ }
+
+ public static com.google.cloud.aiplatform.v1.UpdateEndpointOperationMetadata parseDelimitedFrom(
+ java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+ throws java.io.IOException {
+ return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(
+ PARSER, input, extensionRegistry);
+ }
+
+ public static com.google.cloud.aiplatform.v1.UpdateEndpointOperationMetadata parseFrom(
+ com.google.protobuf.CodedInputStream input) throws java.io.IOException {
+ return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input);
+ }
+
+ public static com.google.cloud.aiplatform.v1.UpdateEndpointOperationMetadata 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(
+ com.google.cloud.aiplatform.v1.UpdateEndpointOperationMetadata 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;
+ }
+ /**
+ *
+ *
+ * + * Runtime operation information for + * [EndpointService.UpdateEndpointLongRunning][google.cloud.aiplatform.v1.EndpointService.UpdateEndpointLongRunning]. + *+ * + * Protobuf type {@code google.cloud.aiplatform.v1.UpdateEndpointOperationMetadata} + */ + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder
+ * The operation generic information. + *+ * + *
.google.cloud.aiplatform.v1.GenericOperationMetadata generic_metadata = 1;
+ *
+ * @return Whether the genericMetadata field is set.
+ */
+ public boolean hasGenericMetadata() {
+ return ((bitField0_ & 0x00000001) != 0);
+ }
+ /**
+ *
+ *
+ * + * The operation generic information. + *+ * + *
.google.cloud.aiplatform.v1.GenericOperationMetadata generic_metadata = 1;
+ *
+ * @return The genericMetadata.
+ */
+ public com.google.cloud.aiplatform.v1.GenericOperationMetadata getGenericMetadata() {
+ if (genericMetadataBuilder_ == null) {
+ return genericMetadata_ == null
+ ? com.google.cloud.aiplatform.v1.GenericOperationMetadata.getDefaultInstance()
+ : genericMetadata_;
+ } else {
+ return genericMetadataBuilder_.getMessage();
+ }
+ }
+ /**
+ *
+ *
+ * + * The operation generic information. + *+ * + *
.google.cloud.aiplatform.v1.GenericOperationMetadata generic_metadata = 1;
+ */
+ public Builder setGenericMetadata(
+ com.google.cloud.aiplatform.v1.GenericOperationMetadata value) {
+ if (genericMetadataBuilder_ == null) {
+ if (value == null) {
+ throw new NullPointerException();
+ }
+ genericMetadata_ = value;
+ } else {
+ genericMetadataBuilder_.setMessage(value);
+ }
+ bitField0_ |= 0x00000001;
+ onChanged();
+ return this;
+ }
+ /**
+ *
+ *
+ * + * The operation generic information. + *+ * + *
.google.cloud.aiplatform.v1.GenericOperationMetadata generic_metadata = 1;
+ */
+ public Builder setGenericMetadata(
+ com.google.cloud.aiplatform.v1.GenericOperationMetadata.Builder builderForValue) {
+ if (genericMetadataBuilder_ == null) {
+ genericMetadata_ = builderForValue.build();
+ } else {
+ genericMetadataBuilder_.setMessage(builderForValue.build());
+ }
+ bitField0_ |= 0x00000001;
+ onChanged();
+ return this;
+ }
+ /**
+ *
+ *
+ * + * The operation generic information. + *+ * + *
.google.cloud.aiplatform.v1.GenericOperationMetadata generic_metadata = 1;
+ */
+ public Builder mergeGenericMetadata(
+ com.google.cloud.aiplatform.v1.GenericOperationMetadata value) {
+ if (genericMetadataBuilder_ == null) {
+ if (((bitField0_ & 0x00000001) != 0)
+ && genericMetadata_ != null
+ && genericMetadata_
+ != com.google.cloud.aiplatform.v1.GenericOperationMetadata.getDefaultInstance()) {
+ getGenericMetadataBuilder().mergeFrom(value);
+ } else {
+ genericMetadata_ = value;
+ }
+ } else {
+ genericMetadataBuilder_.mergeFrom(value);
+ }
+ if (genericMetadata_ != null) {
+ bitField0_ |= 0x00000001;
+ onChanged();
+ }
+ return this;
+ }
+ /**
+ *
+ *
+ * + * The operation generic information. + *+ * + *
.google.cloud.aiplatform.v1.GenericOperationMetadata generic_metadata = 1;
+ */
+ public Builder clearGenericMetadata() {
+ bitField0_ = (bitField0_ & ~0x00000001);
+ genericMetadata_ = null;
+ if (genericMetadataBuilder_ != null) {
+ genericMetadataBuilder_.dispose();
+ genericMetadataBuilder_ = null;
+ }
+ onChanged();
+ return this;
+ }
+ /**
+ *
+ *
+ * + * The operation generic information. + *+ * + *
.google.cloud.aiplatform.v1.GenericOperationMetadata generic_metadata = 1;
+ */
+ public com.google.cloud.aiplatform.v1.GenericOperationMetadata.Builder
+ getGenericMetadataBuilder() {
+ bitField0_ |= 0x00000001;
+ onChanged();
+ return getGenericMetadataFieldBuilder().getBuilder();
+ }
+ /**
+ *
+ *
+ * + * The operation generic information. + *+ * + *
.google.cloud.aiplatform.v1.GenericOperationMetadata generic_metadata = 1;
+ */
+ public com.google.cloud.aiplatform.v1.GenericOperationMetadataOrBuilder
+ getGenericMetadataOrBuilder() {
+ if (genericMetadataBuilder_ != null) {
+ return genericMetadataBuilder_.getMessageOrBuilder();
+ } else {
+ return genericMetadata_ == null
+ ? com.google.cloud.aiplatform.v1.GenericOperationMetadata.getDefaultInstance()
+ : genericMetadata_;
+ }
+ }
+ /**
+ *
+ *
+ * + * The operation generic information. + *+ * + *
.google.cloud.aiplatform.v1.GenericOperationMetadata generic_metadata = 1;
+ */
+ private com.google.protobuf.SingleFieldBuilderV3<
+ com.google.cloud.aiplatform.v1.GenericOperationMetadata,
+ com.google.cloud.aiplatform.v1.GenericOperationMetadata.Builder,
+ com.google.cloud.aiplatform.v1.GenericOperationMetadataOrBuilder>
+ getGenericMetadataFieldBuilder() {
+ if (genericMetadataBuilder_ == null) {
+ genericMetadataBuilder_ =
+ new com.google.protobuf.SingleFieldBuilderV3<
+ com.google.cloud.aiplatform.v1.GenericOperationMetadata,
+ com.google.cloud.aiplatform.v1.GenericOperationMetadata.Builder,
+ com.google.cloud.aiplatform.v1.GenericOperationMetadataOrBuilder>(
+ getGenericMetadata(), getParentForChildren(), isClean());
+ genericMetadata_ = null;
+ }
+ return genericMetadataBuilder_;
+ }
+
+ @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:google.cloud.aiplatform.v1.UpdateEndpointOperationMetadata)
+ }
+
+ // @@protoc_insertion_point(class_scope:google.cloud.aiplatform.v1.UpdateEndpointOperationMetadata)
+ private static final com.google.cloud.aiplatform.v1.UpdateEndpointOperationMetadata
+ DEFAULT_INSTANCE;
+
+ static {
+ DEFAULT_INSTANCE = new com.google.cloud.aiplatform.v1.UpdateEndpointOperationMetadata();
+ }
+
+ public static com.google.cloud.aiplatform.v1.UpdateEndpointOperationMetadata
+ getDefaultInstance() {
+ return DEFAULT_INSTANCE;
+ }
+
+ private static final com.google.protobuf.Parser+ * The operation generic information. + *+ * + *
.google.cloud.aiplatform.v1.GenericOperationMetadata generic_metadata = 1;
+ *
+ * @return Whether the genericMetadata field is set.
+ */
+ boolean hasGenericMetadata();
+ /**
+ *
+ *
+ * + * The operation generic information. + *+ * + *
.google.cloud.aiplatform.v1.GenericOperationMetadata generic_metadata = 1;
+ *
+ * @return The genericMetadata.
+ */
+ com.google.cloud.aiplatform.v1.GenericOperationMetadata getGenericMetadata();
+ /**
+ *
+ *
+ * + * The operation generic information. + *+ * + *
.google.cloud.aiplatform.v1.GenericOperationMetadata generic_metadata = 1;
+ */
+ com.google.cloud.aiplatform.v1.GenericOperationMetadataOrBuilder getGenericMetadataOrBuilder();
+}
diff --git a/java-aiplatform/proto-google-cloud-aiplatform-v1/src/main/proto/google/cloud/aiplatform/v1/endpoint.proto b/java-aiplatform/proto-google-cloud-aiplatform-v1/src/main/proto/google/cloud/aiplatform/v1/endpoint.proto
index 9ef20473d4f8..8ba04290a264 100644
--- a/java-aiplatform/proto-google-cloud-aiplatform-v1/src/main/proto/google/cloud/aiplatform/v1/endpoint.proto
+++ b/java-aiplatform/proto-google-cloud-aiplatform-v1/src/main/proto/google/cloud/aiplatform/v1/endpoint.proto
@@ -23,6 +23,7 @@ import "google/cloud/aiplatform/v1/explanation.proto";
import "google/cloud/aiplatform/v1/io.proto";
import "google/cloud/aiplatform/v1/machine_resources.proto";
import "google/cloud/aiplatform/v1/service_networking.proto";
+import "google/protobuf/duration.proto";
import "google/protobuf/timestamp.proto";
option csharp_namespace = "Google.Cloud.AIPlatform.V1";
@@ -167,6 +168,9 @@ message Endpoint {
string dedicated_endpoint_dns = 25
[(google.api.field_behavior) = OUTPUT_ONLY];
+ // Configurations that are applied to the endpoint for online prediction.
+ ClientConnectionConfig client_connection_config = 23;
+
// Output only. Reserved for future use.
bool satisfies_pzs = 27 [(google.api.field_behavior) = OUTPUT_ONLY];
@@ -345,3 +349,9 @@ message FasterDeploymentConfig {
// If true, enable fast tryout feature for this deployed model.
bool fast_tryout_enabled = 2;
}
+
+// Configurations (e.g. inference timeout) that are applied on your endpoints.
+message ClientConnectionConfig {
+ // Customizable online prediction request timeout.
+ google.protobuf.Duration inference_timeout = 1;
+}
diff --git a/java-aiplatform/proto-google-cloud-aiplatform-v1/src/main/proto/google/cloud/aiplatform/v1/endpoint_service.proto b/java-aiplatform/proto-google-cloud-aiplatform-v1/src/main/proto/google/cloud/aiplatform/v1/endpoint_service.proto
index 85b04746010b..b69ba90f3da6 100644
--- a/java-aiplatform/proto-google-cloud-aiplatform-v1/src/main/proto/google/cloud/aiplatform/v1/endpoint_service.proto
+++ b/java-aiplatform/proto-google-cloud-aiplatform-v1/src/main/proto/google/cloud/aiplatform/v1/endpoint_service.proto
@@ -80,6 +80,20 @@ service EndpointService {
option (google.api.method_signature) = "endpoint,update_mask";
}
+ // Updates an Endpoint with a long running operation.
+ rpc UpdateEndpointLongRunning(UpdateEndpointLongRunningRequest)
+ returns (google.longrunning.Operation) {
+ option (google.api.http) = {
+ post: "/v1/{endpoint.name=projects/*/locations/*/endpoints/*}:update"
+ body: "*"
+ };
+ option (google.api.method_signature) = "endpoint";
+ option (google.longrunning.operation_info) = {
+ response_type: "Endpoint"
+ metadata_type: "UpdateEndpointOperationMetadata"
+ };
+ }
+
// Deletes an Endpoint.
rpc DeleteEndpoint(DeleteEndpointRequest)
returns (google.longrunning.Operation) {
@@ -280,6 +294,22 @@ message UpdateEndpointRequest {
[(google.api.field_behavior) = REQUIRED];
}
+// Request message for
+// [EndpointService.UpdateEndpointLongRunning][google.cloud.aiplatform.v1.EndpointService.UpdateEndpointLongRunning].
+message UpdateEndpointLongRunningRequest {
+ // Required. The Endpoint which replaces the resource on the server. Currently
+ // we only support updating the `client_connection_config` field, all the
+ // other fields' update will be blocked.
+ Endpoint endpoint = 1 [(google.api.field_behavior) = REQUIRED];
+}
+
+// Runtime operation information for
+// [EndpointService.UpdateEndpointLongRunning][google.cloud.aiplatform.v1.EndpointService.UpdateEndpointLongRunning].
+message UpdateEndpointOperationMetadata {
+ // The operation generic information.
+ GenericOperationMetadata generic_metadata = 1;
+}
+
// Request message for
// [EndpointService.DeleteEndpoint][google.cloud.aiplatform.v1.EndpointService.DeleteEndpoint].
message DeleteEndpointRequest {
diff --git a/java-aiplatform/proto-google-cloud-aiplatform-v1/src/main/proto/google/cloud/aiplatform/v1/notebook_execution_job.proto b/java-aiplatform/proto-google-cloud-aiplatform-v1/src/main/proto/google/cloud/aiplatform/v1/notebook_execution_job.proto
index 43c961e31f4c..d74233aa6aa5 100644
--- a/java-aiplatform/proto-google-cloud-aiplatform-v1/src/main/proto/google/cloud/aiplatform/v1/notebook_execution_job.proto
+++ b/java-aiplatform/proto-google-cloud-aiplatform-v1/src/main/proto/google/cloud/aiplatform/v1/notebook_execution_job.proto
@@ -20,6 +20,8 @@ import "google/api/field_behavior.proto";
import "google/api/resource.proto";
import "google/cloud/aiplatform/v1/encryption_spec.proto";
import "google/cloud/aiplatform/v1/job_state.proto";
+import "google/cloud/aiplatform/v1/machine_resources.proto";
+import "google/cloud/aiplatform/v1/network_spec.proto";
import "google/protobuf/duration.proto";
import "google/protobuf/timestamp.proto";
import "google/rpc/status.proto";
@@ -70,6 +72,18 @@ message NotebookExecutionJob {
bytes content = 1;
}
+ // Compute configuration to use for an execution job.
+ message CustomEnvironmentSpec {
+ // The specification of a single machine for the execution job.
+ MachineSpec machine_spec = 1;
+
+ // The specification of a persistent disk to attach for the execution job.
+ PersistentDiskSpec persistent_disk_spec = 2;
+
+ // The network configuration to use for the execution job.
+ NetworkSpec network_spec = 3;
+ }
+
// The input notebook.
oneof notebook_source {
// The Dataform Repository pointing to a single file notebook repository.
@@ -90,6 +104,9 @@ message NotebookExecutionJob {
[(google.api.resource_reference) = {
type: "aiplatform.googleapis.com/NotebookRuntimeTemplate"
}];
+
+ // The custom compute configuration for an execution job.
+ CustomEnvironmentSpec custom_environment_spec = 16;
}
// The location to store the notebook execution result.
diff --git a/java-aiplatform/proto-google-cloud-aiplatform-v1beta1/src/main/java/com/google/cloud/aiplatform/v1beta1/EvaluateInstancesRequest.java b/java-aiplatform/proto-google-cloud-aiplatform-v1beta1/src/main/java/com/google/cloud/aiplatform/v1beta1/EvaluateInstancesRequest.java
index 7be5612b64d7..347d19719d0c 100644
--- a/java-aiplatform/proto-google-cloud-aiplatform-v1beta1/src/main/java/com/google/cloud/aiplatform/v1beta1/EvaluateInstancesRequest.java
+++ b/java-aiplatform/proto-google-cloud-aiplatform-v1beta1/src/main/java/com/google/cloud/aiplatform/v1beta1/EvaluateInstancesRequest.java
@@ -95,6 +95,12 @@ public enum MetricInputsCase
TOOL_NAME_MATCH_INPUT(20),
TOOL_PARAMETER_KEY_MATCH_INPUT(21),
TOOL_PARAMETER_KV_MATCH_INPUT(22),
+ TRAJECTORY_EXACT_MATCH_INPUT(33),
+ TRAJECTORY_IN_ORDER_MATCH_INPUT(34),
+ TRAJECTORY_ANY_ORDER_MATCH_INPUT(35),
+ TRAJECTORY_PRECISION_INPUT(37),
+ TRAJECTORY_RECALL_INPUT(38),
+ TRAJECTORY_SINGLE_TOOL_USE_INPUT(39),
METRICINPUTS_NOT_SET(0);
private final int value;
@@ -159,6 +165,18 @@ public static MetricInputsCase forNumber(int value) {
return TOOL_PARAMETER_KEY_MATCH_INPUT;
case 22:
return TOOL_PARAMETER_KV_MATCH_INPUT;
+ case 33:
+ return TRAJECTORY_EXACT_MATCH_INPUT;
+ case 34:
+ return TRAJECTORY_IN_ORDER_MATCH_INPUT;
+ case 35:
+ return TRAJECTORY_ANY_ORDER_MATCH_INPUT;
+ case 37:
+ return TRAJECTORY_PRECISION_INPUT;
+ case 38:
+ return TRAJECTORY_RECALL_INPUT;
+ case 39:
+ return TRAJECTORY_SINGLE_TOOL_USE_INPUT;
case 0:
return METRICINPUTS_NOT_SET;
default:
@@ -1471,6 +1489,356 @@ public boolean hasToolParameterKvMatchInput() {
return com.google.cloud.aiplatform.v1beta1.ToolParameterKVMatchInput.getDefaultInstance();
}
+ public static final int TRAJECTORY_EXACT_MATCH_INPUT_FIELD_NUMBER = 33;
+ /**
+ *
+ *
+ * + * Input for trajectory exact match metric. + *+ * + *
+ * .google.cloud.aiplatform.v1beta1.TrajectoryExactMatchInput trajectory_exact_match_input = 33;
+ *
+ *
+ * @return Whether the trajectoryExactMatchInput field is set.
+ */
+ @java.lang.Override
+ public boolean hasTrajectoryExactMatchInput() {
+ return metricInputsCase_ == 33;
+ }
+ /**
+ *
+ *
+ * + * Input for trajectory exact match metric. + *+ * + *
+ * .google.cloud.aiplatform.v1beta1.TrajectoryExactMatchInput trajectory_exact_match_input = 33;
+ *
+ *
+ * @return The trajectoryExactMatchInput.
+ */
+ @java.lang.Override
+ public com.google.cloud.aiplatform.v1beta1.TrajectoryExactMatchInput
+ getTrajectoryExactMatchInput() {
+ if (metricInputsCase_ == 33) {
+ return (com.google.cloud.aiplatform.v1beta1.TrajectoryExactMatchInput) metricInputs_;
+ }
+ return com.google.cloud.aiplatform.v1beta1.TrajectoryExactMatchInput.getDefaultInstance();
+ }
+ /**
+ *
+ *
+ * + * Input for trajectory exact match metric. + *+ * + *
+ * .google.cloud.aiplatform.v1beta1.TrajectoryExactMatchInput trajectory_exact_match_input = 33;
+ *
+ */
+ @java.lang.Override
+ public com.google.cloud.aiplatform.v1beta1.TrajectoryExactMatchInputOrBuilder
+ getTrajectoryExactMatchInputOrBuilder() {
+ if (metricInputsCase_ == 33) {
+ return (com.google.cloud.aiplatform.v1beta1.TrajectoryExactMatchInput) metricInputs_;
+ }
+ return com.google.cloud.aiplatform.v1beta1.TrajectoryExactMatchInput.getDefaultInstance();
+ }
+
+ public static final int TRAJECTORY_IN_ORDER_MATCH_INPUT_FIELD_NUMBER = 34;
+ /**
+ *
+ *
+ * + * Input for trajectory in order match metric. + *+ * + *
+ * .google.cloud.aiplatform.v1beta1.TrajectoryInOrderMatchInput trajectory_in_order_match_input = 34;
+ *
+ *
+ * @return Whether the trajectoryInOrderMatchInput field is set.
+ */
+ @java.lang.Override
+ public boolean hasTrajectoryInOrderMatchInput() {
+ return metricInputsCase_ == 34;
+ }
+ /**
+ *
+ *
+ * + * Input for trajectory in order match metric. + *+ * + *
+ * .google.cloud.aiplatform.v1beta1.TrajectoryInOrderMatchInput trajectory_in_order_match_input = 34;
+ *
+ *
+ * @return The trajectoryInOrderMatchInput.
+ */
+ @java.lang.Override
+ public com.google.cloud.aiplatform.v1beta1.TrajectoryInOrderMatchInput
+ getTrajectoryInOrderMatchInput() {
+ if (metricInputsCase_ == 34) {
+ return (com.google.cloud.aiplatform.v1beta1.TrajectoryInOrderMatchInput) metricInputs_;
+ }
+ return com.google.cloud.aiplatform.v1beta1.TrajectoryInOrderMatchInput.getDefaultInstance();
+ }
+ /**
+ *
+ *
+ * + * Input for trajectory in order match metric. + *+ * + *
+ * .google.cloud.aiplatform.v1beta1.TrajectoryInOrderMatchInput trajectory_in_order_match_input = 34;
+ *
+ */
+ @java.lang.Override
+ public com.google.cloud.aiplatform.v1beta1.TrajectoryInOrderMatchInputOrBuilder
+ getTrajectoryInOrderMatchInputOrBuilder() {
+ if (metricInputsCase_ == 34) {
+ return (com.google.cloud.aiplatform.v1beta1.TrajectoryInOrderMatchInput) metricInputs_;
+ }
+ return com.google.cloud.aiplatform.v1beta1.TrajectoryInOrderMatchInput.getDefaultInstance();
+ }
+
+ public static final int TRAJECTORY_ANY_ORDER_MATCH_INPUT_FIELD_NUMBER = 35;
+ /**
+ *
+ *
+ * + * Input for trajectory match any order metric. + *+ * + *
+ * .google.cloud.aiplatform.v1beta1.TrajectoryAnyOrderMatchInput trajectory_any_order_match_input = 35;
+ *
+ *
+ * @return Whether the trajectoryAnyOrderMatchInput field is set.
+ */
+ @java.lang.Override
+ public boolean hasTrajectoryAnyOrderMatchInput() {
+ return metricInputsCase_ == 35;
+ }
+ /**
+ *
+ *
+ * + * Input for trajectory match any order metric. + *+ * + *
+ * .google.cloud.aiplatform.v1beta1.TrajectoryAnyOrderMatchInput trajectory_any_order_match_input = 35;
+ *
+ *
+ * @return The trajectoryAnyOrderMatchInput.
+ */
+ @java.lang.Override
+ public com.google.cloud.aiplatform.v1beta1.TrajectoryAnyOrderMatchInput
+ getTrajectoryAnyOrderMatchInput() {
+ if (metricInputsCase_ == 35) {
+ return (com.google.cloud.aiplatform.v1beta1.TrajectoryAnyOrderMatchInput) metricInputs_;
+ }
+ return com.google.cloud.aiplatform.v1beta1.TrajectoryAnyOrderMatchInput.getDefaultInstance();
+ }
+ /**
+ *
+ *
+ * + * Input for trajectory match any order metric. + *+ * + *
+ * .google.cloud.aiplatform.v1beta1.TrajectoryAnyOrderMatchInput trajectory_any_order_match_input = 35;
+ *
+ */
+ @java.lang.Override
+ public com.google.cloud.aiplatform.v1beta1.TrajectoryAnyOrderMatchInputOrBuilder
+ getTrajectoryAnyOrderMatchInputOrBuilder() {
+ if (metricInputsCase_ == 35) {
+ return (com.google.cloud.aiplatform.v1beta1.TrajectoryAnyOrderMatchInput) metricInputs_;
+ }
+ return com.google.cloud.aiplatform.v1beta1.TrajectoryAnyOrderMatchInput.getDefaultInstance();
+ }
+
+ public static final int TRAJECTORY_PRECISION_INPUT_FIELD_NUMBER = 37;
+ /**
+ *
+ *
+ * + * Input for trajectory precision metric. + *+ * + *
+ * .google.cloud.aiplatform.v1beta1.TrajectoryPrecisionInput trajectory_precision_input = 37;
+ *
+ *
+ * @return Whether the trajectoryPrecisionInput field is set.
+ */
+ @java.lang.Override
+ public boolean hasTrajectoryPrecisionInput() {
+ return metricInputsCase_ == 37;
+ }
+ /**
+ *
+ *
+ * + * Input for trajectory precision metric. + *+ * + *
+ * .google.cloud.aiplatform.v1beta1.TrajectoryPrecisionInput trajectory_precision_input = 37;
+ *
+ *
+ * @return The trajectoryPrecisionInput.
+ */
+ @java.lang.Override
+ public com.google.cloud.aiplatform.v1beta1.TrajectoryPrecisionInput
+ getTrajectoryPrecisionInput() {
+ if (metricInputsCase_ == 37) {
+ return (com.google.cloud.aiplatform.v1beta1.TrajectoryPrecisionInput) metricInputs_;
+ }
+ return com.google.cloud.aiplatform.v1beta1.TrajectoryPrecisionInput.getDefaultInstance();
+ }
+ /**
+ *
+ *
+ * + * Input for trajectory precision metric. + *+ * + *
+ * .google.cloud.aiplatform.v1beta1.TrajectoryPrecisionInput trajectory_precision_input = 37;
+ *
+ */
+ @java.lang.Override
+ public com.google.cloud.aiplatform.v1beta1.TrajectoryPrecisionInputOrBuilder
+ getTrajectoryPrecisionInputOrBuilder() {
+ if (metricInputsCase_ == 37) {
+ return (com.google.cloud.aiplatform.v1beta1.TrajectoryPrecisionInput) metricInputs_;
+ }
+ return com.google.cloud.aiplatform.v1beta1.TrajectoryPrecisionInput.getDefaultInstance();
+ }
+
+ public static final int TRAJECTORY_RECALL_INPUT_FIELD_NUMBER = 38;
+ /**
+ *
+ *
+ * + * Input for trajectory recall metric. + *+ * + *
.google.cloud.aiplatform.v1beta1.TrajectoryRecallInput trajectory_recall_input = 38;
+ *
+ *
+ * @return Whether the trajectoryRecallInput field is set.
+ */
+ @java.lang.Override
+ public boolean hasTrajectoryRecallInput() {
+ return metricInputsCase_ == 38;
+ }
+ /**
+ *
+ *
+ * + * Input for trajectory recall metric. + *+ * + *
.google.cloud.aiplatform.v1beta1.TrajectoryRecallInput trajectory_recall_input = 38;
+ *
+ *
+ * @return The trajectoryRecallInput.
+ */
+ @java.lang.Override
+ public com.google.cloud.aiplatform.v1beta1.TrajectoryRecallInput getTrajectoryRecallInput() {
+ if (metricInputsCase_ == 38) {
+ return (com.google.cloud.aiplatform.v1beta1.TrajectoryRecallInput) metricInputs_;
+ }
+ return com.google.cloud.aiplatform.v1beta1.TrajectoryRecallInput.getDefaultInstance();
+ }
+ /**
+ *
+ *
+ * + * Input for trajectory recall metric. + *+ * + *
.google.cloud.aiplatform.v1beta1.TrajectoryRecallInput trajectory_recall_input = 38;
+ *
+ */
+ @java.lang.Override
+ public com.google.cloud.aiplatform.v1beta1.TrajectoryRecallInputOrBuilder
+ getTrajectoryRecallInputOrBuilder() {
+ if (metricInputsCase_ == 38) {
+ return (com.google.cloud.aiplatform.v1beta1.TrajectoryRecallInput) metricInputs_;
+ }
+ return com.google.cloud.aiplatform.v1beta1.TrajectoryRecallInput.getDefaultInstance();
+ }
+
+ public static final int TRAJECTORY_SINGLE_TOOL_USE_INPUT_FIELD_NUMBER = 39;
+ /**
+ *
+ *
+ * + * Input for trajectory single tool use metric. + *+ * + *
+ * .google.cloud.aiplatform.v1beta1.TrajectorySingleToolUseInput trajectory_single_tool_use_input = 39;
+ *
+ *
+ * @return Whether the trajectorySingleToolUseInput field is set.
+ */
+ @java.lang.Override
+ public boolean hasTrajectorySingleToolUseInput() {
+ return metricInputsCase_ == 39;
+ }
+ /**
+ *
+ *
+ * + * Input for trajectory single tool use metric. + *+ * + *
+ * .google.cloud.aiplatform.v1beta1.TrajectorySingleToolUseInput trajectory_single_tool_use_input = 39;
+ *
+ *
+ * @return The trajectorySingleToolUseInput.
+ */
+ @java.lang.Override
+ public com.google.cloud.aiplatform.v1beta1.TrajectorySingleToolUseInput
+ getTrajectorySingleToolUseInput() {
+ if (metricInputsCase_ == 39) {
+ return (com.google.cloud.aiplatform.v1beta1.TrajectorySingleToolUseInput) metricInputs_;
+ }
+ return com.google.cloud.aiplatform.v1beta1.TrajectorySingleToolUseInput.getDefaultInstance();
+ }
+ /**
+ *
+ *
+ * + * Input for trajectory single tool use metric. + *+ * + *
+ * .google.cloud.aiplatform.v1beta1.TrajectorySingleToolUseInput trajectory_single_tool_use_input = 39;
+ *
+ */
+ @java.lang.Override
+ public com.google.cloud.aiplatform.v1beta1.TrajectorySingleToolUseInputOrBuilder
+ getTrajectorySingleToolUseInputOrBuilder() {
+ if (metricInputsCase_ == 39) {
+ return (com.google.cloud.aiplatform.v1beta1.TrajectorySingleToolUseInput) metricInputs_;
+ }
+ return com.google.cloud.aiplatform.v1beta1.TrajectorySingleToolUseInput.getDefaultInstance();
+ }
+
public static final int LOCATION_FIELD_NUMBER = 1;
@SuppressWarnings("serial")
@@ -1634,6 +2002,30 @@ public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io
output.writeMessage(
29, (com.google.cloud.aiplatform.v1beta1.PairwiseMetricInput) metricInputs_);
}
+ if (metricInputsCase_ == 33) {
+ output.writeMessage(
+ 33, (com.google.cloud.aiplatform.v1beta1.TrajectoryExactMatchInput) metricInputs_);
+ }
+ if (metricInputsCase_ == 34) {
+ output.writeMessage(
+ 34, (com.google.cloud.aiplatform.v1beta1.TrajectoryInOrderMatchInput) metricInputs_);
+ }
+ if (metricInputsCase_ == 35) {
+ output.writeMessage(
+ 35, (com.google.cloud.aiplatform.v1beta1.TrajectoryAnyOrderMatchInput) metricInputs_);
+ }
+ if (metricInputsCase_ == 37) {
+ output.writeMessage(
+ 37, (com.google.cloud.aiplatform.v1beta1.TrajectoryPrecisionInput) metricInputs_);
+ }
+ if (metricInputsCase_ == 38) {
+ output.writeMessage(
+ 38, (com.google.cloud.aiplatform.v1beta1.TrajectoryRecallInput) metricInputs_);
+ }
+ if (metricInputsCase_ == 39) {
+ output.writeMessage(
+ 39, (com.google.cloud.aiplatform.v1beta1.TrajectorySingleToolUseInput) metricInputs_);
+ }
getUnknownFields().writeTo(output);
}
@@ -1772,6 +2164,36 @@ public int getSerializedSize() {
com.google.protobuf.CodedOutputStream.computeMessageSize(
29, (com.google.cloud.aiplatform.v1beta1.PairwiseMetricInput) metricInputs_);
}
+ if (metricInputsCase_ == 33) {
+ size +=
+ com.google.protobuf.CodedOutputStream.computeMessageSize(
+ 33, (com.google.cloud.aiplatform.v1beta1.TrajectoryExactMatchInput) metricInputs_);
+ }
+ if (metricInputsCase_ == 34) {
+ size +=
+ com.google.protobuf.CodedOutputStream.computeMessageSize(
+ 34, (com.google.cloud.aiplatform.v1beta1.TrajectoryInOrderMatchInput) metricInputs_);
+ }
+ if (metricInputsCase_ == 35) {
+ size +=
+ com.google.protobuf.CodedOutputStream.computeMessageSize(
+ 35, (com.google.cloud.aiplatform.v1beta1.TrajectoryAnyOrderMatchInput) metricInputs_);
+ }
+ if (metricInputsCase_ == 37) {
+ size +=
+ com.google.protobuf.CodedOutputStream.computeMessageSize(
+ 37, (com.google.cloud.aiplatform.v1beta1.TrajectoryPrecisionInput) metricInputs_);
+ }
+ if (metricInputsCase_ == 38) {
+ size +=
+ com.google.protobuf.CodedOutputStream.computeMessageSize(
+ 38, (com.google.cloud.aiplatform.v1beta1.TrajectoryRecallInput) metricInputs_);
+ }
+ if (metricInputsCase_ == 39) {
+ size +=
+ com.google.protobuf.CodedOutputStream.computeMessageSize(
+ 39, (com.google.cloud.aiplatform.v1beta1.TrajectorySingleToolUseInput) metricInputs_);
+ }
size += getUnknownFields().getSerializedSize();
memoizedSize = size;
return size;
@@ -1871,7 +2293,30 @@ public boolean equals(final java.lang.Object obj) {
if (!getToolParameterKvMatchInput().equals(other.getToolParameterKvMatchInput()))
return false;
break;
- case 0:
+ case 33:
+ if (!getTrajectoryExactMatchInput().equals(other.getTrajectoryExactMatchInput()))
+ return false;
+ break;
+ case 34:
+ if (!getTrajectoryInOrderMatchInput().equals(other.getTrajectoryInOrderMatchInput()))
+ return false;
+ break;
+ case 35:
+ if (!getTrajectoryAnyOrderMatchInput().equals(other.getTrajectoryAnyOrderMatchInput()))
+ return false;
+ break;
+ case 37:
+ if (!getTrajectoryPrecisionInput().equals(other.getTrajectoryPrecisionInput()))
+ return false;
+ break;
+ case 38:
+ if (!getTrajectoryRecallInput().equals(other.getTrajectoryRecallInput())) return false;
+ break;
+ case 39:
+ if (!getTrajectorySingleToolUseInput().equals(other.getTrajectorySingleToolUseInput()))
+ return false;
+ break;
+ case 0:
default:
}
if (!getUnknownFields().equals(other.getUnknownFields())) return false;
@@ -1980,6 +2425,30 @@ public int hashCode() {
hash = (37 * hash) + TOOL_PARAMETER_KV_MATCH_INPUT_FIELD_NUMBER;
hash = (53 * hash) + getToolParameterKvMatchInput().hashCode();
break;
+ case 33:
+ hash = (37 * hash) + TRAJECTORY_EXACT_MATCH_INPUT_FIELD_NUMBER;
+ hash = (53 * hash) + getTrajectoryExactMatchInput().hashCode();
+ break;
+ case 34:
+ hash = (37 * hash) + TRAJECTORY_IN_ORDER_MATCH_INPUT_FIELD_NUMBER;
+ hash = (53 * hash) + getTrajectoryInOrderMatchInput().hashCode();
+ break;
+ case 35:
+ hash = (37 * hash) + TRAJECTORY_ANY_ORDER_MATCH_INPUT_FIELD_NUMBER;
+ hash = (53 * hash) + getTrajectoryAnyOrderMatchInput().hashCode();
+ break;
+ case 37:
+ hash = (37 * hash) + TRAJECTORY_PRECISION_INPUT_FIELD_NUMBER;
+ hash = (53 * hash) + getTrajectoryPrecisionInput().hashCode();
+ break;
+ case 38:
+ hash = (37 * hash) + TRAJECTORY_RECALL_INPUT_FIELD_NUMBER;
+ hash = (53 * hash) + getTrajectoryRecallInput().hashCode();
+ break;
+ case 39:
+ hash = (37 * hash) + TRAJECTORY_SINGLE_TOOL_USE_INPUT_FIELD_NUMBER;
+ hash = (53 * hash) + getTrajectorySingleToolUseInput().hashCode();
+ break;
case 0:
default:
}
@@ -2192,6 +2661,24 @@ public Builder clear() {
if (toolParameterKvMatchInputBuilder_ != null) {
toolParameterKvMatchInputBuilder_.clear();
}
+ if (trajectoryExactMatchInputBuilder_ != null) {
+ trajectoryExactMatchInputBuilder_.clear();
+ }
+ if (trajectoryInOrderMatchInputBuilder_ != null) {
+ trajectoryInOrderMatchInputBuilder_.clear();
+ }
+ if (trajectoryAnyOrderMatchInputBuilder_ != null) {
+ trajectoryAnyOrderMatchInputBuilder_.clear();
+ }
+ if (trajectoryPrecisionInputBuilder_ != null) {
+ trajectoryPrecisionInputBuilder_.clear();
+ }
+ if (trajectoryRecallInputBuilder_ != null) {
+ trajectoryRecallInputBuilder_.clear();
+ }
+ if (trajectorySingleToolUseInputBuilder_ != null) {
+ trajectorySingleToolUseInputBuilder_.clear();
+ }
location_ = "";
metricInputsCase_ = 0;
metricInputs_ = null;
@@ -2234,7 +2721,7 @@ public com.google.cloud.aiplatform.v1beta1.EvaluateInstancesRequest buildPartial
private void buildPartial0(
com.google.cloud.aiplatform.v1beta1.EvaluateInstancesRequest result) {
int from_bitField0_ = bitField0_;
- if (((from_bitField0_ & 0x00800000) != 0)) {
+ if (((from_bitField0_ & 0x20000000) != 0)) {
result.location_ = location_;
}
}
@@ -2312,6 +2799,24 @@ private void buildPartialOneofs(
if (metricInputsCase_ == 22 && toolParameterKvMatchInputBuilder_ != null) {
result.metricInputs_ = toolParameterKvMatchInputBuilder_.build();
}
+ if (metricInputsCase_ == 33 && trajectoryExactMatchInputBuilder_ != null) {
+ result.metricInputs_ = trajectoryExactMatchInputBuilder_.build();
+ }
+ if (metricInputsCase_ == 34 && trajectoryInOrderMatchInputBuilder_ != null) {
+ result.metricInputs_ = trajectoryInOrderMatchInputBuilder_.build();
+ }
+ if (metricInputsCase_ == 35 && trajectoryAnyOrderMatchInputBuilder_ != null) {
+ result.metricInputs_ = trajectoryAnyOrderMatchInputBuilder_.build();
+ }
+ if (metricInputsCase_ == 37 && trajectoryPrecisionInputBuilder_ != null) {
+ result.metricInputs_ = trajectoryPrecisionInputBuilder_.build();
+ }
+ if (metricInputsCase_ == 38 && trajectoryRecallInputBuilder_ != null) {
+ result.metricInputs_ = trajectoryRecallInputBuilder_.build();
+ }
+ if (metricInputsCase_ == 39 && trajectorySingleToolUseInputBuilder_ != null) {
+ result.metricInputs_ = trajectorySingleToolUseInputBuilder_.build();
+ }
}
@java.lang.Override
@@ -2363,7 +2868,7 @@ public Builder mergeFrom(com.google.cloud.aiplatform.v1beta1.EvaluateInstancesRe
return this;
if (!other.getLocation().isEmpty()) {
location_ = other.location_;
- bitField0_ |= 0x00800000;
+ bitField0_ |= 0x20000000;
onChanged();
}
switch (other.getMetricInputsCase()) {
@@ -2483,6 +2988,36 @@ public Builder mergeFrom(com.google.cloud.aiplatform.v1beta1.EvaluateInstancesRe
mergeToolParameterKvMatchInput(other.getToolParameterKvMatchInput());
break;
}
+ case TRAJECTORY_EXACT_MATCH_INPUT:
+ {
+ mergeTrajectoryExactMatchInput(other.getTrajectoryExactMatchInput());
+ break;
+ }
+ case TRAJECTORY_IN_ORDER_MATCH_INPUT:
+ {
+ mergeTrajectoryInOrderMatchInput(other.getTrajectoryInOrderMatchInput());
+ break;
+ }
+ case TRAJECTORY_ANY_ORDER_MATCH_INPUT:
+ {
+ mergeTrajectoryAnyOrderMatchInput(other.getTrajectoryAnyOrderMatchInput());
+ break;
+ }
+ case TRAJECTORY_PRECISION_INPUT:
+ {
+ mergeTrajectoryPrecisionInput(other.getTrajectoryPrecisionInput());
+ break;
+ }
+ case TRAJECTORY_RECALL_INPUT:
+ {
+ mergeTrajectoryRecallInput(other.getTrajectoryRecallInput());
+ break;
+ }
+ case TRAJECTORY_SINGLE_TOOL_USE_INPUT:
+ {
+ mergeTrajectorySingleToolUseInput(other.getTrajectorySingleToolUseInput());
+ break;
+ }
case METRICINPUTS_NOT_SET:
{
break;
@@ -2517,7 +3052,7 @@ public Builder mergeFrom(
case 10:
{
location_ = input.readStringRequireUtf8();
- bitField0_ |= 0x00800000;
+ bitField0_ |= 0x20000000;
break;
} // case 10
case 18:
@@ -2680,6 +3215,48 @@ public Builder mergeFrom(
metricInputsCase_ = 29;
break;
} // case 234
+ case 266:
+ {
+ input.readMessage(
+ getTrajectoryExactMatchInputFieldBuilder().getBuilder(), extensionRegistry);
+ metricInputsCase_ = 33;
+ break;
+ } // case 266
+ case 274:
+ {
+ input.readMessage(
+ getTrajectoryInOrderMatchInputFieldBuilder().getBuilder(), extensionRegistry);
+ metricInputsCase_ = 34;
+ break;
+ } // case 274
+ case 282:
+ {
+ input.readMessage(
+ getTrajectoryAnyOrderMatchInputFieldBuilder().getBuilder(), extensionRegistry);
+ metricInputsCase_ = 35;
+ break;
+ } // case 282
+ case 298:
+ {
+ input.readMessage(
+ getTrajectoryPrecisionInputFieldBuilder().getBuilder(), extensionRegistry);
+ metricInputsCase_ = 37;
+ break;
+ } // case 298
+ case 306:
+ {
+ input.readMessage(
+ getTrajectoryRecallInputFieldBuilder().getBuilder(), extensionRegistry);
+ metricInputsCase_ = 38;
+ break;
+ } // case 306
+ case 314:
+ {
+ input.readMessage(
+ getTrajectorySingleToolUseInputFieldBuilder().getBuilder(), extensionRegistry);
+ metricInputsCase_ = 39;
+ break;
+ } // case 314
default:
{
if (!super.parseUnknownField(input, extensionRegistry, tag)) {
@@ -7967,6 +8544,1414 @@ public Builder clearToolParameterKvMatchInput() {
return toolParameterKvMatchInputBuilder_;
}
+ private com.google.protobuf.SingleFieldBuilderV3<
+ com.google.cloud.aiplatform.v1beta1.TrajectoryExactMatchInput,
+ com.google.cloud.aiplatform.v1beta1.TrajectoryExactMatchInput.Builder,
+ com.google.cloud.aiplatform.v1beta1.TrajectoryExactMatchInputOrBuilder>
+ trajectoryExactMatchInputBuilder_;
+ /**
+ *
+ *
+ * + * Input for trajectory exact match metric. + *+ * + *
+ * .google.cloud.aiplatform.v1beta1.TrajectoryExactMatchInput trajectory_exact_match_input = 33;
+ *
+ *
+ * @return Whether the trajectoryExactMatchInput field is set.
+ */
+ @java.lang.Override
+ public boolean hasTrajectoryExactMatchInput() {
+ return metricInputsCase_ == 33;
+ }
+ /**
+ *
+ *
+ * + * Input for trajectory exact match metric. + *+ * + *
+ * .google.cloud.aiplatform.v1beta1.TrajectoryExactMatchInput trajectory_exact_match_input = 33;
+ *
+ *
+ * @return The trajectoryExactMatchInput.
+ */
+ @java.lang.Override
+ public com.google.cloud.aiplatform.v1beta1.TrajectoryExactMatchInput
+ getTrajectoryExactMatchInput() {
+ if (trajectoryExactMatchInputBuilder_ == null) {
+ if (metricInputsCase_ == 33) {
+ return (com.google.cloud.aiplatform.v1beta1.TrajectoryExactMatchInput) metricInputs_;
+ }
+ return com.google.cloud.aiplatform.v1beta1.TrajectoryExactMatchInput.getDefaultInstance();
+ } else {
+ if (metricInputsCase_ == 33) {
+ return trajectoryExactMatchInputBuilder_.getMessage();
+ }
+ return com.google.cloud.aiplatform.v1beta1.TrajectoryExactMatchInput.getDefaultInstance();
+ }
+ }
+ /**
+ *
+ *
+ * + * Input for trajectory exact match metric. + *+ * + *
+ * .google.cloud.aiplatform.v1beta1.TrajectoryExactMatchInput trajectory_exact_match_input = 33;
+ *
+ */
+ public Builder setTrajectoryExactMatchInput(
+ com.google.cloud.aiplatform.v1beta1.TrajectoryExactMatchInput value) {
+ if (trajectoryExactMatchInputBuilder_ == null) {
+ if (value == null) {
+ throw new NullPointerException();
+ }
+ metricInputs_ = value;
+ onChanged();
+ } else {
+ trajectoryExactMatchInputBuilder_.setMessage(value);
+ }
+ metricInputsCase_ = 33;
+ return this;
+ }
+ /**
+ *
+ *
+ * + * Input for trajectory exact match metric. + *+ * + *
+ * .google.cloud.aiplatform.v1beta1.TrajectoryExactMatchInput trajectory_exact_match_input = 33;
+ *
+ */
+ public Builder setTrajectoryExactMatchInput(
+ com.google.cloud.aiplatform.v1beta1.TrajectoryExactMatchInput.Builder builderForValue) {
+ if (trajectoryExactMatchInputBuilder_ == null) {
+ metricInputs_ = builderForValue.build();
+ onChanged();
+ } else {
+ trajectoryExactMatchInputBuilder_.setMessage(builderForValue.build());
+ }
+ metricInputsCase_ = 33;
+ return this;
+ }
+ /**
+ *
+ *
+ * + * Input for trajectory exact match metric. + *+ * + *
+ * .google.cloud.aiplatform.v1beta1.TrajectoryExactMatchInput trajectory_exact_match_input = 33;
+ *
+ */
+ public Builder mergeTrajectoryExactMatchInput(
+ com.google.cloud.aiplatform.v1beta1.TrajectoryExactMatchInput value) {
+ if (trajectoryExactMatchInputBuilder_ == null) {
+ if (metricInputsCase_ == 33
+ && metricInputs_
+ != com.google.cloud.aiplatform.v1beta1.TrajectoryExactMatchInput
+ .getDefaultInstance()) {
+ metricInputs_ =
+ com.google.cloud.aiplatform.v1beta1.TrajectoryExactMatchInput.newBuilder(
+ (com.google.cloud.aiplatform.v1beta1.TrajectoryExactMatchInput) metricInputs_)
+ .mergeFrom(value)
+ .buildPartial();
+ } else {
+ metricInputs_ = value;
+ }
+ onChanged();
+ } else {
+ if (metricInputsCase_ == 33) {
+ trajectoryExactMatchInputBuilder_.mergeFrom(value);
+ } else {
+ trajectoryExactMatchInputBuilder_.setMessage(value);
+ }
+ }
+ metricInputsCase_ = 33;
+ return this;
+ }
+ /**
+ *
+ *
+ * + * Input for trajectory exact match metric. + *+ * + *
+ * .google.cloud.aiplatform.v1beta1.TrajectoryExactMatchInput trajectory_exact_match_input = 33;
+ *
+ */
+ public Builder clearTrajectoryExactMatchInput() {
+ if (trajectoryExactMatchInputBuilder_ == null) {
+ if (metricInputsCase_ == 33) {
+ metricInputsCase_ = 0;
+ metricInputs_ = null;
+ onChanged();
+ }
+ } else {
+ if (metricInputsCase_ == 33) {
+ metricInputsCase_ = 0;
+ metricInputs_ = null;
+ }
+ trajectoryExactMatchInputBuilder_.clear();
+ }
+ return this;
+ }
+ /**
+ *
+ *
+ * + * Input for trajectory exact match metric. + *+ * + *
+ * .google.cloud.aiplatform.v1beta1.TrajectoryExactMatchInput trajectory_exact_match_input = 33;
+ *
+ */
+ public com.google.cloud.aiplatform.v1beta1.TrajectoryExactMatchInput.Builder
+ getTrajectoryExactMatchInputBuilder() {
+ return getTrajectoryExactMatchInputFieldBuilder().getBuilder();
+ }
+ /**
+ *
+ *
+ * + * Input for trajectory exact match metric. + *+ * + *
+ * .google.cloud.aiplatform.v1beta1.TrajectoryExactMatchInput trajectory_exact_match_input = 33;
+ *
+ */
+ @java.lang.Override
+ public com.google.cloud.aiplatform.v1beta1.TrajectoryExactMatchInputOrBuilder
+ getTrajectoryExactMatchInputOrBuilder() {
+ if ((metricInputsCase_ == 33) && (trajectoryExactMatchInputBuilder_ != null)) {
+ return trajectoryExactMatchInputBuilder_.getMessageOrBuilder();
+ } else {
+ if (metricInputsCase_ == 33) {
+ return (com.google.cloud.aiplatform.v1beta1.TrajectoryExactMatchInput) metricInputs_;
+ }
+ return com.google.cloud.aiplatform.v1beta1.TrajectoryExactMatchInput.getDefaultInstance();
+ }
+ }
+ /**
+ *
+ *
+ * + * Input for trajectory exact match metric. + *+ * + *
+ * .google.cloud.aiplatform.v1beta1.TrajectoryExactMatchInput trajectory_exact_match_input = 33;
+ *
+ */
+ private com.google.protobuf.SingleFieldBuilderV3<
+ com.google.cloud.aiplatform.v1beta1.TrajectoryExactMatchInput,
+ com.google.cloud.aiplatform.v1beta1.TrajectoryExactMatchInput.Builder,
+ com.google.cloud.aiplatform.v1beta1.TrajectoryExactMatchInputOrBuilder>
+ getTrajectoryExactMatchInputFieldBuilder() {
+ if (trajectoryExactMatchInputBuilder_ == null) {
+ if (!(metricInputsCase_ == 33)) {
+ metricInputs_ =
+ com.google.cloud.aiplatform.v1beta1.TrajectoryExactMatchInput.getDefaultInstance();
+ }
+ trajectoryExactMatchInputBuilder_ =
+ new com.google.protobuf.SingleFieldBuilderV3<
+ com.google.cloud.aiplatform.v1beta1.TrajectoryExactMatchInput,
+ com.google.cloud.aiplatform.v1beta1.TrajectoryExactMatchInput.Builder,
+ com.google.cloud.aiplatform.v1beta1.TrajectoryExactMatchInputOrBuilder>(
+ (com.google.cloud.aiplatform.v1beta1.TrajectoryExactMatchInput) metricInputs_,
+ getParentForChildren(),
+ isClean());
+ metricInputs_ = null;
+ }
+ metricInputsCase_ = 33;
+ onChanged();
+ return trajectoryExactMatchInputBuilder_;
+ }
+
+ private com.google.protobuf.SingleFieldBuilderV3<
+ com.google.cloud.aiplatform.v1beta1.TrajectoryInOrderMatchInput,
+ com.google.cloud.aiplatform.v1beta1.TrajectoryInOrderMatchInput.Builder,
+ com.google.cloud.aiplatform.v1beta1.TrajectoryInOrderMatchInputOrBuilder>
+ trajectoryInOrderMatchInputBuilder_;
+ /**
+ *
+ *
+ * + * Input for trajectory in order match metric. + *+ * + *
+ * .google.cloud.aiplatform.v1beta1.TrajectoryInOrderMatchInput trajectory_in_order_match_input = 34;
+ *
+ *
+ * @return Whether the trajectoryInOrderMatchInput field is set.
+ */
+ @java.lang.Override
+ public boolean hasTrajectoryInOrderMatchInput() {
+ return metricInputsCase_ == 34;
+ }
+ /**
+ *
+ *
+ * + * Input for trajectory in order match metric. + *+ * + *
+ * .google.cloud.aiplatform.v1beta1.TrajectoryInOrderMatchInput trajectory_in_order_match_input = 34;
+ *
+ *
+ * @return The trajectoryInOrderMatchInput.
+ */
+ @java.lang.Override
+ public com.google.cloud.aiplatform.v1beta1.TrajectoryInOrderMatchInput
+ getTrajectoryInOrderMatchInput() {
+ if (trajectoryInOrderMatchInputBuilder_ == null) {
+ if (metricInputsCase_ == 34) {
+ return (com.google.cloud.aiplatform.v1beta1.TrajectoryInOrderMatchInput) metricInputs_;
+ }
+ return com.google.cloud.aiplatform.v1beta1.TrajectoryInOrderMatchInput.getDefaultInstance();
+ } else {
+ if (metricInputsCase_ == 34) {
+ return trajectoryInOrderMatchInputBuilder_.getMessage();
+ }
+ return com.google.cloud.aiplatform.v1beta1.TrajectoryInOrderMatchInput.getDefaultInstance();
+ }
+ }
+ /**
+ *
+ *
+ * + * Input for trajectory in order match metric. + *+ * + *
+ * .google.cloud.aiplatform.v1beta1.TrajectoryInOrderMatchInput trajectory_in_order_match_input = 34;
+ *
+ */
+ public Builder setTrajectoryInOrderMatchInput(
+ com.google.cloud.aiplatform.v1beta1.TrajectoryInOrderMatchInput value) {
+ if (trajectoryInOrderMatchInputBuilder_ == null) {
+ if (value == null) {
+ throw new NullPointerException();
+ }
+ metricInputs_ = value;
+ onChanged();
+ } else {
+ trajectoryInOrderMatchInputBuilder_.setMessage(value);
+ }
+ metricInputsCase_ = 34;
+ return this;
+ }
+ /**
+ *
+ *
+ * + * Input for trajectory in order match metric. + *+ * + *
+ * .google.cloud.aiplatform.v1beta1.TrajectoryInOrderMatchInput trajectory_in_order_match_input = 34;
+ *
+ */
+ public Builder setTrajectoryInOrderMatchInput(
+ com.google.cloud.aiplatform.v1beta1.TrajectoryInOrderMatchInput.Builder builderForValue) {
+ if (trajectoryInOrderMatchInputBuilder_ == null) {
+ metricInputs_ = builderForValue.build();
+ onChanged();
+ } else {
+ trajectoryInOrderMatchInputBuilder_.setMessage(builderForValue.build());
+ }
+ metricInputsCase_ = 34;
+ return this;
+ }
+ /**
+ *
+ *
+ * + * Input for trajectory in order match metric. + *+ * + *
+ * .google.cloud.aiplatform.v1beta1.TrajectoryInOrderMatchInput trajectory_in_order_match_input = 34;
+ *
+ */
+ public Builder mergeTrajectoryInOrderMatchInput(
+ com.google.cloud.aiplatform.v1beta1.TrajectoryInOrderMatchInput value) {
+ if (trajectoryInOrderMatchInputBuilder_ == null) {
+ if (metricInputsCase_ == 34
+ && metricInputs_
+ != com.google.cloud.aiplatform.v1beta1.TrajectoryInOrderMatchInput
+ .getDefaultInstance()) {
+ metricInputs_ =
+ com.google.cloud.aiplatform.v1beta1.TrajectoryInOrderMatchInput.newBuilder(
+ (com.google.cloud.aiplatform.v1beta1.TrajectoryInOrderMatchInput)
+ metricInputs_)
+ .mergeFrom(value)
+ .buildPartial();
+ } else {
+ metricInputs_ = value;
+ }
+ onChanged();
+ } else {
+ if (metricInputsCase_ == 34) {
+ trajectoryInOrderMatchInputBuilder_.mergeFrom(value);
+ } else {
+ trajectoryInOrderMatchInputBuilder_.setMessage(value);
+ }
+ }
+ metricInputsCase_ = 34;
+ return this;
+ }
+ /**
+ *
+ *
+ * + * Input for trajectory in order match metric. + *+ * + *
+ * .google.cloud.aiplatform.v1beta1.TrajectoryInOrderMatchInput trajectory_in_order_match_input = 34;
+ *
+ */
+ public Builder clearTrajectoryInOrderMatchInput() {
+ if (trajectoryInOrderMatchInputBuilder_ == null) {
+ if (metricInputsCase_ == 34) {
+ metricInputsCase_ = 0;
+ metricInputs_ = null;
+ onChanged();
+ }
+ } else {
+ if (metricInputsCase_ == 34) {
+ metricInputsCase_ = 0;
+ metricInputs_ = null;
+ }
+ trajectoryInOrderMatchInputBuilder_.clear();
+ }
+ return this;
+ }
+ /**
+ *
+ *
+ * + * Input for trajectory in order match metric. + *+ * + *
+ * .google.cloud.aiplatform.v1beta1.TrajectoryInOrderMatchInput trajectory_in_order_match_input = 34;
+ *
+ */
+ public com.google.cloud.aiplatform.v1beta1.TrajectoryInOrderMatchInput.Builder
+ getTrajectoryInOrderMatchInputBuilder() {
+ return getTrajectoryInOrderMatchInputFieldBuilder().getBuilder();
+ }
+ /**
+ *
+ *
+ * + * Input for trajectory in order match metric. + *+ * + *
+ * .google.cloud.aiplatform.v1beta1.TrajectoryInOrderMatchInput trajectory_in_order_match_input = 34;
+ *
+ */
+ @java.lang.Override
+ public com.google.cloud.aiplatform.v1beta1.TrajectoryInOrderMatchInputOrBuilder
+ getTrajectoryInOrderMatchInputOrBuilder() {
+ if ((metricInputsCase_ == 34) && (trajectoryInOrderMatchInputBuilder_ != null)) {
+ return trajectoryInOrderMatchInputBuilder_.getMessageOrBuilder();
+ } else {
+ if (metricInputsCase_ == 34) {
+ return (com.google.cloud.aiplatform.v1beta1.TrajectoryInOrderMatchInput) metricInputs_;
+ }
+ return com.google.cloud.aiplatform.v1beta1.TrajectoryInOrderMatchInput.getDefaultInstance();
+ }
+ }
+ /**
+ *
+ *
+ * + * Input for trajectory in order match metric. + *+ * + *
+ * .google.cloud.aiplatform.v1beta1.TrajectoryInOrderMatchInput trajectory_in_order_match_input = 34;
+ *
+ */
+ private com.google.protobuf.SingleFieldBuilderV3<
+ com.google.cloud.aiplatform.v1beta1.TrajectoryInOrderMatchInput,
+ com.google.cloud.aiplatform.v1beta1.TrajectoryInOrderMatchInput.Builder,
+ com.google.cloud.aiplatform.v1beta1.TrajectoryInOrderMatchInputOrBuilder>
+ getTrajectoryInOrderMatchInputFieldBuilder() {
+ if (trajectoryInOrderMatchInputBuilder_ == null) {
+ if (!(metricInputsCase_ == 34)) {
+ metricInputs_ =
+ com.google.cloud.aiplatform.v1beta1.TrajectoryInOrderMatchInput.getDefaultInstance();
+ }
+ trajectoryInOrderMatchInputBuilder_ =
+ new com.google.protobuf.SingleFieldBuilderV3<
+ com.google.cloud.aiplatform.v1beta1.TrajectoryInOrderMatchInput,
+ com.google.cloud.aiplatform.v1beta1.TrajectoryInOrderMatchInput.Builder,
+ com.google.cloud.aiplatform.v1beta1.TrajectoryInOrderMatchInputOrBuilder>(
+ (com.google.cloud.aiplatform.v1beta1.TrajectoryInOrderMatchInput) metricInputs_,
+ getParentForChildren(),
+ isClean());
+ metricInputs_ = null;
+ }
+ metricInputsCase_ = 34;
+ onChanged();
+ return trajectoryInOrderMatchInputBuilder_;
+ }
+
+ private com.google.protobuf.SingleFieldBuilderV3<
+ com.google.cloud.aiplatform.v1beta1.TrajectoryAnyOrderMatchInput,
+ com.google.cloud.aiplatform.v1beta1.TrajectoryAnyOrderMatchInput.Builder,
+ com.google.cloud.aiplatform.v1beta1.TrajectoryAnyOrderMatchInputOrBuilder>
+ trajectoryAnyOrderMatchInputBuilder_;
+ /**
+ *
+ *
+ * + * Input for trajectory match any order metric. + *+ * + *
+ * .google.cloud.aiplatform.v1beta1.TrajectoryAnyOrderMatchInput trajectory_any_order_match_input = 35;
+ *
+ *
+ * @return Whether the trajectoryAnyOrderMatchInput field is set.
+ */
+ @java.lang.Override
+ public boolean hasTrajectoryAnyOrderMatchInput() {
+ return metricInputsCase_ == 35;
+ }
+ /**
+ *
+ *
+ * + * Input for trajectory match any order metric. + *+ * + *
+ * .google.cloud.aiplatform.v1beta1.TrajectoryAnyOrderMatchInput trajectory_any_order_match_input = 35;
+ *
+ *
+ * @return The trajectoryAnyOrderMatchInput.
+ */
+ @java.lang.Override
+ public com.google.cloud.aiplatform.v1beta1.TrajectoryAnyOrderMatchInput
+ getTrajectoryAnyOrderMatchInput() {
+ if (trajectoryAnyOrderMatchInputBuilder_ == null) {
+ if (metricInputsCase_ == 35) {
+ return (com.google.cloud.aiplatform.v1beta1.TrajectoryAnyOrderMatchInput) metricInputs_;
+ }
+ return com.google.cloud.aiplatform.v1beta1.TrajectoryAnyOrderMatchInput
+ .getDefaultInstance();
+ } else {
+ if (metricInputsCase_ == 35) {
+ return trajectoryAnyOrderMatchInputBuilder_.getMessage();
+ }
+ return com.google.cloud.aiplatform.v1beta1.TrajectoryAnyOrderMatchInput
+ .getDefaultInstance();
+ }
+ }
+ /**
+ *
+ *
+ * + * Input for trajectory match any order metric. + *+ * + *
+ * .google.cloud.aiplatform.v1beta1.TrajectoryAnyOrderMatchInput trajectory_any_order_match_input = 35;
+ *
+ */
+ public Builder setTrajectoryAnyOrderMatchInput(
+ com.google.cloud.aiplatform.v1beta1.TrajectoryAnyOrderMatchInput value) {
+ if (trajectoryAnyOrderMatchInputBuilder_ == null) {
+ if (value == null) {
+ throw new NullPointerException();
+ }
+ metricInputs_ = value;
+ onChanged();
+ } else {
+ trajectoryAnyOrderMatchInputBuilder_.setMessage(value);
+ }
+ metricInputsCase_ = 35;
+ return this;
+ }
+ /**
+ *
+ *
+ * + * Input for trajectory match any order metric. + *+ * + *
+ * .google.cloud.aiplatform.v1beta1.TrajectoryAnyOrderMatchInput trajectory_any_order_match_input = 35;
+ *
+ */
+ public Builder setTrajectoryAnyOrderMatchInput(
+ com.google.cloud.aiplatform.v1beta1.TrajectoryAnyOrderMatchInput.Builder builderForValue) {
+ if (trajectoryAnyOrderMatchInputBuilder_ == null) {
+ metricInputs_ = builderForValue.build();
+ onChanged();
+ } else {
+ trajectoryAnyOrderMatchInputBuilder_.setMessage(builderForValue.build());
+ }
+ metricInputsCase_ = 35;
+ return this;
+ }
+ /**
+ *
+ *
+ * + * Input for trajectory match any order metric. + *+ * + *
+ * .google.cloud.aiplatform.v1beta1.TrajectoryAnyOrderMatchInput trajectory_any_order_match_input = 35;
+ *
+ */
+ public Builder mergeTrajectoryAnyOrderMatchInput(
+ com.google.cloud.aiplatform.v1beta1.TrajectoryAnyOrderMatchInput value) {
+ if (trajectoryAnyOrderMatchInputBuilder_ == null) {
+ if (metricInputsCase_ == 35
+ && metricInputs_
+ != com.google.cloud.aiplatform.v1beta1.TrajectoryAnyOrderMatchInput
+ .getDefaultInstance()) {
+ metricInputs_ =
+ com.google.cloud.aiplatform.v1beta1.TrajectoryAnyOrderMatchInput.newBuilder(
+ (com.google.cloud.aiplatform.v1beta1.TrajectoryAnyOrderMatchInput)
+ metricInputs_)
+ .mergeFrom(value)
+ .buildPartial();
+ } else {
+ metricInputs_ = value;
+ }
+ onChanged();
+ } else {
+ if (metricInputsCase_ == 35) {
+ trajectoryAnyOrderMatchInputBuilder_.mergeFrom(value);
+ } else {
+ trajectoryAnyOrderMatchInputBuilder_.setMessage(value);
+ }
+ }
+ metricInputsCase_ = 35;
+ return this;
+ }
+ /**
+ *
+ *
+ * + * Input for trajectory match any order metric. + *+ * + *
+ * .google.cloud.aiplatform.v1beta1.TrajectoryAnyOrderMatchInput trajectory_any_order_match_input = 35;
+ *
+ */
+ public Builder clearTrajectoryAnyOrderMatchInput() {
+ if (trajectoryAnyOrderMatchInputBuilder_ == null) {
+ if (metricInputsCase_ == 35) {
+ metricInputsCase_ = 0;
+ metricInputs_ = null;
+ onChanged();
+ }
+ } else {
+ if (metricInputsCase_ == 35) {
+ metricInputsCase_ = 0;
+ metricInputs_ = null;
+ }
+ trajectoryAnyOrderMatchInputBuilder_.clear();
+ }
+ return this;
+ }
+ /**
+ *
+ *
+ * + * Input for trajectory match any order metric. + *+ * + *
+ * .google.cloud.aiplatform.v1beta1.TrajectoryAnyOrderMatchInput trajectory_any_order_match_input = 35;
+ *
+ */
+ public com.google.cloud.aiplatform.v1beta1.TrajectoryAnyOrderMatchInput.Builder
+ getTrajectoryAnyOrderMatchInputBuilder() {
+ return getTrajectoryAnyOrderMatchInputFieldBuilder().getBuilder();
+ }
+ /**
+ *
+ *
+ * + * Input for trajectory match any order metric. + *+ * + *
+ * .google.cloud.aiplatform.v1beta1.TrajectoryAnyOrderMatchInput trajectory_any_order_match_input = 35;
+ *
+ */
+ @java.lang.Override
+ public com.google.cloud.aiplatform.v1beta1.TrajectoryAnyOrderMatchInputOrBuilder
+ getTrajectoryAnyOrderMatchInputOrBuilder() {
+ if ((metricInputsCase_ == 35) && (trajectoryAnyOrderMatchInputBuilder_ != null)) {
+ return trajectoryAnyOrderMatchInputBuilder_.getMessageOrBuilder();
+ } else {
+ if (metricInputsCase_ == 35) {
+ return (com.google.cloud.aiplatform.v1beta1.TrajectoryAnyOrderMatchInput) metricInputs_;
+ }
+ return com.google.cloud.aiplatform.v1beta1.TrajectoryAnyOrderMatchInput
+ .getDefaultInstance();
+ }
+ }
+ /**
+ *
+ *
+ * + * Input for trajectory match any order metric. + *+ * + *
+ * .google.cloud.aiplatform.v1beta1.TrajectoryAnyOrderMatchInput trajectory_any_order_match_input = 35;
+ *
+ */
+ private com.google.protobuf.SingleFieldBuilderV3<
+ com.google.cloud.aiplatform.v1beta1.TrajectoryAnyOrderMatchInput,
+ com.google.cloud.aiplatform.v1beta1.TrajectoryAnyOrderMatchInput.Builder,
+ com.google.cloud.aiplatform.v1beta1.TrajectoryAnyOrderMatchInputOrBuilder>
+ getTrajectoryAnyOrderMatchInputFieldBuilder() {
+ if (trajectoryAnyOrderMatchInputBuilder_ == null) {
+ if (!(metricInputsCase_ == 35)) {
+ metricInputs_ =
+ com.google.cloud.aiplatform.v1beta1.TrajectoryAnyOrderMatchInput.getDefaultInstance();
+ }
+ trajectoryAnyOrderMatchInputBuilder_ =
+ new com.google.protobuf.SingleFieldBuilderV3<
+ com.google.cloud.aiplatform.v1beta1.TrajectoryAnyOrderMatchInput,
+ com.google.cloud.aiplatform.v1beta1.TrajectoryAnyOrderMatchInput.Builder,
+ com.google.cloud.aiplatform.v1beta1.TrajectoryAnyOrderMatchInputOrBuilder>(
+ (com.google.cloud.aiplatform.v1beta1.TrajectoryAnyOrderMatchInput) metricInputs_,
+ getParentForChildren(),
+ isClean());
+ metricInputs_ = null;
+ }
+ metricInputsCase_ = 35;
+ onChanged();
+ return trajectoryAnyOrderMatchInputBuilder_;
+ }
+
+ private com.google.protobuf.SingleFieldBuilderV3<
+ com.google.cloud.aiplatform.v1beta1.TrajectoryPrecisionInput,
+ com.google.cloud.aiplatform.v1beta1.TrajectoryPrecisionInput.Builder,
+ com.google.cloud.aiplatform.v1beta1.TrajectoryPrecisionInputOrBuilder>
+ trajectoryPrecisionInputBuilder_;
+ /**
+ *
+ *
+ * + * Input for trajectory precision metric. + *+ * + *
+ * .google.cloud.aiplatform.v1beta1.TrajectoryPrecisionInput trajectory_precision_input = 37;
+ *
+ *
+ * @return Whether the trajectoryPrecisionInput field is set.
+ */
+ @java.lang.Override
+ public boolean hasTrajectoryPrecisionInput() {
+ return metricInputsCase_ == 37;
+ }
+ /**
+ *
+ *
+ * + * Input for trajectory precision metric. + *+ * + *
+ * .google.cloud.aiplatform.v1beta1.TrajectoryPrecisionInput trajectory_precision_input = 37;
+ *
+ *
+ * @return The trajectoryPrecisionInput.
+ */
+ @java.lang.Override
+ public com.google.cloud.aiplatform.v1beta1.TrajectoryPrecisionInput
+ getTrajectoryPrecisionInput() {
+ if (trajectoryPrecisionInputBuilder_ == null) {
+ if (metricInputsCase_ == 37) {
+ return (com.google.cloud.aiplatform.v1beta1.TrajectoryPrecisionInput) metricInputs_;
+ }
+ return com.google.cloud.aiplatform.v1beta1.TrajectoryPrecisionInput.getDefaultInstance();
+ } else {
+ if (metricInputsCase_ == 37) {
+ return trajectoryPrecisionInputBuilder_.getMessage();
+ }
+ return com.google.cloud.aiplatform.v1beta1.TrajectoryPrecisionInput.getDefaultInstance();
+ }
+ }
+ /**
+ *
+ *
+ * + * Input for trajectory precision metric. + *+ * + *
+ * .google.cloud.aiplatform.v1beta1.TrajectoryPrecisionInput trajectory_precision_input = 37;
+ *
+ */
+ public Builder setTrajectoryPrecisionInput(
+ com.google.cloud.aiplatform.v1beta1.TrajectoryPrecisionInput value) {
+ if (trajectoryPrecisionInputBuilder_ == null) {
+ if (value == null) {
+ throw new NullPointerException();
+ }
+ metricInputs_ = value;
+ onChanged();
+ } else {
+ trajectoryPrecisionInputBuilder_.setMessage(value);
+ }
+ metricInputsCase_ = 37;
+ return this;
+ }
+ /**
+ *
+ *
+ * + * Input for trajectory precision metric. + *+ * + *
+ * .google.cloud.aiplatform.v1beta1.TrajectoryPrecisionInput trajectory_precision_input = 37;
+ *
+ */
+ public Builder setTrajectoryPrecisionInput(
+ com.google.cloud.aiplatform.v1beta1.TrajectoryPrecisionInput.Builder builderForValue) {
+ if (trajectoryPrecisionInputBuilder_ == null) {
+ metricInputs_ = builderForValue.build();
+ onChanged();
+ } else {
+ trajectoryPrecisionInputBuilder_.setMessage(builderForValue.build());
+ }
+ metricInputsCase_ = 37;
+ return this;
+ }
+ /**
+ *
+ *
+ * + * Input for trajectory precision metric. + *+ * + *
+ * .google.cloud.aiplatform.v1beta1.TrajectoryPrecisionInput trajectory_precision_input = 37;
+ *
+ */
+ public Builder mergeTrajectoryPrecisionInput(
+ com.google.cloud.aiplatform.v1beta1.TrajectoryPrecisionInput value) {
+ if (trajectoryPrecisionInputBuilder_ == null) {
+ if (metricInputsCase_ == 37
+ && metricInputs_
+ != com.google.cloud.aiplatform.v1beta1.TrajectoryPrecisionInput
+ .getDefaultInstance()) {
+ metricInputs_ =
+ com.google.cloud.aiplatform.v1beta1.TrajectoryPrecisionInput.newBuilder(
+ (com.google.cloud.aiplatform.v1beta1.TrajectoryPrecisionInput) metricInputs_)
+ .mergeFrom(value)
+ .buildPartial();
+ } else {
+ metricInputs_ = value;
+ }
+ onChanged();
+ } else {
+ if (metricInputsCase_ == 37) {
+ trajectoryPrecisionInputBuilder_.mergeFrom(value);
+ } else {
+ trajectoryPrecisionInputBuilder_.setMessage(value);
+ }
+ }
+ metricInputsCase_ = 37;
+ return this;
+ }
+ /**
+ *
+ *
+ * + * Input for trajectory precision metric. + *+ * + *
+ * .google.cloud.aiplatform.v1beta1.TrajectoryPrecisionInput trajectory_precision_input = 37;
+ *
+ */
+ public Builder clearTrajectoryPrecisionInput() {
+ if (trajectoryPrecisionInputBuilder_ == null) {
+ if (metricInputsCase_ == 37) {
+ metricInputsCase_ = 0;
+ metricInputs_ = null;
+ onChanged();
+ }
+ } else {
+ if (metricInputsCase_ == 37) {
+ metricInputsCase_ = 0;
+ metricInputs_ = null;
+ }
+ trajectoryPrecisionInputBuilder_.clear();
+ }
+ return this;
+ }
+ /**
+ *
+ *
+ * + * Input for trajectory precision metric. + *+ * + *
+ * .google.cloud.aiplatform.v1beta1.TrajectoryPrecisionInput trajectory_precision_input = 37;
+ *
+ */
+ public com.google.cloud.aiplatform.v1beta1.TrajectoryPrecisionInput.Builder
+ getTrajectoryPrecisionInputBuilder() {
+ return getTrajectoryPrecisionInputFieldBuilder().getBuilder();
+ }
+ /**
+ *
+ *
+ * + * Input for trajectory precision metric. + *+ * + *
+ * .google.cloud.aiplatform.v1beta1.TrajectoryPrecisionInput trajectory_precision_input = 37;
+ *
+ */
+ @java.lang.Override
+ public com.google.cloud.aiplatform.v1beta1.TrajectoryPrecisionInputOrBuilder
+ getTrajectoryPrecisionInputOrBuilder() {
+ if ((metricInputsCase_ == 37) && (trajectoryPrecisionInputBuilder_ != null)) {
+ return trajectoryPrecisionInputBuilder_.getMessageOrBuilder();
+ } else {
+ if (metricInputsCase_ == 37) {
+ return (com.google.cloud.aiplatform.v1beta1.TrajectoryPrecisionInput) metricInputs_;
+ }
+ return com.google.cloud.aiplatform.v1beta1.TrajectoryPrecisionInput.getDefaultInstance();
+ }
+ }
+ /**
+ *
+ *
+ * + * Input for trajectory precision metric. + *+ * + *
+ * .google.cloud.aiplatform.v1beta1.TrajectoryPrecisionInput trajectory_precision_input = 37;
+ *
+ */
+ private com.google.protobuf.SingleFieldBuilderV3<
+ com.google.cloud.aiplatform.v1beta1.TrajectoryPrecisionInput,
+ com.google.cloud.aiplatform.v1beta1.TrajectoryPrecisionInput.Builder,
+ com.google.cloud.aiplatform.v1beta1.TrajectoryPrecisionInputOrBuilder>
+ getTrajectoryPrecisionInputFieldBuilder() {
+ if (trajectoryPrecisionInputBuilder_ == null) {
+ if (!(metricInputsCase_ == 37)) {
+ metricInputs_ =
+ com.google.cloud.aiplatform.v1beta1.TrajectoryPrecisionInput.getDefaultInstance();
+ }
+ trajectoryPrecisionInputBuilder_ =
+ new com.google.protobuf.SingleFieldBuilderV3<
+ com.google.cloud.aiplatform.v1beta1.TrajectoryPrecisionInput,
+ com.google.cloud.aiplatform.v1beta1.TrajectoryPrecisionInput.Builder,
+ com.google.cloud.aiplatform.v1beta1.TrajectoryPrecisionInputOrBuilder>(
+ (com.google.cloud.aiplatform.v1beta1.TrajectoryPrecisionInput) metricInputs_,
+ getParentForChildren(),
+ isClean());
+ metricInputs_ = null;
+ }
+ metricInputsCase_ = 37;
+ onChanged();
+ return trajectoryPrecisionInputBuilder_;
+ }
+
+ private com.google.protobuf.SingleFieldBuilderV3<
+ com.google.cloud.aiplatform.v1beta1.TrajectoryRecallInput,
+ com.google.cloud.aiplatform.v1beta1.TrajectoryRecallInput.Builder,
+ com.google.cloud.aiplatform.v1beta1.TrajectoryRecallInputOrBuilder>
+ trajectoryRecallInputBuilder_;
+ /**
+ *
+ *
+ * + * Input for trajectory recall metric. + *+ * + *
.google.cloud.aiplatform.v1beta1.TrajectoryRecallInput trajectory_recall_input = 38;
+ *
+ *
+ * @return Whether the trajectoryRecallInput field is set.
+ */
+ @java.lang.Override
+ public boolean hasTrajectoryRecallInput() {
+ return metricInputsCase_ == 38;
+ }
+ /**
+ *
+ *
+ * + * Input for trajectory recall metric. + *+ * + *
.google.cloud.aiplatform.v1beta1.TrajectoryRecallInput trajectory_recall_input = 38;
+ *
+ *
+ * @return The trajectoryRecallInput.
+ */
+ @java.lang.Override
+ public com.google.cloud.aiplatform.v1beta1.TrajectoryRecallInput getTrajectoryRecallInput() {
+ if (trajectoryRecallInputBuilder_ == null) {
+ if (metricInputsCase_ == 38) {
+ return (com.google.cloud.aiplatform.v1beta1.TrajectoryRecallInput) metricInputs_;
+ }
+ return com.google.cloud.aiplatform.v1beta1.TrajectoryRecallInput.getDefaultInstance();
+ } else {
+ if (metricInputsCase_ == 38) {
+ return trajectoryRecallInputBuilder_.getMessage();
+ }
+ return com.google.cloud.aiplatform.v1beta1.TrajectoryRecallInput.getDefaultInstance();
+ }
+ }
+ /**
+ *
+ *
+ * + * Input for trajectory recall metric. + *+ * + *
.google.cloud.aiplatform.v1beta1.TrajectoryRecallInput trajectory_recall_input = 38;
+ *
+ */
+ public Builder setTrajectoryRecallInput(
+ com.google.cloud.aiplatform.v1beta1.TrajectoryRecallInput value) {
+ if (trajectoryRecallInputBuilder_ == null) {
+ if (value == null) {
+ throw new NullPointerException();
+ }
+ metricInputs_ = value;
+ onChanged();
+ } else {
+ trajectoryRecallInputBuilder_.setMessage(value);
+ }
+ metricInputsCase_ = 38;
+ return this;
+ }
+ /**
+ *
+ *
+ * + * Input for trajectory recall metric. + *+ * + *
.google.cloud.aiplatform.v1beta1.TrajectoryRecallInput trajectory_recall_input = 38;
+ *
+ */
+ public Builder setTrajectoryRecallInput(
+ com.google.cloud.aiplatform.v1beta1.TrajectoryRecallInput.Builder builderForValue) {
+ if (trajectoryRecallInputBuilder_ == null) {
+ metricInputs_ = builderForValue.build();
+ onChanged();
+ } else {
+ trajectoryRecallInputBuilder_.setMessage(builderForValue.build());
+ }
+ metricInputsCase_ = 38;
+ return this;
+ }
+ /**
+ *
+ *
+ * + * Input for trajectory recall metric. + *+ * + *
.google.cloud.aiplatform.v1beta1.TrajectoryRecallInput trajectory_recall_input = 38;
+ *
+ */
+ public Builder mergeTrajectoryRecallInput(
+ com.google.cloud.aiplatform.v1beta1.TrajectoryRecallInput value) {
+ if (trajectoryRecallInputBuilder_ == null) {
+ if (metricInputsCase_ == 38
+ && metricInputs_
+ != com.google.cloud.aiplatform.v1beta1.TrajectoryRecallInput.getDefaultInstance()) {
+ metricInputs_ =
+ com.google.cloud.aiplatform.v1beta1.TrajectoryRecallInput.newBuilder(
+ (com.google.cloud.aiplatform.v1beta1.TrajectoryRecallInput) metricInputs_)
+ .mergeFrom(value)
+ .buildPartial();
+ } else {
+ metricInputs_ = value;
+ }
+ onChanged();
+ } else {
+ if (metricInputsCase_ == 38) {
+ trajectoryRecallInputBuilder_.mergeFrom(value);
+ } else {
+ trajectoryRecallInputBuilder_.setMessage(value);
+ }
+ }
+ metricInputsCase_ = 38;
+ return this;
+ }
+ /**
+ *
+ *
+ * + * Input for trajectory recall metric. + *+ * + *
.google.cloud.aiplatform.v1beta1.TrajectoryRecallInput trajectory_recall_input = 38;
+ *
+ */
+ public Builder clearTrajectoryRecallInput() {
+ if (trajectoryRecallInputBuilder_ == null) {
+ if (metricInputsCase_ == 38) {
+ metricInputsCase_ = 0;
+ metricInputs_ = null;
+ onChanged();
+ }
+ } else {
+ if (metricInputsCase_ == 38) {
+ metricInputsCase_ = 0;
+ metricInputs_ = null;
+ }
+ trajectoryRecallInputBuilder_.clear();
+ }
+ return this;
+ }
+ /**
+ *
+ *
+ * + * Input for trajectory recall metric. + *+ * + *
.google.cloud.aiplatform.v1beta1.TrajectoryRecallInput trajectory_recall_input = 38;
+ *
+ */
+ public com.google.cloud.aiplatform.v1beta1.TrajectoryRecallInput.Builder
+ getTrajectoryRecallInputBuilder() {
+ return getTrajectoryRecallInputFieldBuilder().getBuilder();
+ }
+ /**
+ *
+ *
+ * + * Input for trajectory recall metric. + *+ * + *
.google.cloud.aiplatform.v1beta1.TrajectoryRecallInput trajectory_recall_input = 38;
+ *
+ */
+ @java.lang.Override
+ public com.google.cloud.aiplatform.v1beta1.TrajectoryRecallInputOrBuilder
+ getTrajectoryRecallInputOrBuilder() {
+ if ((metricInputsCase_ == 38) && (trajectoryRecallInputBuilder_ != null)) {
+ return trajectoryRecallInputBuilder_.getMessageOrBuilder();
+ } else {
+ if (metricInputsCase_ == 38) {
+ return (com.google.cloud.aiplatform.v1beta1.TrajectoryRecallInput) metricInputs_;
+ }
+ return com.google.cloud.aiplatform.v1beta1.TrajectoryRecallInput.getDefaultInstance();
+ }
+ }
+ /**
+ *
+ *
+ * + * Input for trajectory recall metric. + *+ * + *
.google.cloud.aiplatform.v1beta1.TrajectoryRecallInput trajectory_recall_input = 38;
+ *
+ */
+ private com.google.protobuf.SingleFieldBuilderV3<
+ com.google.cloud.aiplatform.v1beta1.TrajectoryRecallInput,
+ com.google.cloud.aiplatform.v1beta1.TrajectoryRecallInput.Builder,
+ com.google.cloud.aiplatform.v1beta1.TrajectoryRecallInputOrBuilder>
+ getTrajectoryRecallInputFieldBuilder() {
+ if (trajectoryRecallInputBuilder_ == null) {
+ if (!(metricInputsCase_ == 38)) {
+ metricInputs_ =
+ com.google.cloud.aiplatform.v1beta1.TrajectoryRecallInput.getDefaultInstance();
+ }
+ trajectoryRecallInputBuilder_ =
+ new com.google.protobuf.SingleFieldBuilderV3<
+ com.google.cloud.aiplatform.v1beta1.TrajectoryRecallInput,
+ com.google.cloud.aiplatform.v1beta1.TrajectoryRecallInput.Builder,
+ com.google.cloud.aiplatform.v1beta1.TrajectoryRecallInputOrBuilder>(
+ (com.google.cloud.aiplatform.v1beta1.TrajectoryRecallInput) metricInputs_,
+ getParentForChildren(),
+ isClean());
+ metricInputs_ = null;
+ }
+ metricInputsCase_ = 38;
+ onChanged();
+ return trajectoryRecallInputBuilder_;
+ }
+
+ private com.google.protobuf.SingleFieldBuilderV3<
+ com.google.cloud.aiplatform.v1beta1.TrajectorySingleToolUseInput,
+ com.google.cloud.aiplatform.v1beta1.TrajectorySingleToolUseInput.Builder,
+ com.google.cloud.aiplatform.v1beta1.TrajectorySingleToolUseInputOrBuilder>
+ trajectorySingleToolUseInputBuilder_;
+ /**
+ *
+ *
+ * + * Input for trajectory single tool use metric. + *+ * + *
+ * .google.cloud.aiplatform.v1beta1.TrajectorySingleToolUseInput trajectory_single_tool_use_input = 39;
+ *
+ *
+ * @return Whether the trajectorySingleToolUseInput field is set.
+ */
+ @java.lang.Override
+ public boolean hasTrajectorySingleToolUseInput() {
+ return metricInputsCase_ == 39;
+ }
+ /**
+ *
+ *
+ * + * Input for trajectory single tool use metric. + *+ * + *
+ * .google.cloud.aiplatform.v1beta1.TrajectorySingleToolUseInput trajectory_single_tool_use_input = 39;
+ *
+ *
+ * @return The trajectorySingleToolUseInput.
+ */
+ @java.lang.Override
+ public com.google.cloud.aiplatform.v1beta1.TrajectorySingleToolUseInput
+ getTrajectorySingleToolUseInput() {
+ if (trajectorySingleToolUseInputBuilder_ == null) {
+ if (metricInputsCase_ == 39) {
+ return (com.google.cloud.aiplatform.v1beta1.TrajectorySingleToolUseInput) metricInputs_;
+ }
+ return com.google.cloud.aiplatform.v1beta1.TrajectorySingleToolUseInput
+ .getDefaultInstance();
+ } else {
+ if (metricInputsCase_ == 39) {
+ return trajectorySingleToolUseInputBuilder_.getMessage();
+ }
+ return com.google.cloud.aiplatform.v1beta1.TrajectorySingleToolUseInput
+ .getDefaultInstance();
+ }
+ }
+ /**
+ *
+ *
+ * + * Input for trajectory single tool use metric. + *+ * + *
+ * .google.cloud.aiplatform.v1beta1.TrajectorySingleToolUseInput trajectory_single_tool_use_input = 39;
+ *
+ */
+ public Builder setTrajectorySingleToolUseInput(
+ com.google.cloud.aiplatform.v1beta1.TrajectorySingleToolUseInput value) {
+ if (trajectorySingleToolUseInputBuilder_ == null) {
+ if (value == null) {
+ throw new NullPointerException();
+ }
+ metricInputs_ = value;
+ onChanged();
+ } else {
+ trajectorySingleToolUseInputBuilder_.setMessage(value);
+ }
+ metricInputsCase_ = 39;
+ return this;
+ }
+ /**
+ *
+ *
+ * + * Input for trajectory single tool use metric. + *+ * + *
+ * .google.cloud.aiplatform.v1beta1.TrajectorySingleToolUseInput trajectory_single_tool_use_input = 39;
+ *
+ */
+ public Builder setTrajectorySingleToolUseInput(
+ com.google.cloud.aiplatform.v1beta1.TrajectorySingleToolUseInput.Builder builderForValue) {
+ if (trajectorySingleToolUseInputBuilder_ == null) {
+ metricInputs_ = builderForValue.build();
+ onChanged();
+ } else {
+ trajectorySingleToolUseInputBuilder_.setMessage(builderForValue.build());
+ }
+ metricInputsCase_ = 39;
+ return this;
+ }
+ /**
+ *
+ *
+ * + * Input for trajectory single tool use metric. + *+ * + *
+ * .google.cloud.aiplatform.v1beta1.TrajectorySingleToolUseInput trajectory_single_tool_use_input = 39;
+ *
+ */
+ public Builder mergeTrajectorySingleToolUseInput(
+ com.google.cloud.aiplatform.v1beta1.TrajectorySingleToolUseInput value) {
+ if (trajectorySingleToolUseInputBuilder_ == null) {
+ if (metricInputsCase_ == 39
+ && metricInputs_
+ != com.google.cloud.aiplatform.v1beta1.TrajectorySingleToolUseInput
+ .getDefaultInstance()) {
+ metricInputs_ =
+ com.google.cloud.aiplatform.v1beta1.TrajectorySingleToolUseInput.newBuilder(
+ (com.google.cloud.aiplatform.v1beta1.TrajectorySingleToolUseInput)
+ metricInputs_)
+ .mergeFrom(value)
+ .buildPartial();
+ } else {
+ metricInputs_ = value;
+ }
+ onChanged();
+ } else {
+ if (metricInputsCase_ == 39) {
+ trajectorySingleToolUseInputBuilder_.mergeFrom(value);
+ } else {
+ trajectorySingleToolUseInputBuilder_.setMessage(value);
+ }
+ }
+ metricInputsCase_ = 39;
+ return this;
+ }
+ /**
+ *
+ *
+ * + * Input for trajectory single tool use metric. + *+ * + *
+ * .google.cloud.aiplatform.v1beta1.TrajectorySingleToolUseInput trajectory_single_tool_use_input = 39;
+ *
+ */
+ public Builder clearTrajectorySingleToolUseInput() {
+ if (trajectorySingleToolUseInputBuilder_ == null) {
+ if (metricInputsCase_ == 39) {
+ metricInputsCase_ = 0;
+ metricInputs_ = null;
+ onChanged();
+ }
+ } else {
+ if (metricInputsCase_ == 39) {
+ metricInputsCase_ = 0;
+ metricInputs_ = null;
+ }
+ trajectorySingleToolUseInputBuilder_.clear();
+ }
+ return this;
+ }
+ /**
+ *
+ *
+ * + * Input for trajectory single tool use metric. + *+ * + *
+ * .google.cloud.aiplatform.v1beta1.TrajectorySingleToolUseInput trajectory_single_tool_use_input = 39;
+ *
+ */
+ public com.google.cloud.aiplatform.v1beta1.TrajectorySingleToolUseInput.Builder
+ getTrajectorySingleToolUseInputBuilder() {
+ return getTrajectorySingleToolUseInputFieldBuilder().getBuilder();
+ }
+ /**
+ *
+ *
+ * + * Input for trajectory single tool use metric. + *+ * + *
+ * .google.cloud.aiplatform.v1beta1.TrajectorySingleToolUseInput trajectory_single_tool_use_input = 39;
+ *
+ */
+ @java.lang.Override
+ public com.google.cloud.aiplatform.v1beta1.TrajectorySingleToolUseInputOrBuilder
+ getTrajectorySingleToolUseInputOrBuilder() {
+ if ((metricInputsCase_ == 39) && (trajectorySingleToolUseInputBuilder_ != null)) {
+ return trajectorySingleToolUseInputBuilder_.getMessageOrBuilder();
+ } else {
+ if (metricInputsCase_ == 39) {
+ return (com.google.cloud.aiplatform.v1beta1.TrajectorySingleToolUseInput) metricInputs_;
+ }
+ return com.google.cloud.aiplatform.v1beta1.TrajectorySingleToolUseInput
+ .getDefaultInstance();
+ }
+ }
+ /**
+ *
+ *
+ * + * Input for trajectory single tool use metric. + *+ * + *
+ * .google.cloud.aiplatform.v1beta1.TrajectorySingleToolUseInput trajectory_single_tool_use_input = 39;
+ *
+ */
+ private com.google.protobuf.SingleFieldBuilderV3<
+ com.google.cloud.aiplatform.v1beta1.TrajectorySingleToolUseInput,
+ com.google.cloud.aiplatform.v1beta1.TrajectorySingleToolUseInput.Builder,
+ com.google.cloud.aiplatform.v1beta1.TrajectorySingleToolUseInputOrBuilder>
+ getTrajectorySingleToolUseInputFieldBuilder() {
+ if (trajectorySingleToolUseInputBuilder_ == null) {
+ if (!(metricInputsCase_ == 39)) {
+ metricInputs_ =
+ com.google.cloud.aiplatform.v1beta1.TrajectorySingleToolUseInput.getDefaultInstance();
+ }
+ trajectorySingleToolUseInputBuilder_ =
+ new com.google.protobuf.SingleFieldBuilderV3<
+ com.google.cloud.aiplatform.v1beta1.TrajectorySingleToolUseInput,
+ com.google.cloud.aiplatform.v1beta1.TrajectorySingleToolUseInput.Builder,
+ com.google.cloud.aiplatform.v1beta1.TrajectorySingleToolUseInputOrBuilder>(
+ (com.google.cloud.aiplatform.v1beta1.TrajectorySingleToolUseInput) metricInputs_,
+ getParentForChildren(),
+ isClean());
+ metricInputs_ = null;
+ }
+ metricInputsCase_ = 39;
+ onChanged();
+ return trajectorySingleToolUseInputBuilder_;
+ }
+
private java.lang.Object location_ = "";
/**
*
@@ -8038,7 +10023,7 @@ public Builder setLocation(java.lang.String value) {
throw new NullPointerException();
}
location_ = value;
- bitField0_ |= 0x00800000;
+ bitField0_ |= 0x20000000;
onChanged();
return this;
}
@@ -8058,7 +10043,7 @@ public Builder setLocation(java.lang.String value) {
*/
public Builder clearLocation() {
location_ = getDefaultInstance().getLocation();
- bitField0_ = (bitField0_ & ~0x00800000);
+ bitField0_ = (bitField0_ & ~0x20000000);
onChanged();
return this;
}
@@ -8083,7 +10068,7 @@ public Builder setLocationBytes(com.google.protobuf.ByteString value) {
}
checkByteStringIsUtf8(value);
location_ = value;
- bitField0_ |= 0x00800000;
+ bitField0_ |= 0x20000000;
onChanged();
return this;
}
diff --git a/java-aiplatform/proto-google-cloud-aiplatform-v1beta1/src/main/java/com/google/cloud/aiplatform/v1beta1/EvaluateInstancesRequestOrBuilder.java b/java-aiplatform/proto-google-cloud-aiplatform-v1beta1/src/main/java/com/google/cloud/aiplatform/v1beta1/EvaluateInstancesRequestOrBuilder.java
index 70bbee41dd69..6f45d55fb315 100644
--- a/java-aiplatform/proto-google-cloud-aiplatform-v1beta1/src/main/java/com/google/cloud/aiplatform/v1beta1/EvaluateInstancesRequestOrBuilder.java
+++ b/java-aiplatform/proto-google-cloud-aiplatform-v1beta1/src/main/java/com/google/cloud/aiplatform/v1beta1/EvaluateInstancesRequestOrBuilder.java
@@ -933,6 +933,257 @@ public interface EvaluateInstancesRequestOrBuilder
com.google.cloud.aiplatform.v1beta1.ToolParameterKVMatchInputOrBuilder
getToolParameterKvMatchInputOrBuilder();
+ /**
+ *
+ *
+ * + * Input for trajectory exact match metric. + *+ * + *
+ * .google.cloud.aiplatform.v1beta1.TrajectoryExactMatchInput trajectory_exact_match_input = 33;
+ *
+ *
+ * @return Whether the trajectoryExactMatchInput field is set.
+ */
+ boolean hasTrajectoryExactMatchInput();
+ /**
+ *
+ *
+ * + * Input for trajectory exact match metric. + *+ * + *
+ * .google.cloud.aiplatform.v1beta1.TrajectoryExactMatchInput trajectory_exact_match_input = 33;
+ *
+ *
+ * @return The trajectoryExactMatchInput.
+ */
+ com.google.cloud.aiplatform.v1beta1.TrajectoryExactMatchInput getTrajectoryExactMatchInput();
+ /**
+ *
+ *
+ * + * Input for trajectory exact match metric. + *+ * + *
+ * .google.cloud.aiplatform.v1beta1.TrajectoryExactMatchInput trajectory_exact_match_input = 33;
+ *
+ */
+ com.google.cloud.aiplatform.v1beta1.TrajectoryExactMatchInputOrBuilder
+ getTrajectoryExactMatchInputOrBuilder();
+
+ /**
+ *
+ *
+ * + * Input for trajectory in order match metric. + *+ * + *
+ * .google.cloud.aiplatform.v1beta1.TrajectoryInOrderMatchInput trajectory_in_order_match_input = 34;
+ *
+ *
+ * @return Whether the trajectoryInOrderMatchInput field is set.
+ */
+ boolean hasTrajectoryInOrderMatchInput();
+ /**
+ *
+ *
+ * + * Input for trajectory in order match metric. + *+ * + *
+ * .google.cloud.aiplatform.v1beta1.TrajectoryInOrderMatchInput trajectory_in_order_match_input = 34;
+ *
+ *
+ * @return The trajectoryInOrderMatchInput.
+ */
+ com.google.cloud.aiplatform.v1beta1.TrajectoryInOrderMatchInput getTrajectoryInOrderMatchInput();
+ /**
+ *
+ *
+ * + * Input for trajectory in order match metric. + *+ * + *
+ * .google.cloud.aiplatform.v1beta1.TrajectoryInOrderMatchInput trajectory_in_order_match_input = 34;
+ *
+ */
+ com.google.cloud.aiplatform.v1beta1.TrajectoryInOrderMatchInputOrBuilder
+ getTrajectoryInOrderMatchInputOrBuilder();
+
+ /**
+ *
+ *
+ * + * Input for trajectory match any order metric. + *+ * + *
+ * .google.cloud.aiplatform.v1beta1.TrajectoryAnyOrderMatchInput trajectory_any_order_match_input = 35;
+ *
+ *
+ * @return Whether the trajectoryAnyOrderMatchInput field is set.
+ */
+ boolean hasTrajectoryAnyOrderMatchInput();
+ /**
+ *
+ *
+ * + * Input for trajectory match any order metric. + *+ * + *
+ * .google.cloud.aiplatform.v1beta1.TrajectoryAnyOrderMatchInput trajectory_any_order_match_input = 35;
+ *
+ *
+ * @return The trajectoryAnyOrderMatchInput.
+ */
+ com.google.cloud.aiplatform.v1beta1.TrajectoryAnyOrderMatchInput
+ getTrajectoryAnyOrderMatchInput();
+ /**
+ *
+ *
+ * + * Input for trajectory match any order metric. + *+ * + *
+ * .google.cloud.aiplatform.v1beta1.TrajectoryAnyOrderMatchInput trajectory_any_order_match_input = 35;
+ *
+ */
+ com.google.cloud.aiplatform.v1beta1.TrajectoryAnyOrderMatchInputOrBuilder
+ getTrajectoryAnyOrderMatchInputOrBuilder();
+
+ /**
+ *
+ *
+ * + * Input for trajectory precision metric. + *+ * + *
+ * .google.cloud.aiplatform.v1beta1.TrajectoryPrecisionInput trajectory_precision_input = 37;
+ *
+ *
+ * @return Whether the trajectoryPrecisionInput field is set.
+ */
+ boolean hasTrajectoryPrecisionInput();
+ /**
+ *
+ *
+ * + * Input for trajectory precision metric. + *+ * + *
+ * .google.cloud.aiplatform.v1beta1.TrajectoryPrecisionInput trajectory_precision_input = 37;
+ *
+ *
+ * @return The trajectoryPrecisionInput.
+ */
+ com.google.cloud.aiplatform.v1beta1.TrajectoryPrecisionInput getTrajectoryPrecisionInput();
+ /**
+ *
+ *
+ * + * Input for trajectory precision metric. + *+ * + *
+ * .google.cloud.aiplatform.v1beta1.TrajectoryPrecisionInput trajectory_precision_input = 37;
+ *
+ */
+ com.google.cloud.aiplatform.v1beta1.TrajectoryPrecisionInputOrBuilder
+ getTrajectoryPrecisionInputOrBuilder();
+
+ /**
+ *
+ *
+ * + * Input for trajectory recall metric. + *+ * + *
.google.cloud.aiplatform.v1beta1.TrajectoryRecallInput trajectory_recall_input = 38;
+ *
+ *
+ * @return Whether the trajectoryRecallInput field is set.
+ */
+ boolean hasTrajectoryRecallInput();
+ /**
+ *
+ *
+ * + * Input for trajectory recall metric. + *+ * + *
.google.cloud.aiplatform.v1beta1.TrajectoryRecallInput trajectory_recall_input = 38;
+ *
+ *
+ * @return The trajectoryRecallInput.
+ */
+ com.google.cloud.aiplatform.v1beta1.TrajectoryRecallInput getTrajectoryRecallInput();
+ /**
+ *
+ *
+ * + * Input for trajectory recall metric. + *+ * + *
.google.cloud.aiplatform.v1beta1.TrajectoryRecallInput trajectory_recall_input = 38;
+ *
+ */
+ com.google.cloud.aiplatform.v1beta1.TrajectoryRecallInputOrBuilder
+ getTrajectoryRecallInputOrBuilder();
+
+ /**
+ *
+ *
+ * + * Input for trajectory single tool use metric. + *+ * + *
+ * .google.cloud.aiplatform.v1beta1.TrajectorySingleToolUseInput trajectory_single_tool_use_input = 39;
+ *
+ *
+ * @return Whether the trajectorySingleToolUseInput field is set.
+ */
+ boolean hasTrajectorySingleToolUseInput();
+ /**
+ *
+ *
+ * + * Input for trajectory single tool use metric. + *+ * + *
+ * .google.cloud.aiplatform.v1beta1.TrajectorySingleToolUseInput trajectory_single_tool_use_input = 39;
+ *
+ *
+ * @return The trajectorySingleToolUseInput.
+ */
+ com.google.cloud.aiplatform.v1beta1.TrajectorySingleToolUseInput
+ getTrajectorySingleToolUseInput();
+ /**
+ *
+ *
+ * + * Input for trajectory single tool use metric. + *+ * + *
+ * .google.cloud.aiplatform.v1beta1.TrajectorySingleToolUseInput trajectory_single_tool_use_input = 39;
+ *
+ */
+ com.google.cloud.aiplatform.v1beta1.TrajectorySingleToolUseInputOrBuilder
+ getTrajectorySingleToolUseInputOrBuilder();
+
/**
*
*
diff --git a/java-aiplatform/proto-google-cloud-aiplatform-v1beta1/src/main/java/com/google/cloud/aiplatform/v1beta1/EvaluateInstancesResponse.java b/java-aiplatform/proto-google-cloud-aiplatform-v1beta1/src/main/java/com/google/cloud/aiplatform/v1beta1/EvaluateInstancesResponse.java
index 086543fb8976..10c1f845b1d3 100644
--- a/java-aiplatform/proto-google-cloud-aiplatform-v1beta1/src/main/java/com/google/cloud/aiplatform/v1beta1/EvaluateInstancesResponse.java
+++ b/java-aiplatform/proto-google-cloud-aiplatform-v1beta1/src/main/java/com/google/cloud/aiplatform/v1beta1/EvaluateInstancesResponse.java
@@ -93,6 +93,12 @@ public enum EvaluationResultsCase
TOOL_NAME_MATCH_RESULTS(19),
TOOL_PARAMETER_KEY_MATCH_RESULTS(20),
TOOL_PARAMETER_KV_MATCH_RESULTS(21),
+ TRAJECTORY_EXACT_MATCH_RESULTS(31),
+ TRAJECTORY_IN_ORDER_MATCH_RESULTS(32),
+ TRAJECTORY_ANY_ORDER_MATCH_RESULTS(33),
+ TRAJECTORY_PRECISION_RESULTS(35),
+ TRAJECTORY_RECALL_RESULTS(36),
+ TRAJECTORY_SINGLE_TOOL_USE_RESULTS(37),
EVALUATIONRESULTS_NOT_SET(0);
private final int value;
@@ -157,6 +163,18 @@ public static EvaluationResultsCase forNumber(int value) {
return TOOL_PARAMETER_KEY_MATCH_RESULTS;
case 21:
return TOOL_PARAMETER_KV_MATCH_RESULTS;
+ case 31:
+ return TRAJECTORY_EXACT_MATCH_RESULTS;
+ case 32:
+ return TRAJECTORY_IN_ORDER_MATCH_RESULTS;
+ case 33:
+ return TRAJECTORY_ANY_ORDER_MATCH_RESULTS;
+ case 35:
+ return TRAJECTORY_PRECISION_RESULTS;
+ case 36:
+ return TRAJECTORY_RECALL_RESULTS;
+ case 37:
+ return TRAJECTORY_SINGLE_TOOL_USE_RESULTS;
case 0:
return EVALUATIONRESULTS_NOT_SET;
default:
@@ -1496,6 +1514,360 @@ public boolean hasToolParameterKvMatchResults() {
return com.google.cloud.aiplatform.v1beta1.ToolParameterKVMatchResults.getDefaultInstance();
}
+ public static final int TRAJECTORY_EXACT_MATCH_RESULTS_FIELD_NUMBER = 31;
+ /**
+ *
+ *
+ * + * Result for trajectory exact match metric. + *+ * + *
+ * .google.cloud.aiplatform.v1beta1.TrajectoryExactMatchResults trajectory_exact_match_results = 31;
+ *
+ *
+ * @return Whether the trajectoryExactMatchResults field is set.
+ */
+ @java.lang.Override
+ public boolean hasTrajectoryExactMatchResults() {
+ return evaluationResultsCase_ == 31;
+ }
+ /**
+ *
+ *
+ * + * Result for trajectory exact match metric. + *+ * + *
+ * .google.cloud.aiplatform.v1beta1.TrajectoryExactMatchResults trajectory_exact_match_results = 31;
+ *
+ *
+ * @return The trajectoryExactMatchResults.
+ */
+ @java.lang.Override
+ public com.google.cloud.aiplatform.v1beta1.TrajectoryExactMatchResults
+ getTrajectoryExactMatchResults() {
+ if (evaluationResultsCase_ == 31) {
+ return (com.google.cloud.aiplatform.v1beta1.TrajectoryExactMatchResults) evaluationResults_;
+ }
+ return com.google.cloud.aiplatform.v1beta1.TrajectoryExactMatchResults.getDefaultInstance();
+ }
+ /**
+ *
+ *
+ * + * Result for trajectory exact match metric. + *+ * + *
+ * .google.cloud.aiplatform.v1beta1.TrajectoryExactMatchResults trajectory_exact_match_results = 31;
+ *
+ */
+ @java.lang.Override
+ public com.google.cloud.aiplatform.v1beta1.TrajectoryExactMatchResultsOrBuilder
+ getTrajectoryExactMatchResultsOrBuilder() {
+ if (evaluationResultsCase_ == 31) {
+ return (com.google.cloud.aiplatform.v1beta1.TrajectoryExactMatchResults) evaluationResults_;
+ }
+ return com.google.cloud.aiplatform.v1beta1.TrajectoryExactMatchResults.getDefaultInstance();
+ }
+
+ public static final int TRAJECTORY_IN_ORDER_MATCH_RESULTS_FIELD_NUMBER = 32;
+ /**
+ *
+ *
+ * + * Result for trajectory in order match metric. + *+ * + *
+ * .google.cloud.aiplatform.v1beta1.TrajectoryInOrderMatchResults trajectory_in_order_match_results = 32;
+ *
+ *
+ * @return Whether the trajectoryInOrderMatchResults field is set.
+ */
+ @java.lang.Override
+ public boolean hasTrajectoryInOrderMatchResults() {
+ return evaluationResultsCase_ == 32;
+ }
+ /**
+ *
+ *
+ * + * Result for trajectory in order match metric. + *+ * + *
+ * .google.cloud.aiplatform.v1beta1.TrajectoryInOrderMatchResults trajectory_in_order_match_results = 32;
+ *
+ *
+ * @return The trajectoryInOrderMatchResults.
+ */
+ @java.lang.Override
+ public com.google.cloud.aiplatform.v1beta1.TrajectoryInOrderMatchResults
+ getTrajectoryInOrderMatchResults() {
+ if (evaluationResultsCase_ == 32) {
+ return (com.google.cloud.aiplatform.v1beta1.TrajectoryInOrderMatchResults) evaluationResults_;
+ }
+ return com.google.cloud.aiplatform.v1beta1.TrajectoryInOrderMatchResults.getDefaultInstance();
+ }
+ /**
+ *
+ *
+ * + * Result for trajectory in order match metric. + *+ * + *
+ * .google.cloud.aiplatform.v1beta1.TrajectoryInOrderMatchResults trajectory_in_order_match_results = 32;
+ *
+ */
+ @java.lang.Override
+ public com.google.cloud.aiplatform.v1beta1.TrajectoryInOrderMatchResultsOrBuilder
+ getTrajectoryInOrderMatchResultsOrBuilder() {
+ if (evaluationResultsCase_ == 32) {
+ return (com.google.cloud.aiplatform.v1beta1.TrajectoryInOrderMatchResults) evaluationResults_;
+ }
+ return com.google.cloud.aiplatform.v1beta1.TrajectoryInOrderMatchResults.getDefaultInstance();
+ }
+
+ public static final int TRAJECTORY_ANY_ORDER_MATCH_RESULTS_FIELD_NUMBER = 33;
+ /**
+ *
+ *
+ * + * Result for trajectory any order match metric. + *+ * + *
+ * .google.cloud.aiplatform.v1beta1.TrajectoryAnyOrderMatchResults trajectory_any_order_match_results = 33;
+ *
+ *
+ * @return Whether the trajectoryAnyOrderMatchResults field is set.
+ */
+ @java.lang.Override
+ public boolean hasTrajectoryAnyOrderMatchResults() {
+ return evaluationResultsCase_ == 33;
+ }
+ /**
+ *
+ *
+ * + * Result for trajectory any order match metric. + *+ * + *
+ * .google.cloud.aiplatform.v1beta1.TrajectoryAnyOrderMatchResults trajectory_any_order_match_results = 33;
+ *
+ *
+ * @return The trajectoryAnyOrderMatchResults.
+ */
+ @java.lang.Override
+ public com.google.cloud.aiplatform.v1beta1.TrajectoryAnyOrderMatchResults
+ getTrajectoryAnyOrderMatchResults() {
+ if (evaluationResultsCase_ == 33) {
+ return (com.google.cloud.aiplatform.v1beta1.TrajectoryAnyOrderMatchResults)
+ evaluationResults_;
+ }
+ return com.google.cloud.aiplatform.v1beta1.TrajectoryAnyOrderMatchResults.getDefaultInstance();
+ }
+ /**
+ *
+ *
+ * + * Result for trajectory any order match metric. + *+ * + *
+ * .google.cloud.aiplatform.v1beta1.TrajectoryAnyOrderMatchResults trajectory_any_order_match_results = 33;
+ *
+ */
+ @java.lang.Override
+ public com.google.cloud.aiplatform.v1beta1.TrajectoryAnyOrderMatchResultsOrBuilder
+ getTrajectoryAnyOrderMatchResultsOrBuilder() {
+ if (evaluationResultsCase_ == 33) {
+ return (com.google.cloud.aiplatform.v1beta1.TrajectoryAnyOrderMatchResults)
+ evaluationResults_;
+ }
+ return com.google.cloud.aiplatform.v1beta1.TrajectoryAnyOrderMatchResults.getDefaultInstance();
+ }
+
+ public static final int TRAJECTORY_PRECISION_RESULTS_FIELD_NUMBER = 35;
+ /**
+ *
+ *
+ * + * Result for trajectory precision metric. + *+ * + *
+ * .google.cloud.aiplatform.v1beta1.TrajectoryPrecisionResults trajectory_precision_results = 35;
+ *
+ *
+ * @return Whether the trajectoryPrecisionResults field is set.
+ */
+ @java.lang.Override
+ public boolean hasTrajectoryPrecisionResults() {
+ return evaluationResultsCase_ == 35;
+ }
+ /**
+ *
+ *
+ * + * Result for trajectory precision metric. + *+ * + *
+ * .google.cloud.aiplatform.v1beta1.TrajectoryPrecisionResults trajectory_precision_results = 35;
+ *
+ *
+ * @return The trajectoryPrecisionResults.
+ */
+ @java.lang.Override
+ public com.google.cloud.aiplatform.v1beta1.TrajectoryPrecisionResults
+ getTrajectoryPrecisionResults() {
+ if (evaluationResultsCase_ == 35) {
+ return (com.google.cloud.aiplatform.v1beta1.TrajectoryPrecisionResults) evaluationResults_;
+ }
+ return com.google.cloud.aiplatform.v1beta1.TrajectoryPrecisionResults.getDefaultInstance();
+ }
+ /**
+ *
+ *
+ * + * Result for trajectory precision metric. + *+ * + *
+ * .google.cloud.aiplatform.v1beta1.TrajectoryPrecisionResults trajectory_precision_results = 35;
+ *
+ */
+ @java.lang.Override
+ public com.google.cloud.aiplatform.v1beta1.TrajectoryPrecisionResultsOrBuilder
+ getTrajectoryPrecisionResultsOrBuilder() {
+ if (evaluationResultsCase_ == 35) {
+ return (com.google.cloud.aiplatform.v1beta1.TrajectoryPrecisionResults) evaluationResults_;
+ }
+ return com.google.cloud.aiplatform.v1beta1.TrajectoryPrecisionResults.getDefaultInstance();
+ }
+
+ public static final int TRAJECTORY_RECALL_RESULTS_FIELD_NUMBER = 36;
+ /**
+ *
+ *
+ * + * Results for trajectory recall metric. + *+ * + *
.google.cloud.aiplatform.v1beta1.TrajectoryRecallResults trajectory_recall_results = 36;
+ *
+ *
+ * @return Whether the trajectoryRecallResults field is set.
+ */
+ @java.lang.Override
+ public boolean hasTrajectoryRecallResults() {
+ return evaluationResultsCase_ == 36;
+ }
+ /**
+ *
+ *
+ * + * Results for trajectory recall metric. + *+ * + *
.google.cloud.aiplatform.v1beta1.TrajectoryRecallResults trajectory_recall_results = 36;
+ *
+ *
+ * @return The trajectoryRecallResults.
+ */
+ @java.lang.Override
+ public com.google.cloud.aiplatform.v1beta1.TrajectoryRecallResults getTrajectoryRecallResults() {
+ if (evaluationResultsCase_ == 36) {
+ return (com.google.cloud.aiplatform.v1beta1.TrajectoryRecallResults) evaluationResults_;
+ }
+ return com.google.cloud.aiplatform.v1beta1.TrajectoryRecallResults.getDefaultInstance();
+ }
+ /**
+ *
+ *
+ * + * Results for trajectory recall metric. + *+ * + *
.google.cloud.aiplatform.v1beta1.TrajectoryRecallResults trajectory_recall_results = 36;
+ *
+ */
+ @java.lang.Override
+ public com.google.cloud.aiplatform.v1beta1.TrajectoryRecallResultsOrBuilder
+ getTrajectoryRecallResultsOrBuilder() {
+ if (evaluationResultsCase_ == 36) {
+ return (com.google.cloud.aiplatform.v1beta1.TrajectoryRecallResults) evaluationResults_;
+ }
+ return com.google.cloud.aiplatform.v1beta1.TrajectoryRecallResults.getDefaultInstance();
+ }
+
+ public static final int TRAJECTORY_SINGLE_TOOL_USE_RESULTS_FIELD_NUMBER = 37;
+ /**
+ *
+ *
+ * + * Results for trajectory single tool use metric. + *+ * + *
+ * .google.cloud.aiplatform.v1beta1.TrajectorySingleToolUseResults trajectory_single_tool_use_results = 37;
+ *
+ *
+ * @return Whether the trajectorySingleToolUseResults field is set.
+ */
+ @java.lang.Override
+ public boolean hasTrajectorySingleToolUseResults() {
+ return evaluationResultsCase_ == 37;
+ }
+ /**
+ *
+ *
+ * + * Results for trajectory single tool use metric. + *+ * + *
+ * .google.cloud.aiplatform.v1beta1.TrajectorySingleToolUseResults trajectory_single_tool_use_results = 37;
+ *
+ *
+ * @return The trajectorySingleToolUseResults.
+ */
+ @java.lang.Override
+ public com.google.cloud.aiplatform.v1beta1.TrajectorySingleToolUseResults
+ getTrajectorySingleToolUseResults() {
+ if (evaluationResultsCase_ == 37) {
+ return (com.google.cloud.aiplatform.v1beta1.TrajectorySingleToolUseResults)
+ evaluationResults_;
+ }
+ return com.google.cloud.aiplatform.v1beta1.TrajectorySingleToolUseResults.getDefaultInstance();
+ }
+ /**
+ *
+ *
+ * + * Results for trajectory single tool use metric. + *+ * + *
+ * .google.cloud.aiplatform.v1beta1.TrajectorySingleToolUseResults trajectory_single_tool_use_results = 37;
+ *
+ */
+ @java.lang.Override
+ public com.google.cloud.aiplatform.v1beta1.TrajectorySingleToolUseResultsOrBuilder
+ getTrajectorySingleToolUseResultsOrBuilder() {
+ if (evaluationResultsCase_ == 37) {
+ return (com.google.cloud.aiplatform.v1beta1.TrajectorySingleToolUseResults)
+ evaluationResults_;
+ }
+ return com.google.cloud.aiplatform.v1beta1.TrajectorySingleToolUseResults.getDefaultInstance();
+ }
+
private byte memoizedIsInitialized = -1;
@java.lang.Override
@@ -1613,6 +1985,33 @@ public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io
output.writeMessage(
28, (com.google.cloud.aiplatform.v1beta1.PairwiseMetricResult) evaluationResults_);
}
+ if (evaluationResultsCase_ == 31) {
+ output.writeMessage(
+ 31, (com.google.cloud.aiplatform.v1beta1.TrajectoryExactMatchResults) evaluationResults_);
+ }
+ if (evaluationResultsCase_ == 32) {
+ output.writeMessage(
+ 32,
+ (com.google.cloud.aiplatform.v1beta1.TrajectoryInOrderMatchResults) evaluationResults_);
+ }
+ if (evaluationResultsCase_ == 33) {
+ output.writeMessage(
+ 33,
+ (com.google.cloud.aiplatform.v1beta1.TrajectoryAnyOrderMatchResults) evaluationResults_);
+ }
+ if (evaluationResultsCase_ == 35) {
+ output.writeMessage(
+ 35, (com.google.cloud.aiplatform.v1beta1.TrajectoryPrecisionResults) evaluationResults_);
+ }
+ if (evaluationResultsCase_ == 36) {
+ output.writeMessage(
+ 36, (com.google.cloud.aiplatform.v1beta1.TrajectoryRecallResults) evaluationResults_);
+ }
+ if (evaluationResultsCase_ == 37) {
+ output.writeMessage(
+ 37,
+ (com.google.cloud.aiplatform.v1beta1.TrajectorySingleToolUseResults) evaluationResults_);
+ }
getUnknownFields().writeTo(output);
}
@@ -1757,20 +2156,58 @@ public int getSerializedSize() {
com.google.protobuf.CodedOutputStream.computeMessageSize(
28, (com.google.cloud.aiplatform.v1beta1.PairwiseMetricResult) evaluationResults_);
}
- 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 com.google.cloud.aiplatform.v1beta1.EvaluateInstancesResponse)) {
- return super.equals(obj);
+ if (evaluationResultsCase_ == 31) {
+ size +=
+ com.google.protobuf.CodedOutputStream.computeMessageSize(
+ 31,
+ (com.google.cloud.aiplatform.v1beta1.TrajectoryExactMatchResults) evaluationResults_);
}
- com.google.cloud.aiplatform.v1beta1.EvaluateInstancesResponse other =
+ if (evaluationResultsCase_ == 32) {
+ size +=
+ com.google.protobuf.CodedOutputStream.computeMessageSize(
+ 32,
+ (com.google.cloud.aiplatform.v1beta1.TrajectoryInOrderMatchResults)
+ evaluationResults_);
+ }
+ if (evaluationResultsCase_ == 33) {
+ size +=
+ com.google.protobuf.CodedOutputStream.computeMessageSize(
+ 33,
+ (com.google.cloud.aiplatform.v1beta1.TrajectoryAnyOrderMatchResults)
+ evaluationResults_);
+ }
+ if (evaluationResultsCase_ == 35) {
+ size +=
+ com.google.protobuf.CodedOutputStream.computeMessageSize(
+ 35,
+ (com.google.cloud.aiplatform.v1beta1.TrajectoryPrecisionResults) evaluationResults_);
+ }
+ if (evaluationResultsCase_ == 36) {
+ size +=
+ com.google.protobuf.CodedOutputStream.computeMessageSize(
+ 36, (com.google.cloud.aiplatform.v1beta1.TrajectoryRecallResults) evaluationResults_);
+ }
+ if (evaluationResultsCase_ == 37) {
+ size +=
+ com.google.protobuf.CodedOutputStream.computeMessageSize(
+ 37,
+ (com.google.cloud.aiplatform.v1beta1.TrajectorySingleToolUseResults)
+ evaluationResults_);
+ }
+ 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 com.google.cloud.aiplatform.v1beta1.EvaluateInstancesResponse)) {
+ return super.equals(obj);
+ }
+ com.google.cloud.aiplatform.v1beta1.EvaluateInstancesResponse other =
(com.google.cloud.aiplatform.v1beta1.EvaluateInstancesResponse) obj;
if (!getEvaluationResultsCase().equals(other.getEvaluationResultsCase())) return false;
@@ -1855,6 +2292,29 @@ public boolean equals(final java.lang.Object obj) {
if (!getToolParameterKvMatchResults().equals(other.getToolParameterKvMatchResults()))
return false;
break;
+ case 31:
+ if (!getTrajectoryExactMatchResults().equals(other.getTrajectoryExactMatchResults()))
+ return false;
+ break;
+ case 32:
+ if (!getTrajectoryInOrderMatchResults().equals(other.getTrajectoryInOrderMatchResults()))
+ return false;
+ break;
+ case 33:
+ if (!getTrajectoryAnyOrderMatchResults().equals(other.getTrajectoryAnyOrderMatchResults()))
+ return false;
+ break;
+ case 35:
+ if (!getTrajectoryPrecisionResults().equals(other.getTrajectoryPrecisionResults()))
+ return false;
+ break;
+ case 36:
+ if (!getTrajectoryRecallResults().equals(other.getTrajectoryRecallResults())) return false;
+ break;
+ case 37:
+ if (!getTrajectorySingleToolUseResults().equals(other.getTrajectorySingleToolUseResults()))
+ return false;
+ break;
case 0:
default:
}
@@ -1962,6 +2422,30 @@ public int hashCode() {
hash = (37 * hash) + TOOL_PARAMETER_KV_MATCH_RESULTS_FIELD_NUMBER;
hash = (53 * hash) + getToolParameterKvMatchResults().hashCode();
break;
+ case 31:
+ hash = (37 * hash) + TRAJECTORY_EXACT_MATCH_RESULTS_FIELD_NUMBER;
+ hash = (53 * hash) + getTrajectoryExactMatchResults().hashCode();
+ break;
+ case 32:
+ hash = (37 * hash) + TRAJECTORY_IN_ORDER_MATCH_RESULTS_FIELD_NUMBER;
+ hash = (53 * hash) + getTrajectoryInOrderMatchResults().hashCode();
+ break;
+ case 33:
+ hash = (37 * hash) + TRAJECTORY_ANY_ORDER_MATCH_RESULTS_FIELD_NUMBER;
+ hash = (53 * hash) + getTrajectoryAnyOrderMatchResults().hashCode();
+ break;
+ case 35:
+ hash = (37 * hash) + TRAJECTORY_PRECISION_RESULTS_FIELD_NUMBER;
+ hash = (53 * hash) + getTrajectoryPrecisionResults().hashCode();
+ break;
+ case 36:
+ hash = (37 * hash) + TRAJECTORY_RECALL_RESULTS_FIELD_NUMBER;
+ hash = (53 * hash) + getTrajectoryRecallResults().hashCode();
+ break;
+ case 37:
+ hash = (37 * hash) + TRAJECTORY_SINGLE_TOOL_USE_RESULTS_FIELD_NUMBER;
+ hash = (53 * hash) + getTrajectorySingleToolUseResults().hashCode();
+ break;
case 0:
default:
}
@@ -2174,6 +2658,24 @@ public Builder clear() {
if (toolParameterKvMatchResultsBuilder_ != null) {
toolParameterKvMatchResultsBuilder_.clear();
}
+ if (trajectoryExactMatchResultsBuilder_ != null) {
+ trajectoryExactMatchResultsBuilder_.clear();
+ }
+ if (trajectoryInOrderMatchResultsBuilder_ != null) {
+ trajectoryInOrderMatchResultsBuilder_.clear();
+ }
+ if (trajectoryAnyOrderMatchResultsBuilder_ != null) {
+ trajectoryAnyOrderMatchResultsBuilder_.clear();
+ }
+ if (trajectoryPrecisionResultsBuilder_ != null) {
+ trajectoryPrecisionResultsBuilder_.clear();
+ }
+ if (trajectoryRecallResultsBuilder_ != null) {
+ trajectoryRecallResultsBuilder_.clear();
+ }
+ if (trajectorySingleToolUseResultsBuilder_ != null) {
+ trajectorySingleToolUseResultsBuilder_.clear();
+ }
evaluationResultsCase_ = 0;
evaluationResults_ = null;
return this;
@@ -2290,6 +2792,24 @@ private void buildPartialOneofs(
if (evaluationResultsCase_ == 21 && toolParameterKvMatchResultsBuilder_ != null) {
result.evaluationResults_ = toolParameterKvMatchResultsBuilder_.build();
}
+ if (evaluationResultsCase_ == 31 && trajectoryExactMatchResultsBuilder_ != null) {
+ result.evaluationResults_ = trajectoryExactMatchResultsBuilder_.build();
+ }
+ if (evaluationResultsCase_ == 32 && trajectoryInOrderMatchResultsBuilder_ != null) {
+ result.evaluationResults_ = trajectoryInOrderMatchResultsBuilder_.build();
+ }
+ if (evaluationResultsCase_ == 33 && trajectoryAnyOrderMatchResultsBuilder_ != null) {
+ result.evaluationResults_ = trajectoryAnyOrderMatchResultsBuilder_.build();
+ }
+ if (evaluationResultsCase_ == 35 && trajectoryPrecisionResultsBuilder_ != null) {
+ result.evaluationResults_ = trajectoryPrecisionResultsBuilder_.build();
+ }
+ if (evaluationResultsCase_ == 36 && trajectoryRecallResultsBuilder_ != null) {
+ result.evaluationResults_ = trajectoryRecallResultsBuilder_.build();
+ }
+ if (evaluationResultsCase_ == 37 && trajectorySingleToolUseResultsBuilder_ != null) {
+ result.evaluationResults_ = trajectorySingleToolUseResultsBuilder_.build();
+ }
}
@java.lang.Override
@@ -2456,6 +2976,36 @@ public Builder mergeFrom(com.google.cloud.aiplatform.v1beta1.EvaluateInstancesRe
mergeToolParameterKvMatchResults(other.getToolParameterKvMatchResults());
break;
}
+ case TRAJECTORY_EXACT_MATCH_RESULTS:
+ {
+ mergeTrajectoryExactMatchResults(other.getTrajectoryExactMatchResults());
+ break;
+ }
+ case TRAJECTORY_IN_ORDER_MATCH_RESULTS:
+ {
+ mergeTrajectoryInOrderMatchResults(other.getTrajectoryInOrderMatchResults());
+ break;
+ }
+ case TRAJECTORY_ANY_ORDER_MATCH_RESULTS:
+ {
+ mergeTrajectoryAnyOrderMatchResults(other.getTrajectoryAnyOrderMatchResults());
+ break;
+ }
+ case TRAJECTORY_PRECISION_RESULTS:
+ {
+ mergeTrajectoryPrecisionResults(other.getTrajectoryPrecisionResults());
+ break;
+ }
+ case TRAJECTORY_RECALL_RESULTS:
+ {
+ mergeTrajectoryRecallResults(other.getTrajectoryRecallResults());
+ break;
+ }
+ case TRAJECTORY_SINGLE_TOOL_USE_RESULTS:
+ {
+ mergeTrajectorySingleToolUseResults(other.getTrajectorySingleToolUseResults());
+ break;
+ }
case EVALUATIONRESULTS_NOT_SET:
{
break;
@@ -2650,6 +3200,50 @@ public Builder mergeFrom(
evaluationResultsCase_ = 28;
break;
} // case 226
+ case 250:
+ {
+ input.readMessage(
+ getTrajectoryExactMatchResultsFieldBuilder().getBuilder(), extensionRegistry);
+ evaluationResultsCase_ = 31;
+ break;
+ } // case 250
+ case 258:
+ {
+ input.readMessage(
+ getTrajectoryInOrderMatchResultsFieldBuilder().getBuilder(), extensionRegistry);
+ evaluationResultsCase_ = 32;
+ break;
+ } // case 258
+ case 266:
+ {
+ input.readMessage(
+ getTrajectoryAnyOrderMatchResultsFieldBuilder().getBuilder(),
+ extensionRegistry);
+ evaluationResultsCase_ = 33;
+ break;
+ } // case 266
+ case 282:
+ {
+ input.readMessage(
+ getTrajectoryPrecisionResultsFieldBuilder().getBuilder(), extensionRegistry);
+ evaluationResultsCase_ = 35;
+ break;
+ } // case 282
+ case 290:
+ {
+ input.readMessage(
+ getTrajectoryRecallResultsFieldBuilder().getBuilder(), extensionRegistry);
+ evaluationResultsCase_ = 36;
+ break;
+ } // case 290
+ case 298:
+ {
+ input.readMessage(
+ getTrajectorySingleToolUseResultsFieldBuilder().getBuilder(),
+ extensionRegistry);
+ evaluationResultsCase_ = 37;
+ break;
+ } // case 298
default:
{
if (!super.parseUnknownField(input, extensionRegistry, tag)) {
@@ -6383,119 +6977,1517 @@ public Builder clearQuestionAnsweringHelpfulnessResult() {
*
*
* - * Result for question answering correctness metric. + * Result for question answering correctness metric. + *+ * + *
+ * .google.cloud.aiplatform.v1beta1.QuestionAnsweringCorrectnessResult question_answering_correctness_result = 17;
+ *
+ *
+ * @return Whether the questionAnsweringCorrectnessResult field is set.
+ */
+ @java.lang.Override
+ public boolean hasQuestionAnsweringCorrectnessResult() {
+ return evaluationResultsCase_ == 17;
+ }
+ /**
+ *
+ *
+ * + * Result for question answering correctness metric. + *+ * + *
+ * .google.cloud.aiplatform.v1beta1.QuestionAnsweringCorrectnessResult question_answering_correctness_result = 17;
+ *
+ *
+ * @return The questionAnsweringCorrectnessResult.
+ */
+ @java.lang.Override
+ public com.google.cloud.aiplatform.v1beta1.QuestionAnsweringCorrectnessResult
+ getQuestionAnsweringCorrectnessResult() {
+ if (questionAnsweringCorrectnessResultBuilder_ == null) {
+ if (evaluationResultsCase_ == 17) {
+ return (com.google.cloud.aiplatform.v1beta1.QuestionAnsweringCorrectnessResult)
+ evaluationResults_;
+ }
+ return com.google.cloud.aiplatform.v1beta1.QuestionAnsweringCorrectnessResult
+ .getDefaultInstance();
+ } else {
+ if (evaluationResultsCase_ == 17) {
+ return questionAnsweringCorrectnessResultBuilder_.getMessage();
+ }
+ return com.google.cloud.aiplatform.v1beta1.QuestionAnsweringCorrectnessResult
+ .getDefaultInstance();
+ }
+ }
+ /**
+ *
+ *
+ * + * Result for question answering correctness metric. + *+ * + *
+ * .google.cloud.aiplatform.v1beta1.QuestionAnsweringCorrectnessResult question_answering_correctness_result = 17;
+ *
+ */
+ public Builder setQuestionAnsweringCorrectnessResult(
+ com.google.cloud.aiplatform.v1beta1.QuestionAnsweringCorrectnessResult value) {
+ if (questionAnsweringCorrectnessResultBuilder_ == null) {
+ if (value == null) {
+ throw new NullPointerException();
+ }
+ evaluationResults_ = value;
+ onChanged();
+ } else {
+ questionAnsweringCorrectnessResultBuilder_.setMessage(value);
+ }
+ evaluationResultsCase_ = 17;
+ return this;
+ }
+ /**
+ *
+ *
+ * + * Result for question answering correctness metric. + *+ * + *
+ * .google.cloud.aiplatform.v1beta1.QuestionAnsweringCorrectnessResult question_answering_correctness_result = 17;
+ *
+ */
+ public Builder setQuestionAnsweringCorrectnessResult(
+ com.google.cloud.aiplatform.v1beta1.QuestionAnsweringCorrectnessResult.Builder
+ builderForValue) {
+ if (questionAnsweringCorrectnessResultBuilder_ == null) {
+ evaluationResults_ = builderForValue.build();
+ onChanged();
+ } else {
+ questionAnsweringCorrectnessResultBuilder_.setMessage(builderForValue.build());
+ }
+ evaluationResultsCase_ = 17;
+ return this;
+ }
+ /**
+ *
+ *
+ * + * Result for question answering correctness metric. + *+ * + *
+ * .google.cloud.aiplatform.v1beta1.QuestionAnsweringCorrectnessResult question_answering_correctness_result = 17;
+ *
+ */
+ public Builder mergeQuestionAnsweringCorrectnessResult(
+ com.google.cloud.aiplatform.v1beta1.QuestionAnsweringCorrectnessResult value) {
+ if (questionAnsweringCorrectnessResultBuilder_ == null) {
+ if (evaluationResultsCase_ == 17
+ && evaluationResults_
+ != com.google.cloud.aiplatform.v1beta1.QuestionAnsweringCorrectnessResult
+ .getDefaultInstance()) {
+ evaluationResults_ =
+ com.google.cloud.aiplatform.v1beta1.QuestionAnsweringCorrectnessResult.newBuilder(
+ (com.google.cloud.aiplatform.v1beta1.QuestionAnsweringCorrectnessResult)
+ evaluationResults_)
+ .mergeFrom(value)
+ .buildPartial();
+ } else {
+ evaluationResults_ = value;
+ }
+ onChanged();
+ } else {
+ if (evaluationResultsCase_ == 17) {
+ questionAnsweringCorrectnessResultBuilder_.mergeFrom(value);
+ } else {
+ questionAnsweringCorrectnessResultBuilder_.setMessage(value);
+ }
+ }
+ evaluationResultsCase_ = 17;
+ return this;
+ }
+ /**
+ *
+ *
+ * + * Result for question answering correctness metric. + *+ * + *
+ * .google.cloud.aiplatform.v1beta1.QuestionAnsweringCorrectnessResult question_answering_correctness_result = 17;
+ *
+ */
+ public Builder clearQuestionAnsweringCorrectnessResult() {
+ if (questionAnsweringCorrectnessResultBuilder_ == null) {
+ if (evaluationResultsCase_ == 17) {
+ evaluationResultsCase_ = 0;
+ evaluationResults_ = null;
+ onChanged();
+ }
+ } else {
+ if (evaluationResultsCase_ == 17) {
+ evaluationResultsCase_ = 0;
+ evaluationResults_ = null;
+ }
+ questionAnsweringCorrectnessResultBuilder_.clear();
+ }
+ return this;
+ }
+ /**
+ *
+ *
+ * + * Result for question answering correctness metric. + *+ * + *
+ * .google.cloud.aiplatform.v1beta1.QuestionAnsweringCorrectnessResult question_answering_correctness_result = 17;
+ *
+ */
+ public com.google.cloud.aiplatform.v1beta1.QuestionAnsweringCorrectnessResult.Builder
+ getQuestionAnsweringCorrectnessResultBuilder() {
+ return getQuestionAnsweringCorrectnessResultFieldBuilder().getBuilder();
+ }
+ /**
+ *
+ *
+ * + * Result for question answering correctness metric. + *+ * + *
+ * .google.cloud.aiplatform.v1beta1.QuestionAnsweringCorrectnessResult question_answering_correctness_result = 17;
+ *
+ */
+ @java.lang.Override
+ public com.google.cloud.aiplatform.v1beta1.QuestionAnsweringCorrectnessResultOrBuilder
+ getQuestionAnsweringCorrectnessResultOrBuilder() {
+ if ((evaluationResultsCase_ == 17) && (questionAnsweringCorrectnessResultBuilder_ != null)) {
+ return questionAnsweringCorrectnessResultBuilder_.getMessageOrBuilder();
+ } else {
+ if (evaluationResultsCase_ == 17) {
+ return (com.google.cloud.aiplatform.v1beta1.QuestionAnsweringCorrectnessResult)
+ evaluationResults_;
+ }
+ return com.google.cloud.aiplatform.v1beta1.QuestionAnsweringCorrectnessResult
+ .getDefaultInstance();
+ }
+ }
+ /**
+ *
+ *
+ * + * Result for question answering correctness metric. + *+ * + *
+ * .google.cloud.aiplatform.v1beta1.QuestionAnsweringCorrectnessResult question_answering_correctness_result = 17;
+ *
+ */
+ private com.google.protobuf.SingleFieldBuilderV3<
+ com.google.cloud.aiplatform.v1beta1.QuestionAnsweringCorrectnessResult,
+ com.google.cloud.aiplatform.v1beta1.QuestionAnsweringCorrectnessResult.Builder,
+ com.google.cloud.aiplatform.v1beta1.QuestionAnsweringCorrectnessResultOrBuilder>
+ getQuestionAnsweringCorrectnessResultFieldBuilder() {
+ if (questionAnsweringCorrectnessResultBuilder_ == null) {
+ if (!(evaluationResultsCase_ == 17)) {
+ evaluationResults_ =
+ com.google.cloud.aiplatform.v1beta1.QuestionAnsweringCorrectnessResult
+ .getDefaultInstance();
+ }
+ questionAnsweringCorrectnessResultBuilder_ =
+ new com.google.protobuf.SingleFieldBuilderV3<
+ com.google.cloud.aiplatform.v1beta1.QuestionAnsweringCorrectnessResult,
+ com.google.cloud.aiplatform.v1beta1.QuestionAnsweringCorrectnessResult.Builder,
+ com.google.cloud.aiplatform.v1beta1.QuestionAnsweringCorrectnessResultOrBuilder>(
+ (com.google.cloud.aiplatform.v1beta1.QuestionAnsweringCorrectnessResult)
+ evaluationResults_,
+ getParentForChildren(),
+ isClean());
+ evaluationResults_ = null;
+ }
+ evaluationResultsCase_ = 17;
+ onChanged();
+ return questionAnsweringCorrectnessResultBuilder_;
+ }
+
+ private com.google.protobuf.SingleFieldBuilderV3<
+ com.google.cloud.aiplatform.v1beta1.PointwiseMetricResult,
+ com.google.cloud.aiplatform.v1beta1.PointwiseMetricResult.Builder,
+ com.google.cloud.aiplatform.v1beta1.PointwiseMetricResultOrBuilder>
+ pointwiseMetricResultBuilder_;
+ /**
+ *
+ *
+ * + * Generic metrics. + * Result for pointwise metric. + *+ * + *
.google.cloud.aiplatform.v1beta1.PointwiseMetricResult pointwise_metric_result = 27;
+ *
+ *
+ * @return Whether the pointwiseMetricResult field is set.
+ */
+ @java.lang.Override
+ public boolean hasPointwiseMetricResult() {
+ return evaluationResultsCase_ == 27;
+ }
+ /**
+ *
+ *
+ * + * Generic metrics. + * Result for pointwise metric. + *+ * + *
.google.cloud.aiplatform.v1beta1.PointwiseMetricResult pointwise_metric_result = 27;
+ *
+ *
+ * @return The pointwiseMetricResult.
+ */
+ @java.lang.Override
+ public com.google.cloud.aiplatform.v1beta1.PointwiseMetricResult getPointwiseMetricResult() {
+ if (pointwiseMetricResultBuilder_ == null) {
+ if (evaluationResultsCase_ == 27) {
+ return (com.google.cloud.aiplatform.v1beta1.PointwiseMetricResult) evaluationResults_;
+ }
+ return com.google.cloud.aiplatform.v1beta1.PointwiseMetricResult.getDefaultInstance();
+ } else {
+ if (evaluationResultsCase_ == 27) {
+ return pointwiseMetricResultBuilder_.getMessage();
+ }
+ return com.google.cloud.aiplatform.v1beta1.PointwiseMetricResult.getDefaultInstance();
+ }
+ }
+ /**
+ *
+ *
+ * + * Generic metrics. + * Result for pointwise metric. + *+ * + *
.google.cloud.aiplatform.v1beta1.PointwiseMetricResult pointwise_metric_result = 27;
+ *
+ */
+ public Builder setPointwiseMetricResult(
+ com.google.cloud.aiplatform.v1beta1.PointwiseMetricResult value) {
+ if (pointwiseMetricResultBuilder_ == null) {
+ if (value == null) {
+ throw new NullPointerException();
+ }
+ evaluationResults_ = value;
+ onChanged();
+ } else {
+ pointwiseMetricResultBuilder_.setMessage(value);
+ }
+ evaluationResultsCase_ = 27;
+ return this;
+ }
+ /**
+ *
+ *
+ * + * Generic metrics. + * Result for pointwise metric. + *+ * + *
.google.cloud.aiplatform.v1beta1.PointwiseMetricResult pointwise_metric_result = 27;
+ *
+ */
+ public Builder setPointwiseMetricResult(
+ com.google.cloud.aiplatform.v1beta1.PointwiseMetricResult.Builder builderForValue) {
+ if (pointwiseMetricResultBuilder_ == null) {
+ evaluationResults_ = builderForValue.build();
+ onChanged();
+ } else {
+ pointwiseMetricResultBuilder_.setMessage(builderForValue.build());
+ }
+ evaluationResultsCase_ = 27;
+ return this;
+ }
+ /**
+ *
+ *
+ * + * Generic metrics. + * Result for pointwise metric. + *+ * + *
.google.cloud.aiplatform.v1beta1.PointwiseMetricResult pointwise_metric_result = 27;
+ *
+ */
+ public Builder mergePointwiseMetricResult(
+ com.google.cloud.aiplatform.v1beta1.PointwiseMetricResult value) {
+ if (pointwiseMetricResultBuilder_ == null) {
+ if (evaluationResultsCase_ == 27
+ && evaluationResults_
+ != com.google.cloud.aiplatform.v1beta1.PointwiseMetricResult.getDefaultInstance()) {
+ evaluationResults_ =
+ com.google.cloud.aiplatform.v1beta1.PointwiseMetricResult.newBuilder(
+ (com.google.cloud.aiplatform.v1beta1.PointwiseMetricResult)
+ evaluationResults_)
+ .mergeFrom(value)
+ .buildPartial();
+ } else {
+ evaluationResults_ = value;
+ }
+ onChanged();
+ } else {
+ if (evaluationResultsCase_ == 27) {
+ pointwiseMetricResultBuilder_.mergeFrom(value);
+ } else {
+ pointwiseMetricResultBuilder_.setMessage(value);
+ }
+ }
+ evaluationResultsCase_ = 27;
+ return this;
+ }
+ /**
+ *
+ *
+ * + * Generic metrics. + * Result for pointwise metric. + *+ * + *
.google.cloud.aiplatform.v1beta1.PointwiseMetricResult pointwise_metric_result = 27;
+ *
+ */
+ public Builder clearPointwiseMetricResult() {
+ if (pointwiseMetricResultBuilder_ == null) {
+ if (evaluationResultsCase_ == 27) {
+ evaluationResultsCase_ = 0;
+ evaluationResults_ = null;
+ onChanged();
+ }
+ } else {
+ if (evaluationResultsCase_ == 27) {
+ evaluationResultsCase_ = 0;
+ evaluationResults_ = null;
+ }
+ pointwiseMetricResultBuilder_.clear();
+ }
+ return this;
+ }
+ /**
+ *
+ *
+ * + * Generic metrics. + * Result for pointwise metric. + *+ * + *
.google.cloud.aiplatform.v1beta1.PointwiseMetricResult pointwise_metric_result = 27;
+ *
+ */
+ public com.google.cloud.aiplatform.v1beta1.PointwiseMetricResult.Builder
+ getPointwiseMetricResultBuilder() {
+ return getPointwiseMetricResultFieldBuilder().getBuilder();
+ }
+ /**
+ *
+ *
+ * + * Generic metrics. + * Result for pointwise metric. + *+ * + *
.google.cloud.aiplatform.v1beta1.PointwiseMetricResult pointwise_metric_result = 27;
+ *
+ */
+ @java.lang.Override
+ public com.google.cloud.aiplatform.v1beta1.PointwiseMetricResultOrBuilder
+ getPointwiseMetricResultOrBuilder() {
+ if ((evaluationResultsCase_ == 27) && (pointwiseMetricResultBuilder_ != null)) {
+ return pointwiseMetricResultBuilder_.getMessageOrBuilder();
+ } else {
+ if (evaluationResultsCase_ == 27) {
+ return (com.google.cloud.aiplatform.v1beta1.PointwiseMetricResult) evaluationResults_;
+ }
+ return com.google.cloud.aiplatform.v1beta1.PointwiseMetricResult.getDefaultInstance();
+ }
+ }
+ /**
+ *
+ *
+ * + * Generic metrics. + * Result for pointwise metric. + *+ * + *
.google.cloud.aiplatform.v1beta1.PointwiseMetricResult pointwise_metric_result = 27;
+ *
+ */
+ private com.google.protobuf.SingleFieldBuilderV3<
+ com.google.cloud.aiplatform.v1beta1.PointwiseMetricResult,
+ com.google.cloud.aiplatform.v1beta1.PointwiseMetricResult.Builder,
+ com.google.cloud.aiplatform.v1beta1.PointwiseMetricResultOrBuilder>
+ getPointwiseMetricResultFieldBuilder() {
+ if (pointwiseMetricResultBuilder_ == null) {
+ if (!(evaluationResultsCase_ == 27)) {
+ evaluationResults_ =
+ com.google.cloud.aiplatform.v1beta1.PointwiseMetricResult.getDefaultInstance();
+ }
+ pointwiseMetricResultBuilder_ =
+ new com.google.protobuf.SingleFieldBuilderV3<
+ com.google.cloud.aiplatform.v1beta1.PointwiseMetricResult,
+ com.google.cloud.aiplatform.v1beta1.PointwiseMetricResult.Builder,
+ com.google.cloud.aiplatform.v1beta1.PointwiseMetricResultOrBuilder>(
+ (com.google.cloud.aiplatform.v1beta1.PointwiseMetricResult) evaluationResults_,
+ getParentForChildren(),
+ isClean());
+ evaluationResults_ = null;
+ }
+ evaluationResultsCase_ = 27;
+ onChanged();
+ return pointwiseMetricResultBuilder_;
+ }
+
+ private com.google.protobuf.SingleFieldBuilderV3<
+ com.google.cloud.aiplatform.v1beta1.PairwiseMetricResult,
+ com.google.cloud.aiplatform.v1beta1.PairwiseMetricResult.Builder,
+ com.google.cloud.aiplatform.v1beta1.PairwiseMetricResultOrBuilder>
+ pairwiseMetricResultBuilder_;
+ /**
+ *
+ *
+ * + * Result for pairwise metric. + *+ * + *
.google.cloud.aiplatform.v1beta1.PairwiseMetricResult pairwise_metric_result = 28;
+ *
+ *
+ * @return Whether the pairwiseMetricResult field is set.
+ */
+ @java.lang.Override
+ public boolean hasPairwiseMetricResult() {
+ return evaluationResultsCase_ == 28;
+ }
+ /**
+ *
+ *
+ * + * Result for pairwise metric. + *+ * + *
.google.cloud.aiplatform.v1beta1.PairwiseMetricResult pairwise_metric_result = 28;
+ *
+ *
+ * @return The pairwiseMetricResult.
+ */
+ @java.lang.Override
+ public com.google.cloud.aiplatform.v1beta1.PairwiseMetricResult getPairwiseMetricResult() {
+ if (pairwiseMetricResultBuilder_ == null) {
+ if (evaluationResultsCase_ == 28) {
+ return (com.google.cloud.aiplatform.v1beta1.PairwiseMetricResult) evaluationResults_;
+ }
+ return com.google.cloud.aiplatform.v1beta1.PairwiseMetricResult.getDefaultInstance();
+ } else {
+ if (evaluationResultsCase_ == 28) {
+ return pairwiseMetricResultBuilder_.getMessage();
+ }
+ return com.google.cloud.aiplatform.v1beta1.PairwiseMetricResult.getDefaultInstance();
+ }
+ }
+ /**
+ *
+ *
+ * + * Result for pairwise metric. + *+ * + *
.google.cloud.aiplatform.v1beta1.PairwiseMetricResult pairwise_metric_result = 28;
+ *
+ */
+ public Builder setPairwiseMetricResult(
+ com.google.cloud.aiplatform.v1beta1.PairwiseMetricResult value) {
+ if (pairwiseMetricResultBuilder_ == null) {
+ if (value == null) {
+ throw new NullPointerException();
+ }
+ evaluationResults_ = value;
+ onChanged();
+ } else {
+ pairwiseMetricResultBuilder_.setMessage(value);
+ }
+ evaluationResultsCase_ = 28;
+ return this;
+ }
+ /**
+ *
+ *
+ * + * Result for pairwise metric. + *+ * + *
.google.cloud.aiplatform.v1beta1.PairwiseMetricResult pairwise_metric_result = 28;
+ *
+ */
+ public Builder setPairwiseMetricResult(
+ com.google.cloud.aiplatform.v1beta1.PairwiseMetricResult.Builder builderForValue) {
+ if (pairwiseMetricResultBuilder_ == null) {
+ evaluationResults_ = builderForValue.build();
+ onChanged();
+ } else {
+ pairwiseMetricResultBuilder_.setMessage(builderForValue.build());
+ }
+ evaluationResultsCase_ = 28;
+ return this;
+ }
+ /**
+ *
+ *
+ * + * Result for pairwise metric. + *+ * + *
.google.cloud.aiplatform.v1beta1.PairwiseMetricResult pairwise_metric_result = 28;
+ *
+ */
+ public Builder mergePairwiseMetricResult(
+ com.google.cloud.aiplatform.v1beta1.PairwiseMetricResult value) {
+ if (pairwiseMetricResultBuilder_ == null) {
+ if (evaluationResultsCase_ == 28
+ && evaluationResults_
+ != com.google.cloud.aiplatform.v1beta1.PairwiseMetricResult.getDefaultInstance()) {
+ evaluationResults_ =
+ com.google.cloud.aiplatform.v1beta1.PairwiseMetricResult.newBuilder(
+ (com.google.cloud.aiplatform.v1beta1.PairwiseMetricResult) evaluationResults_)
+ .mergeFrom(value)
+ .buildPartial();
+ } else {
+ evaluationResults_ = value;
+ }
+ onChanged();
+ } else {
+ if (evaluationResultsCase_ == 28) {
+ pairwiseMetricResultBuilder_.mergeFrom(value);
+ } else {
+ pairwiseMetricResultBuilder_.setMessage(value);
+ }
+ }
+ evaluationResultsCase_ = 28;
+ return this;
+ }
+ /**
+ *
+ *
+ * + * Result for pairwise metric. + *+ * + *
.google.cloud.aiplatform.v1beta1.PairwiseMetricResult pairwise_metric_result = 28;
+ *
+ */
+ public Builder clearPairwiseMetricResult() {
+ if (pairwiseMetricResultBuilder_ == null) {
+ if (evaluationResultsCase_ == 28) {
+ evaluationResultsCase_ = 0;
+ evaluationResults_ = null;
+ onChanged();
+ }
+ } else {
+ if (evaluationResultsCase_ == 28) {
+ evaluationResultsCase_ = 0;
+ evaluationResults_ = null;
+ }
+ pairwiseMetricResultBuilder_.clear();
+ }
+ return this;
+ }
+ /**
+ *
+ *
+ * + * Result for pairwise metric. + *+ * + *
.google.cloud.aiplatform.v1beta1.PairwiseMetricResult pairwise_metric_result = 28;
+ *
+ */
+ public com.google.cloud.aiplatform.v1beta1.PairwiseMetricResult.Builder
+ getPairwiseMetricResultBuilder() {
+ return getPairwiseMetricResultFieldBuilder().getBuilder();
+ }
+ /**
+ *
+ *
+ * + * Result for pairwise metric. + *+ * + *
.google.cloud.aiplatform.v1beta1.PairwiseMetricResult pairwise_metric_result = 28;
+ *
+ */
+ @java.lang.Override
+ public com.google.cloud.aiplatform.v1beta1.PairwiseMetricResultOrBuilder
+ getPairwiseMetricResultOrBuilder() {
+ if ((evaluationResultsCase_ == 28) && (pairwiseMetricResultBuilder_ != null)) {
+ return pairwiseMetricResultBuilder_.getMessageOrBuilder();
+ } else {
+ if (evaluationResultsCase_ == 28) {
+ return (com.google.cloud.aiplatform.v1beta1.PairwiseMetricResult) evaluationResults_;
+ }
+ return com.google.cloud.aiplatform.v1beta1.PairwiseMetricResult.getDefaultInstance();
+ }
+ }
+ /**
+ *
+ *
+ * + * Result for pairwise metric. + *+ * + *
.google.cloud.aiplatform.v1beta1.PairwiseMetricResult pairwise_metric_result = 28;
+ *
+ */
+ private com.google.protobuf.SingleFieldBuilderV3<
+ com.google.cloud.aiplatform.v1beta1.PairwiseMetricResult,
+ com.google.cloud.aiplatform.v1beta1.PairwiseMetricResult.Builder,
+ com.google.cloud.aiplatform.v1beta1.PairwiseMetricResultOrBuilder>
+ getPairwiseMetricResultFieldBuilder() {
+ if (pairwiseMetricResultBuilder_ == null) {
+ if (!(evaluationResultsCase_ == 28)) {
+ evaluationResults_ =
+ com.google.cloud.aiplatform.v1beta1.PairwiseMetricResult.getDefaultInstance();
+ }
+ pairwiseMetricResultBuilder_ =
+ new com.google.protobuf.SingleFieldBuilderV3<
+ com.google.cloud.aiplatform.v1beta1.PairwiseMetricResult,
+ com.google.cloud.aiplatform.v1beta1.PairwiseMetricResult.Builder,
+ com.google.cloud.aiplatform.v1beta1.PairwiseMetricResultOrBuilder>(
+ (com.google.cloud.aiplatform.v1beta1.PairwiseMetricResult) evaluationResults_,
+ getParentForChildren(),
+ isClean());
+ evaluationResults_ = null;
+ }
+ evaluationResultsCase_ = 28;
+ onChanged();
+ return pairwiseMetricResultBuilder_;
+ }
+
+ private com.google.protobuf.SingleFieldBuilderV3<
+ com.google.cloud.aiplatform.v1beta1.ToolCallValidResults,
+ com.google.cloud.aiplatform.v1beta1.ToolCallValidResults.Builder,
+ com.google.cloud.aiplatform.v1beta1.ToolCallValidResultsOrBuilder>
+ toolCallValidResultsBuilder_;
+ /**
+ *
+ *
+ * + * Tool call metrics. + * Results for tool call valid metric. + *+ * + *
.google.cloud.aiplatform.v1beta1.ToolCallValidResults tool_call_valid_results = 18;
+ *
+ *
+ * @return Whether the toolCallValidResults field is set.
+ */
+ @java.lang.Override
+ public boolean hasToolCallValidResults() {
+ return evaluationResultsCase_ == 18;
+ }
+ /**
+ *
+ *
+ * + * Tool call metrics. + * Results for tool call valid metric. + *+ * + *
.google.cloud.aiplatform.v1beta1.ToolCallValidResults tool_call_valid_results = 18;
+ *
+ *
+ * @return The toolCallValidResults.
+ */
+ @java.lang.Override
+ public com.google.cloud.aiplatform.v1beta1.ToolCallValidResults getToolCallValidResults() {
+ if (toolCallValidResultsBuilder_ == null) {
+ if (evaluationResultsCase_ == 18) {
+ return (com.google.cloud.aiplatform.v1beta1.ToolCallValidResults) evaluationResults_;
+ }
+ return com.google.cloud.aiplatform.v1beta1.ToolCallValidResults.getDefaultInstance();
+ } else {
+ if (evaluationResultsCase_ == 18) {
+ return toolCallValidResultsBuilder_.getMessage();
+ }
+ return com.google.cloud.aiplatform.v1beta1.ToolCallValidResults.getDefaultInstance();
+ }
+ }
+ /**
+ *
+ *
+ * + * Tool call metrics. + * Results for tool call valid metric. + *+ * + *
.google.cloud.aiplatform.v1beta1.ToolCallValidResults tool_call_valid_results = 18;
+ *
+ */
+ public Builder setToolCallValidResults(
+ com.google.cloud.aiplatform.v1beta1.ToolCallValidResults value) {
+ if (toolCallValidResultsBuilder_ == null) {
+ if (value == null) {
+ throw new NullPointerException();
+ }
+ evaluationResults_ = value;
+ onChanged();
+ } else {
+ toolCallValidResultsBuilder_.setMessage(value);
+ }
+ evaluationResultsCase_ = 18;
+ return this;
+ }
+ /**
+ *
+ *
+ * + * Tool call metrics. + * Results for tool call valid metric. + *+ * + *
.google.cloud.aiplatform.v1beta1.ToolCallValidResults tool_call_valid_results = 18;
+ *
+ */
+ public Builder setToolCallValidResults(
+ com.google.cloud.aiplatform.v1beta1.ToolCallValidResults.Builder builderForValue) {
+ if (toolCallValidResultsBuilder_ == null) {
+ evaluationResults_ = builderForValue.build();
+ onChanged();
+ } else {
+ toolCallValidResultsBuilder_.setMessage(builderForValue.build());
+ }
+ evaluationResultsCase_ = 18;
+ return this;
+ }
+ /**
+ *
+ *
+ * + * Tool call metrics. + * Results for tool call valid metric. + *+ * + *
.google.cloud.aiplatform.v1beta1.ToolCallValidResults tool_call_valid_results = 18;
+ *
+ */
+ public Builder mergeToolCallValidResults(
+ com.google.cloud.aiplatform.v1beta1.ToolCallValidResults value) {
+ if (toolCallValidResultsBuilder_ == null) {
+ if (evaluationResultsCase_ == 18
+ && evaluationResults_
+ != com.google.cloud.aiplatform.v1beta1.ToolCallValidResults.getDefaultInstance()) {
+ evaluationResults_ =
+ com.google.cloud.aiplatform.v1beta1.ToolCallValidResults.newBuilder(
+ (com.google.cloud.aiplatform.v1beta1.ToolCallValidResults) evaluationResults_)
+ .mergeFrom(value)
+ .buildPartial();
+ } else {
+ evaluationResults_ = value;
+ }
+ onChanged();
+ } else {
+ if (evaluationResultsCase_ == 18) {
+ toolCallValidResultsBuilder_.mergeFrom(value);
+ } else {
+ toolCallValidResultsBuilder_.setMessage(value);
+ }
+ }
+ evaluationResultsCase_ = 18;
+ return this;
+ }
+ /**
+ *
+ *
+ * + * Tool call metrics. + * Results for tool call valid metric. + *+ * + *
.google.cloud.aiplatform.v1beta1.ToolCallValidResults tool_call_valid_results = 18;
+ *
+ */
+ public Builder clearToolCallValidResults() {
+ if (toolCallValidResultsBuilder_ == null) {
+ if (evaluationResultsCase_ == 18) {
+ evaluationResultsCase_ = 0;
+ evaluationResults_ = null;
+ onChanged();
+ }
+ } else {
+ if (evaluationResultsCase_ == 18) {
+ evaluationResultsCase_ = 0;
+ evaluationResults_ = null;
+ }
+ toolCallValidResultsBuilder_.clear();
+ }
+ return this;
+ }
+ /**
+ *
+ *
+ * + * Tool call metrics. + * Results for tool call valid metric. + *+ * + *
.google.cloud.aiplatform.v1beta1.ToolCallValidResults tool_call_valid_results = 18;
+ *
+ */
+ public com.google.cloud.aiplatform.v1beta1.ToolCallValidResults.Builder
+ getToolCallValidResultsBuilder() {
+ return getToolCallValidResultsFieldBuilder().getBuilder();
+ }
+ /**
+ *
+ *
+ * + * Tool call metrics. + * Results for tool call valid metric. + *+ * + *
.google.cloud.aiplatform.v1beta1.ToolCallValidResults tool_call_valid_results = 18;
+ *
+ */
+ @java.lang.Override
+ public com.google.cloud.aiplatform.v1beta1.ToolCallValidResultsOrBuilder
+ getToolCallValidResultsOrBuilder() {
+ if ((evaluationResultsCase_ == 18) && (toolCallValidResultsBuilder_ != null)) {
+ return toolCallValidResultsBuilder_.getMessageOrBuilder();
+ } else {
+ if (evaluationResultsCase_ == 18) {
+ return (com.google.cloud.aiplatform.v1beta1.ToolCallValidResults) evaluationResults_;
+ }
+ return com.google.cloud.aiplatform.v1beta1.ToolCallValidResults.getDefaultInstance();
+ }
+ }
+ /**
+ *
+ *
+ * + * Tool call metrics. + * Results for tool call valid metric. + *+ * + *
.google.cloud.aiplatform.v1beta1.ToolCallValidResults tool_call_valid_results = 18;
+ *
+ */
+ private com.google.protobuf.SingleFieldBuilderV3<
+ com.google.cloud.aiplatform.v1beta1.ToolCallValidResults,
+ com.google.cloud.aiplatform.v1beta1.ToolCallValidResults.Builder,
+ com.google.cloud.aiplatform.v1beta1.ToolCallValidResultsOrBuilder>
+ getToolCallValidResultsFieldBuilder() {
+ if (toolCallValidResultsBuilder_ == null) {
+ if (!(evaluationResultsCase_ == 18)) {
+ evaluationResults_ =
+ com.google.cloud.aiplatform.v1beta1.ToolCallValidResults.getDefaultInstance();
+ }
+ toolCallValidResultsBuilder_ =
+ new com.google.protobuf.SingleFieldBuilderV3<
+ com.google.cloud.aiplatform.v1beta1.ToolCallValidResults,
+ com.google.cloud.aiplatform.v1beta1.ToolCallValidResults.Builder,
+ com.google.cloud.aiplatform.v1beta1.ToolCallValidResultsOrBuilder>(
+ (com.google.cloud.aiplatform.v1beta1.ToolCallValidResults) evaluationResults_,
+ getParentForChildren(),
+ isClean());
+ evaluationResults_ = null;
+ }
+ evaluationResultsCase_ = 18;
+ onChanged();
+ return toolCallValidResultsBuilder_;
+ }
+
+ private com.google.protobuf.SingleFieldBuilderV3<
+ com.google.cloud.aiplatform.v1beta1.ToolNameMatchResults,
+ com.google.cloud.aiplatform.v1beta1.ToolNameMatchResults.Builder,
+ com.google.cloud.aiplatform.v1beta1.ToolNameMatchResultsOrBuilder>
+ toolNameMatchResultsBuilder_;
+ /**
+ *
+ *
+ * + * Results for tool name match metric. + *+ * + *
.google.cloud.aiplatform.v1beta1.ToolNameMatchResults tool_name_match_results = 19;
+ *
+ *
+ * @return Whether the toolNameMatchResults field is set.
+ */
+ @java.lang.Override
+ public boolean hasToolNameMatchResults() {
+ return evaluationResultsCase_ == 19;
+ }
+ /**
+ *
+ *
+ * + * Results for tool name match metric. + *+ * + *
.google.cloud.aiplatform.v1beta1.ToolNameMatchResults tool_name_match_results = 19;
+ *
+ *
+ * @return The toolNameMatchResults.
+ */
+ @java.lang.Override
+ public com.google.cloud.aiplatform.v1beta1.ToolNameMatchResults getToolNameMatchResults() {
+ if (toolNameMatchResultsBuilder_ == null) {
+ if (evaluationResultsCase_ == 19) {
+ return (com.google.cloud.aiplatform.v1beta1.ToolNameMatchResults) evaluationResults_;
+ }
+ return com.google.cloud.aiplatform.v1beta1.ToolNameMatchResults.getDefaultInstance();
+ } else {
+ if (evaluationResultsCase_ == 19) {
+ return toolNameMatchResultsBuilder_.getMessage();
+ }
+ return com.google.cloud.aiplatform.v1beta1.ToolNameMatchResults.getDefaultInstance();
+ }
+ }
+ /**
+ *
+ *
+ * + * Results for tool name match metric. + *+ * + *
.google.cloud.aiplatform.v1beta1.ToolNameMatchResults tool_name_match_results = 19;
+ *
+ */
+ public Builder setToolNameMatchResults(
+ com.google.cloud.aiplatform.v1beta1.ToolNameMatchResults value) {
+ if (toolNameMatchResultsBuilder_ == null) {
+ if (value == null) {
+ throw new NullPointerException();
+ }
+ evaluationResults_ = value;
+ onChanged();
+ } else {
+ toolNameMatchResultsBuilder_.setMessage(value);
+ }
+ evaluationResultsCase_ = 19;
+ return this;
+ }
+ /**
+ *
+ *
+ * + * Results for tool name match metric. + *+ * + *
.google.cloud.aiplatform.v1beta1.ToolNameMatchResults tool_name_match_results = 19;
+ *
+ */
+ public Builder setToolNameMatchResults(
+ com.google.cloud.aiplatform.v1beta1.ToolNameMatchResults.Builder builderForValue) {
+ if (toolNameMatchResultsBuilder_ == null) {
+ evaluationResults_ = builderForValue.build();
+ onChanged();
+ } else {
+ toolNameMatchResultsBuilder_.setMessage(builderForValue.build());
+ }
+ evaluationResultsCase_ = 19;
+ return this;
+ }
+ /**
+ *
+ *
+ * + * Results for tool name match metric. + *+ * + *
.google.cloud.aiplatform.v1beta1.ToolNameMatchResults tool_name_match_results = 19;
+ *
+ */
+ public Builder mergeToolNameMatchResults(
+ com.google.cloud.aiplatform.v1beta1.ToolNameMatchResults value) {
+ if (toolNameMatchResultsBuilder_ == null) {
+ if (evaluationResultsCase_ == 19
+ && evaluationResults_
+ != com.google.cloud.aiplatform.v1beta1.ToolNameMatchResults.getDefaultInstance()) {
+ evaluationResults_ =
+ com.google.cloud.aiplatform.v1beta1.ToolNameMatchResults.newBuilder(
+ (com.google.cloud.aiplatform.v1beta1.ToolNameMatchResults) evaluationResults_)
+ .mergeFrom(value)
+ .buildPartial();
+ } else {
+ evaluationResults_ = value;
+ }
+ onChanged();
+ } else {
+ if (evaluationResultsCase_ == 19) {
+ toolNameMatchResultsBuilder_.mergeFrom(value);
+ } else {
+ toolNameMatchResultsBuilder_.setMessage(value);
+ }
+ }
+ evaluationResultsCase_ = 19;
+ return this;
+ }
+ /**
+ *
+ *
+ * + * Results for tool name match metric. + *+ * + *
.google.cloud.aiplatform.v1beta1.ToolNameMatchResults tool_name_match_results = 19;
+ *
+ */
+ public Builder clearToolNameMatchResults() {
+ if (toolNameMatchResultsBuilder_ == null) {
+ if (evaluationResultsCase_ == 19) {
+ evaluationResultsCase_ = 0;
+ evaluationResults_ = null;
+ onChanged();
+ }
+ } else {
+ if (evaluationResultsCase_ == 19) {
+ evaluationResultsCase_ = 0;
+ evaluationResults_ = null;
+ }
+ toolNameMatchResultsBuilder_.clear();
+ }
+ return this;
+ }
+ /**
+ *
+ *
+ * + * Results for tool name match metric. + *+ * + *
.google.cloud.aiplatform.v1beta1.ToolNameMatchResults tool_name_match_results = 19;
+ *
+ */
+ public com.google.cloud.aiplatform.v1beta1.ToolNameMatchResults.Builder
+ getToolNameMatchResultsBuilder() {
+ return getToolNameMatchResultsFieldBuilder().getBuilder();
+ }
+ /**
+ *
+ *
+ * + * Results for tool name match metric. + *+ * + *
.google.cloud.aiplatform.v1beta1.ToolNameMatchResults tool_name_match_results = 19;
+ *
+ */
+ @java.lang.Override
+ public com.google.cloud.aiplatform.v1beta1.ToolNameMatchResultsOrBuilder
+ getToolNameMatchResultsOrBuilder() {
+ if ((evaluationResultsCase_ == 19) && (toolNameMatchResultsBuilder_ != null)) {
+ return toolNameMatchResultsBuilder_.getMessageOrBuilder();
+ } else {
+ if (evaluationResultsCase_ == 19) {
+ return (com.google.cloud.aiplatform.v1beta1.ToolNameMatchResults) evaluationResults_;
+ }
+ return com.google.cloud.aiplatform.v1beta1.ToolNameMatchResults.getDefaultInstance();
+ }
+ }
+ /**
+ *
+ *
+ * + * Results for tool name match metric. + *+ * + *
.google.cloud.aiplatform.v1beta1.ToolNameMatchResults tool_name_match_results = 19;
+ *
+ */
+ private com.google.protobuf.SingleFieldBuilderV3<
+ com.google.cloud.aiplatform.v1beta1.ToolNameMatchResults,
+ com.google.cloud.aiplatform.v1beta1.ToolNameMatchResults.Builder,
+ com.google.cloud.aiplatform.v1beta1.ToolNameMatchResultsOrBuilder>
+ getToolNameMatchResultsFieldBuilder() {
+ if (toolNameMatchResultsBuilder_ == null) {
+ if (!(evaluationResultsCase_ == 19)) {
+ evaluationResults_ =
+ com.google.cloud.aiplatform.v1beta1.ToolNameMatchResults.getDefaultInstance();
+ }
+ toolNameMatchResultsBuilder_ =
+ new com.google.protobuf.SingleFieldBuilderV3<
+ com.google.cloud.aiplatform.v1beta1.ToolNameMatchResults,
+ com.google.cloud.aiplatform.v1beta1.ToolNameMatchResults.Builder,
+ com.google.cloud.aiplatform.v1beta1.ToolNameMatchResultsOrBuilder>(
+ (com.google.cloud.aiplatform.v1beta1.ToolNameMatchResults) evaluationResults_,
+ getParentForChildren(),
+ isClean());
+ evaluationResults_ = null;
+ }
+ evaluationResultsCase_ = 19;
+ onChanged();
+ return toolNameMatchResultsBuilder_;
+ }
+
+ private com.google.protobuf.SingleFieldBuilderV3<
+ com.google.cloud.aiplatform.v1beta1.ToolParameterKeyMatchResults,
+ com.google.cloud.aiplatform.v1beta1.ToolParameterKeyMatchResults.Builder,
+ com.google.cloud.aiplatform.v1beta1.ToolParameterKeyMatchResultsOrBuilder>
+ toolParameterKeyMatchResultsBuilder_;
+ /**
+ *
+ *
+ * + * Results for tool parameter key match metric. + *+ * + *
+ * .google.cloud.aiplatform.v1beta1.ToolParameterKeyMatchResults tool_parameter_key_match_results = 20;
+ *
+ *
+ * @return Whether the toolParameterKeyMatchResults field is set.
+ */
+ @java.lang.Override
+ public boolean hasToolParameterKeyMatchResults() {
+ return evaluationResultsCase_ == 20;
+ }
+ /**
+ *
+ *
+ * + * Results for tool parameter key match metric. + *+ * + *
+ * .google.cloud.aiplatform.v1beta1.ToolParameterKeyMatchResults tool_parameter_key_match_results = 20;
+ *
+ *
+ * @return The toolParameterKeyMatchResults.
+ */
+ @java.lang.Override
+ public com.google.cloud.aiplatform.v1beta1.ToolParameterKeyMatchResults
+ getToolParameterKeyMatchResults() {
+ if (toolParameterKeyMatchResultsBuilder_ == null) {
+ if (evaluationResultsCase_ == 20) {
+ return (com.google.cloud.aiplatform.v1beta1.ToolParameterKeyMatchResults)
+ evaluationResults_;
+ }
+ return com.google.cloud.aiplatform.v1beta1.ToolParameterKeyMatchResults
+ .getDefaultInstance();
+ } else {
+ if (evaluationResultsCase_ == 20) {
+ return toolParameterKeyMatchResultsBuilder_.getMessage();
+ }
+ return com.google.cloud.aiplatform.v1beta1.ToolParameterKeyMatchResults
+ .getDefaultInstance();
+ }
+ }
+ /**
+ *
+ *
+ * + * Results for tool parameter key match metric. + *+ * + *
+ * .google.cloud.aiplatform.v1beta1.ToolParameterKeyMatchResults tool_parameter_key_match_results = 20;
+ *
+ */
+ public Builder setToolParameterKeyMatchResults(
+ com.google.cloud.aiplatform.v1beta1.ToolParameterKeyMatchResults value) {
+ if (toolParameterKeyMatchResultsBuilder_ == null) {
+ if (value == null) {
+ throw new NullPointerException();
+ }
+ evaluationResults_ = value;
+ onChanged();
+ } else {
+ toolParameterKeyMatchResultsBuilder_.setMessage(value);
+ }
+ evaluationResultsCase_ = 20;
+ return this;
+ }
+ /**
+ *
+ *
+ * + * Results for tool parameter key match metric. + *+ * + *
+ * .google.cloud.aiplatform.v1beta1.ToolParameterKeyMatchResults tool_parameter_key_match_results = 20;
+ *
+ */
+ public Builder setToolParameterKeyMatchResults(
+ com.google.cloud.aiplatform.v1beta1.ToolParameterKeyMatchResults.Builder builderForValue) {
+ if (toolParameterKeyMatchResultsBuilder_ == null) {
+ evaluationResults_ = builderForValue.build();
+ onChanged();
+ } else {
+ toolParameterKeyMatchResultsBuilder_.setMessage(builderForValue.build());
+ }
+ evaluationResultsCase_ = 20;
+ return this;
+ }
+ /**
+ *
+ *
+ * + * Results for tool parameter key match metric. + *+ * + *
+ * .google.cloud.aiplatform.v1beta1.ToolParameterKeyMatchResults tool_parameter_key_match_results = 20;
+ *
+ */
+ public Builder mergeToolParameterKeyMatchResults(
+ com.google.cloud.aiplatform.v1beta1.ToolParameterKeyMatchResults value) {
+ if (toolParameterKeyMatchResultsBuilder_ == null) {
+ if (evaluationResultsCase_ == 20
+ && evaluationResults_
+ != com.google.cloud.aiplatform.v1beta1.ToolParameterKeyMatchResults
+ .getDefaultInstance()) {
+ evaluationResults_ =
+ com.google.cloud.aiplatform.v1beta1.ToolParameterKeyMatchResults.newBuilder(
+ (com.google.cloud.aiplatform.v1beta1.ToolParameterKeyMatchResults)
+ evaluationResults_)
+ .mergeFrom(value)
+ .buildPartial();
+ } else {
+ evaluationResults_ = value;
+ }
+ onChanged();
+ } else {
+ if (evaluationResultsCase_ == 20) {
+ toolParameterKeyMatchResultsBuilder_.mergeFrom(value);
+ } else {
+ toolParameterKeyMatchResultsBuilder_.setMessage(value);
+ }
+ }
+ evaluationResultsCase_ = 20;
+ return this;
+ }
+ /**
+ *
+ *
+ * + * Results for tool parameter key match metric. + *+ * + *
+ * .google.cloud.aiplatform.v1beta1.ToolParameterKeyMatchResults tool_parameter_key_match_results = 20;
+ *
+ */
+ public Builder clearToolParameterKeyMatchResults() {
+ if (toolParameterKeyMatchResultsBuilder_ == null) {
+ if (evaluationResultsCase_ == 20) {
+ evaluationResultsCase_ = 0;
+ evaluationResults_ = null;
+ onChanged();
+ }
+ } else {
+ if (evaluationResultsCase_ == 20) {
+ evaluationResultsCase_ = 0;
+ evaluationResults_ = null;
+ }
+ toolParameterKeyMatchResultsBuilder_.clear();
+ }
+ return this;
+ }
+ /**
+ *
+ *
+ * + * Results for tool parameter key match metric. + *+ * + *
+ * .google.cloud.aiplatform.v1beta1.ToolParameterKeyMatchResults tool_parameter_key_match_results = 20;
+ *
+ */
+ public com.google.cloud.aiplatform.v1beta1.ToolParameterKeyMatchResults.Builder
+ getToolParameterKeyMatchResultsBuilder() {
+ return getToolParameterKeyMatchResultsFieldBuilder().getBuilder();
+ }
+ /**
+ *
+ *
+ * + * Results for tool parameter key match metric. + *+ * + *
+ * .google.cloud.aiplatform.v1beta1.ToolParameterKeyMatchResults tool_parameter_key_match_results = 20;
+ *
+ */
+ @java.lang.Override
+ public com.google.cloud.aiplatform.v1beta1.ToolParameterKeyMatchResultsOrBuilder
+ getToolParameterKeyMatchResultsOrBuilder() {
+ if ((evaluationResultsCase_ == 20) && (toolParameterKeyMatchResultsBuilder_ != null)) {
+ return toolParameterKeyMatchResultsBuilder_.getMessageOrBuilder();
+ } else {
+ if (evaluationResultsCase_ == 20) {
+ return (com.google.cloud.aiplatform.v1beta1.ToolParameterKeyMatchResults)
+ evaluationResults_;
+ }
+ return com.google.cloud.aiplatform.v1beta1.ToolParameterKeyMatchResults
+ .getDefaultInstance();
+ }
+ }
+ /**
+ *
+ *
+ * + * Results for tool parameter key match metric. + *+ * + *
+ * .google.cloud.aiplatform.v1beta1.ToolParameterKeyMatchResults tool_parameter_key_match_results = 20;
+ *
+ */
+ private com.google.protobuf.SingleFieldBuilderV3<
+ com.google.cloud.aiplatform.v1beta1.ToolParameterKeyMatchResults,
+ com.google.cloud.aiplatform.v1beta1.ToolParameterKeyMatchResults.Builder,
+ com.google.cloud.aiplatform.v1beta1.ToolParameterKeyMatchResultsOrBuilder>
+ getToolParameterKeyMatchResultsFieldBuilder() {
+ if (toolParameterKeyMatchResultsBuilder_ == null) {
+ if (!(evaluationResultsCase_ == 20)) {
+ evaluationResults_ =
+ com.google.cloud.aiplatform.v1beta1.ToolParameterKeyMatchResults.getDefaultInstance();
+ }
+ toolParameterKeyMatchResultsBuilder_ =
+ new com.google.protobuf.SingleFieldBuilderV3<
+ com.google.cloud.aiplatform.v1beta1.ToolParameterKeyMatchResults,
+ com.google.cloud.aiplatform.v1beta1.ToolParameterKeyMatchResults.Builder,
+ com.google.cloud.aiplatform.v1beta1.ToolParameterKeyMatchResultsOrBuilder>(
+ (com.google.cloud.aiplatform.v1beta1.ToolParameterKeyMatchResults)
+ evaluationResults_,
+ getParentForChildren(),
+ isClean());
+ evaluationResults_ = null;
+ }
+ evaluationResultsCase_ = 20;
+ onChanged();
+ return toolParameterKeyMatchResultsBuilder_;
+ }
+
+ private com.google.protobuf.SingleFieldBuilderV3<
+ com.google.cloud.aiplatform.v1beta1.ToolParameterKVMatchResults,
+ com.google.cloud.aiplatform.v1beta1.ToolParameterKVMatchResults.Builder,
+ com.google.cloud.aiplatform.v1beta1.ToolParameterKVMatchResultsOrBuilder>
+ toolParameterKvMatchResultsBuilder_;
+ /**
+ *
+ *
+ * + * Results for tool parameter key value match metric. ** *
- * .google.cloud.aiplatform.v1beta1.QuestionAnsweringCorrectnessResult question_answering_correctness_result = 17;
+ * .google.cloud.aiplatform.v1beta1.ToolParameterKVMatchResults tool_parameter_kv_match_results = 21;
*
*
- * @return Whether the questionAnsweringCorrectnessResult field is set.
+ * @return Whether the toolParameterKvMatchResults field is set.
*/
@java.lang.Override
- public boolean hasQuestionAnsweringCorrectnessResult() {
- return evaluationResultsCase_ == 17;
+ public boolean hasToolParameterKvMatchResults() {
+ return evaluationResultsCase_ == 21;
}
/**
*
*
* - * Result for question answering correctness metric. + * Results for tool parameter key value match metric. ** *
- * .google.cloud.aiplatform.v1beta1.QuestionAnsweringCorrectnessResult question_answering_correctness_result = 17;
+ * .google.cloud.aiplatform.v1beta1.ToolParameterKVMatchResults tool_parameter_kv_match_results = 21;
*
*
- * @return The questionAnsweringCorrectnessResult.
+ * @return The toolParameterKvMatchResults.
*/
@java.lang.Override
- public com.google.cloud.aiplatform.v1beta1.QuestionAnsweringCorrectnessResult
- getQuestionAnsweringCorrectnessResult() {
- if (questionAnsweringCorrectnessResultBuilder_ == null) {
- if (evaluationResultsCase_ == 17) {
- return (com.google.cloud.aiplatform.v1beta1.QuestionAnsweringCorrectnessResult)
+ public com.google.cloud.aiplatform.v1beta1.ToolParameterKVMatchResults
+ getToolParameterKvMatchResults() {
+ if (toolParameterKvMatchResultsBuilder_ == null) {
+ if (evaluationResultsCase_ == 21) {
+ return (com.google.cloud.aiplatform.v1beta1.ToolParameterKVMatchResults)
evaluationResults_;
}
- return com.google.cloud.aiplatform.v1beta1.QuestionAnsweringCorrectnessResult
- .getDefaultInstance();
+ return com.google.cloud.aiplatform.v1beta1.ToolParameterKVMatchResults.getDefaultInstance();
} else {
- if (evaluationResultsCase_ == 17) {
- return questionAnsweringCorrectnessResultBuilder_.getMessage();
+ if (evaluationResultsCase_ == 21) {
+ return toolParameterKvMatchResultsBuilder_.getMessage();
}
- return com.google.cloud.aiplatform.v1beta1.QuestionAnsweringCorrectnessResult
- .getDefaultInstance();
+ return com.google.cloud.aiplatform.v1beta1.ToolParameterKVMatchResults.getDefaultInstance();
}
}
/**
*
*
* - * Result for question answering correctness metric. + * Results for tool parameter key value match metric. ** *
- * .google.cloud.aiplatform.v1beta1.QuestionAnsweringCorrectnessResult question_answering_correctness_result = 17;
+ * .google.cloud.aiplatform.v1beta1.ToolParameterKVMatchResults tool_parameter_kv_match_results = 21;
*
*/
- public Builder setQuestionAnsweringCorrectnessResult(
- com.google.cloud.aiplatform.v1beta1.QuestionAnsweringCorrectnessResult value) {
- if (questionAnsweringCorrectnessResultBuilder_ == null) {
+ public Builder setToolParameterKvMatchResults(
+ com.google.cloud.aiplatform.v1beta1.ToolParameterKVMatchResults value) {
+ if (toolParameterKvMatchResultsBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
evaluationResults_ = value;
onChanged();
} else {
- questionAnsweringCorrectnessResultBuilder_.setMessage(value);
+ toolParameterKvMatchResultsBuilder_.setMessage(value);
}
- evaluationResultsCase_ = 17;
+ evaluationResultsCase_ = 21;
return this;
}
/**
*
*
* - * Result for question answering correctness metric. + * Results for tool parameter key value match metric. ** *
- * .google.cloud.aiplatform.v1beta1.QuestionAnsweringCorrectnessResult question_answering_correctness_result = 17;
+ * .google.cloud.aiplatform.v1beta1.ToolParameterKVMatchResults tool_parameter_kv_match_results = 21;
*
*/
- public Builder setQuestionAnsweringCorrectnessResult(
- com.google.cloud.aiplatform.v1beta1.QuestionAnsweringCorrectnessResult.Builder
- builderForValue) {
- if (questionAnsweringCorrectnessResultBuilder_ == null) {
+ public Builder setToolParameterKvMatchResults(
+ com.google.cloud.aiplatform.v1beta1.ToolParameterKVMatchResults.Builder builderForValue) {
+ if (toolParameterKvMatchResultsBuilder_ == null) {
evaluationResults_ = builderForValue.build();
onChanged();
} else {
- questionAnsweringCorrectnessResultBuilder_.setMessage(builderForValue.build());
+ toolParameterKvMatchResultsBuilder_.setMessage(builderForValue.build());
}
- evaluationResultsCase_ = 17;
+ evaluationResultsCase_ = 21;
return this;
}
/**
*
*
* - * Result for question answering correctness metric. + * Results for tool parameter key value match metric. ** *
- * .google.cloud.aiplatform.v1beta1.QuestionAnsweringCorrectnessResult question_answering_correctness_result = 17;
+ * .google.cloud.aiplatform.v1beta1.ToolParameterKVMatchResults tool_parameter_kv_match_results = 21;
*
*/
- public Builder mergeQuestionAnsweringCorrectnessResult(
- com.google.cloud.aiplatform.v1beta1.QuestionAnsweringCorrectnessResult value) {
- if (questionAnsweringCorrectnessResultBuilder_ == null) {
- if (evaluationResultsCase_ == 17
+ public Builder mergeToolParameterKvMatchResults(
+ com.google.cloud.aiplatform.v1beta1.ToolParameterKVMatchResults value) {
+ if (toolParameterKvMatchResultsBuilder_ == null) {
+ if (evaluationResultsCase_ == 21
&& evaluationResults_
- != com.google.cloud.aiplatform.v1beta1.QuestionAnsweringCorrectnessResult
+ != com.google.cloud.aiplatform.v1beta1.ToolParameterKVMatchResults
.getDefaultInstance()) {
evaluationResults_ =
- com.google.cloud.aiplatform.v1beta1.QuestionAnsweringCorrectnessResult.newBuilder(
- (com.google.cloud.aiplatform.v1beta1.QuestionAnsweringCorrectnessResult)
+ com.google.cloud.aiplatform.v1beta1.ToolParameterKVMatchResults.newBuilder(
+ (com.google.cloud.aiplatform.v1beta1.ToolParameterKVMatchResults)
evaluationResults_)
.mergeFrom(value)
.buildPartial();
@@ -6504,39 +8496,39 @@ public Builder mergeQuestionAnsweringCorrectnessResult(
}
onChanged();
} else {
- if (evaluationResultsCase_ == 17) {
- questionAnsweringCorrectnessResultBuilder_.mergeFrom(value);
+ if (evaluationResultsCase_ == 21) {
+ toolParameterKvMatchResultsBuilder_.mergeFrom(value);
} else {
- questionAnsweringCorrectnessResultBuilder_.setMessage(value);
+ toolParameterKvMatchResultsBuilder_.setMessage(value);
}
}
- evaluationResultsCase_ = 17;
+ evaluationResultsCase_ = 21;
return this;
}
/**
*
*
* - * Result for question answering correctness metric. + * Results for tool parameter key value match metric. ** *
- * .google.cloud.aiplatform.v1beta1.QuestionAnsweringCorrectnessResult question_answering_correctness_result = 17;
+ * .google.cloud.aiplatform.v1beta1.ToolParameterKVMatchResults tool_parameter_kv_match_results = 21;
*
*/
- public Builder clearQuestionAnsweringCorrectnessResult() {
- if (questionAnsweringCorrectnessResultBuilder_ == null) {
- if (evaluationResultsCase_ == 17) {
+ public Builder clearToolParameterKvMatchResults() {
+ if (toolParameterKvMatchResultsBuilder_ == null) {
+ if (evaluationResultsCase_ == 21) {
evaluationResultsCase_ = 0;
evaluationResults_ = null;
onChanged();
}
} else {
- if (evaluationResultsCase_ == 17) {
+ if (evaluationResultsCase_ == 21) {
evaluationResultsCase_ = 0;
evaluationResults_ = null;
}
- questionAnsweringCorrectnessResultBuilder_.clear();
+ toolParameterKvMatchResultsBuilder_.clear();
}
return this;
}
@@ -6544,196 +8536,197 @@ public Builder clearQuestionAnsweringCorrectnessResult() {
*
*
* - * Result for question answering correctness metric. + * Results for tool parameter key value match metric. ** *
- * .google.cloud.aiplatform.v1beta1.QuestionAnsweringCorrectnessResult question_answering_correctness_result = 17;
+ * .google.cloud.aiplatform.v1beta1.ToolParameterKVMatchResults tool_parameter_kv_match_results = 21;
*
*/
- public com.google.cloud.aiplatform.v1beta1.QuestionAnsweringCorrectnessResult.Builder
- getQuestionAnsweringCorrectnessResultBuilder() {
- return getQuestionAnsweringCorrectnessResultFieldBuilder().getBuilder();
+ public com.google.cloud.aiplatform.v1beta1.ToolParameterKVMatchResults.Builder
+ getToolParameterKvMatchResultsBuilder() {
+ return getToolParameterKvMatchResultsFieldBuilder().getBuilder();
}
/**
*
*
* - * Result for question answering correctness metric. + * Results for tool parameter key value match metric. ** *
- * .google.cloud.aiplatform.v1beta1.QuestionAnsweringCorrectnessResult question_answering_correctness_result = 17;
+ * .google.cloud.aiplatform.v1beta1.ToolParameterKVMatchResults tool_parameter_kv_match_results = 21;
*
*/
@java.lang.Override
- public com.google.cloud.aiplatform.v1beta1.QuestionAnsweringCorrectnessResultOrBuilder
- getQuestionAnsweringCorrectnessResultOrBuilder() {
- if ((evaluationResultsCase_ == 17) && (questionAnsweringCorrectnessResultBuilder_ != null)) {
- return questionAnsweringCorrectnessResultBuilder_.getMessageOrBuilder();
+ public com.google.cloud.aiplatform.v1beta1.ToolParameterKVMatchResultsOrBuilder
+ getToolParameterKvMatchResultsOrBuilder() {
+ if ((evaluationResultsCase_ == 21) && (toolParameterKvMatchResultsBuilder_ != null)) {
+ return toolParameterKvMatchResultsBuilder_.getMessageOrBuilder();
} else {
- if (evaluationResultsCase_ == 17) {
- return (com.google.cloud.aiplatform.v1beta1.QuestionAnsweringCorrectnessResult)
+ if (evaluationResultsCase_ == 21) {
+ return (com.google.cloud.aiplatform.v1beta1.ToolParameterKVMatchResults)
evaluationResults_;
}
- return com.google.cloud.aiplatform.v1beta1.QuestionAnsweringCorrectnessResult
- .getDefaultInstance();
+ return com.google.cloud.aiplatform.v1beta1.ToolParameterKVMatchResults.getDefaultInstance();
}
}
/**
*
*
* - * Result for question answering correctness metric. + * Results for tool parameter key value match metric. ** *
- * .google.cloud.aiplatform.v1beta1.QuestionAnsweringCorrectnessResult question_answering_correctness_result = 17;
+ * .google.cloud.aiplatform.v1beta1.ToolParameterKVMatchResults tool_parameter_kv_match_results = 21;
*
*/
private com.google.protobuf.SingleFieldBuilderV3<
- com.google.cloud.aiplatform.v1beta1.QuestionAnsweringCorrectnessResult,
- com.google.cloud.aiplatform.v1beta1.QuestionAnsweringCorrectnessResult.Builder,
- com.google.cloud.aiplatform.v1beta1.QuestionAnsweringCorrectnessResultOrBuilder>
- getQuestionAnsweringCorrectnessResultFieldBuilder() {
- if (questionAnsweringCorrectnessResultBuilder_ == null) {
- if (!(evaluationResultsCase_ == 17)) {
+ com.google.cloud.aiplatform.v1beta1.ToolParameterKVMatchResults,
+ com.google.cloud.aiplatform.v1beta1.ToolParameterKVMatchResults.Builder,
+ com.google.cloud.aiplatform.v1beta1.ToolParameterKVMatchResultsOrBuilder>
+ getToolParameterKvMatchResultsFieldBuilder() {
+ if (toolParameterKvMatchResultsBuilder_ == null) {
+ if (!(evaluationResultsCase_ == 21)) {
evaluationResults_ =
- com.google.cloud.aiplatform.v1beta1.QuestionAnsweringCorrectnessResult
- .getDefaultInstance();
+ com.google.cloud.aiplatform.v1beta1.ToolParameterKVMatchResults.getDefaultInstance();
}
- questionAnsweringCorrectnessResultBuilder_ =
+ toolParameterKvMatchResultsBuilder_ =
new com.google.protobuf.SingleFieldBuilderV3<
- com.google.cloud.aiplatform.v1beta1.QuestionAnsweringCorrectnessResult,
- com.google.cloud.aiplatform.v1beta1.QuestionAnsweringCorrectnessResult.Builder,
- com.google.cloud.aiplatform.v1beta1.QuestionAnsweringCorrectnessResultOrBuilder>(
- (com.google.cloud.aiplatform.v1beta1.QuestionAnsweringCorrectnessResult)
+ com.google.cloud.aiplatform.v1beta1.ToolParameterKVMatchResults,
+ com.google.cloud.aiplatform.v1beta1.ToolParameterKVMatchResults.Builder,
+ com.google.cloud.aiplatform.v1beta1.ToolParameterKVMatchResultsOrBuilder>(
+ (com.google.cloud.aiplatform.v1beta1.ToolParameterKVMatchResults)
evaluationResults_,
getParentForChildren(),
isClean());
evaluationResults_ = null;
}
- evaluationResultsCase_ = 17;
+ evaluationResultsCase_ = 21;
onChanged();
- return questionAnsweringCorrectnessResultBuilder_;
+ return toolParameterKvMatchResultsBuilder_;
}
private com.google.protobuf.SingleFieldBuilderV3<
- com.google.cloud.aiplatform.v1beta1.PointwiseMetricResult,
- com.google.cloud.aiplatform.v1beta1.PointwiseMetricResult.Builder,
- com.google.cloud.aiplatform.v1beta1.PointwiseMetricResultOrBuilder>
- pointwiseMetricResultBuilder_;
+ com.google.cloud.aiplatform.v1beta1.TrajectoryExactMatchResults,
+ com.google.cloud.aiplatform.v1beta1.TrajectoryExactMatchResults.Builder,
+ com.google.cloud.aiplatform.v1beta1.TrajectoryExactMatchResultsOrBuilder>
+ trajectoryExactMatchResultsBuilder_;
/**
*
*
* - * Generic metrics. - * Result for pointwise metric. + * Result for trajectory exact match metric. ** - *
.google.cloud.aiplatform.v1beta1.PointwiseMetricResult pointwise_metric_result = 27;
+ *
+ * .google.cloud.aiplatform.v1beta1.TrajectoryExactMatchResults trajectory_exact_match_results = 31;
*
*
- * @return Whether the pointwiseMetricResult field is set.
+ * @return Whether the trajectoryExactMatchResults field is set.
*/
@java.lang.Override
- public boolean hasPointwiseMetricResult() {
- return evaluationResultsCase_ == 27;
+ public boolean hasTrajectoryExactMatchResults() {
+ return evaluationResultsCase_ == 31;
}
/**
*
*
*
- * Generic metrics.
- * Result for pointwise metric.
+ * Result for trajectory exact match metric.
*
*
- * .google.cloud.aiplatform.v1beta1.PointwiseMetricResult pointwise_metric_result = 27;
+ *
+ * .google.cloud.aiplatform.v1beta1.TrajectoryExactMatchResults trajectory_exact_match_results = 31;
*
*
- * @return The pointwiseMetricResult.
+ * @return The trajectoryExactMatchResults.
*/
@java.lang.Override
- public com.google.cloud.aiplatform.v1beta1.PointwiseMetricResult getPointwiseMetricResult() {
- if (pointwiseMetricResultBuilder_ == null) {
- if (evaluationResultsCase_ == 27) {
- return (com.google.cloud.aiplatform.v1beta1.PointwiseMetricResult) evaluationResults_;
+ public com.google.cloud.aiplatform.v1beta1.TrajectoryExactMatchResults
+ getTrajectoryExactMatchResults() {
+ if (trajectoryExactMatchResultsBuilder_ == null) {
+ if (evaluationResultsCase_ == 31) {
+ return (com.google.cloud.aiplatform.v1beta1.TrajectoryExactMatchResults)
+ evaluationResults_;
}
- return com.google.cloud.aiplatform.v1beta1.PointwiseMetricResult.getDefaultInstance();
+ return com.google.cloud.aiplatform.v1beta1.TrajectoryExactMatchResults.getDefaultInstance();
} else {
- if (evaluationResultsCase_ == 27) {
- return pointwiseMetricResultBuilder_.getMessage();
+ if (evaluationResultsCase_ == 31) {
+ return trajectoryExactMatchResultsBuilder_.getMessage();
}
- return com.google.cloud.aiplatform.v1beta1.PointwiseMetricResult.getDefaultInstance();
+ return com.google.cloud.aiplatform.v1beta1.TrajectoryExactMatchResults.getDefaultInstance();
}
}
/**
*
*
*
- * Generic metrics.
- * Result for pointwise metric.
+ * Result for trajectory exact match metric.
*
*
- * .google.cloud.aiplatform.v1beta1.PointwiseMetricResult pointwise_metric_result = 27;
+ *
+ * .google.cloud.aiplatform.v1beta1.TrajectoryExactMatchResults trajectory_exact_match_results = 31;
*
*/
- public Builder setPointwiseMetricResult(
- com.google.cloud.aiplatform.v1beta1.PointwiseMetricResult value) {
- if (pointwiseMetricResultBuilder_ == null) {
+ public Builder setTrajectoryExactMatchResults(
+ com.google.cloud.aiplatform.v1beta1.TrajectoryExactMatchResults value) {
+ if (trajectoryExactMatchResultsBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
evaluationResults_ = value;
onChanged();
} else {
- pointwiseMetricResultBuilder_.setMessage(value);
+ trajectoryExactMatchResultsBuilder_.setMessage(value);
}
- evaluationResultsCase_ = 27;
+ evaluationResultsCase_ = 31;
return this;
}
/**
*
*
*
- * Generic metrics.
- * Result for pointwise metric.
+ * Result for trajectory exact match metric.
*
*
- * .google.cloud.aiplatform.v1beta1.PointwiseMetricResult pointwise_metric_result = 27;
+ *
+ * .google.cloud.aiplatform.v1beta1.TrajectoryExactMatchResults trajectory_exact_match_results = 31;
*
*/
- public Builder setPointwiseMetricResult(
- com.google.cloud.aiplatform.v1beta1.PointwiseMetricResult.Builder builderForValue) {
- if (pointwiseMetricResultBuilder_ == null) {
+ public Builder setTrajectoryExactMatchResults(
+ com.google.cloud.aiplatform.v1beta1.TrajectoryExactMatchResults.Builder builderForValue) {
+ if (trajectoryExactMatchResultsBuilder_ == null) {
evaluationResults_ = builderForValue.build();
onChanged();
} else {
- pointwiseMetricResultBuilder_.setMessage(builderForValue.build());
+ trajectoryExactMatchResultsBuilder_.setMessage(builderForValue.build());
}
- evaluationResultsCase_ = 27;
+ evaluationResultsCase_ = 31;
return this;
}
/**
*
*
*
- * Generic metrics.
- * Result for pointwise metric.
+ * Result for trajectory exact match metric.
*
*
- * .google.cloud.aiplatform.v1beta1.PointwiseMetricResult pointwise_metric_result = 27;
+ *
+ * .google.cloud.aiplatform.v1beta1.TrajectoryExactMatchResults trajectory_exact_match_results = 31;
*
*/
- public Builder mergePointwiseMetricResult(
- com.google.cloud.aiplatform.v1beta1.PointwiseMetricResult value) {
- if (pointwiseMetricResultBuilder_ == null) {
- if (evaluationResultsCase_ == 27
+ public Builder mergeTrajectoryExactMatchResults(
+ com.google.cloud.aiplatform.v1beta1.TrajectoryExactMatchResults value) {
+ if (trajectoryExactMatchResultsBuilder_ == null) {
+ if (evaluationResultsCase_ == 31
&& evaluationResults_
- != com.google.cloud.aiplatform.v1beta1.PointwiseMetricResult.getDefaultInstance()) {
+ != com.google.cloud.aiplatform.v1beta1.TrajectoryExactMatchResults
+ .getDefaultInstance()) {
evaluationResults_ =
- com.google.cloud.aiplatform.v1beta1.PointwiseMetricResult.newBuilder(
- (com.google.cloud.aiplatform.v1beta1.PointwiseMetricResult)
+ com.google.cloud.aiplatform.v1beta1.TrajectoryExactMatchResults.newBuilder(
+ (com.google.cloud.aiplatform.v1beta1.TrajectoryExactMatchResults)
evaluationResults_)
.mergeFrom(value)
.buildPartial();
@@ -6742,39 +8735,39 @@ public Builder mergePointwiseMetricResult(
}
onChanged();
} else {
- if (evaluationResultsCase_ == 27) {
- pointwiseMetricResultBuilder_.mergeFrom(value);
+ if (evaluationResultsCase_ == 31) {
+ trajectoryExactMatchResultsBuilder_.mergeFrom(value);
} else {
- pointwiseMetricResultBuilder_.setMessage(value);
+ trajectoryExactMatchResultsBuilder_.setMessage(value);
}
}
- evaluationResultsCase_ = 27;
+ evaluationResultsCase_ = 31;
return this;
}
/**
*
*
*
- * Generic metrics.
- * Result for pointwise metric.
+ * Result for trajectory exact match metric.
*
*
- * .google.cloud.aiplatform.v1beta1.PointwiseMetricResult pointwise_metric_result = 27;
+ *
+ * .google.cloud.aiplatform.v1beta1.TrajectoryExactMatchResults trajectory_exact_match_results = 31;
*
*/
- public Builder clearPointwiseMetricResult() {
- if (pointwiseMetricResultBuilder_ == null) {
- if (evaluationResultsCase_ == 27) {
+ public Builder clearTrajectoryExactMatchResults() {
+ if (trajectoryExactMatchResultsBuilder_ == null) {
+ if (evaluationResultsCase_ == 31) {
evaluationResultsCase_ = 0;
evaluationResults_ = null;
onChanged();
}
} else {
- if (evaluationResultsCase_ == 27) {
+ if (evaluationResultsCase_ == 31) {
evaluationResultsCase_ = 0;
evaluationResults_ = null;
}
- pointwiseMetricResultBuilder_.clear();
+ trajectoryExactMatchResultsBuilder_.clear();
}
return this;
}
@@ -6782,187 +8775,200 @@ public Builder clearPointwiseMetricResult() {
*
*
*
- * Generic metrics.
- * Result for pointwise metric.
+ * Result for trajectory exact match metric.
*
*
- * .google.cloud.aiplatform.v1beta1.PointwiseMetricResult pointwise_metric_result = 27;
+ *
+ * .google.cloud.aiplatform.v1beta1.TrajectoryExactMatchResults trajectory_exact_match_results = 31;
*
*/
- public com.google.cloud.aiplatform.v1beta1.PointwiseMetricResult.Builder
- getPointwiseMetricResultBuilder() {
- return getPointwiseMetricResultFieldBuilder().getBuilder();
+ public com.google.cloud.aiplatform.v1beta1.TrajectoryExactMatchResults.Builder
+ getTrajectoryExactMatchResultsBuilder() {
+ return getTrajectoryExactMatchResultsFieldBuilder().getBuilder();
}
/**
*
*
*
- * Generic metrics.
- * Result for pointwise metric.
+ * Result for trajectory exact match metric.
*
*
- * .google.cloud.aiplatform.v1beta1.PointwiseMetricResult pointwise_metric_result = 27;
+ *
+ * .google.cloud.aiplatform.v1beta1.TrajectoryExactMatchResults trajectory_exact_match_results = 31;
*
*/
@java.lang.Override
- public com.google.cloud.aiplatform.v1beta1.PointwiseMetricResultOrBuilder
- getPointwiseMetricResultOrBuilder() {
- if ((evaluationResultsCase_ == 27) && (pointwiseMetricResultBuilder_ != null)) {
- return pointwiseMetricResultBuilder_.getMessageOrBuilder();
+ public com.google.cloud.aiplatform.v1beta1.TrajectoryExactMatchResultsOrBuilder
+ getTrajectoryExactMatchResultsOrBuilder() {
+ if ((evaluationResultsCase_ == 31) && (trajectoryExactMatchResultsBuilder_ != null)) {
+ return trajectoryExactMatchResultsBuilder_.getMessageOrBuilder();
} else {
- if (evaluationResultsCase_ == 27) {
- return (com.google.cloud.aiplatform.v1beta1.PointwiseMetricResult) evaluationResults_;
+ if (evaluationResultsCase_ == 31) {
+ return (com.google.cloud.aiplatform.v1beta1.TrajectoryExactMatchResults)
+ evaluationResults_;
}
- return com.google.cloud.aiplatform.v1beta1.PointwiseMetricResult.getDefaultInstance();
+ return com.google.cloud.aiplatform.v1beta1.TrajectoryExactMatchResults.getDefaultInstance();
}
}
/**
*
*
*
- * Generic metrics.
- * Result for pointwise metric.
+ * Result for trajectory exact match metric.
*
*
- * .google.cloud.aiplatform.v1beta1.PointwiseMetricResult pointwise_metric_result = 27;
+ *
+ * .google.cloud.aiplatform.v1beta1.TrajectoryExactMatchResults trajectory_exact_match_results = 31;
*
*/
private com.google.protobuf.SingleFieldBuilderV3<
- com.google.cloud.aiplatform.v1beta1.PointwiseMetricResult,
- com.google.cloud.aiplatform.v1beta1.PointwiseMetricResult.Builder,
- com.google.cloud.aiplatform.v1beta1.PointwiseMetricResultOrBuilder>
- getPointwiseMetricResultFieldBuilder() {
- if (pointwiseMetricResultBuilder_ == null) {
- if (!(evaluationResultsCase_ == 27)) {
+ com.google.cloud.aiplatform.v1beta1.TrajectoryExactMatchResults,
+ com.google.cloud.aiplatform.v1beta1.TrajectoryExactMatchResults.Builder,
+ com.google.cloud.aiplatform.v1beta1.TrajectoryExactMatchResultsOrBuilder>
+ getTrajectoryExactMatchResultsFieldBuilder() {
+ if (trajectoryExactMatchResultsBuilder_ == null) {
+ if (!(evaluationResultsCase_ == 31)) {
evaluationResults_ =
- com.google.cloud.aiplatform.v1beta1.PointwiseMetricResult.getDefaultInstance();
+ com.google.cloud.aiplatform.v1beta1.TrajectoryExactMatchResults.getDefaultInstance();
}
- pointwiseMetricResultBuilder_ =
+ trajectoryExactMatchResultsBuilder_ =
new com.google.protobuf.SingleFieldBuilderV3<
- com.google.cloud.aiplatform.v1beta1.PointwiseMetricResult,
- com.google.cloud.aiplatform.v1beta1.PointwiseMetricResult.Builder,
- com.google.cloud.aiplatform.v1beta1.PointwiseMetricResultOrBuilder>(
- (com.google.cloud.aiplatform.v1beta1.PointwiseMetricResult) evaluationResults_,
+ com.google.cloud.aiplatform.v1beta1.TrajectoryExactMatchResults,
+ com.google.cloud.aiplatform.v1beta1.TrajectoryExactMatchResults.Builder,
+ com.google.cloud.aiplatform.v1beta1.TrajectoryExactMatchResultsOrBuilder>(
+ (com.google.cloud.aiplatform.v1beta1.TrajectoryExactMatchResults)
+ evaluationResults_,
getParentForChildren(),
isClean());
evaluationResults_ = null;
}
- evaluationResultsCase_ = 27;
+ evaluationResultsCase_ = 31;
onChanged();
- return pointwiseMetricResultBuilder_;
+ return trajectoryExactMatchResultsBuilder_;
}
private com.google.protobuf.SingleFieldBuilderV3<
- com.google.cloud.aiplatform.v1beta1.PairwiseMetricResult,
- com.google.cloud.aiplatform.v1beta1.PairwiseMetricResult.Builder,
- com.google.cloud.aiplatform.v1beta1.PairwiseMetricResultOrBuilder>
- pairwiseMetricResultBuilder_;
+ com.google.cloud.aiplatform.v1beta1.TrajectoryInOrderMatchResults,
+ com.google.cloud.aiplatform.v1beta1.TrajectoryInOrderMatchResults.Builder,
+ com.google.cloud.aiplatform.v1beta1.TrajectoryInOrderMatchResultsOrBuilder>
+ trajectoryInOrderMatchResultsBuilder_;
/**
*
*
*
- * Result for pairwise metric.
+ * Result for trajectory in order match metric.
*
*
- * .google.cloud.aiplatform.v1beta1.PairwiseMetricResult pairwise_metric_result = 28;
+ *
+ * .google.cloud.aiplatform.v1beta1.TrajectoryInOrderMatchResults trajectory_in_order_match_results = 32;
*
*
- * @return Whether the pairwiseMetricResult field is set.
+ * @return Whether the trajectoryInOrderMatchResults field is set.
*/
@java.lang.Override
- public boolean hasPairwiseMetricResult() {
- return evaluationResultsCase_ == 28;
+ public boolean hasTrajectoryInOrderMatchResults() {
+ return evaluationResultsCase_ == 32;
}
/**
*
*
*
- * Result for pairwise metric.
+ * Result for trajectory in order match metric.
*
*
- * .google.cloud.aiplatform.v1beta1.PairwiseMetricResult pairwise_metric_result = 28;
+ *
+ * .google.cloud.aiplatform.v1beta1.TrajectoryInOrderMatchResults trajectory_in_order_match_results = 32;
*
*
- * @return The pairwiseMetricResult.
+ * @return The trajectoryInOrderMatchResults.
*/
@java.lang.Override
- public com.google.cloud.aiplatform.v1beta1.PairwiseMetricResult getPairwiseMetricResult() {
- if (pairwiseMetricResultBuilder_ == null) {
- if (evaluationResultsCase_ == 28) {
- return (com.google.cloud.aiplatform.v1beta1.PairwiseMetricResult) evaluationResults_;
+ public com.google.cloud.aiplatform.v1beta1.TrajectoryInOrderMatchResults
+ getTrajectoryInOrderMatchResults() {
+ if (trajectoryInOrderMatchResultsBuilder_ == null) {
+ if (evaluationResultsCase_ == 32) {
+ return (com.google.cloud.aiplatform.v1beta1.TrajectoryInOrderMatchResults)
+ evaluationResults_;
}
- return com.google.cloud.aiplatform.v1beta1.PairwiseMetricResult.getDefaultInstance();
+ return com.google.cloud.aiplatform.v1beta1.TrajectoryInOrderMatchResults
+ .getDefaultInstance();
} else {
- if (evaluationResultsCase_ == 28) {
- return pairwiseMetricResultBuilder_.getMessage();
+ if (evaluationResultsCase_ == 32) {
+ return trajectoryInOrderMatchResultsBuilder_.getMessage();
}
- return com.google.cloud.aiplatform.v1beta1.PairwiseMetricResult.getDefaultInstance();
+ return com.google.cloud.aiplatform.v1beta1.TrajectoryInOrderMatchResults
+ .getDefaultInstance();
}
}
/**
*
*
*
- * Result for pairwise metric.
+ * Result for trajectory in order match metric.
*
*
- * .google.cloud.aiplatform.v1beta1.PairwiseMetricResult pairwise_metric_result = 28;
+ *
+ * .google.cloud.aiplatform.v1beta1.TrajectoryInOrderMatchResults trajectory_in_order_match_results = 32;
*
*/
- public Builder setPairwiseMetricResult(
- com.google.cloud.aiplatform.v1beta1.PairwiseMetricResult value) {
- if (pairwiseMetricResultBuilder_ == null) {
+ public Builder setTrajectoryInOrderMatchResults(
+ com.google.cloud.aiplatform.v1beta1.TrajectoryInOrderMatchResults value) {
+ if (trajectoryInOrderMatchResultsBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
evaluationResults_ = value;
onChanged();
} else {
- pairwiseMetricResultBuilder_.setMessage(value);
+ trajectoryInOrderMatchResultsBuilder_.setMessage(value);
}
- evaluationResultsCase_ = 28;
+ evaluationResultsCase_ = 32;
return this;
}
/**
*
*
*
- * Result for pairwise metric.
+ * Result for trajectory in order match metric.
*
*
- * .google.cloud.aiplatform.v1beta1.PairwiseMetricResult pairwise_metric_result = 28;
+ *
+ * .google.cloud.aiplatform.v1beta1.TrajectoryInOrderMatchResults trajectory_in_order_match_results = 32;
*
*/
- public Builder setPairwiseMetricResult(
- com.google.cloud.aiplatform.v1beta1.PairwiseMetricResult.Builder builderForValue) {
- if (pairwiseMetricResultBuilder_ == null) {
+ public Builder setTrajectoryInOrderMatchResults(
+ com.google.cloud.aiplatform.v1beta1.TrajectoryInOrderMatchResults.Builder builderForValue) {
+ if (trajectoryInOrderMatchResultsBuilder_ == null) {
evaluationResults_ = builderForValue.build();
onChanged();
} else {
- pairwiseMetricResultBuilder_.setMessage(builderForValue.build());
+ trajectoryInOrderMatchResultsBuilder_.setMessage(builderForValue.build());
}
- evaluationResultsCase_ = 28;
+ evaluationResultsCase_ = 32;
return this;
}
/**
*
*
*
- * Result for pairwise metric.
+ * Result for trajectory in order match metric.
*
*
- * .google.cloud.aiplatform.v1beta1.PairwiseMetricResult pairwise_metric_result = 28;
+ *
+ * .google.cloud.aiplatform.v1beta1.TrajectoryInOrderMatchResults trajectory_in_order_match_results = 32;
*
*/
- public Builder mergePairwiseMetricResult(
- com.google.cloud.aiplatform.v1beta1.PairwiseMetricResult value) {
- if (pairwiseMetricResultBuilder_ == null) {
- if (evaluationResultsCase_ == 28
+ public Builder mergeTrajectoryInOrderMatchResults(
+ com.google.cloud.aiplatform.v1beta1.TrajectoryInOrderMatchResults value) {
+ if (trajectoryInOrderMatchResultsBuilder_ == null) {
+ if (evaluationResultsCase_ == 32
&& evaluationResults_
- != com.google.cloud.aiplatform.v1beta1.PairwiseMetricResult.getDefaultInstance()) {
+ != com.google.cloud.aiplatform.v1beta1.TrajectoryInOrderMatchResults
+ .getDefaultInstance()) {
evaluationResults_ =
- com.google.cloud.aiplatform.v1beta1.PairwiseMetricResult.newBuilder(
- (com.google.cloud.aiplatform.v1beta1.PairwiseMetricResult) evaluationResults_)
+ com.google.cloud.aiplatform.v1beta1.TrajectoryInOrderMatchResults.newBuilder(
+ (com.google.cloud.aiplatform.v1beta1.TrajectoryInOrderMatchResults)
+ evaluationResults_)
.mergeFrom(value)
.buildPartial();
} else {
@@ -6970,38 +8976,39 @@ public Builder mergePairwiseMetricResult(
}
onChanged();
} else {
- if (evaluationResultsCase_ == 28) {
- pairwiseMetricResultBuilder_.mergeFrom(value);
+ if (evaluationResultsCase_ == 32) {
+ trajectoryInOrderMatchResultsBuilder_.mergeFrom(value);
} else {
- pairwiseMetricResultBuilder_.setMessage(value);
+ trajectoryInOrderMatchResultsBuilder_.setMessage(value);
}
}
- evaluationResultsCase_ = 28;
+ evaluationResultsCase_ = 32;
return this;
}
/**
*
*
*
- * Result for pairwise metric.
+ * Result for trajectory in order match metric.
*
*
- * .google.cloud.aiplatform.v1beta1.PairwiseMetricResult pairwise_metric_result = 28;
+ *
+ * .google.cloud.aiplatform.v1beta1.TrajectoryInOrderMatchResults trajectory_in_order_match_results = 32;
*
*/
- public Builder clearPairwiseMetricResult() {
- if (pairwiseMetricResultBuilder_ == null) {
- if (evaluationResultsCase_ == 28) {
+ public Builder clearTrajectoryInOrderMatchResults() {
+ if (trajectoryInOrderMatchResultsBuilder_ == null) {
+ if (evaluationResultsCase_ == 32) {
evaluationResultsCase_ = 0;
evaluationResults_ = null;
onChanged();
}
} else {
- if (evaluationResultsCase_ == 28) {
+ if (evaluationResultsCase_ == 32) {
evaluationResultsCase_ = 0;
evaluationResults_ = null;
}
- pairwiseMetricResultBuilder_.clear();
+ trajectoryInOrderMatchResultsBuilder_.clear();
}
return this;
}
@@ -7009,189 +9016,203 @@ public Builder clearPairwiseMetricResult() {
*
*
*
- * Result for pairwise metric.
+ * Result for trajectory in order match metric.
*
*
- * .google.cloud.aiplatform.v1beta1.PairwiseMetricResult pairwise_metric_result = 28;
+ *
+ * .google.cloud.aiplatform.v1beta1.TrajectoryInOrderMatchResults trajectory_in_order_match_results = 32;
*
*/
- public com.google.cloud.aiplatform.v1beta1.PairwiseMetricResult.Builder
- getPairwiseMetricResultBuilder() {
- return getPairwiseMetricResultFieldBuilder().getBuilder();
+ public com.google.cloud.aiplatform.v1beta1.TrajectoryInOrderMatchResults.Builder
+ getTrajectoryInOrderMatchResultsBuilder() {
+ return getTrajectoryInOrderMatchResultsFieldBuilder().getBuilder();
}
/**
*
*
*
- * Result for pairwise metric.
+ * Result for trajectory in order match metric.
*
*
- * .google.cloud.aiplatform.v1beta1.PairwiseMetricResult pairwise_metric_result = 28;
+ *
+ * .google.cloud.aiplatform.v1beta1.TrajectoryInOrderMatchResults trajectory_in_order_match_results = 32;
*
*/
@java.lang.Override
- public com.google.cloud.aiplatform.v1beta1.PairwiseMetricResultOrBuilder
- getPairwiseMetricResultOrBuilder() {
- if ((evaluationResultsCase_ == 28) && (pairwiseMetricResultBuilder_ != null)) {
- return pairwiseMetricResultBuilder_.getMessageOrBuilder();
+ public com.google.cloud.aiplatform.v1beta1.TrajectoryInOrderMatchResultsOrBuilder
+ getTrajectoryInOrderMatchResultsOrBuilder() {
+ if ((evaluationResultsCase_ == 32) && (trajectoryInOrderMatchResultsBuilder_ != null)) {
+ return trajectoryInOrderMatchResultsBuilder_.getMessageOrBuilder();
} else {
- if (evaluationResultsCase_ == 28) {
- return (com.google.cloud.aiplatform.v1beta1.PairwiseMetricResult) evaluationResults_;
+ if (evaluationResultsCase_ == 32) {
+ return (com.google.cloud.aiplatform.v1beta1.TrajectoryInOrderMatchResults)
+ evaluationResults_;
}
- return com.google.cloud.aiplatform.v1beta1.PairwiseMetricResult.getDefaultInstance();
+ return com.google.cloud.aiplatform.v1beta1.TrajectoryInOrderMatchResults
+ .getDefaultInstance();
}
}
/**
*
*
*
- * Result for pairwise metric.
+ * Result for trajectory in order match metric.
*
*
- * .google.cloud.aiplatform.v1beta1.PairwiseMetricResult pairwise_metric_result = 28;
+ *
+ * .google.cloud.aiplatform.v1beta1.TrajectoryInOrderMatchResults trajectory_in_order_match_results = 32;
*
*/
private com.google.protobuf.SingleFieldBuilderV3<
- com.google.cloud.aiplatform.v1beta1.PairwiseMetricResult,
- com.google.cloud.aiplatform.v1beta1.PairwiseMetricResult.Builder,
- com.google.cloud.aiplatform.v1beta1.PairwiseMetricResultOrBuilder>
- getPairwiseMetricResultFieldBuilder() {
- if (pairwiseMetricResultBuilder_ == null) {
- if (!(evaluationResultsCase_ == 28)) {
+ com.google.cloud.aiplatform.v1beta1.TrajectoryInOrderMatchResults,
+ com.google.cloud.aiplatform.v1beta1.TrajectoryInOrderMatchResults.Builder,
+ com.google.cloud.aiplatform.v1beta1.TrajectoryInOrderMatchResultsOrBuilder>
+ getTrajectoryInOrderMatchResultsFieldBuilder() {
+ if (trajectoryInOrderMatchResultsBuilder_ == null) {
+ if (!(evaluationResultsCase_ == 32)) {
evaluationResults_ =
- com.google.cloud.aiplatform.v1beta1.PairwiseMetricResult.getDefaultInstance();
+ com.google.cloud.aiplatform.v1beta1.TrajectoryInOrderMatchResults
+ .getDefaultInstance();
}
- pairwiseMetricResultBuilder_ =
+ trajectoryInOrderMatchResultsBuilder_ =
new com.google.protobuf.SingleFieldBuilderV3<
- com.google.cloud.aiplatform.v1beta1.PairwiseMetricResult,
- com.google.cloud.aiplatform.v1beta1.PairwiseMetricResult.Builder,
- com.google.cloud.aiplatform.v1beta1.PairwiseMetricResultOrBuilder>(
- (com.google.cloud.aiplatform.v1beta1.PairwiseMetricResult) evaluationResults_,
+ com.google.cloud.aiplatform.v1beta1.TrajectoryInOrderMatchResults,
+ com.google.cloud.aiplatform.v1beta1.TrajectoryInOrderMatchResults.Builder,
+ com.google.cloud.aiplatform.v1beta1.TrajectoryInOrderMatchResultsOrBuilder>(
+ (com.google.cloud.aiplatform.v1beta1.TrajectoryInOrderMatchResults)
+ evaluationResults_,
getParentForChildren(),
isClean());
evaluationResults_ = null;
}
- evaluationResultsCase_ = 28;
+ evaluationResultsCase_ = 32;
onChanged();
- return pairwiseMetricResultBuilder_;
+ return trajectoryInOrderMatchResultsBuilder_;
}
private com.google.protobuf.SingleFieldBuilderV3<
- com.google.cloud.aiplatform.v1beta1.ToolCallValidResults,
- com.google.cloud.aiplatform.v1beta1.ToolCallValidResults.Builder,
- com.google.cloud.aiplatform.v1beta1.ToolCallValidResultsOrBuilder>
- toolCallValidResultsBuilder_;
+ com.google.cloud.aiplatform.v1beta1.TrajectoryAnyOrderMatchResults,
+ com.google.cloud.aiplatform.v1beta1.TrajectoryAnyOrderMatchResults.Builder,
+ com.google.cloud.aiplatform.v1beta1.TrajectoryAnyOrderMatchResultsOrBuilder>
+ trajectoryAnyOrderMatchResultsBuilder_;
/**
*
*
*
- * Tool call metrics.
- * Results for tool call valid metric.
+ * Result for trajectory any order match metric.
*
*
- * .google.cloud.aiplatform.v1beta1.ToolCallValidResults tool_call_valid_results = 18;
+ *
+ * .google.cloud.aiplatform.v1beta1.TrajectoryAnyOrderMatchResults trajectory_any_order_match_results = 33;
*
*
- * @return Whether the toolCallValidResults field is set.
+ * @return Whether the trajectoryAnyOrderMatchResults field is set.
*/
@java.lang.Override
- public boolean hasToolCallValidResults() {
- return evaluationResultsCase_ == 18;
+ public boolean hasTrajectoryAnyOrderMatchResults() {
+ return evaluationResultsCase_ == 33;
}
/**
*
*
*
- * Tool call metrics.
- * Results for tool call valid metric.
+ * Result for trajectory any order match metric.
*
*
- * .google.cloud.aiplatform.v1beta1.ToolCallValidResults tool_call_valid_results = 18;
+ *
+ * .google.cloud.aiplatform.v1beta1.TrajectoryAnyOrderMatchResults trajectory_any_order_match_results = 33;
*
*
- * @return The toolCallValidResults.
+ * @return The trajectoryAnyOrderMatchResults.
*/
@java.lang.Override
- public com.google.cloud.aiplatform.v1beta1.ToolCallValidResults getToolCallValidResults() {
- if (toolCallValidResultsBuilder_ == null) {
- if (evaluationResultsCase_ == 18) {
- return (com.google.cloud.aiplatform.v1beta1.ToolCallValidResults) evaluationResults_;
+ public com.google.cloud.aiplatform.v1beta1.TrajectoryAnyOrderMatchResults
+ getTrajectoryAnyOrderMatchResults() {
+ if (trajectoryAnyOrderMatchResultsBuilder_ == null) {
+ if (evaluationResultsCase_ == 33) {
+ return (com.google.cloud.aiplatform.v1beta1.TrajectoryAnyOrderMatchResults)
+ evaluationResults_;
}
- return com.google.cloud.aiplatform.v1beta1.ToolCallValidResults.getDefaultInstance();
+ return com.google.cloud.aiplatform.v1beta1.TrajectoryAnyOrderMatchResults
+ .getDefaultInstance();
} else {
- if (evaluationResultsCase_ == 18) {
- return toolCallValidResultsBuilder_.getMessage();
+ if (evaluationResultsCase_ == 33) {
+ return trajectoryAnyOrderMatchResultsBuilder_.getMessage();
}
- return com.google.cloud.aiplatform.v1beta1.ToolCallValidResults.getDefaultInstance();
+ return com.google.cloud.aiplatform.v1beta1.TrajectoryAnyOrderMatchResults
+ .getDefaultInstance();
}
}
/**
*
*
*
- * Tool call metrics.
- * Results for tool call valid metric.
+ * Result for trajectory any order match metric.
*
*
- * .google.cloud.aiplatform.v1beta1.ToolCallValidResults tool_call_valid_results = 18;
+ *
+ * .google.cloud.aiplatform.v1beta1.TrajectoryAnyOrderMatchResults trajectory_any_order_match_results = 33;
*
*/
- public Builder setToolCallValidResults(
- com.google.cloud.aiplatform.v1beta1.ToolCallValidResults value) {
- if (toolCallValidResultsBuilder_ == null) {
+ public Builder setTrajectoryAnyOrderMatchResults(
+ com.google.cloud.aiplatform.v1beta1.TrajectoryAnyOrderMatchResults value) {
+ if (trajectoryAnyOrderMatchResultsBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
evaluationResults_ = value;
onChanged();
} else {
- toolCallValidResultsBuilder_.setMessage(value);
+ trajectoryAnyOrderMatchResultsBuilder_.setMessage(value);
}
- evaluationResultsCase_ = 18;
+ evaluationResultsCase_ = 33;
return this;
}
/**
*
*
*
- * Tool call metrics.
- * Results for tool call valid metric.
+ * Result for trajectory any order match metric.
*
*
- * .google.cloud.aiplatform.v1beta1.ToolCallValidResults tool_call_valid_results = 18;
+ *
+ * .google.cloud.aiplatform.v1beta1.TrajectoryAnyOrderMatchResults trajectory_any_order_match_results = 33;
*
*/
- public Builder setToolCallValidResults(
- com.google.cloud.aiplatform.v1beta1.ToolCallValidResults.Builder builderForValue) {
- if (toolCallValidResultsBuilder_ == null) {
+ public Builder setTrajectoryAnyOrderMatchResults(
+ com.google.cloud.aiplatform.v1beta1.TrajectoryAnyOrderMatchResults.Builder
+ builderForValue) {
+ if (trajectoryAnyOrderMatchResultsBuilder_ == null) {
evaluationResults_ = builderForValue.build();
onChanged();
} else {
- toolCallValidResultsBuilder_.setMessage(builderForValue.build());
+ trajectoryAnyOrderMatchResultsBuilder_.setMessage(builderForValue.build());
}
- evaluationResultsCase_ = 18;
+ evaluationResultsCase_ = 33;
return this;
}
/**
*
*
*
- * Tool call metrics.
- * Results for tool call valid metric.
+ * Result for trajectory any order match metric.
*
*
- * .google.cloud.aiplatform.v1beta1.ToolCallValidResults tool_call_valid_results = 18;
+ *
+ * .google.cloud.aiplatform.v1beta1.TrajectoryAnyOrderMatchResults trajectory_any_order_match_results = 33;
*
*/
- public Builder mergeToolCallValidResults(
- com.google.cloud.aiplatform.v1beta1.ToolCallValidResults value) {
- if (toolCallValidResultsBuilder_ == null) {
- if (evaluationResultsCase_ == 18
+ public Builder mergeTrajectoryAnyOrderMatchResults(
+ com.google.cloud.aiplatform.v1beta1.TrajectoryAnyOrderMatchResults value) {
+ if (trajectoryAnyOrderMatchResultsBuilder_ == null) {
+ if (evaluationResultsCase_ == 33
&& evaluationResults_
- != com.google.cloud.aiplatform.v1beta1.ToolCallValidResults.getDefaultInstance()) {
+ != com.google.cloud.aiplatform.v1beta1.TrajectoryAnyOrderMatchResults
+ .getDefaultInstance()) {
evaluationResults_ =
- com.google.cloud.aiplatform.v1beta1.ToolCallValidResults.newBuilder(
- (com.google.cloud.aiplatform.v1beta1.ToolCallValidResults) evaluationResults_)
+ com.google.cloud.aiplatform.v1beta1.TrajectoryAnyOrderMatchResults.newBuilder(
+ (com.google.cloud.aiplatform.v1beta1.TrajectoryAnyOrderMatchResults)
+ evaluationResults_)
.mergeFrom(value)
.buildPartial();
} else {
@@ -7199,39 +9220,39 @@ public Builder mergeToolCallValidResults(
}
onChanged();
} else {
- if (evaluationResultsCase_ == 18) {
- toolCallValidResultsBuilder_.mergeFrom(value);
+ if (evaluationResultsCase_ == 33) {
+ trajectoryAnyOrderMatchResultsBuilder_.mergeFrom(value);
} else {
- toolCallValidResultsBuilder_.setMessage(value);
+ trajectoryAnyOrderMatchResultsBuilder_.setMessage(value);
}
}
- evaluationResultsCase_ = 18;
+ evaluationResultsCase_ = 33;
return this;
}
/**
*
*
*
- * Tool call metrics.
- * Results for tool call valid metric.
+ * Result for trajectory any order match metric.
*
*
- * .google.cloud.aiplatform.v1beta1.ToolCallValidResults tool_call_valid_results = 18;
+ *
+ * .google.cloud.aiplatform.v1beta1.TrajectoryAnyOrderMatchResults trajectory_any_order_match_results = 33;
*
*/
- public Builder clearToolCallValidResults() {
- if (toolCallValidResultsBuilder_ == null) {
- if (evaluationResultsCase_ == 18) {
+ public Builder clearTrajectoryAnyOrderMatchResults() {
+ if (trajectoryAnyOrderMatchResultsBuilder_ == null) {
+ if (evaluationResultsCase_ == 33) {
evaluationResultsCase_ = 0;
evaluationResults_ = null;
onChanged();
}
} else {
- if (evaluationResultsCase_ == 18) {
+ if (evaluationResultsCase_ == 33) {
evaluationResultsCase_ = 0;
evaluationResults_ = null;
}
- toolCallValidResultsBuilder_.clear();
+ trajectoryAnyOrderMatchResultsBuilder_.clear();
}
return this;
}
@@ -7239,187 +9260,200 @@ public Builder clearToolCallValidResults() {
*
*
*
- * Tool call metrics.
- * Results for tool call valid metric.
+ * Result for trajectory any order match metric.
*
*
- * .google.cloud.aiplatform.v1beta1.ToolCallValidResults tool_call_valid_results = 18;
+ *
+ * .google.cloud.aiplatform.v1beta1.TrajectoryAnyOrderMatchResults trajectory_any_order_match_results = 33;
*
*/
- public com.google.cloud.aiplatform.v1beta1.ToolCallValidResults.Builder
- getToolCallValidResultsBuilder() {
- return getToolCallValidResultsFieldBuilder().getBuilder();
+ public com.google.cloud.aiplatform.v1beta1.TrajectoryAnyOrderMatchResults.Builder
+ getTrajectoryAnyOrderMatchResultsBuilder() {
+ return getTrajectoryAnyOrderMatchResultsFieldBuilder().getBuilder();
}
/**
*
*
*
- * Tool call metrics.
- * Results for tool call valid metric.
+ * Result for trajectory any order match metric.
*
*
- * .google.cloud.aiplatform.v1beta1.ToolCallValidResults tool_call_valid_results = 18;
+ *
+ * .google.cloud.aiplatform.v1beta1.TrajectoryAnyOrderMatchResults trajectory_any_order_match_results = 33;
*
*/
@java.lang.Override
- public com.google.cloud.aiplatform.v1beta1.ToolCallValidResultsOrBuilder
- getToolCallValidResultsOrBuilder() {
- if ((evaluationResultsCase_ == 18) && (toolCallValidResultsBuilder_ != null)) {
- return toolCallValidResultsBuilder_.getMessageOrBuilder();
+ public com.google.cloud.aiplatform.v1beta1.TrajectoryAnyOrderMatchResultsOrBuilder
+ getTrajectoryAnyOrderMatchResultsOrBuilder() {
+ if ((evaluationResultsCase_ == 33) && (trajectoryAnyOrderMatchResultsBuilder_ != null)) {
+ return trajectoryAnyOrderMatchResultsBuilder_.getMessageOrBuilder();
} else {
- if (evaluationResultsCase_ == 18) {
- return (com.google.cloud.aiplatform.v1beta1.ToolCallValidResults) evaluationResults_;
+ if (evaluationResultsCase_ == 33) {
+ return (com.google.cloud.aiplatform.v1beta1.TrajectoryAnyOrderMatchResults)
+ evaluationResults_;
}
- return com.google.cloud.aiplatform.v1beta1.ToolCallValidResults.getDefaultInstance();
+ return com.google.cloud.aiplatform.v1beta1.TrajectoryAnyOrderMatchResults
+ .getDefaultInstance();
}
}
/**
*
*
*
- * Tool call metrics.
- * Results for tool call valid metric.
+ * Result for trajectory any order match metric.
*
*
- * .google.cloud.aiplatform.v1beta1.ToolCallValidResults tool_call_valid_results = 18;
+ *
+ * .google.cloud.aiplatform.v1beta1.TrajectoryAnyOrderMatchResults trajectory_any_order_match_results = 33;
*
*/
private com.google.protobuf.SingleFieldBuilderV3<
- com.google.cloud.aiplatform.v1beta1.ToolCallValidResults,
- com.google.cloud.aiplatform.v1beta1.ToolCallValidResults.Builder,
- com.google.cloud.aiplatform.v1beta1.ToolCallValidResultsOrBuilder>
- getToolCallValidResultsFieldBuilder() {
- if (toolCallValidResultsBuilder_ == null) {
- if (!(evaluationResultsCase_ == 18)) {
+ com.google.cloud.aiplatform.v1beta1.TrajectoryAnyOrderMatchResults,
+ com.google.cloud.aiplatform.v1beta1.TrajectoryAnyOrderMatchResults.Builder,
+ com.google.cloud.aiplatform.v1beta1.TrajectoryAnyOrderMatchResultsOrBuilder>
+ getTrajectoryAnyOrderMatchResultsFieldBuilder() {
+ if (trajectoryAnyOrderMatchResultsBuilder_ == null) {
+ if (!(evaluationResultsCase_ == 33)) {
evaluationResults_ =
- com.google.cloud.aiplatform.v1beta1.ToolCallValidResults.getDefaultInstance();
+ com.google.cloud.aiplatform.v1beta1.TrajectoryAnyOrderMatchResults
+ .getDefaultInstance();
}
- toolCallValidResultsBuilder_ =
+ trajectoryAnyOrderMatchResultsBuilder_ =
new com.google.protobuf.SingleFieldBuilderV3<
- com.google.cloud.aiplatform.v1beta1.ToolCallValidResults,
- com.google.cloud.aiplatform.v1beta1.ToolCallValidResults.Builder,
- com.google.cloud.aiplatform.v1beta1.ToolCallValidResultsOrBuilder>(
- (com.google.cloud.aiplatform.v1beta1.ToolCallValidResults) evaluationResults_,
+ com.google.cloud.aiplatform.v1beta1.TrajectoryAnyOrderMatchResults,
+ com.google.cloud.aiplatform.v1beta1.TrajectoryAnyOrderMatchResults.Builder,
+ com.google.cloud.aiplatform.v1beta1.TrajectoryAnyOrderMatchResultsOrBuilder>(
+ (com.google.cloud.aiplatform.v1beta1.TrajectoryAnyOrderMatchResults)
+ evaluationResults_,
getParentForChildren(),
isClean());
evaluationResults_ = null;
}
- evaluationResultsCase_ = 18;
+ evaluationResultsCase_ = 33;
onChanged();
- return toolCallValidResultsBuilder_;
+ return trajectoryAnyOrderMatchResultsBuilder_;
}
private com.google.protobuf.SingleFieldBuilderV3<
- com.google.cloud.aiplatform.v1beta1.ToolNameMatchResults,
- com.google.cloud.aiplatform.v1beta1.ToolNameMatchResults.Builder,
- com.google.cloud.aiplatform.v1beta1.ToolNameMatchResultsOrBuilder>
- toolNameMatchResultsBuilder_;
+ com.google.cloud.aiplatform.v1beta1.TrajectoryPrecisionResults,
+ com.google.cloud.aiplatform.v1beta1.TrajectoryPrecisionResults.Builder,
+ com.google.cloud.aiplatform.v1beta1.TrajectoryPrecisionResultsOrBuilder>
+ trajectoryPrecisionResultsBuilder_;
/**
*
*
*
- * Results for tool name match metric.
+ * Result for trajectory precision metric.
*
*
- * .google.cloud.aiplatform.v1beta1.ToolNameMatchResults tool_name_match_results = 19;
+ *
+ * .google.cloud.aiplatform.v1beta1.TrajectoryPrecisionResults trajectory_precision_results = 35;
*
*
- * @return Whether the toolNameMatchResults field is set.
+ * @return Whether the trajectoryPrecisionResults field is set.
*/
@java.lang.Override
- public boolean hasToolNameMatchResults() {
- return evaluationResultsCase_ == 19;
+ public boolean hasTrajectoryPrecisionResults() {
+ return evaluationResultsCase_ == 35;
}
/**
*
*
*
- * Results for tool name match metric.
+ * Result for trajectory precision metric.
*
*
- * .google.cloud.aiplatform.v1beta1.ToolNameMatchResults tool_name_match_results = 19;
+ *
+ * .google.cloud.aiplatform.v1beta1.TrajectoryPrecisionResults trajectory_precision_results = 35;
*
*
- * @return The toolNameMatchResults.
+ * @return The trajectoryPrecisionResults.
*/
@java.lang.Override
- public com.google.cloud.aiplatform.v1beta1.ToolNameMatchResults getToolNameMatchResults() {
- if (toolNameMatchResultsBuilder_ == null) {
- if (evaluationResultsCase_ == 19) {
- return (com.google.cloud.aiplatform.v1beta1.ToolNameMatchResults) evaluationResults_;
+ public com.google.cloud.aiplatform.v1beta1.TrajectoryPrecisionResults
+ getTrajectoryPrecisionResults() {
+ if (trajectoryPrecisionResultsBuilder_ == null) {
+ if (evaluationResultsCase_ == 35) {
+ return (com.google.cloud.aiplatform.v1beta1.TrajectoryPrecisionResults)
+ evaluationResults_;
}
- return com.google.cloud.aiplatform.v1beta1.ToolNameMatchResults.getDefaultInstance();
+ return com.google.cloud.aiplatform.v1beta1.TrajectoryPrecisionResults.getDefaultInstance();
} else {
- if (evaluationResultsCase_ == 19) {
- return toolNameMatchResultsBuilder_.getMessage();
+ if (evaluationResultsCase_ == 35) {
+ return trajectoryPrecisionResultsBuilder_.getMessage();
}
- return com.google.cloud.aiplatform.v1beta1.ToolNameMatchResults.getDefaultInstance();
+ return com.google.cloud.aiplatform.v1beta1.TrajectoryPrecisionResults.getDefaultInstance();
}
}
/**
*
*
*
- * Results for tool name match metric.
+ * Result for trajectory precision metric.
*
*
- * .google.cloud.aiplatform.v1beta1.ToolNameMatchResults tool_name_match_results = 19;
+ *
+ * .google.cloud.aiplatform.v1beta1.TrajectoryPrecisionResults trajectory_precision_results = 35;
*
*/
- public Builder setToolNameMatchResults(
- com.google.cloud.aiplatform.v1beta1.ToolNameMatchResults value) {
- if (toolNameMatchResultsBuilder_ == null) {
+ public Builder setTrajectoryPrecisionResults(
+ com.google.cloud.aiplatform.v1beta1.TrajectoryPrecisionResults value) {
+ if (trajectoryPrecisionResultsBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
evaluationResults_ = value;
onChanged();
} else {
- toolNameMatchResultsBuilder_.setMessage(value);
+ trajectoryPrecisionResultsBuilder_.setMessage(value);
}
- evaluationResultsCase_ = 19;
+ evaluationResultsCase_ = 35;
return this;
}
/**
*
*
*
- * Results for tool name match metric.
+ * Result for trajectory precision metric.
*
*
- * .google.cloud.aiplatform.v1beta1.ToolNameMatchResults tool_name_match_results = 19;
+ *
+ * .google.cloud.aiplatform.v1beta1.TrajectoryPrecisionResults trajectory_precision_results = 35;
*
*/
- public Builder setToolNameMatchResults(
- com.google.cloud.aiplatform.v1beta1.ToolNameMatchResults.Builder builderForValue) {
- if (toolNameMatchResultsBuilder_ == null) {
+ public Builder setTrajectoryPrecisionResults(
+ com.google.cloud.aiplatform.v1beta1.TrajectoryPrecisionResults.Builder builderForValue) {
+ if (trajectoryPrecisionResultsBuilder_ == null) {
evaluationResults_ = builderForValue.build();
onChanged();
} else {
- toolNameMatchResultsBuilder_.setMessage(builderForValue.build());
+ trajectoryPrecisionResultsBuilder_.setMessage(builderForValue.build());
}
- evaluationResultsCase_ = 19;
+ evaluationResultsCase_ = 35;
return this;
}
/**
*
*
*
- * Results for tool name match metric.
+ * Result for trajectory precision metric.
*
*
- * .google.cloud.aiplatform.v1beta1.ToolNameMatchResults tool_name_match_results = 19;
+ *
+ * .google.cloud.aiplatform.v1beta1.TrajectoryPrecisionResults trajectory_precision_results = 35;
*
*/
- public Builder mergeToolNameMatchResults(
- com.google.cloud.aiplatform.v1beta1.ToolNameMatchResults value) {
- if (toolNameMatchResultsBuilder_ == null) {
- if (evaluationResultsCase_ == 19
+ public Builder mergeTrajectoryPrecisionResults(
+ com.google.cloud.aiplatform.v1beta1.TrajectoryPrecisionResults value) {
+ if (trajectoryPrecisionResultsBuilder_ == null) {
+ if (evaluationResultsCase_ == 35
&& evaluationResults_
- != com.google.cloud.aiplatform.v1beta1.ToolNameMatchResults.getDefaultInstance()) {
+ != com.google.cloud.aiplatform.v1beta1.TrajectoryPrecisionResults
+ .getDefaultInstance()) {
evaluationResults_ =
- com.google.cloud.aiplatform.v1beta1.ToolNameMatchResults.newBuilder(
- (com.google.cloud.aiplatform.v1beta1.ToolNameMatchResults) evaluationResults_)
+ com.google.cloud.aiplatform.v1beta1.TrajectoryPrecisionResults.newBuilder(
+ (com.google.cloud.aiplatform.v1beta1.TrajectoryPrecisionResults)
+ evaluationResults_)
.mergeFrom(value)
.buildPartial();
} else {
@@ -7427,38 +9461,39 @@ public Builder mergeToolNameMatchResults(
}
onChanged();
} else {
- if (evaluationResultsCase_ == 19) {
- toolNameMatchResultsBuilder_.mergeFrom(value);
+ if (evaluationResultsCase_ == 35) {
+ trajectoryPrecisionResultsBuilder_.mergeFrom(value);
} else {
- toolNameMatchResultsBuilder_.setMessage(value);
+ trajectoryPrecisionResultsBuilder_.setMessage(value);
}
}
- evaluationResultsCase_ = 19;
+ evaluationResultsCase_ = 35;
return this;
}
/**
*
*
*
- * Results for tool name match metric.
+ * Result for trajectory precision metric.
*
*
- * .google.cloud.aiplatform.v1beta1.ToolNameMatchResults tool_name_match_results = 19;
+ *
+ * .google.cloud.aiplatform.v1beta1.TrajectoryPrecisionResults trajectory_precision_results = 35;
*
*/
- public Builder clearToolNameMatchResults() {
- if (toolNameMatchResultsBuilder_ == null) {
- if (evaluationResultsCase_ == 19) {
+ public Builder clearTrajectoryPrecisionResults() {
+ if (trajectoryPrecisionResultsBuilder_ == null) {
+ if (evaluationResultsCase_ == 35) {
evaluationResultsCase_ = 0;
evaluationResults_ = null;
onChanged();
}
} else {
- if (evaluationResultsCase_ == 19) {
+ if (evaluationResultsCase_ == 35) {
evaluationResultsCase_ = 0;
evaluationResults_ = null;
}
- toolNameMatchResultsBuilder_.clear();
+ trajectoryPrecisionResultsBuilder_.clear();
}
return this;
}
@@ -7466,194 +9501,195 @@ public Builder clearToolNameMatchResults() {
*
*
*
- * Results for tool name match metric.
+ * Result for trajectory precision metric.
*
*
- * .google.cloud.aiplatform.v1beta1.ToolNameMatchResults tool_name_match_results = 19;
+ *
+ * .google.cloud.aiplatform.v1beta1.TrajectoryPrecisionResults trajectory_precision_results = 35;
*
*/
- public com.google.cloud.aiplatform.v1beta1.ToolNameMatchResults.Builder
- getToolNameMatchResultsBuilder() {
- return getToolNameMatchResultsFieldBuilder().getBuilder();
+ public com.google.cloud.aiplatform.v1beta1.TrajectoryPrecisionResults.Builder
+ getTrajectoryPrecisionResultsBuilder() {
+ return getTrajectoryPrecisionResultsFieldBuilder().getBuilder();
}
/**
*
*
*
- * Results for tool name match metric.
+ * Result for trajectory precision metric.
*
*
- * .google.cloud.aiplatform.v1beta1.ToolNameMatchResults tool_name_match_results = 19;
+ *
+ * .google.cloud.aiplatform.v1beta1.TrajectoryPrecisionResults trajectory_precision_results = 35;
*
*/
@java.lang.Override
- public com.google.cloud.aiplatform.v1beta1.ToolNameMatchResultsOrBuilder
- getToolNameMatchResultsOrBuilder() {
- if ((evaluationResultsCase_ == 19) && (toolNameMatchResultsBuilder_ != null)) {
- return toolNameMatchResultsBuilder_.getMessageOrBuilder();
+ public com.google.cloud.aiplatform.v1beta1.TrajectoryPrecisionResultsOrBuilder
+ getTrajectoryPrecisionResultsOrBuilder() {
+ if ((evaluationResultsCase_ == 35) && (trajectoryPrecisionResultsBuilder_ != null)) {
+ return trajectoryPrecisionResultsBuilder_.getMessageOrBuilder();
} else {
- if (evaluationResultsCase_ == 19) {
- return (com.google.cloud.aiplatform.v1beta1.ToolNameMatchResults) evaluationResults_;
+ if (evaluationResultsCase_ == 35) {
+ return (com.google.cloud.aiplatform.v1beta1.TrajectoryPrecisionResults)
+ evaluationResults_;
}
- return com.google.cloud.aiplatform.v1beta1.ToolNameMatchResults.getDefaultInstance();
+ return com.google.cloud.aiplatform.v1beta1.TrajectoryPrecisionResults.getDefaultInstance();
}
}
/**
*
*
*
- * Results for tool name match metric.
+ * Result for trajectory precision metric.
*
*
- * .google.cloud.aiplatform.v1beta1.ToolNameMatchResults tool_name_match_results = 19;
+ *
+ * .google.cloud.aiplatform.v1beta1.TrajectoryPrecisionResults trajectory_precision_results = 35;
*
*/
private com.google.protobuf.SingleFieldBuilderV3<
- com.google.cloud.aiplatform.v1beta1.ToolNameMatchResults,
- com.google.cloud.aiplatform.v1beta1.ToolNameMatchResults.Builder,
- com.google.cloud.aiplatform.v1beta1.ToolNameMatchResultsOrBuilder>
- getToolNameMatchResultsFieldBuilder() {
- if (toolNameMatchResultsBuilder_ == null) {
- if (!(evaluationResultsCase_ == 19)) {
+ com.google.cloud.aiplatform.v1beta1.TrajectoryPrecisionResults,
+ com.google.cloud.aiplatform.v1beta1.TrajectoryPrecisionResults.Builder,
+ com.google.cloud.aiplatform.v1beta1.TrajectoryPrecisionResultsOrBuilder>
+ getTrajectoryPrecisionResultsFieldBuilder() {
+ if (trajectoryPrecisionResultsBuilder_ == null) {
+ if (!(evaluationResultsCase_ == 35)) {
evaluationResults_ =
- com.google.cloud.aiplatform.v1beta1.ToolNameMatchResults.getDefaultInstance();
+ com.google.cloud.aiplatform.v1beta1.TrajectoryPrecisionResults.getDefaultInstance();
}
- toolNameMatchResultsBuilder_ =
+ trajectoryPrecisionResultsBuilder_ =
new com.google.protobuf.SingleFieldBuilderV3<
- com.google.cloud.aiplatform.v1beta1.ToolNameMatchResults,
- com.google.cloud.aiplatform.v1beta1.ToolNameMatchResults.Builder,
- com.google.cloud.aiplatform.v1beta1.ToolNameMatchResultsOrBuilder>(
- (com.google.cloud.aiplatform.v1beta1.ToolNameMatchResults) evaluationResults_,
+ com.google.cloud.aiplatform.v1beta1.TrajectoryPrecisionResults,
+ com.google.cloud.aiplatform.v1beta1.TrajectoryPrecisionResults.Builder,
+ com.google.cloud.aiplatform.v1beta1.TrajectoryPrecisionResultsOrBuilder>(
+ (com.google.cloud.aiplatform.v1beta1.TrajectoryPrecisionResults) evaluationResults_,
getParentForChildren(),
isClean());
evaluationResults_ = null;
}
- evaluationResultsCase_ = 19;
+ evaluationResultsCase_ = 35;
onChanged();
- return toolNameMatchResultsBuilder_;
+ return trajectoryPrecisionResultsBuilder_;
}
private com.google.protobuf.SingleFieldBuilderV3<
- com.google.cloud.aiplatform.v1beta1.ToolParameterKeyMatchResults,
- com.google.cloud.aiplatform.v1beta1.ToolParameterKeyMatchResults.Builder,
- com.google.cloud.aiplatform.v1beta1.ToolParameterKeyMatchResultsOrBuilder>
- toolParameterKeyMatchResultsBuilder_;
+ com.google.cloud.aiplatform.v1beta1.TrajectoryRecallResults,
+ com.google.cloud.aiplatform.v1beta1.TrajectoryRecallResults.Builder,
+ com.google.cloud.aiplatform.v1beta1.TrajectoryRecallResultsOrBuilder>
+ trajectoryRecallResultsBuilder_;
/**
*
*
*
- * Results for tool parameter key match metric.
+ * Results for trajectory recall metric.
*
*
*
- * .google.cloud.aiplatform.v1beta1.ToolParameterKeyMatchResults tool_parameter_key_match_results = 20;
+ * .google.cloud.aiplatform.v1beta1.TrajectoryRecallResults trajectory_recall_results = 36;
*
*
- * @return Whether the toolParameterKeyMatchResults field is set.
+ * @return Whether the trajectoryRecallResults field is set.
*/
@java.lang.Override
- public boolean hasToolParameterKeyMatchResults() {
- return evaluationResultsCase_ == 20;
+ public boolean hasTrajectoryRecallResults() {
+ return evaluationResultsCase_ == 36;
}
/**
*
*
*
- * Results for tool parameter key match metric.
+ * Results for trajectory recall metric.
*
*
*
- * .google.cloud.aiplatform.v1beta1.ToolParameterKeyMatchResults tool_parameter_key_match_results = 20;
+ * .google.cloud.aiplatform.v1beta1.TrajectoryRecallResults trajectory_recall_results = 36;
*
*
- * @return The toolParameterKeyMatchResults.
+ * @return The trajectoryRecallResults.
*/
@java.lang.Override
- public com.google.cloud.aiplatform.v1beta1.ToolParameterKeyMatchResults
- getToolParameterKeyMatchResults() {
- if (toolParameterKeyMatchResultsBuilder_ == null) {
- if (evaluationResultsCase_ == 20) {
- return (com.google.cloud.aiplatform.v1beta1.ToolParameterKeyMatchResults)
- evaluationResults_;
+ public com.google.cloud.aiplatform.v1beta1.TrajectoryRecallResults
+ getTrajectoryRecallResults() {
+ if (trajectoryRecallResultsBuilder_ == null) {
+ if (evaluationResultsCase_ == 36) {
+ return (com.google.cloud.aiplatform.v1beta1.TrajectoryRecallResults) evaluationResults_;
}
- return com.google.cloud.aiplatform.v1beta1.ToolParameterKeyMatchResults
- .getDefaultInstance();
+ return com.google.cloud.aiplatform.v1beta1.TrajectoryRecallResults.getDefaultInstance();
} else {
- if (evaluationResultsCase_ == 20) {
- return toolParameterKeyMatchResultsBuilder_.getMessage();
+ if (evaluationResultsCase_ == 36) {
+ return trajectoryRecallResultsBuilder_.getMessage();
}
- return com.google.cloud.aiplatform.v1beta1.ToolParameterKeyMatchResults
- .getDefaultInstance();
+ return com.google.cloud.aiplatform.v1beta1.TrajectoryRecallResults.getDefaultInstance();
}
}
/**
*
*
*
- * Results for tool parameter key match metric.
+ * Results for trajectory recall metric.
*
*
*
- * .google.cloud.aiplatform.v1beta1.ToolParameterKeyMatchResults tool_parameter_key_match_results = 20;
+ * .google.cloud.aiplatform.v1beta1.TrajectoryRecallResults trajectory_recall_results = 36;
*
*/
- public Builder setToolParameterKeyMatchResults(
- com.google.cloud.aiplatform.v1beta1.ToolParameterKeyMatchResults value) {
- if (toolParameterKeyMatchResultsBuilder_ == null) {
+ public Builder setTrajectoryRecallResults(
+ com.google.cloud.aiplatform.v1beta1.TrajectoryRecallResults value) {
+ if (trajectoryRecallResultsBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
evaluationResults_ = value;
onChanged();
} else {
- toolParameterKeyMatchResultsBuilder_.setMessage(value);
+ trajectoryRecallResultsBuilder_.setMessage(value);
}
- evaluationResultsCase_ = 20;
+ evaluationResultsCase_ = 36;
return this;
}
/**
*
*
*
- * Results for tool parameter key match metric.
+ * Results for trajectory recall metric.
*
*
*
- * .google.cloud.aiplatform.v1beta1.ToolParameterKeyMatchResults tool_parameter_key_match_results = 20;
+ * .google.cloud.aiplatform.v1beta1.TrajectoryRecallResults trajectory_recall_results = 36;
*
*/
- public Builder setToolParameterKeyMatchResults(
- com.google.cloud.aiplatform.v1beta1.ToolParameterKeyMatchResults.Builder builderForValue) {
- if (toolParameterKeyMatchResultsBuilder_ == null) {
+ public Builder setTrajectoryRecallResults(
+ com.google.cloud.aiplatform.v1beta1.TrajectoryRecallResults.Builder builderForValue) {
+ if (trajectoryRecallResultsBuilder_ == null) {
evaluationResults_ = builderForValue.build();
onChanged();
} else {
- toolParameterKeyMatchResultsBuilder_.setMessage(builderForValue.build());
+ trajectoryRecallResultsBuilder_.setMessage(builderForValue.build());
}
- evaluationResultsCase_ = 20;
+ evaluationResultsCase_ = 36;
return this;
}
/**
*
*
*
- * Results for tool parameter key match metric.
+ * Results for trajectory recall metric.
*
*
*
- * .google.cloud.aiplatform.v1beta1.ToolParameterKeyMatchResults tool_parameter_key_match_results = 20;
+ * .google.cloud.aiplatform.v1beta1.TrajectoryRecallResults trajectory_recall_results = 36;
*
*/
- public Builder mergeToolParameterKeyMatchResults(
- com.google.cloud.aiplatform.v1beta1.ToolParameterKeyMatchResults value) {
- if (toolParameterKeyMatchResultsBuilder_ == null) {
- if (evaluationResultsCase_ == 20
+ public Builder mergeTrajectoryRecallResults(
+ com.google.cloud.aiplatform.v1beta1.TrajectoryRecallResults value) {
+ if (trajectoryRecallResultsBuilder_ == null) {
+ if (evaluationResultsCase_ == 36
&& evaluationResults_
- != com.google.cloud.aiplatform.v1beta1.ToolParameterKeyMatchResults
+ != com.google.cloud.aiplatform.v1beta1.TrajectoryRecallResults
.getDefaultInstance()) {
evaluationResults_ =
- com.google.cloud.aiplatform.v1beta1.ToolParameterKeyMatchResults.newBuilder(
- (com.google.cloud.aiplatform.v1beta1.ToolParameterKeyMatchResults)
+ com.google.cloud.aiplatform.v1beta1.TrajectoryRecallResults.newBuilder(
+ (com.google.cloud.aiplatform.v1beta1.TrajectoryRecallResults)
evaluationResults_)
.mergeFrom(value)
.buildPartial();
@@ -7662,39 +9698,39 @@ public Builder mergeToolParameterKeyMatchResults(
}
onChanged();
} else {
- if (evaluationResultsCase_ == 20) {
- toolParameterKeyMatchResultsBuilder_.mergeFrom(value);
+ if (evaluationResultsCase_ == 36) {
+ trajectoryRecallResultsBuilder_.mergeFrom(value);
} else {
- toolParameterKeyMatchResultsBuilder_.setMessage(value);
+ trajectoryRecallResultsBuilder_.setMessage(value);
}
}
- evaluationResultsCase_ = 20;
+ evaluationResultsCase_ = 36;
return this;
}
/**
*
*
*
- * Results for tool parameter key match metric.
+ * Results for trajectory recall metric.
*
*
*
- * .google.cloud.aiplatform.v1beta1.ToolParameterKeyMatchResults tool_parameter_key_match_results = 20;
+ * .google.cloud.aiplatform.v1beta1.TrajectoryRecallResults trajectory_recall_results = 36;
*
*/
- public Builder clearToolParameterKeyMatchResults() {
- if (toolParameterKeyMatchResultsBuilder_ == null) {
- if (evaluationResultsCase_ == 20) {
+ public Builder clearTrajectoryRecallResults() {
+ if (trajectoryRecallResultsBuilder_ == null) {
+ if (evaluationResultsCase_ == 36) {
evaluationResultsCase_ = 0;
evaluationResults_ = null;
onChanged();
}
} else {
- if (evaluationResultsCase_ == 20) {
+ if (evaluationResultsCase_ == 36) {
evaluationResultsCase_ = 0;
evaluationResults_ = null;
}
- toolParameterKeyMatchResultsBuilder_.clear();
+ trajectoryRecallResultsBuilder_.clear();
}
return this;
}
@@ -7702,198 +9738,198 @@ public Builder clearToolParameterKeyMatchResults() {
*
*
*
- * Results for tool parameter key match metric.
+ * Results for trajectory recall metric.
*
*
*
- * .google.cloud.aiplatform.v1beta1.ToolParameterKeyMatchResults tool_parameter_key_match_results = 20;
+ * .google.cloud.aiplatform.v1beta1.TrajectoryRecallResults trajectory_recall_results = 36;
*
*/
- public com.google.cloud.aiplatform.v1beta1.ToolParameterKeyMatchResults.Builder
- getToolParameterKeyMatchResultsBuilder() {
- return getToolParameterKeyMatchResultsFieldBuilder().getBuilder();
+ public com.google.cloud.aiplatform.v1beta1.TrajectoryRecallResults.Builder
+ getTrajectoryRecallResultsBuilder() {
+ return getTrajectoryRecallResultsFieldBuilder().getBuilder();
}
/**
*
*
*
- * Results for tool parameter key match metric.
+ * Results for trajectory recall metric.
*
*
*
- * .google.cloud.aiplatform.v1beta1.ToolParameterKeyMatchResults tool_parameter_key_match_results = 20;
+ * .google.cloud.aiplatform.v1beta1.TrajectoryRecallResults trajectory_recall_results = 36;
*
*/
@java.lang.Override
- public com.google.cloud.aiplatform.v1beta1.ToolParameterKeyMatchResultsOrBuilder
- getToolParameterKeyMatchResultsOrBuilder() {
- if ((evaluationResultsCase_ == 20) && (toolParameterKeyMatchResultsBuilder_ != null)) {
- return toolParameterKeyMatchResultsBuilder_.getMessageOrBuilder();
+ public com.google.cloud.aiplatform.v1beta1.TrajectoryRecallResultsOrBuilder
+ getTrajectoryRecallResultsOrBuilder() {
+ if ((evaluationResultsCase_ == 36) && (trajectoryRecallResultsBuilder_ != null)) {
+ return trajectoryRecallResultsBuilder_.getMessageOrBuilder();
} else {
- if (evaluationResultsCase_ == 20) {
- return (com.google.cloud.aiplatform.v1beta1.ToolParameterKeyMatchResults)
- evaluationResults_;
+ if (evaluationResultsCase_ == 36) {
+ return (com.google.cloud.aiplatform.v1beta1.TrajectoryRecallResults) evaluationResults_;
}
- return com.google.cloud.aiplatform.v1beta1.ToolParameterKeyMatchResults
- .getDefaultInstance();
+ return com.google.cloud.aiplatform.v1beta1.TrajectoryRecallResults.getDefaultInstance();
}
}
/**
*
*
*
- * Results for tool parameter key match metric.
+ * Results for trajectory recall metric.
*
*
*
- * .google.cloud.aiplatform.v1beta1.ToolParameterKeyMatchResults tool_parameter_key_match_results = 20;
+ * .google.cloud.aiplatform.v1beta1.TrajectoryRecallResults trajectory_recall_results = 36;
*
*/
private com.google.protobuf.SingleFieldBuilderV3<
- com.google.cloud.aiplatform.v1beta1.ToolParameterKeyMatchResults,
- com.google.cloud.aiplatform.v1beta1.ToolParameterKeyMatchResults.Builder,
- com.google.cloud.aiplatform.v1beta1.ToolParameterKeyMatchResultsOrBuilder>
- getToolParameterKeyMatchResultsFieldBuilder() {
- if (toolParameterKeyMatchResultsBuilder_ == null) {
- if (!(evaluationResultsCase_ == 20)) {
+ com.google.cloud.aiplatform.v1beta1.TrajectoryRecallResults,
+ com.google.cloud.aiplatform.v1beta1.TrajectoryRecallResults.Builder,
+ com.google.cloud.aiplatform.v1beta1.TrajectoryRecallResultsOrBuilder>
+ getTrajectoryRecallResultsFieldBuilder() {
+ if (trajectoryRecallResultsBuilder_ == null) {
+ if (!(evaluationResultsCase_ == 36)) {
evaluationResults_ =
- com.google.cloud.aiplatform.v1beta1.ToolParameterKeyMatchResults.getDefaultInstance();
+ com.google.cloud.aiplatform.v1beta1.TrajectoryRecallResults.getDefaultInstance();
}
- toolParameterKeyMatchResultsBuilder_ =
+ trajectoryRecallResultsBuilder_ =
new com.google.protobuf.SingleFieldBuilderV3<
- com.google.cloud.aiplatform.v1beta1.ToolParameterKeyMatchResults,
- com.google.cloud.aiplatform.v1beta1.ToolParameterKeyMatchResults.Builder,
- com.google.cloud.aiplatform.v1beta1.ToolParameterKeyMatchResultsOrBuilder>(
- (com.google.cloud.aiplatform.v1beta1.ToolParameterKeyMatchResults)
- evaluationResults_,
+ com.google.cloud.aiplatform.v1beta1.TrajectoryRecallResults,
+ com.google.cloud.aiplatform.v1beta1.TrajectoryRecallResults.Builder,
+ com.google.cloud.aiplatform.v1beta1.TrajectoryRecallResultsOrBuilder>(
+ (com.google.cloud.aiplatform.v1beta1.TrajectoryRecallResults) evaluationResults_,
getParentForChildren(),
isClean());
evaluationResults_ = null;
}
- evaluationResultsCase_ = 20;
+ evaluationResultsCase_ = 36;
onChanged();
- return toolParameterKeyMatchResultsBuilder_;
+ return trajectoryRecallResultsBuilder_;
}
private com.google.protobuf.SingleFieldBuilderV3<
- com.google.cloud.aiplatform.v1beta1.ToolParameterKVMatchResults,
- com.google.cloud.aiplatform.v1beta1.ToolParameterKVMatchResults.Builder,
- com.google.cloud.aiplatform.v1beta1.ToolParameterKVMatchResultsOrBuilder>
- toolParameterKvMatchResultsBuilder_;
+ com.google.cloud.aiplatform.v1beta1.TrajectorySingleToolUseResults,
+ com.google.cloud.aiplatform.v1beta1.TrajectorySingleToolUseResults.Builder,
+ com.google.cloud.aiplatform.v1beta1.TrajectorySingleToolUseResultsOrBuilder>
+ trajectorySingleToolUseResultsBuilder_;
/**
*
*
*
- * Results for tool parameter key value match metric.
+ * Results for trajectory single tool use metric.
*
*
*
- * .google.cloud.aiplatform.v1beta1.ToolParameterKVMatchResults tool_parameter_kv_match_results = 21;
+ * .google.cloud.aiplatform.v1beta1.TrajectorySingleToolUseResults trajectory_single_tool_use_results = 37;
*
*
- * @return Whether the toolParameterKvMatchResults field is set.
+ * @return Whether the trajectorySingleToolUseResults field is set.
*/
@java.lang.Override
- public boolean hasToolParameterKvMatchResults() {
- return evaluationResultsCase_ == 21;
+ public boolean hasTrajectorySingleToolUseResults() {
+ return evaluationResultsCase_ == 37;
}
/**
*
*
*
- * Results for tool parameter key value match metric.
+ * Results for trajectory single tool use metric.
*
*
*
- * .google.cloud.aiplatform.v1beta1.ToolParameterKVMatchResults tool_parameter_kv_match_results = 21;
+ * .google.cloud.aiplatform.v1beta1.TrajectorySingleToolUseResults trajectory_single_tool_use_results = 37;
*
*
- * @return The toolParameterKvMatchResults.
+ * @return The trajectorySingleToolUseResults.
*/
@java.lang.Override
- public com.google.cloud.aiplatform.v1beta1.ToolParameterKVMatchResults
- getToolParameterKvMatchResults() {
- if (toolParameterKvMatchResultsBuilder_ == null) {
- if (evaluationResultsCase_ == 21) {
- return (com.google.cloud.aiplatform.v1beta1.ToolParameterKVMatchResults)
+ public com.google.cloud.aiplatform.v1beta1.TrajectorySingleToolUseResults
+ getTrajectorySingleToolUseResults() {
+ if (trajectorySingleToolUseResultsBuilder_ == null) {
+ if (evaluationResultsCase_ == 37) {
+ return (com.google.cloud.aiplatform.v1beta1.TrajectorySingleToolUseResults)
evaluationResults_;
}
- return com.google.cloud.aiplatform.v1beta1.ToolParameterKVMatchResults.getDefaultInstance();
+ return com.google.cloud.aiplatform.v1beta1.TrajectorySingleToolUseResults
+ .getDefaultInstance();
} else {
- if (evaluationResultsCase_ == 21) {
- return toolParameterKvMatchResultsBuilder_.getMessage();
+ if (evaluationResultsCase_ == 37) {
+ return trajectorySingleToolUseResultsBuilder_.getMessage();
}
- return com.google.cloud.aiplatform.v1beta1.ToolParameterKVMatchResults.getDefaultInstance();
+ return com.google.cloud.aiplatform.v1beta1.TrajectorySingleToolUseResults
+ .getDefaultInstance();
}
}
/**
*
*
*
- * Results for tool parameter key value match metric.
+ * Results for trajectory single tool use metric.
*
*
*
- * .google.cloud.aiplatform.v1beta1.ToolParameterKVMatchResults tool_parameter_kv_match_results = 21;
+ * .google.cloud.aiplatform.v1beta1.TrajectorySingleToolUseResults trajectory_single_tool_use_results = 37;
*
*/
- public Builder setToolParameterKvMatchResults(
- com.google.cloud.aiplatform.v1beta1.ToolParameterKVMatchResults value) {
- if (toolParameterKvMatchResultsBuilder_ == null) {
+ public Builder setTrajectorySingleToolUseResults(
+ com.google.cloud.aiplatform.v1beta1.TrajectorySingleToolUseResults value) {
+ if (trajectorySingleToolUseResultsBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
evaluationResults_ = value;
onChanged();
} else {
- toolParameterKvMatchResultsBuilder_.setMessage(value);
+ trajectorySingleToolUseResultsBuilder_.setMessage(value);
}
- evaluationResultsCase_ = 21;
+ evaluationResultsCase_ = 37;
return this;
}
/**
*
*
*
- * Results for tool parameter key value match metric.
+ * Results for trajectory single tool use metric.
*
*
*
- * .google.cloud.aiplatform.v1beta1.ToolParameterKVMatchResults tool_parameter_kv_match_results = 21;
+ * .google.cloud.aiplatform.v1beta1.TrajectorySingleToolUseResults trajectory_single_tool_use_results = 37;
*
*/
- public Builder setToolParameterKvMatchResults(
- com.google.cloud.aiplatform.v1beta1.ToolParameterKVMatchResults.Builder builderForValue) {
- if (toolParameterKvMatchResultsBuilder_ == null) {
+ public Builder setTrajectorySingleToolUseResults(
+ com.google.cloud.aiplatform.v1beta1.TrajectorySingleToolUseResults.Builder
+ builderForValue) {
+ if (trajectorySingleToolUseResultsBuilder_ == null) {
evaluationResults_ = builderForValue.build();
onChanged();
} else {
- toolParameterKvMatchResultsBuilder_.setMessage(builderForValue.build());
+ trajectorySingleToolUseResultsBuilder_.setMessage(builderForValue.build());
}
- evaluationResultsCase_ = 21;
+ evaluationResultsCase_ = 37;
return this;
}
/**
*
*
*
- * Results for tool parameter key value match metric.
+ * Results for trajectory single tool use metric.
*
*
*
- * .google.cloud.aiplatform.v1beta1.ToolParameterKVMatchResults tool_parameter_kv_match_results = 21;
+ * .google.cloud.aiplatform.v1beta1.TrajectorySingleToolUseResults trajectory_single_tool_use_results = 37;
*
*/
- public Builder mergeToolParameterKvMatchResults(
- com.google.cloud.aiplatform.v1beta1.ToolParameterKVMatchResults value) {
- if (toolParameterKvMatchResultsBuilder_ == null) {
- if (evaluationResultsCase_ == 21
+ public Builder mergeTrajectorySingleToolUseResults(
+ com.google.cloud.aiplatform.v1beta1.TrajectorySingleToolUseResults value) {
+ if (trajectorySingleToolUseResultsBuilder_ == null) {
+ if (evaluationResultsCase_ == 37
&& evaluationResults_
- != com.google.cloud.aiplatform.v1beta1.ToolParameterKVMatchResults
+ != com.google.cloud.aiplatform.v1beta1.TrajectorySingleToolUseResults
.getDefaultInstance()) {
evaluationResults_ =
- com.google.cloud.aiplatform.v1beta1.ToolParameterKVMatchResults.newBuilder(
- (com.google.cloud.aiplatform.v1beta1.ToolParameterKVMatchResults)
+ com.google.cloud.aiplatform.v1beta1.TrajectorySingleToolUseResults.newBuilder(
+ (com.google.cloud.aiplatform.v1beta1.TrajectorySingleToolUseResults)
evaluationResults_)
.mergeFrom(value)
.buildPartial();
@@ -7902,39 +9938,39 @@ public Builder mergeToolParameterKvMatchResults(
}
onChanged();
} else {
- if (evaluationResultsCase_ == 21) {
- toolParameterKvMatchResultsBuilder_.mergeFrom(value);
+ if (evaluationResultsCase_ == 37) {
+ trajectorySingleToolUseResultsBuilder_.mergeFrom(value);
} else {
- toolParameterKvMatchResultsBuilder_.setMessage(value);
+ trajectorySingleToolUseResultsBuilder_.setMessage(value);
}
}
- evaluationResultsCase_ = 21;
+ evaluationResultsCase_ = 37;
return this;
}
/**
*
*
*
- * Results for tool parameter key value match metric.
+ * Results for trajectory single tool use metric.
*
*
*
- * .google.cloud.aiplatform.v1beta1.ToolParameterKVMatchResults tool_parameter_kv_match_results = 21;
+ * .google.cloud.aiplatform.v1beta1.TrajectorySingleToolUseResults trajectory_single_tool_use_results = 37;
*
*/
- public Builder clearToolParameterKvMatchResults() {
- if (toolParameterKvMatchResultsBuilder_ == null) {
- if (evaluationResultsCase_ == 21) {
+ public Builder clearTrajectorySingleToolUseResults() {
+ if (trajectorySingleToolUseResultsBuilder_ == null) {
+ if (evaluationResultsCase_ == 37) {
evaluationResultsCase_ = 0;
evaluationResults_ = null;
onChanged();
}
} else {
- if (evaluationResultsCase_ == 21) {
+ if (evaluationResultsCase_ == 37) {
evaluationResultsCase_ = 0;
evaluationResults_ = null;
}
- toolParameterKvMatchResultsBuilder_.clear();
+ trajectorySingleToolUseResultsBuilder_.clear();
}
return this;
}
@@ -7942,76 +9978,78 @@ public Builder clearToolParameterKvMatchResults() {
*
*
*
- * Results for tool parameter key value match metric.
+ * Results for trajectory single tool use metric.
*
*
*
- * .google.cloud.aiplatform.v1beta1.ToolParameterKVMatchResults tool_parameter_kv_match_results = 21;
+ * .google.cloud.aiplatform.v1beta1.TrajectorySingleToolUseResults trajectory_single_tool_use_results = 37;
*
*/
- public com.google.cloud.aiplatform.v1beta1.ToolParameterKVMatchResults.Builder
- getToolParameterKvMatchResultsBuilder() {
- return getToolParameterKvMatchResultsFieldBuilder().getBuilder();
+ public com.google.cloud.aiplatform.v1beta1.TrajectorySingleToolUseResults.Builder
+ getTrajectorySingleToolUseResultsBuilder() {
+ return getTrajectorySingleToolUseResultsFieldBuilder().getBuilder();
}
/**
*
*
*
- * Results for tool parameter key value match metric.
+ * Results for trajectory single tool use metric.
*
*
*
- * .google.cloud.aiplatform.v1beta1.ToolParameterKVMatchResults tool_parameter_kv_match_results = 21;
+ * .google.cloud.aiplatform.v1beta1.TrajectorySingleToolUseResults trajectory_single_tool_use_results = 37;
*
*/
@java.lang.Override
- public com.google.cloud.aiplatform.v1beta1.ToolParameterKVMatchResultsOrBuilder
- getToolParameterKvMatchResultsOrBuilder() {
- if ((evaluationResultsCase_ == 21) && (toolParameterKvMatchResultsBuilder_ != null)) {
- return toolParameterKvMatchResultsBuilder_.getMessageOrBuilder();
+ public com.google.cloud.aiplatform.v1beta1.TrajectorySingleToolUseResultsOrBuilder
+ getTrajectorySingleToolUseResultsOrBuilder() {
+ if ((evaluationResultsCase_ == 37) && (trajectorySingleToolUseResultsBuilder_ != null)) {
+ return trajectorySingleToolUseResultsBuilder_.getMessageOrBuilder();
} else {
- if (evaluationResultsCase_ == 21) {
- return (com.google.cloud.aiplatform.v1beta1.ToolParameterKVMatchResults)
+ if (evaluationResultsCase_ == 37) {
+ return (com.google.cloud.aiplatform.v1beta1.TrajectorySingleToolUseResults)
evaluationResults_;
}
- return com.google.cloud.aiplatform.v1beta1.ToolParameterKVMatchResults.getDefaultInstance();
+ return com.google.cloud.aiplatform.v1beta1.TrajectorySingleToolUseResults
+ .getDefaultInstance();
}
}
/**
*
*
*
- * Results for tool parameter key value match metric.
+ * Results for trajectory single tool use metric.
*
*
*
- * .google.cloud.aiplatform.v1beta1.ToolParameterKVMatchResults tool_parameter_kv_match_results = 21;
+ * .google.cloud.aiplatform.v1beta1.TrajectorySingleToolUseResults trajectory_single_tool_use_results = 37;
*
*/
private com.google.protobuf.SingleFieldBuilderV3<
- com.google.cloud.aiplatform.v1beta1.ToolParameterKVMatchResults,
- com.google.cloud.aiplatform.v1beta1.ToolParameterKVMatchResults.Builder,
- com.google.cloud.aiplatform.v1beta1.ToolParameterKVMatchResultsOrBuilder>
- getToolParameterKvMatchResultsFieldBuilder() {
- if (toolParameterKvMatchResultsBuilder_ == null) {
- if (!(evaluationResultsCase_ == 21)) {
+ com.google.cloud.aiplatform.v1beta1.TrajectorySingleToolUseResults,
+ com.google.cloud.aiplatform.v1beta1.TrajectorySingleToolUseResults.Builder,
+ com.google.cloud.aiplatform.v1beta1.TrajectorySingleToolUseResultsOrBuilder>
+ getTrajectorySingleToolUseResultsFieldBuilder() {
+ if (trajectorySingleToolUseResultsBuilder_ == null) {
+ if (!(evaluationResultsCase_ == 37)) {
evaluationResults_ =
- com.google.cloud.aiplatform.v1beta1.ToolParameterKVMatchResults.getDefaultInstance();
+ com.google.cloud.aiplatform.v1beta1.TrajectorySingleToolUseResults
+ .getDefaultInstance();
}
- toolParameterKvMatchResultsBuilder_ =
+ trajectorySingleToolUseResultsBuilder_ =
new com.google.protobuf.SingleFieldBuilderV3<
- com.google.cloud.aiplatform.v1beta1.ToolParameterKVMatchResults,
- com.google.cloud.aiplatform.v1beta1.ToolParameterKVMatchResults.Builder,
- com.google.cloud.aiplatform.v1beta1.ToolParameterKVMatchResultsOrBuilder>(
- (com.google.cloud.aiplatform.v1beta1.ToolParameterKVMatchResults)
+ com.google.cloud.aiplatform.v1beta1.TrajectorySingleToolUseResults,
+ com.google.cloud.aiplatform.v1beta1.TrajectorySingleToolUseResults.Builder,
+ com.google.cloud.aiplatform.v1beta1.TrajectorySingleToolUseResultsOrBuilder>(
+ (com.google.cloud.aiplatform.v1beta1.TrajectorySingleToolUseResults)
evaluationResults_,
getParentForChildren(),
isClean());
evaluationResults_ = null;
}
- evaluationResultsCase_ = 21;
+ evaluationResultsCase_ = 37;
onChanged();
- return toolParameterKvMatchResultsBuilder_;
+ return trajectorySingleToolUseResultsBuilder_;
}
@java.lang.Override
diff --git a/java-aiplatform/proto-google-cloud-aiplatform-v1beta1/src/main/java/com/google/cloud/aiplatform/v1beta1/EvaluateInstancesResponseOrBuilder.java b/java-aiplatform/proto-google-cloud-aiplatform-v1beta1/src/main/java/com/google/cloud/aiplatform/v1beta1/EvaluateInstancesResponseOrBuilder.java
index 39d9d273f509..b5d80b490bbe 100644
--- a/java-aiplatform/proto-google-cloud-aiplatform-v1beta1/src/main/java/com/google/cloud/aiplatform/v1beta1/EvaluateInstancesResponseOrBuilder.java
+++ b/java-aiplatform/proto-google-cloud-aiplatform-v1beta1/src/main/java/com/google/cloud/aiplatform/v1beta1/EvaluateInstancesResponseOrBuilder.java
@@ -949,6 +949,258 @@ public interface EvaluateInstancesResponseOrBuilder
com.google.cloud.aiplatform.v1beta1.ToolParameterKVMatchResultsOrBuilder
getToolParameterKvMatchResultsOrBuilder();
+ /**
+ *
+ *
+ *
+ * Result for trajectory exact match metric.
+ *
+ *
+ *
+ * .google.cloud.aiplatform.v1beta1.TrajectoryExactMatchResults trajectory_exact_match_results = 31;
+ *
+ *
+ * @return Whether the trajectoryExactMatchResults field is set.
+ */
+ boolean hasTrajectoryExactMatchResults();
+ /**
+ *
+ *
+ *
+ * Result for trajectory exact match metric.
+ *
+ *
+ *
+ * .google.cloud.aiplatform.v1beta1.TrajectoryExactMatchResults trajectory_exact_match_results = 31;
+ *
+ *
+ * @return The trajectoryExactMatchResults.
+ */
+ com.google.cloud.aiplatform.v1beta1.TrajectoryExactMatchResults getTrajectoryExactMatchResults();
+ /**
+ *
+ *
+ *
+ * Result for trajectory exact match metric.
+ *
+ *
+ *
+ * .google.cloud.aiplatform.v1beta1.TrajectoryExactMatchResults trajectory_exact_match_results = 31;
+ *
+ */
+ com.google.cloud.aiplatform.v1beta1.TrajectoryExactMatchResultsOrBuilder
+ getTrajectoryExactMatchResultsOrBuilder();
+
+ /**
+ *
+ *
+ *
+ * Result for trajectory in order match metric.
+ *
+ *
+ *
+ * .google.cloud.aiplatform.v1beta1.TrajectoryInOrderMatchResults trajectory_in_order_match_results = 32;
+ *
+ *
+ * @return Whether the trajectoryInOrderMatchResults field is set.
+ */
+ boolean hasTrajectoryInOrderMatchResults();
+ /**
+ *
+ *
+ *
+ * Result for trajectory in order match metric.
+ *
+ *
+ *
+ * .google.cloud.aiplatform.v1beta1.TrajectoryInOrderMatchResults trajectory_in_order_match_results = 32;
+ *
+ *
+ * @return The trajectoryInOrderMatchResults.
+ */
+ com.google.cloud.aiplatform.v1beta1.TrajectoryInOrderMatchResults
+ getTrajectoryInOrderMatchResults();
+ /**
+ *
+ *
+ *
+ * Result for trajectory in order match metric.
+ *
+ *
+ *
+ * .google.cloud.aiplatform.v1beta1.TrajectoryInOrderMatchResults trajectory_in_order_match_results = 32;
+ *
+ */
+ com.google.cloud.aiplatform.v1beta1.TrajectoryInOrderMatchResultsOrBuilder
+ getTrajectoryInOrderMatchResultsOrBuilder();
+
+ /**
+ *
+ *
+ *
+ * Result for trajectory any order match metric.
+ *
+ *
+ *
+ * .google.cloud.aiplatform.v1beta1.TrajectoryAnyOrderMatchResults trajectory_any_order_match_results = 33;
+ *
+ *
+ * @return Whether the trajectoryAnyOrderMatchResults field is set.
+ */
+ boolean hasTrajectoryAnyOrderMatchResults();
+ /**
+ *
+ *
+ *
+ * Result for trajectory any order match metric.
+ *
+ *
+ *
+ * .google.cloud.aiplatform.v1beta1.TrajectoryAnyOrderMatchResults trajectory_any_order_match_results = 33;
+ *
+ *
+ * @return The trajectoryAnyOrderMatchResults.
+ */
+ com.google.cloud.aiplatform.v1beta1.TrajectoryAnyOrderMatchResults
+ getTrajectoryAnyOrderMatchResults();
+ /**
+ *
+ *
+ *
+ * Result for trajectory any order match metric.
+ *
+ *
+ *
+ * .google.cloud.aiplatform.v1beta1.TrajectoryAnyOrderMatchResults trajectory_any_order_match_results = 33;
+ *
+ */
+ com.google.cloud.aiplatform.v1beta1.TrajectoryAnyOrderMatchResultsOrBuilder
+ getTrajectoryAnyOrderMatchResultsOrBuilder();
+
+ /**
+ *
+ *
+ *
+ * Result for trajectory precision metric.
+ *
+ *
+ *
+ * .google.cloud.aiplatform.v1beta1.TrajectoryPrecisionResults trajectory_precision_results = 35;
+ *
+ *
+ * @return Whether the trajectoryPrecisionResults field is set.
+ */
+ boolean hasTrajectoryPrecisionResults();
+ /**
+ *
+ *
+ *
+ * Result for trajectory precision metric.
+ *
+ *
+ *
+ * .google.cloud.aiplatform.v1beta1.TrajectoryPrecisionResults trajectory_precision_results = 35;
+ *
+ *
+ * @return The trajectoryPrecisionResults.
+ */
+ com.google.cloud.aiplatform.v1beta1.TrajectoryPrecisionResults getTrajectoryPrecisionResults();
+ /**
+ *
+ *
+ *
+ * Result for trajectory precision metric.
+ *
+ *
+ *
+ * .google.cloud.aiplatform.v1beta1.TrajectoryPrecisionResults trajectory_precision_results = 35;
+ *
+ */
+ com.google.cloud.aiplatform.v1beta1.TrajectoryPrecisionResultsOrBuilder
+ getTrajectoryPrecisionResultsOrBuilder();
+
+ /**
+ *
+ *
+ *
+ * Results for trajectory recall metric.
+ *
+ *
+ * .google.cloud.aiplatform.v1beta1.TrajectoryRecallResults trajectory_recall_results = 36;
+ *
+ *
+ * @return Whether the trajectoryRecallResults field is set.
+ */
+ boolean hasTrajectoryRecallResults();
+ /**
+ *
+ *
+ *
+ * Results for trajectory recall metric.
+ *
+ *
+ * .google.cloud.aiplatform.v1beta1.TrajectoryRecallResults trajectory_recall_results = 36;
+ *
+ *
+ * @return The trajectoryRecallResults.
+ */
+ com.google.cloud.aiplatform.v1beta1.TrajectoryRecallResults getTrajectoryRecallResults();
+ /**
+ *
+ *
+ *
+ * Results for trajectory recall metric.
+ *
+ *
+ * .google.cloud.aiplatform.v1beta1.TrajectoryRecallResults trajectory_recall_results = 36;
+ *
+ */
+ com.google.cloud.aiplatform.v1beta1.TrajectoryRecallResultsOrBuilder
+ getTrajectoryRecallResultsOrBuilder();
+
+ /**
+ *
+ *
+ *
+ * Results for trajectory single tool use metric.
+ *
+ *
+ *
+ * .google.cloud.aiplatform.v1beta1.TrajectorySingleToolUseResults trajectory_single_tool_use_results = 37;
+ *
+ *
+ * @return Whether the trajectorySingleToolUseResults field is set.
+ */
+ boolean hasTrajectorySingleToolUseResults();
+ /**
+ *
+ *
+ *
+ * Results for trajectory single tool use metric.
+ *
+ *
+ *
+ * .google.cloud.aiplatform.v1beta1.TrajectorySingleToolUseResults trajectory_single_tool_use_results = 37;
+ *
+ *
+ * @return The trajectorySingleToolUseResults.
+ */
+ com.google.cloud.aiplatform.v1beta1.TrajectorySingleToolUseResults
+ getTrajectorySingleToolUseResults();
+ /**
+ *
+ *
+ *
+ * Results for trajectory single tool use metric.
+ *
+ *
+ *
+ * .google.cloud.aiplatform.v1beta1.TrajectorySingleToolUseResults trajectory_single_tool_use_results = 37;
+ *
+ */
+ com.google.cloud.aiplatform.v1beta1.TrajectorySingleToolUseResultsOrBuilder
+ getTrajectorySingleToolUseResultsOrBuilder();
+
com.google.cloud.aiplatform.v1beta1.EvaluateInstancesResponse.EvaluationResultsCase
getEvaluationResultsCase();
}
diff --git a/java-aiplatform/proto-google-cloud-aiplatform-v1beta1/src/main/java/com/google/cloud/aiplatform/v1beta1/EvaluationServiceProto.java b/java-aiplatform/proto-google-cloud-aiplatform-v1beta1/src/main/java/com/google/cloud/aiplatform/v1beta1/EvaluationServiceProto.java
index 65ac77825b9d..07937db7d1fd 100644
--- a/java-aiplatform/proto-google-cloud-aiplatform-v1beta1/src/main/java/com/google/cloud/aiplatform/v1beta1/EvaluationServiceProto.java
+++ b/java-aiplatform/proto-google-cloud-aiplatform-v1beta1/src/main/java/com/google/cloud/aiplatform/v1beta1/EvaluationServiceProto.java
@@ -432,6 +432,134 @@ public static void registerAllExtensions(com.google.protobuf.ExtensionRegistry r
internal_static_google_cloud_aiplatform_v1beta1_ToolParameterKVMatchMetricValue_descriptor;
static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internal_static_google_cloud_aiplatform_v1beta1_ToolParameterKVMatchMetricValue_fieldAccessorTable;
+ static final com.google.protobuf.Descriptors.Descriptor
+ internal_static_google_cloud_aiplatform_v1beta1_TrajectoryExactMatchInput_descriptor;
+ static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
+ internal_static_google_cloud_aiplatform_v1beta1_TrajectoryExactMatchInput_fieldAccessorTable;
+ static final com.google.protobuf.Descriptors.Descriptor
+ internal_static_google_cloud_aiplatform_v1beta1_TrajectoryExactMatchSpec_descriptor;
+ static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
+ internal_static_google_cloud_aiplatform_v1beta1_TrajectoryExactMatchSpec_fieldAccessorTable;
+ static final com.google.protobuf.Descriptors.Descriptor
+ internal_static_google_cloud_aiplatform_v1beta1_TrajectoryExactMatchInstance_descriptor;
+ static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
+ internal_static_google_cloud_aiplatform_v1beta1_TrajectoryExactMatchInstance_fieldAccessorTable;
+ static final com.google.protobuf.Descriptors.Descriptor
+ internal_static_google_cloud_aiplatform_v1beta1_TrajectoryExactMatchResults_descriptor;
+ static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
+ internal_static_google_cloud_aiplatform_v1beta1_TrajectoryExactMatchResults_fieldAccessorTable;
+ static final com.google.protobuf.Descriptors.Descriptor
+ internal_static_google_cloud_aiplatform_v1beta1_TrajectoryExactMatchMetricValue_descriptor;
+ static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
+ internal_static_google_cloud_aiplatform_v1beta1_TrajectoryExactMatchMetricValue_fieldAccessorTable;
+ static final com.google.protobuf.Descriptors.Descriptor
+ internal_static_google_cloud_aiplatform_v1beta1_TrajectoryInOrderMatchInput_descriptor;
+ static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
+ internal_static_google_cloud_aiplatform_v1beta1_TrajectoryInOrderMatchInput_fieldAccessorTable;
+ static final com.google.protobuf.Descriptors.Descriptor
+ internal_static_google_cloud_aiplatform_v1beta1_TrajectoryInOrderMatchSpec_descriptor;
+ static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
+ internal_static_google_cloud_aiplatform_v1beta1_TrajectoryInOrderMatchSpec_fieldAccessorTable;
+ static final com.google.protobuf.Descriptors.Descriptor
+ internal_static_google_cloud_aiplatform_v1beta1_TrajectoryInOrderMatchInstance_descriptor;
+ static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
+ internal_static_google_cloud_aiplatform_v1beta1_TrajectoryInOrderMatchInstance_fieldAccessorTable;
+ static final com.google.protobuf.Descriptors.Descriptor
+ internal_static_google_cloud_aiplatform_v1beta1_TrajectoryInOrderMatchResults_descriptor;
+ static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
+ internal_static_google_cloud_aiplatform_v1beta1_TrajectoryInOrderMatchResults_fieldAccessorTable;
+ static final com.google.protobuf.Descriptors.Descriptor
+ internal_static_google_cloud_aiplatform_v1beta1_TrajectoryInOrderMatchMetricValue_descriptor;
+ static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
+ internal_static_google_cloud_aiplatform_v1beta1_TrajectoryInOrderMatchMetricValue_fieldAccessorTable;
+ static final com.google.protobuf.Descriptors.Descriptor
+ internal_static_google_cloud_aiplatform_v1beta1_TrajectoryAnyOrderMatchInput_descriptor;
+ static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
+ internal_static_google_cloud_aiplatform_v1beta1_TrajectoryAnyOrderMatchInput_fieldAccessorTable;
+ static final com.google.protobuf.Descriptors.Descriptor
+ internal_static_google_cloud_aiplatform_v1beta1_TrajectoryAnyOrderMatchSpec_descriptor;
+ static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
+ internal_static_google_cloud_aiplatform_v1beta1_TrajectoryAnyOrderMatchSpec_fieldAccessorTable;
+ static final com.google.protobuf.Descriptors.Descriptor
+ internal_static_google_cloud_aiplatform_v1beta1_TrajectoryAnyOrderMatchInstance_descriptor;
+ static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
+ internal_static_google_cloud_aiplatform_v1beta1_TrajectoryAnyOrderMatchInstance_fieldAccessorTable;
+ static final com.google.protobuf.Descriptors.Descriptor
+ internal_static_google_cloud_aiplatform_v1beta1_TrajectoryAnyOrderMatchResults_descriptor;
+ static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
+ internal_static_google_cloud_aiplatform_v1beta1_TrajectoryAnyOrderMatchResults_fieldAccessorTable;
+ static final com.google.protobuf.Descriptors.Descriptor
+ internal_static_google_cloud_aiplatform_v1beta1_TrajectoryAnyOrderMatchMetricValue_descriptor;
+ static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
+ internal_static_google_cloud_aiplatform_v1beta1_TrajectoryAnyOrderMatchMetricValue_fieldAccessorTable;
+ static final com.google.protobuf.Descriptors.Descriptor
+ internal_static_google_cloud_aiplatform_v1beta1_TrajectoryPrecisionInput_descriptor;
+ static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
+ internal_static_google_cloud_aiplatform_v1beta1_TrajectoryPrecisionInput_fieldAccessorTable;
+ static final com.google.protobuf.Descriptors.Descriptor
+ internal_static_google_cloud_aiplatform_v1beta1_TrajectoryPrecisionSpec_descriptor;
+ static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
+ internal_static_google_cloud_aiplatform_v1beta1_TrajectoryPrecisionSpec_fieldAccessorTable;
+ static final com.google.protobuf.Descriptors.Descriptor
+ internal_static_google_cloud_aiplatform_v1beta1_TrajectoryPrecisionInstance_descriptor;
+ static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
+ internal_static_google_cloud_aiplatform_v1beta1_TrajectoryPrecisionInstance_fieldAccessorTable;
+ static final com.google.protobuf.Descriptors.Descriptor
+ internal_static_google_cloud_aiplatform_v1beta1_TrajectoryPrecisionResults_descriptor;
+ static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
+ internal_static_google_cloud_aiplatform_v1beta1_TrajectoryPrecisionResults_fieldAccessorTable;
+ static final com.google.protobuf.Descriptors.Descriptor
+ internal_static_google_cloud_aiplatform_v1beta1_TrajectoryPrecisionMetricValue_descriptor;
+ static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
+ internal_static_google_cloud_aiplatform_v1beta1_TrajectoryPrecisionMetricValue_fieldAccessorTable;
+ static final com.google.protobuf.Descriptors.Descriptor
+ internal_static_google_cloud_aiplatform_v1beta1_TrajectoryRecallInput_descriptor;
+ static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
+ internal_static_google_cloud_aiplatform_v1beta1_TrajectoryRecallInput_fieldAccessorTable;
+ static final com.google.protobuf.Descriptors.Descriptor
+ internal_static_google_cloud_aiplatform_v1beta1_TrajectoryRecallSpec_descriptor;
+ static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
+ internal_static_google_cloud_aiplatform_v1beta1_TrajectoryRecallSpec_fieldAccessorTable;
+ static final com.google.protobuf.Descriptors.Descriptor
+ internal_static_google_cloud_aiplatform_v1beta1_TrajectoryRecallInstance_descriptor;
+ static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
+ internal_static_google_cloud_aiplatform_v1beta1_TrajectoryRecallInstance_fieldAccessorTable;
+ static final com.google.protobuf.Descriptors.Descriptor
+ internal_static_google_cloud_aiplatform_v1beta1_TrajectoryRecallResults_descriptor;
+ static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
+ internal_static_google_cloud_aiplatform_v1beta1_TrajectoryRecallResults_fieldAccessorTable;
+ static final com.google.protobuf.Descriptors.Descriptor
+ internal_static_google_cloud_aiplatform_v1beta1_TrajectoryRecallMetricValue_descriptor;
+ static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
+ internal_static_google_cloud_aiplatform_v1beta1_TrajectoryRecallMetricValue_fieldAccessorTable;
+ static final com.google.protobuf.Descriptors.Descriptor
+ internal_static_google_cloud_aiplatform_v1beta1_TrajectorySingleToolUseInput_descriptor;
+ static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
+ internal_static_google_cloud_aiplatform_v1beta1_TrajectorySingleToolUseInput_fieldAccessorTable;
+ static final com.google.protobuf.Descriptors.Descriptor
+ internal_static_google_cloud_aiplatform_v1beta1_TrajectorySingleToolUseSpec_descriptor;
+ static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
+ internal_static_google_cloud_aiplatform_v1beta1_TrajectorySingleToolUseSpec_fieldAccessorTable;
+ static final com.google.protobuf.Descriptors.Descriptor
+ internal_static_google_cloud_aiplatform_v1beta1_TrajectorySingleToolUseInstance_descriptor;
+ static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
+ internal_static_google_cloud_aiplatform_v1beta1_TrajectorySingleToolUseInstance_fieldAccessorTable;
+ static final com.google.protobuf.Descriptors.Descriptor
+ internal_static_google_cloud_aiplatform_v1beta1_TrajectorySingleToolUseResults_descriptor;
+ static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
+ internal_static_google_cloud_aiplatform_v1beta1_TrajectorySingleToolUseResults_fieldAccessorTable;
+ static final com.google.protobuf.Descriptors.Descriptor
+ internal_static_google_cloud_aiplatform_v1beta1_TrajectorySingleToolUseMetricValue_descriptor;
+ static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
+ internal_static_google_cloud_aiplatform_v1beta1_TrajectorySingleToolUseMetricValue_fieldAccessorTable;
+ static final com.google.protobuf.Descriptors.Descriptor
+ internal_static_google_cloud_aiplatform_v1beta1_Trajectory_descriptor;
+ static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
+ internal_static_google_cloud_aiplatform_v1beta1_Trajectory_fieldAccessorTable;
+ static final com.google.protobuf.Descriptors.Descriptor
+ internal_static_google_cloud_aiplatform_v1beta1_ToolCall_descriptor;
+ static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
+ internal_static_google_cloud_aiplatform_v1beta1_ToolCall_fieldAccessorTable;
public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() {
return descriptor;
@@ -446,7 +574,7 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() {
+ "orm.v1beta1\032\034google/api/annotations.prot"
+ "o\032\027google/api/client.proto\032\037google/api/f"
+ "ield_behavior.proto\032\031google/api/resource"
- + ".proto\"\313\021\n\030EvaluateInstancesRequest\022M\n\021e"
+ + ".proto\"\252\026\n\030EvaluateInstancesRequest\022M\n\021e"
+ "xact_match_input\030\002 \001(\01320.google.cloud.ai"
+ "platform.v1beta1.ExactMatchInputH\000\022@\n\nbl"
+ "eu_input\030\003 \001(\0132*.google.cloud.aiplatform"
@@ -500,400 +628,540 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() {
+ "form.v1beta1.ToolParameterKeyMatchInputH"
+ "\000\022c\n\035tool_parameter_kv_match_input\030\026 \001(\013"
+ "2:.google.cloud.aiplatform.v1beta1.ToolP"
- + "arameterKVMatchInputH\000\022;\n\010location\030\001 \001(\t"
- + "B)\340A\002\372A#\n!locations.googleapis.com/Locat"
- + "ionB\017\n\rmetric_inputs\"\320\021\n\031EvaluateInstanc"
- + "esResponse\022Q\n\023exact_match_results\030\001 \001(\0132"
- + "2.google.cloud.aiplatform.v1beta1.ExactM"
- + "atchResultsH\000\022D\n\014bleu_results\030\002 \001(\0132,.go"
- + "ogle.cloud.aiplatform.v1beta1.BleuResult"
- + "sH\000\022F\n\rrouge_results\030\003 \001(\0132-.google.clou"
- + "d.aiplatform.v1beta1.RougeResultsH\000\022H\n\016f"
- + "luency_result\030\004 \001(\0132..google.cloud.aipla"
- + "tform.v1beta1.FluencyResultH\000\022L\n\020coheren"
- + "ce_result\030\005 \001(\01320.google.cloud.aiplatfor"
- + "m.v1beta1.CoherenceResultH\000\022F\n\rsafety_re"
- + "sult\030\007 \001(\0132-.google.cloud.aiplatform.v1b"
- + "eta1.SafetyResultH\000\022R\n\023groundedness_resu"
- + "lt\030\010 \001(\01323.google.cloud.aiplatform.v1bet"
- + "a1.GroundednessResultH\000\022P\n\022fulfillment_r"
- + "esult\030\013 \001(\01322.google.cloud.aiplatform.v1"
- + "beta1.FulfillmentResultH\000\022c\n\034summarizati"
- + "on_quality_result\030\006 \001(\0132;.google.cloud.a"
- + "iplatform.v1beta1.SummarizationQualityRe"
- + "sultH\000\022t\n%pairwise_summarization_quality"
- + "_result\030\026 \001(\0132C.google.cloud.aiplatform."
- + "v1beta1.PairwiseSummarizationQualityResu"
- + "ltH\000\022k\n summarization_helpfulness_result"
- + "\030\r \001(\0132?.google.cloud.aiplatform.v1beta1"
- + ".SummarizationHelpfulnessResultH\000\022g\n\036sum"
- + "marization_verbosity_result\030\016 \001(\0132=.goog"
- + "le.cloud.aiplatform.v1beta1.Summarizatio"
- + "nVerbosityResultH\000\022l\n!question_answering"
- + "_quality_result\030\t \001(\0132?.google.cloud.aip"
- + "latform.v1beta1.QuestionAnsweringQuality"
- + "ResultH\000\022}\n*pairwise_question_answering_"
- + "quality_result\030\027 \001(\0132G.google.cloud.aipl"
- + "atform.v1beta1.PairwiseQuestionAnswering"
- + "QualityResultH\000\022p\n#question_answering_re"
- + "levance_result\030\017 \001(\0132A.google.cloud.aipl"
- + "atform.v1beta1.QuestionAnsweringRelevanc"
- + "eResultH\000\022t\n%question_answering_helpfuln"
- + "ess_result\030\020 \001(\0132C.google.cloud.aiplatfo"
- + "rm.v1beta1.QuestionAnsweringHelpfulnessR"
- + "esultH\000\022t\n%question_answering_correctnes"
- + "s_result\030\021 \001(\0132C.google.cloud.aiplatform"
- + ".v1beta1.QuestionAnsweringCorrectnessRes"
- + "ultH\000\022Y\n\027pointwise_metric_result\030\033 \001(\01326"
- + ".google.cloud.aiplatform.v1beta1.Pointwi"
- + "seMetricResultH\000\022W\n\026pairwise_metric_resu"
- + "lt\030\034 \001(\01325.google.cloud.aiplatform.v1bet"
- + "a1.PairwiseMetricResultH\000\022X\n\027tool_call_v"
- + "alid_results\030\022 \001(\01325.google.cloud.aiplat"
- + "form.v1beta1.ToolCallValidResultsH\000\022X\n\027t"
- + "ool_name_match_results\030\023 \001(\01325.google.cl"
- + "oud.aiplatform.v1beta1.ToolNameMatchResu"
- + "ltsH\000\022i\n tool_parameter_key_match_result"
- + "s\030\024 \001(\0132=.google.cloud.aiplatform.v1beta"
- + "1.ToolParameterKeyMatchResultsH\000\022g\n\037tool"
- + "_parameter_kv_match_results\030\025 \001(\0132<.goog"
- + "le.cloud.aiplatform.v1beta1.ToolParamete"
- + "rKVMatchResultsH\000B\024\n\022evaluation_results\""
- + "\251\001\n\017ExactMatchInput\022I\n\013metric_spec\030\001 \001(\013"
- + "2/.google.cloud.aiplatform.v1beta1.Exact"
- + "MatchSpecB\003\340A\002\022K\n\tinstances\030\002 \003(\01323.goog"
- + "le.cloud.aiplatform.v1beta1.ExactMatchIn"
- + "stanceB\003\340A\002\"l\n\022ExactMatchInstance\022\034\n\npre"
- + "diction\030\001 \001(\tB\003\340A\002H\000\210\001\001\022\033\n\treference\030\002 \001"
- + "(\tB\003\340A\002H\001\210\001\001B\r\n\013_predictionB\014\n\n_referenc"
- + "e\"\020\n\016ExactMatchSpec\"s\n\021ExactMatchResults"
- + "\022^\n\031exact_match_metric_values\030\001 \003(\01326.go"
- + "ogle.cloud.aiplatform.v1beta1.ExactMatch"
- + "MetricValueB\003\340A\003\":\n\025ExactMatchMetricValu"
- + "e\022\027\n\005score\030\001 \001(\002B\003\340A\003H\000\210\001\001B\010\n\006_score\"\227\001\n"
- + "\tBleuInput\022C\n\013metric_spec\030\001 \001(\0132).google"
- + ".cloud.aiplatform.v1beta1.BleuSpecB\003\340A\002\022"
- + "E\n\tinstances\030\002 \003(\0132-.google.cloud.aiplat"
- + "form.v1beta1.BleuInstanceB\003\340A\002\"f\n\014BleuIn"
- + "stance\022\034\n\nprediction\030\001 \001(\tB\003\340A\002H\000\210\001\001\022\033\n\t"
- + "reference\030\002 \001(\tB\003\340A\002H\001\210\001\001B\r\n\013_prediction"
- + "B\014\n\n_reference\",\n\010BleuSpec\022 \n\023use_effect"
- + "ive_order\030\001 \001(\010B\003\340A\001\"`\n\013BleuResults\022Q\n\022b"
- + "leu_metric_values\030\001 \003(\01320.google.cloud.a"
- + "iplatform.v1beta1.BleuMetricValueB\003\340A\003\"4"
- + "\n\017BleuMetricValue\022\027\n\005score\030\001 \001(\002B\003\340A\003H\000\210"
- + "\001\001B\010\n\006_score\"\232\001\n\nRougeInput\022D\n\013metric_sp"
- + "ec\030\001 \001(\0132*.google.cloud.aiplatform.v1bet"
- + "a1.RougeSpecB\003\340A\002\022F\n\tinstances\030\002 \003(\0132..g"
- + "oogle.cloud.aiplatform.v1beta1.RougeInst"
- + "anceB\003\340A\002\"g\n\rRougeInstance\022\034\n\nprediction"
- + "\030\001 \001(\tB\003\340A\002H\000\210\001\001\022\033\n\treference\030\002 \001(\tB\003\340A\002"
- + "H\001\210\001\001B\r\n\013_predictionB\014\n\n_reference\"\\\n\tRo"
- + "ugeSpec\022\027\n\nrouge_type\030\001 \001(\tB\003\340A\001\022\030\n\013use_"
- + "stemmer\030\002 \001(\010B\003\340A\001\022\034\n\017split_summaries\030\003 "
- + "\001(\010B\003\340A\001\"c\n\014RougeResults\022S\n\023rouge_metric"
- + "_values\030\001 \003(\01321.google.cloud.aiplatform."
- + "v1beta1.RougeMetricValueB\003\340A\003\"5\n\020RougeMe"
- + "tricValue\022\027\n\005score\030\001 \001(\002B\003\340A\003H\000\210\001\001B\010\n\006_s"
- + "core\"\245\001\n\016CoherenceInput\022H\n\013metric_spec\030\001"
- + " \001(\0132..google.cloud.aiplatform.v1beta1.C"
- + "oherenceSpecB\003\340A\002\022I\n\010instance\030\002 \001(\01322.go"
- + "ogle.cloud.aiplatform.v1beta1.CoherenceI"
- + "nstanceB\003\340A\002\"@\n\021CoherenceInstance\022\034\n\npre"
- + "diction\030\001 \001(\tB\003\340A\002H\000\210\001\001B\r\n\013_prediction\"%"
- + "\n\rCoherenceSpec\022\024\n\007version\030\001 \001(\005B\003\340A\001\"{\n"
- + "\017CoherenceResult\022\027\n\005score\030\001 \001(\002B\003\340A\003H\000\210\001"
- + "\001\022\030\n\013explanation\030\002 \001(\tB\003\340A\003\022\034\n\nconfidenc"
- + "e\030\003 \001(\002B\003\340A\003H\001\210\001\001B\010\n\006_scoreB\r\n\013_confiden"
- + "ce\"\237\001\n\014FluencyInput\022F\n\013metric_spec\030\001 \001(\013"
- + "2,.google.cloud.aiplatform.v1beta1.Fluen"
- + "cySpecB\003\340A\002\022G\n\010instance\030\002 \001(\01320.google.c"
- + "loud.aiplatform.v1beta1.FluencyInstanceB"
- + "\003\340A\002\">\n\017FluencyInstance\022\034\n\nprediction\030\001 "
- + "\001(\tB\003\340A\002H\000\210\001\001B\r\n\013_prediction\"#\n\013FluencyS"
- + "pec\022\024\n\007version\030\001 \001(\005B\003\340A\001\"y\n\rFluencyResu"
- + "lt\022\027\n\005score\030\001 \001(\002B\003\340A\003H\000\210\001\001\022\030\n\013explanati"
- + "on\030\002 \001(\tB\003\340A\003\022\034\n\nconfidence\030\003 \001(\002B\003\340A\003H\001"
- + "\210\001\001B\010\n\006_scoreB\r\n\013_confidence\"\234\001\n\013SafetyI"
- + "nput\022E\n\013metric_spec\030\001 \001(\0132+.google.cloud"
- + ".aiplatform.v1beta1.SafetySpecB\003\340A\002\022F\n\010i"
- + "nstance\030\002 \001(\0132/.google.cloud.aiplatform."
- + "v1beta1.SafetyInstanceB\003\340A\002\"=\n\016SafetyIns"
- + "tance\022\034\n\nprediction\030\001 \001(\tB\003\340A\002H\000\210\001\001B\r\n\013_"
- + "prediction\"\"\n\nSafetySpec\022\024\n\007version\030\001 \001("
- + "\005B\003\340A\001\"x\n\014SafetyResult\022\027\n\005score\030\001 \001(\002B\003\340"
- + "A\003H\000\210\001\001\022\030\n\013explanation\030\002 \001(\tB\003\340A\003\022\034\n\ncon"
- + "fidence\030\003 \001(\002B\003\340A\003H\001\210\001\001B\010\n\006_scoreB\r\n\013_co"
- + "nfidence\"\256\001\n\021GroundednessInput\022K\n\013metric"
- + "_spec\030\001 \001(\01321.google.cloud.aiplatform.v1"
- + "beta1.GroundednessSpecB\003\340A\002\022L\n\010instance\030"
- + "\002 \001(\01325.google.cloud.aiplatform.v1beta1."
- + "GroundednessInstanceB\003\340A\002\"j\n\024Groundednes"
- + "sInstance\022\034\n\nprediction\030\001 \001(\tB\003\340A\002H\000\210\001\001\022"
- + "\031\n\007context\030\002 \001(\tB\003\340A\002H\001\210\001\001B\r\n\013_predictio"
- + "nB\n\n\010_context\"(\n\020GroundednessSpec\022\024\n\007ver"
- + "sion\030\001 \001(\005B\003\340A\001\"~\n\022GroundednessResult\022\027\n"
- + "\005score\030\001 \001(\002B\003\340A\003H\000\210\001\001\022\030\n\013explanation\030\002 "
- + "\001(\tB\003\340A\003\022\034\n\nconfidence\030\003 \001(\002B\003\340A\003H\001\210\001\001B\010"
- + "\n\006_scoreB\r\n\013_confidence\"\253\001\n\020FulfillmentI"
- + "nput\022J\n\013metric_spec\030\001 \001(\01320.google.cloud"
- + ".aiplatform.v1beta1.FulfillmentSpecB\003\340A\002"
- + "\022K\n\010instance\030\002 \001(\01324.google.cloud.aiplat"
- + "form.v1beta1.FulfillmentInstanceB\003\340A\002\"q\n"
- + "\023FulfillmentInstance\022\034\n\nprediction\030\001 \001(\t"
- + "B\003\340A\002H\000\210\001\001\022\035\n\013instruction\030\002 \001(\tB\003\340A\002H\001\210\001"
- + "\001B\r\n\013_predictionB\016\n\014_instruction\"\'\n\017Fulf"
- + "illmentSpec\022\024\n\007version\030\001 \001(\005B\003\340A\001\"}\n\021Ful"
- + "fillmentResult\022\027\n\005score\030\001 \001(\002B\003\340A\003H\000\210\001\001\022"
+ + "arameterKVMatchInputH\000\022b\n\034trajectory_exa"
+ + "ct_match_input\030! \001(\0132:.google.cloud.aipl"
+ + "atform.v1beta1.TrajectoryExactMatchInput"
+ + "H\000\022g\n\037trajectory_in_order_match_input\030\" "
+ + "\001(\0132<.google.cloud.aiplatform.v1beta1.Tr"
+ + "ajectoryInOrderMatchInputH\000\022i\n trajector"
+ + "y_any_order_match_input\030# \001(\0132=.google.c"
+ + "loud.aiplatform.v1beta1.TrajectoryAnyOrd"
+ + "erMatchInputH\000\022_\n\032trajectory_precision_i"
+ + "nput\030% \001(\01329.google.cloud.aiplatform.v1b"
+ + "eta1.TrajectoryPrecisionInputH\000\022Y\n\027traje"
+ + "ctory_recall_input\030& \001(\01326.google.cloud."
+ + "aiplatform.v1beta1.TrajectoryRecallInput"
+ + "H\000\022i\n trajectory_single_tool_use_input\030\'"
+ + " \001(\0132=.google.cloud.aiplatform.v1beta1.T"
+ + "rajectorySingleToolUseInputH\000\022;\n\010locatio"
+ + "n\030\001 \001(\tB)\340A\002\372A#\n!locations.googleapis.co"
+ + "m/LocationB\017\n\rmetric_inputs\"\307\026\n\031Evaluate"
+ + "InstancesResponse\022Q\n\023exact_match_results"
+ + "\030\001 \001(\01322.google.cloud.aiplatform.v1beta1"
+ + ".ExactMatchResultsH\000\022D\n\014bleu_results\030\002 \001"
+ + "(\0132,.google.cloud.aiplatform.v1beta1.Ble"
+ + "uResultsH\000\022F\n\rrouge_results\030\003 \001(\0132-.goog"
+ + "le.cloud.aiplatform.v1beta1.RougeResults"
+ + "H\000\022H\n\016fluency_result\030\004 \001(\0132..google.clou"
+ + "d.aiplatform.v1beta1.FluencyResultH\000\022L\n\020"
+ + "coherence_result\030\005 \001(\01320.google.cloud.ai"
+ + "platform.v1beta1.CoherenceResultH\000\022F\n\rsa"
+ + "fety_result\030\007 \001(\0132-.google.cloud.aiplatf"
+ + "orm.v1beta1.SafetyResultH\000\022R\n\023groundedne"
+ + "ss_result\030\010 \001(\01323.google.cloud.aiplatfor"
+ + "m.v1beta1.GroundednessResultH\000\022P\n\022fulfil"
+ + "lment_result\030\013 \001(\01322.google.cloud.aiplat"
+ + "form.v1beta1.FulfillmentResultH\000\022c\n\034summ"
+ + "arization_quality_result\030\006 \001(\0132;.google."
+ + "cloud.aiplatform.v1beta1.SummarizationQu"
+ + "alityResultH\000\022t\n%pairwise_summarization_"
+ + "quality_result\030\026 \001(\0132C.google.cloud.aipl"
+ + "atform.v1beta1.PairwiseSummarizationQual"
+ + "ityResultH\000\022k\n summarization_helpfulness"
+ + "_result\030\r \001(\0132?.google.cloud.aiplatform."
+ + "v1beta1.SummarizationHelpfulnessResultH\000"
+ + "\022g\n\036summarization_verbosity_result\030\016 \001(\013"
+ + "2=.google.cloud.aiplatform.v1beta1.Summa"
+ + "rizationVerbosityResultH\000\022l\n!question_an"
+ + "swering_quality_result\030\t \001(\0132?.google.cl"
+ + "oud.aiplatform.v1beta1.QuestionAnswering"
+ + "QualityResultH\000\022}\n*pairwise_question_ans"
+ + "wering_quality_result\030\027 \001(\0132G.google.clo"
+ + "ud.aiplatform.v1beta1.PairwiseQuestionAn"
+ + "sweringQualityResultH\000\022p\n#question_answe"
+ + "ring_relevance_result\030\017 \001(\0132A.google.clo"
+ + "ud.aiplatform.v1beta1.QuestionAnsweringR"
+ + "elevanceResultH\000\022t\n%question_answering_h"
+ + "elpfulness_result\030\020 \001(\0132C.google.cloud.a"
+ + "iplatform.v1beta1.QuestionAnsweringHelpf"
+ + "ulnessResultH\000\022t\n%question_answering_cor"
+ + "rectness_result\030\021 \001(\0132C.google.cloud.aip"
+ + "latform.v1beta1.QuestionAnsweringCorrect"
+ + "nessResultH\000\022Y\n\027pointwise_metric_result\030"
+ + "\033 \001(\01326.google.cloud.aiplatform.v1beta1."
+ + "PointwiseMetricResultH\000\022W\n\026pairwise_metr"
+ + "ic_result\030\034 \001(\01325.google.cloud.aiplatfor"
+ + "m.v1beta1.PairwiseMetricResultH\000\022X\n\027tool"
+ + "_call_valid_results\030\022 \001(\01325.google.cloud"
+ + ".aiplatform.v1beta1.ToolCallValidResults"
+ + "H\000\022X\n\027tool_name_match_results\030\023 \001(\01325.go"
+ + "ogle.cloud.aiplatform.v1beta1.ToolNameMa"
+ + "tchResultsH\000\022i\n tool_parameter_key_match"
+ + "_results\030\024 \001(\0132=.google.cloud.aiplatform"
+ + ".v1beta1.ToolParameterKeyMatchResultsH\000\022"
+ + "g\n\037tool_parameter_kv_match_results\030\025 \001(\013"
+ + "2<.google.cloud.aiplatform.v1beta1.ToolP"
+ + "arameterKVMatchResultsH\000\022f\n\036trajectory_e"
+ + "xact_match_results\030\037 \001(\0132<.google.cloud."
+ + "aiplatform.v1beta1.TrajectoryExactMatchR"
+ + "esultsH\000\022k\n!trajectory_in_order_match_re"
+ + "sults\030 \001(\0132>.google.cloud.aiplatform.v1"
+ + "beta1.TrajectoryInOrderMatchResultsH\000\022m\n"
+ + "\"trajectory_any_order_match_results\030! \001("
+ + "\0132?.google.cloud.aiplatform.v1beta1.Traj"
+ + "ectoryAnyOrderMatchResultsH\000\022c\n\034trajecto"
+ + "ry_precision_results\030# \001(\0132;.google.clou"
+ + "d.aiplatform.v1beta1.TrajectoryPrecision"
+ + "ResultsH\000\022]\n\031trajectory_recall_results\030$"
+ + " \001(\01328.google.cloud.aiplatform.v1beta1.T"
+ + "rajectoryRecallResultsH\000\022m\n\"trajectory_s"
+ + "ingle_tool_use_results\030% \001(\0132?.google.cl"
+ + "oud.aiplatform.v1beta1.TrajectorySingleT"
+ + "oolUseResultsH\000B\024\n\022evaluation_results\"\251\001"
+ + "\n\017ExactMatchInput\022I\n\013metric_spec\030\001 \001(\0132/"
+ + ".google.cloud.aiplatform.v1beta1.ExactMa"
+ + "tchSpecB\003\340A\002\022K\n\tinstances\030\002 \003(\01323.google"
+ + ".cloud.aiplatform.v1beta1.ExactMatchInst"
+ + "anceB\003\340A\002\"l\n\022ExactMatchInstance\022\034\n\npredi"
+ + "ction\030\001 \001(\tB\003\340A\002H\000\210\001\001\022\033\n\treference\030\002 \001(\t"
+ + "B\003\340A\002H\001\210\001\001B\r\n\013_predictionB\014\n\n_reference\""
+ + "\020\n\016ExactMatchSpec\"s\n\021ExactMatchResults\022^"
+ + "\n\031exact_match_metric_values\030\001 \003(\01326.goog"
+ + "le.cloud.aiplatform.v1beta1.ExactMatchMe"
+ + "tricValueB\003\340A\003\":\n\025ExactMatchMetricValue\022"
+ + "\027\n\005score\030\001 \001(\002B\003\340A\003H\000\210\001\001B\010\n\006_score\"\227\001\n\tB"
+ + "leuInput\022C\n\013metric_spec\030\001 \001(\0132).google.c"
+ + "loud.aiplatform.v1beta1.BleuSpecB\003\340A\002\022E\n"
+ + "\tinstances\030\002 \003(\0132-.google.cloud.aiplatfo"
+ + "rm.v1beta1.BleuInstanceB\003\340A\002\"f\n\014BleuInst"
+ + "ance\022\034\n\nprediction\030\001 \001(\tB\003\340A\002H\000\210\001\001\022\033\n\tre"
+ + "ference\030\002 \001(\tB\003\340A\002H\001\210\001\001B\r\n\013_predictionB\014"
+ + "\n\n_reference\",\n\010BleuSpec\022 \n\023use_effectiv"
+ + "e_order\030\001 \001(\010B\003\340A\001\"`\n\013BleuResults\022Q\n\022ble"
+ + "u_metric_values\030\001 \003(\01320.google.cloud.aip"
+ + "latform.v1beta1.BleuMetricValueB\003\340A\003\"4\n\017"
+ + "BleuMetricValue\022\027\n\005score\030\001 \001(\002B\003\340A\003H\000\210\001\001"
+ + "B\010\n\006_score\"\232\001\n\nRougeInput\022D\n\013metric_spec"
+ + "\030\001 \001(\0132*.google.cloud.aiplatform.v1beta1"
+ + ".RougeSpecB\003\340A\002\022F\n\tinstances\030\002 \003(\0132..goo"
+ + "gle.cloud.aiplatform.v1beta1.RougeInstan"
+ + "ceB\003\340A\002\"g\n\rRougeInstance\022\034\n\nprediction\030\001"
+ + " \001(\tB\003\340A\002H\000\210\001\001\022\033\n\treference\030\002 \001(\tB\003\340A\002H\001"
+ + "\210\001\001B\r\n\013_predictionB\014\n\n_reference\"\\\n\tRoug"
+ + "eSpec\022\027\n\nrouge_type\030\001 \001(\tB\003\340A\001\022\030\n\013use_st"
+ + "emmer\030\002 \001(\010B\003\340A\001\022\034\n\017split_summaries\030\003 \001("
+ + "\010B\003\340A\001\"c\n\014RougeResults\022S\n\023rouge_metric_v"
+ + "alues\030\001 \003(\01321.google.cloud.aiplatform.v1"
+ + "beta1.RougeMetricValueB\003\340A\003\"5\n\020RougeMetr"
+ + "icValue\022\027\n\005score\030\001 \001(\002B\003\340A\003H\000\210\001\001B\010\n\006_sco"
+ + "re\"\245\001\n\016CoherenceInput\022H\n\013metric_spec\030\001 \001"
+ + "(\0132..google.cloud.aiplatform.v1beta1.Coh"
+ + "erenceSpecB\003\340A\002\022I\n\010instance\030\002 \001(\01322.goog"
+ + "le.cloud.aiplatform.v1beta1.CoherenceIns"
+ + "tanceB\003\340A\002\"@\n\021CoherenceInstance\022\034\n\npredi"
+ + "ction\030\001 \001(\tB\003\340A\002H\000\210\001\001B\r\n\013_prediction\"%\n\r"
+ + "CoherenceSpec\022\024\n\007version\030\001 \001(\005B\003\340A\001\"{\n\017C"
+ + "oherenceResult\022\027\n\005score\030\001 \001(\002B\003\340A\003H\000\210\001\001\022"
+ "\030\n\013explanation\030\002 \001(\tB\003\340A\003\022\034\n\nconfidence\030"
+ "\003 \001(\002B\003\340A\003H\001\210\001\001B\010\n\006_scoreB\r\n\013_confidence"
- + "\"\306\001\n\031SummarizationQualityInput\022S\n\013metric"
- + "_spec\030\001 \001(\01329.google.cloud.aiplatform.v1"
- + "beta1.SummarizationQualitySpecB\003\340A\002\022T\n\010i"
- + "nstance\030\002 \001(\0132=.google.cloud.aiplatform."
- + "v1beta1.SummarizationQualityInstanceB\003\340A"
- + "\002\"\314\001\n\034SummarizationQualityInstance\022\034\n\npr"
- + "ediction\030\001 \001(\tB\003\340A\002H\000\210\001\001\022\033\n\treference\030\002 "
- + "\001(\tB\003\340A\001H\001\210\001\001\022\031\n\007context\030\003 \001(\tB\003\340A\002H\002\210\001\001"
- + "\022\035\n\013instruction\030\004 \001(\tB\003\340A\002H\003\210\001\001B\r\n\013_pred"
- + "ictionB\014\n\n_referenceB\n\n\010_contextB\016\n\014_ins"
- + "truction\"L\n\030SummarizationQualitySpec\022\032\n\r"
- + "use_reference\030\001 \001(\010B\003\340A\001\022\024\n\007version\030\002 \001("
- + "\005B\003\340A\001\"\206\001\n\032SummarizationQualityResult\022\027\n"
- + "\005score\030\001 \001(\002B\003\340A\003H\000\210\001\001\022\030\n\013explanation\030\002 "
- + "\001(\tB\003\340A\003\022\034\n\nconfidence\030\003 \001(\002B\003\340A\003H\001\210\001\001B\010"
- + "\n\006_scoreB\r\n\013_confidence\"\336\001\n!PairwiseSumm"
- + "arizationQualityInput\022[\n\013metric_spec\030\001 \001"
- + "(\0132A.google.cloud.aiplatform.v1beta1.Pai"
- + "rwiseSummarizationQualitySpecB\003\340A\002\022\\\n\010in"
- + "stance\030\002 \001(\0132E.google.cloud.aiplatform.v"
- + "1beta1.PairwiseSummarizationQualityInsta"
- + "nceB\003\340A\002\"\223\002\n$PairwiseSummarizationQualit"
- + "yInstance\022\034\n\nprediction\030\001 \001(\tB\003\340A\002H\000\210\001\001\022"
- + "%\n\023baseline_prediction\030\002 \001(\tB\003\340A\002H\001\210\001\001\022\033"
- + "\n\treference\030\003 \001(\tB\003\340A\001H\002\210\001\001\022\031\n\007context\030\004"
- + " \001(\tB\003\340A\002H\003\210\001\001\022\035\n\013instruction\030\005 \001(\tB\003\340A\002"
- + "H\004\210\001\001B\r\n\013_predictionB\026\n\024_baseline_predic"
+ + "\"\237\001\n\014FluencyInput\022F\n\013metric_spec\030\001 \001(\0132,"
+ + ".google.cloud.aiplatform.v1beta1.Fluency"
+ + "SpecB\003\340A\002\022G\n\010instance\030\002 \001(\01320.google.clo"
+ + "ud.aiplatform.v1beta1.FluencyInstanceB\003\340"
+ + "A\002\">\n\017FluencyInstance\022\034\n\nprediction\030\001 \001("
+ + "\tB\003\340A\002H\000\210\001\001B\r\n\013_prediction\"#\n\013FluencySpe"
+ + "c\022\024\n\007version\030\001 \001(\005B\003\340A\001\"y\n\rFluencyResult"
+ + "\022\027\n\005score\030\001 \001(\002B\003\340A\003H\000\210\001\001\022\030\n\013explanation"
+ + "\030\002 \001(\tB\003\340A\003\022\034\n\nconfidence\030\003 \001(\002B\003\340A\003H\001\210\001"
+ + "\001B\010\n\006_scoreB\r\n\013_confidence\"\234\001\n\013SafetyInp"
+ + "ut\022E\n\013metric_spec\030\001 \001(\0132+.google.cloud.a"
+ + "iplatform.v1beta1.SafetySpecB\003\340A\002\022F\n\010ins"
+ + "tance\030\002 \001(\0132/.google.cloud.aiplatform.v1"
+ + "beta1.SafetyInstanceB\003\340A\002\"=\n\016SafetyInsta"
+ + "nce\022\034\n\nprediction\030\001 \001(\tB\003\340A\002H\000\210\001\001B\r\n\013_pr"
+ + "ediction\"\"\n\nSafetySpec\022\024\n\007version\030\001 \001(\005B"
+ + "\003\340A\001\"x\n\014SafetyResult\022\027\n\005score\030\001 \001(\002B\003\340A\003"
+ + "H\000\210\001\001\022\030\n\013explanation\030\002 \001(\tB\003\340A\003\022\034\n\nconfi"
+ + "dence\030\003 \001(\002B\003\340A\003H\001\210\001\001B\010\n\006_scoreB\r\n\013_conf"
+ + "idence\"\256\001\n\021GroundednessInput\022K\n\013metric_s"
+ + "pec\030\001 \001(\01321.google.cloud.aiplatform.v1be"
+ + "ta1.GroundednessSpecB\003\340A\002\022L\n\010instance\030\002 "
+ + "\001(\01325.google.cloud.aiplatform.v1beta1.Gr"
+ + "oundednessInstanceB\003\340A\002\"j\n\024GroundednessI"
+ + "nstance\022\034\n\nprediction\030\001 \001(\tB\003\340A\002H\000\210\001\001\022\031\n"
+ + "\007context\030\002 \001(\tB\003\340A\002H\001\210\001\001B\r\n\013_predictionB"
+ + "\n\n\010_context\"(\n\020GroundednessSpec\022\024\n\007versi"
+ + "on\030\001 \001(\005B\003\340A\001\"~\n\022GroundednessResult\022\027\n\005s"
+ + "core\030\001 \001(\002B\003\340A\003H\000\210\001\001\022\030\n\013explanation\030\002 \001("
+ + "\tB\003\340A\003\022\034\n\nconfidence\030\003 \001(\002B\003\340A\003H\001\210\001\001B\010\n\006"
+ + "_scoreB\r\n\013_confidence\"\253\001\n\020FulfillmentInp"
+ + "ut\022J\n\013metric_spec\030\001 \001(\01320.google.cloud.a"
+ + "iplatform.v1beta1.FulfillmentSpecB\003\340A\002\022K"
+ + "\n\010instance\030\002 \001(\01324.google.cloud.aiplatfo"
+ + "rm.v1beta1.FulfillmentInstanceB\003\340A\002\"q\n\023F"
+ + "ulfillmentInstance\022\034\n\nprediction\030\001 \001(\tB\003"
+ + "\340A\002H\000\210\001\001\022\035\n\013instruction\030\002 \001(\tB\003\340A\002H\001\210\001\001B"
+ + "\r\n\013_predictionB\016\n\014_instruction\"\'\n\017Fulfil"
+ + "lmentSpec\022\024\n\007version\030\001 \001(\005B\003\340A\001\"}\n\021Fulfi"
+ + "llmentResult\022\027\n\005score\030\001 \001(\002B\003\340A\003H\000\210\001\001\022\030\n"
+ + "\013explanation\030\002 \001(\tB\003\340A\003\022\034\n\nconfidence\030\003 "
+ + "\001(\002B\003\340A\003H\001\210\001\001B\010\n\006_scoreB\r\n\013_confidence\"\306"
+ + "\001\n\031SummarizationQualityInput\022S\n\013metric_s"
+ + "pec\030\001 \001(\01329.google.cloud.aiplatform.v1be"
+ + "ta1.SummarizationQualitySpecB\003\340A\002\022T\n\010ins"
+ + "tance\030\002 \001(\0132=.google.cloud.aiplatform.v1"
+ + "beta1.SummarizationQualityInstanceB\003\340A\002\""
+ + "\314\001\n\034SummarizationQualityInstance\022\034\n\npred"
+ + "iction\030\001 \001(\tB\003\340A\002H\000\210\001\001\022\033\n\treference\030\002 \001("
+ + "\tB\003\340A\001H\001\210\001\001\022\031\n\007context\030\003 \001(\tB\003\340A\002H\002\210\001\001\022\035"
+ + "\n\013instruction\030\004 \001(\tB\003\340A\002H\003\210\001\001B\r\n\013_predic"
+ "tionB\014\n\n_referenceB\n\n\010_contextB\016\n\014_instr"
- + "uction\"T\n PairwiseSummarizationQualitySp"
- + "ec\022\032\n\ruse_reference\030\001 \001(\010B\003\340A\001\022\024\n\007versio"
- + "n\030\002 \001(\005B\003\340A\001\"\272\001\n\"PairwiseSummarizationQu"
- + "alityResult\022M\n\017pairwise_choice\030\001 \001(\0162/.g"
- + "oogle.cloud.aiplatform.v1beta1.PairwiseC"
- + "hoiceB\003\340A\003\022\030\n\013explanation\030\002 \001(\tB\003\340A\003\022\034\n\n"
- + "confidence\030\003 \001(\002B\003\340A\003H\000\210\001\001B\r\n\013_confidenc"
- + "e\"\322\001\n\035SummarizationHelpfulnessInput\022W\n\013m"
+ + "uction\"L\n\030SummarizationQualitySpec\022\032\n\rus"
+ + "e_reference\030\001 \001(\010B\003\340A\001\022\024\n\007version\030\002 \001(\005B"
+ + "\003\340A\001\"\206\001\n\032SummarizationQualityResult\022\027\n\005s"
+ + "core\030\001 \001(\002B\003\340A\003H\000\210\001\001\022\030\n\013explanation\030\002 \001("
+ + "\tB\003\340A\003\022\034\n\nconfidence\030\003 \001(\002B\003\340A\003H\001\210\001\001B\010\n\006"
+ + "_scoreB\r\n\013_confidence\"\336\001\n!PairwiseSummar"
+ + "izationQualityInput\022[\n\013metric_spec\030\001 \001(\013"
+ + "2A.google.cloud.aiplatform.v1beta1.Pairw"
+ + "iseSummarizationQualitySpecB\003\340A\002\022\\\n\010inst"
+ + "ance\030\002 \001(\0132E.google.cloud.aiplatform.v1b"
+ + "eta1.PairwiseSummarizationQualityInstanc"
+ + "eB\003\340A\002\"\223\002\n$PairwiseSummarizationQualityI"
+ + "nstance\022\034\n\nprediction\030\001 \001(\tB\003\340A\002H\000\210\001\001\022%\n"
+ + "\023baseline_prediction\030\002 \001(\tB\003\340A\002H\001\210\001\001\022\033\n\t"
+ + "reference\030\003 \001(\tB\003\340A\001H\002\210\001\001\022\031\n\007context\030\004 \001"
+ + "(\tB\003\340A\002H\003\210\001\001\022\035\n\013instruction\030\005 \001(\tB\003\340A\002H\004"
+ + "\210\001\001B\r\n\013_predictionB\026\n\024_baseline_predicti"
+ + "onB\014\n\n_referenceB\n\n\010_contextB\016\n\014_instruc"
+ + "tion\"T\n PairwiseSummarizationQualitySpec"
+ + "\022\032\n\ruse_reference\030\001 \001(\010B\003\340A\001\022\024\n\007version\030"
+ + "\002 \001(\005B\003\340A\001\"\272\001\n\"PairwiseSummarizationQual"
+ + "ityResult\022M\n\017pairwise_choice\030\001 \001(\0162/.goo"
+ + "gle.cloud.aiplatform.v1beta1.PairwiseCho"
+ + "iceB\003\340A\003\022\030\n\013explanation\030\002 \001(\tB\003\340A\003\022\034\n\nco"
+ + "nfidence\030\003 \001(\002B\003\340A\003H\000\210\001\001B\r\n\013_confidence\""
+ + "\322\001\n\035SummarizationHelpfulnessInput\022W\n\013met"
+ + "ric_spec\030\001 \001(\0132=.google.cloud.aiplatform"
+ + ".v1beta1.SummarizationHelpfulnessSpecB\003\340"
+ + "A\002\022X\n\010instance\030\002 \001(\0132A.google.cloud.aipl"
+ + "atform.v1beta1.SummarizationHelpfulnessI"
+ + "nstanceB\003\340A\002\"\320\001\n SummarizationHelpfulnes"
+ + "sInstance\022\034\n\nprediction\030\001 \001(\tB\003\340A\002H\000\210\001\001\022"
+ + "\033\n\treference\030\002 \001(\tB\003\340A\001H\001\210\001\001\022\031\n\007context\030"
+ + "\003 \001(\tB\003\340A\002H\002\210\001\001\022\035\n\013instruction\030\004 \001(\tB\003\340A"
+ + "\001H\003\210\001\001B\r\n\013_predictionB\014\n\n_referenceB\n\n\010_"
+ + "contextB\016\n\014_instruction\"P\n\034Summarization"
+ + "HelpfulnessSpec\022\032\n\ruse_reference\030\001 \001(\010B\003"
+ + "\340A\001\022\024\n\007version\030\002 \001(\005B\003\340A\001\"\212\001\n\036Summarizat"
+ + "ionHelpfulnessResult\022\027\n\005score\030\001 \001(\002B\003\340A\003"
+ + "H\000\210\001\001\022\030\n\013explanation\030\002 \001(\tB\003\340A\003\022\034\n\nconfi"
+ + "dence\030\003 \001(\002B\003\340A\003H\001\210\001\001B\010\n\006_scoreB\r\n\013_conf"
+ + "idence\"\314\001\n\033SummarizationVerbosityInput\022U"
+ + "\n\013metric_spec\030\001 \001(\0132;.google.cloud.aipla"
+ + "tform.v1beta1.SummarizationVerbositySpec"
+ + "B\003\340A\002\022V\n\010instance\030\002 \001(\0132?.google.cloud.a"
+ + "iplatform.v1beta1.SummarizationVerbosity"
+ + "InstanceB\003\340A\002\"\316\001\n\036SummarizationVerbosity"
+ + "Instance\022\034\n\nprediction\030\001 \001(\tB\003\340A\002H\000\210\001\001\022\033"
+ + "\n\treference\030\002 \001(\tB\003\340A\001H\001\210\001\001\022\031\n\007context\030\003"
+ + " \001(\tB\003\340A\002H\002\210\001\001\022\035\n\013instruction\030\004 \001(\tB\003\340A\001"
+ + "H\003\210\001\001B\r\n\013_predictionB\014\n\n_referenceB\n\n\010_c"
+ + "ontextB\016\n\014_instruction\"N\n\032SummarizationV"
+ + "erbositySpec\022\032\n\ruse_reference\030\001 \001(\010B\003\340A\001"
+ + "\022\024\n\007version\030\002 \001(\005B\003\340A\001\"\210\001\n\034Summarization"
+ + "VerbosityResult\022\027\n\005score\030\001 \001(\002B\003\340A\003H\000\210\001\001"
+ + "\022\030\n\013explanation\030\002 \001(\tB\003\340A\003\022\034\n\nconfidence"
+ + "\030\003 \001(\002B\003\340A\003H\001\210\001\001B\010\n\006_scoreB\r\n\013_confidenc"
+ + "e\"\322\001\n\035QuestionAnsweringQualityInput\022W\n\013m"
+ "etric_spec\030\001 \001(\0132=.google.cloud.aiplatfo"
- + "rm.v1beta1.SummarizationHelpfulnessSpecB"
+ + "rm.v1beta1.QuestionAnsweringQualitySpecB"
+ "\003\340A\002\022X\n\010instance\030\002 \001(\0132A.google.cloud.ai"
- + "platform.v1beta1.SummarizationHelpfulnes"
- + "sInstanceB\003\340A\002\"\320\001\n SummarizationHelpfuln"
- + "essInstance\022\034\n\nprediction\030\001 \001(\tB\003\340A\002H\000\210\001"
+ + "platform.v1beta1.QuestionAnsweringQualit"
+ + "yInstanceB\003\340A\002\"\320\001\n QuestionAnsweringQual"
+ + "ityInstance\022\034\n\nprediction\030\001 \001(\tB\003\340A\002H\000\210\001"
+ "\001\022\033\n\treference\030\002 \001(\tB\003\340A\001H\001\210\001\001\022\031\n\007contex"
+ "t\030\003 \001(\tB\003\340A\002H\002\210\001\001\022\035\n\013instruction\030\004 \001(\tB\003"
- + "\340A\001H\003\210\001\001B\r\n\013_predictionB\014\n\n_referenceB\n\n"
- + "\010_contextB\016\n\014_instruction\"P\n\034Summarizati"
- + "onHelpfulnessSpec\022\032\n\ruse_reference\030\001 \001(\010"
- + "B\003\340A\001\022\024\n\007version\030\002 \001(\005B\003\340A\001\"\212\001\n\036Summariz"
- + "ationHelpfulnessResult\022\027\n\005score\030\001 \001(\002B\003\340"
+ + "\340A\002H\003\210\001\001B\r\n\013_predictionB\014\n\n_referenceB\n\n"
+ + "\010_contextB\016\n\014_instruction\"P\n\034QuestionAns"
+ + "weringQualitySpec\022\032\n\ruse_reference\030\001 \001(\010"
+ + "B\003\340A\001\022\024\n\007version\030\002 \001(\005B\003\340A\001\"\212\001\n\036Question"
+ + "AnsweringQualityResult\022\027\n\005score\030\001 \001(\002B\003\340"
+ "A\003H\000\210\001\001\022\030\n\013explanation\030\002 \001(\tB\003\340A\003\022\034\n\ncon"
+ "fidence\030\003 \001(\002B\003\340A\003H\001\210\001\001B\010\n\006_scoreB\r\n\013_co"
- + "nfidence\"\314\001\n\033SummarizationVerbosityInput"
- + "\022U\n\013metric_spec\030\001 \001(\0132;.google.cloud.aip"
- + "latform.v1beta1.SummarizationVerbositySp"
- + "ecB\003\340A\002\022V\n\010instance\030\002 \001(\0132?.google.cloud"
- + ".aiplatform.v1beta1.SummarizationVerbosi"
- + "tyInstanceB\003\340A\002\"\316\001\n\036SummarizationVerbosi"
+ + "nfidence\"\352\001\n%PairwiseQuestionAnsweringQu"
+ + "alityInput\022_\n\013metric_spec\030\001 \001(\0132E.google"
+ + ".cloud.aiplatform.v1beta1.PairwiseQuesti"
+ + "onAnsweringQualitySpecB\003\340A\002\022`\n\010instance\030"
+ + "\002 \001(\0132I.google.cloud.aiplatform.v1beta1."
+ + "PairwiseQuestionAnsweringQualityInstance"
+ + "B\003\340A\002\"\227\002\n(PairwiseQuestionAnsweringQuali"
+ "tyInstance\022\034\n\nprediction\030\001 \001(\tB\003\340A\002H\000\210\001\001"
- + "\022\033\n\treference\030\002 \001(\tB\003\340A\001H\001\210\001\001\022\031\n\007context"
- + "\030\003 \001(\tB\003\340A\002H\002\210\001\001\022\035\n\013instruction\030\004 \001(\tB\003\340"
- + "A\001H\003\210\001\001B\r\n\013_predictionB\014\n\n_referenceB\n\n\010"
- + "_contextB\016\n\014_instruction\"N\n\032Summarizatio"
- + "nVerbositySpec\022\032\n\ruse_reference\030\001 \001(\010B\003\340"
- + "A\001\022\024\n\007version\030\002 \001(\005B\003\340A\001\"\210\001\n\034Summarizati"
- + "onVerbosityResult\022\027\n\005score\030\001 \001(\002B\003\340A\003H\000\210"
- + "\001\001\022\030\n\013explanation\030\002 \001(\tB\003\340A\003\022\034\n\nconfiden"
- + "ce\030\003 \001(\002B\003\340A\003H\001\210\001\001B\010\n\006_scoreB\r\n\013_confide"
- + "nce\"\322\001\n\035QuestionAnsweringQualityInput\022W\n"
- + "\013metric_spec\030\001 \001(\0132=.google.cloud.aiplat"
- + "form.v1beta1.QuestionAnsweringQualitySpe"
- + "cB\003\340A\002\022X\n\010instance\030\002 \001(\0132A.google.cloud."
- + "aiplatform.v1beta1.QuestionAnsweringQual"
- + "ityInstanceB\003\340A\002\"\320\001\n QuestionAnsweringQu"
- + "alityInstance\022\034\n\nprediction\030\001 \001(\tB\003\340A\002H\000"
- + "\210\001\001\022\033\n\treference\030\002 \001(\tB\003\340A\001H\001\210\001\001\022\031\n\007cont"
- + "ext\030\003 \001(\tB\003\340A\002H\002\210\001\001\022\035\n\013instruction\030\004 \001(\t"
- + "B\003\340A\002H\003\210\001\001B\r\n\013_predictionB\014\n\n_referenceB"
- + "\n\n\010_contextB\016\n\014_instruction\"P\n\034QuestionA"
- + "nsweringQualitySpec\022\032\n\ruse_reference\030\001 \001"
- + "(\010B\003\340A\001\022\024\n\007version\030\002 \001(\005B\003\340A\001\"\212\001\n\036Questi"
- + "onAnsweringQualityResult\022\027\n\005score\030\001 \001(\002B"
- + "\003\340A\003H\000\210\001\001\022\030\n\013explanation\030\002 \001(\tB\003\340A\003\022\034\n\nc"
- + "onfidence\030\003 \001(\002B\003\340A\003H\001\210\001\001B\010\n\006_scoreB\r\n\013_"
- + "confidence\"\352\001\n%PairwiseQuestionAnswering"
- + "QualityInput\022_\n\013metric_spec\030\001 \001(\0132E.goog"
- + "le.cloud.aiplatform.v1beta1.PairwiseQues"
- + "tionAnsweringQualitySpecB\003\340A\002\022`\n\010instanc"
- + "e\030\002 \001(\0132I.google.cloud.aiplatform.v1beta"
- + "1.PairwiseQuestionAnsweringQualityInstan"
- + "ceB\003\340A\002\"\227\002\n(PairwiseQuestionAnsweringQua"
- + "lityInstance\022\034\n\nprediction\030\001 \001(\tB\003\340A\002H\000\210"
- + "\001\001\022%\n\023baseline_prediction\030\002 \001(\tB\003\340A\002H\001\210\001"
- + "\001\022\033\n\treference\030\003 \001(\tB\003\340A\001H\002\210\001\001\022\031\n\007contex"
- + "t\030\004 \001(\tB\003\340A\002H\003\210\001\001\022\035\n\013instruction\030\005 \001(\tB\003"
- + "\340A\002H\004\210\001\001B\r\n\013_predictionB\026\n\024_baseline_pre"
- + "dictionB\014\n\n_referenceB\n\n\010_contextB\016\n\014_in"
- + "struction\"X\n$PairwiseQuestionAnsweringQu"
- + "alitySpec\022\032\n\ruse_reference\030\001 \001(\010B\003\340A\001\022\024\n"
- + "\007version\030\002 \001(\005B\003\340A\001\"\276\001\n&PairwiseQuestion"
- + "AnsweringQualityResult\022M\n\017pairwise_choic"
- + "e\030\001 \001(\0162/.google.cloud.aiplatform.v1beta"
- + "1.PairwiseChoiceB\003\340A\003\022\030\n\013explanation\030\002 \001"
- + "(\tB\003\340A\003\022\034\n\nconfidence\030\003 \001(\002B\003\340A\003H\000\210\001\001B\r\n"
- + "\013_confidence\"\330\001\n\037QuestionAnsweringReleva"
- + "nceInput\022Y\n\013metric_spec\030\001 \001(\0132?.google.c"
- + "loud.aiplatform.v1beta1.QuestionAnswerin"
- + "gRelevanceSpecB\003\340A\002\022Z\n\010instance\030\002 \001(\0132C."
- + "google.cloud.aiplatform.v1beta1.Question"
- + "AnsweringRelevanceInstanceB\003\340A\002\"\322\001\n\"Ques"
- + "tionAnsweringRelevanceInstance\022\034\n\npredic"
- + "tion\030\001 \001(\tB\003\340A\002H\000\210\001\001\022\033\n\treference\030\002 \001(\tB"
- + "\003\340A\001H\001\210\001\001\022\031\n\007context\030\003 \001(\tB\003\340A\001H\002\210\001\001\022\035\n\013"
- + "instruction\030\004 \001(\tB\003\340A\002H\003\210\001\001B\r\n\013_predicti"
- + "onB\014\n\n_referenceB\n\n\010_contextB\016\n\014_instruc"
- + "tion\"R\n\036QuestionAnsweringRelevanceSpec\022\032"
- + "\n\ruse_reference\030\001 \001(\010B\003\340A\001\022\024\n\007version\030\002 "
- + "\001(\005B\003\340A\001\"\214\001\n QuestionAnsweringRelevanceR"
- + "esult\022\027\n\005score\030\001 \001(\002B\003\340A\003H\000\210\001\001\022\030\n\013explan"
- + "ation\030\002 \001(\tB\003\340A\003\022\034\n\nconfidence\030\003 \001(\002B\003\340A"
- + "\003H\001\210\001\001B\010\n\006_scoreB\r\n\013_confidence\"\336\001\n!Ques"
- + "tionAnsweringHelpfulnessInput\022[\n\013metric_"
- + "spec\030\001 \001(\0132A.google.cloud.aiplatform.v1b"
- + "eta1.QuestionAnsweringHelpfulnessSpecB\003\340"
- + "A\002\022\\\n\010instance\030\002 \001(\0132E.google.cloud.aipl"
- + "atform.v1beta1.QuestionAnsweringHelpfuln"
- + "essInstanceB\003\340A\002\"\324\001\n$QuestionAnsweringHe"
- + "lpfulnessInstance\022\034\n\nprediction\030\001 \001(\tB\003\340"
- + "A\002H\000\210\001\001\022\033\n\treference\030\002 \001(\tB\003\340A\001H\001\210\001\001\022\031\n\007"
- + "context\030\003 \001(\tB\003\340A\001H\002\210\001\001\022\035\n\013instruction\030\004"
- + " \001(\tB\003\340A\002H\003\210\001\001B\r\n\013_predictionB\014\n\n_refere"
- + "nceB\n\n\010_contextB\016\n\014_instruction\"T\n Quest"
- + "ionAnsweringHelpfulnessSpec\022\032\n\ruse_refer"
- + "ence\030\001 \001(\010B\003\340A\001\022\024\n\007version\030\002 \001(\005B\003\340A\001\"\216\001"
- + "\n\"QuestionAnsweringHelpfulnessResult\022\027\n\005"
- + "score\030\001 \001(\002B\003\340A\003H\000\210\001\001\022\030\n\013explanation\030\002 \001"
- + "(\tB\003\340A\003\022\034\n\nconfidence\030\003 \001(\002B\003\340A\003H\001\210\001\001B\010\n"
- + "\006_scoreB\r\n\013_confidence\"\336\001\n!QuestionAnswe"
- + "ringCorrectnessInput\022[\n\013metric_spec\030\001 \001("
- + "\0132A.google.cloud.aiplatform.v1beta1.Ques"
- + "tionAnsweringCorrectnessSpecB\003\340A\002\022\\\n\010ins"
- + "tance\030\002 \001(\0132E.google.cloud.aiplatform.v1"
- + "beta1.QuestionAnsweringCorrectnessInstan"
- + "ceB\003\340A\002\"\324\001\n$QuestionAnsweringCorrectness"
- + "Instance\022\034\n\nprediction\030\001 \001(\tB\003\340A\002H\000\210\001\001\022\033"
- + "\n\treference\030\002 \001(\tB\003\340A\001H\001\210\001\001\022\031\n\007context\030\003"
- + " \001(\tB\003\340A\001H\002\210\001\001\022\035\n\013instruction\030\004 \001(\tB\003\340A\002"
- + "H\003\210\001\001B\r\n\013_predictionB\014\n\n_referenceB\n\n\010_c"
- + "ontextB\016\n\014_instruction\"T\n QuestionAnswer"
- + "ingCorrectnessSpec\022\032\n\ruse_reference\030\001 \001("
- + "\010B\003\340A\001\022\024\n\007version\030\002 \001(\005B\003\340A\001\"\216\001\n\"Questio"
- + "nAnsweringCorrectnessResult\022\027\n\005score\030\001 \001"
- + "(\002B\003\340A\003H\000\210\001\001\022\030\n\013explanation\030\002 \001(\tB\003\340A\003\022\034"
- + "\n\nconfidence\030\003 \001(\002B\003\340A\003H\001\210\001\001B\010\n\006_scoreB\r"
- + "\n\013_confidence\"\267\001\n\024PointwiseMetricInput\022N"
- + "\n\013metric_spec\030\001 \001(\01324.google.cloud.aipla"
- + "tform.v1beta1.PointwiseMetricSpecB\003\340A\002\022O"
- + "\n\010instance\030\002 \001(\01328.google.cloud.aiplatfo"
- + "rm.v1beta1.PointwiseMetricInstanceB\003\340A\002\""
- + ">\n\027PointwiseMetricInstance\022\027\n\rjson_insta"
- + "nce\030\001 \001(\tH\000B\n\n\010instance\"Z\n\023PointwiseMetr"
- + "icSpec\022(\n\026metric_prompt_template\030\001 \001(\tB\003"
- + "\340A\002H\000\210\001\001B\031\n\027_metric_prompt_template\"T\n\025P"
- + "ointwiseMetricResult\022\027\n\005score\030\001 \001(\002B\003\340A\003"
- + "H\000\210\001\001\022\030\n\013explanation\030\002 \001(\tB\003\340A\003B\010\n\006_scor"
- + "e\"\264\001\n\023PairwiseMetricInput\022M\n\013metric_spec"
- + "\030\001 \001(\01323.google.cloud.aiplatform.v1beta1"
- + ".PairwiseMetricSpecB\003\340A\002\022N\n\010instance\030\002 \001"
- + "(\01327.google.cloud.aiplatform.v1beta1.Pai"
- + "rwiseMetricInstanceB\003\340A\002\"=\n\026PairwiseMetr"
- + "icInstance\022\027\n\rjson_instance\030\001 \001(\tH\000B\n\n\010i"
- + "nstance\"Y\n\022PairwiseMetricSpec\022(\n\026metric_"
- + "prompt_template\030\001 \001(\tB\003\340A\002H\000\210\001\001B\031\n\027_metr"
- + "ic_prompt_template\"\177\n\024PairwiseMetricResu"
- + "lt\022M\n\017pairwise_choice\030\001 \001(\0162/.google.clo"
- + "ud.aiplatform.v1beta1.PairwiseChoiceB\003\340A"
- + "\003\022\030\n\013explanation\030\002 \001(\tB\003\340A\003\"\262\001\n\022ToolCall"
- + "ValidInput\022L\n\013metric_spec\030\001 \001(\01322.google"
- + ".cloud.aiplatform.v1beta1.ToolCallValidS"
- + "pecB\003\340A\002\022N\n\tinstances\030\002 \003(\01326.google.clo"
- + "ud.aiplatform.v1beta1.ToolCallValidInsta"
- + "nceB\003\340A\002\"\023\n\021ToolCallValidSpec\"o\n\025ToolCal"
- + "lValidInstance\022\034\n\nprediction\030\001 \001(\tB\003\340A\002H"
- + "\000\210\001\001\022\033\n\treference\030\002 \001(\tB\003\340A\002H\001\210\001\001B\r\n\013_pr"
- + "edictionB\014\n\n_reference\"}\n\024ToolCallValidR"
- + "esults\022e\n\035tool_call_valid_metric_values\030"
- + "\001 \003(\01329.google.cloud.aiplatform.v1beta1."
- + "ToolCallValidMetricValueB\003\340A\003\"=\n\030ToolCal"
- + "lValidMetricValue\022\027\n\005score\030\001 \001(\002B\003\340A\003H\000\210"
- + "\001\001B\010\n\006_score\"\262\001\n\022ToolNameMatchInput\022L\n\013m"
- + "etric_spec\030\001 \001(\01322.google.cloud.aiplatfo"
- + "rm.v1beta1.ToolNameMatchSpecB\003\340A\002\022N\n\tins"
- + "tances\030\002 \003(\01326.google.cloud.aiplatform.v"
- + "1beta1.ToolNameMatchInstanceB\003\340A\002\"\023\n\021Too"
- + "lNameMatchSpec\"o\n\025ToolNameMatchInstance\022",
- "\034\n\nprediction\030\001 \001(\tB\003\340A\002H\000\210\001\001\022\033\n\treferen"
- + "ce\030\002 \001(\tB\003\340A\002H\001\210\001\001B\r\n\013_predictionB\014\n\n_re"
- + "ference\"}\n\024ToolNameMatchResults\022e\n\035tool_"
- + "name_match_metric_values\030\001 \003(\01329.google."
- + "cloud.aiplatform.v1beta1.ToolNameMatchMe"
- + "tricValueB\003\340A\003\"=\n\030ToolNameMatchMetricVal"
- + "ue\022\027\n\005score\030\001 \001(\002B\003\340A\003H\000\210\001\001B\010\n\006_score\"\312\001"
- + "\n\032ToolParameterKeyMatchInput\022T\n\013metric_s"
- + "pec\030\001 \001(\0132:.google.cloud.aiplatform.v1be"
- + "ta1.ToolParameterKeyMatchSpecB\003\340A\002\022V\n\tin"
- + "stances\030\002 \003(\0132>.google.cloud.aiplatform."
- + "v1beta1.ToolParameterKeyMatchInstanceB\003\340"
- + "A\002\"\033\n\031ToolParameterKeyMatchSpec\"w\n\035ToolP"
- + "arameterKeyMatchInstance\022\034\n\nprediction\030\001"
- + " \001(\tB\003\340A\002H\000\210\001\001\022\033\n\treference\030\002 \001(\tB\003\340A\002H\001"
- + "\210\001\001B\r\n\013_predictionB\014\n\n_reference\"\226\001\n\034Too"
- + "lParameterKeyMatchResults\022v\n&tool_parame"
- + "ter_key_match_metric_values\030\001 \003(\0132A.goog"
- + "le.cloud.aiplatform.v1beta1.ToolParamete"
- + "rKeyMatchMetricValueB\003\340A\003\"E\n ToolParamet"
- + "erKeyMatchMetricValue\022\027\n\005score\030\001 \001(\002B\003\340A"
- + "\003H\000\210\001\001B\010\n\006_score\"\307\001\n\031ToolParameterKVMatc"
- + "hInput\022S\n\013metric_spec\030\001 \001(\01329.google.clo"
- + "ud.aiplatform.v1beta1.ToolParameterKVMat"
- + "chSpecB\003\340A\002\022U\n\tinstances\030\002 \003(\0132=.google."
- + "cloud.aiplatform.v1beta1.ToolParameterKV"
- + "MatchInstanceB\003\340A\002\"@\n\030ToolParameterKVMat"
- + "chSpec\022$\n\027use_strict_string_match\030\001 \001(\010B"
- + "\003\340A\001\"v\n\034ToolParameterKVMatchInstance\022\034\n\n"
- + "prediction\030\001 \001(\tB\003\340A\002H\000\210\001\001\022\033\n\treference\030"
- + "\002 \001(\tB\003\340A\002H\001\210\001\001B\r\n\013_predictionB\014\n\n_refer"
- + "ence\"\223\001\n\033ToolParameterKVMatchResults\022t\n%"
- + "tool_parameter_kv_match_metric_values\030\001 "
- + "\003(\0132@.google.cloud.aiplatform.v1beta1.To"
- + "olParameterKVMatchMetricValueB\003\340A\003\"D\n\037To"
- + "olParameterKVMatchMetricValue\022\027\n\005score\030\001"
- + " \001(\002B\003\340A\003H\000\210\001\001B\010\n\006_score*W\n\016PairwiseChoi"
- + "ce\022\037\n\033PAIRWISE_CHOICE_UNSPECIFIED\020\000\022\014\n\010B"
- + "ASELINE\020\001\022\r\n\tCANDIDATE\020\002\022\007\n\003TIE\020\0032\270\002\n\021Ev"
- + "aluationService\022\323\001\n\021EvaluateInstances\0229."
- + "google.cloud.aiplatform.v1beta1.Evaluate"
- + "InstancesRequest\032:.google.cloud.aiplatfo"
- + "rm.v1beta1.EvaluateInstancesResponse\"G\202\323"
- + "\344\223\002A\"\n"
+ + "\027PointwiseMetricInstance\022\027\n\rjson_instanc"
+ + "e\030\001 \001(\tH\000B\n\n\010instance\"Z\n\023PointwiseMetric"
+ + "Spec\022(\n\026metric_prompt_template\030\001 \001(\tB\003\340A"
+ + "\002H\000\210\001\001B\031\n\027_metric_prompt_template\"T\n\025Poi"
+ + "ntwiseMetricResult\022\027\n\005score\030\001 \001(\002B\003\340A\003H\000",
+ "\210\001\001\022\030\n\013explanation\030\002 \001(\tB\003\340A\003B\010\n\006_score\""
+ + "\264\001\n\023PairwiseMetricInput\022M\n\013metric_spec\030\001"
+ + " \001(\01323.google.cloud.aiplatform.v1beta1.P"
+ + "airwiseMetricSpecB\003\340A\002\022N\n\010instance\030\002 \001(\013"
+ + "27.google.cloud.aiplatform.v1beta1.Pairw"
+ + "iseMetricInstanceB\003\340A\002\"=\n\026PairwiseMetric"
+ + "Instance\022\027\n\rjson_instance\030\001 \001(\tH\000B\n\n\010ins"
+ + "tance\"Y\n\022PairwiseMetricSpec\022(\n\026metric_pr"
+ + "ompt_template\030\001 \001(\tB\003\340A\002H\000\210\001\001B\031\n\027_metric"
+ + "_prompt_template\"\177\n\024PairwiseMetricResult"
+ + "\022M\n\017pairwise_choice\030\001 \001(\0162/.google.cloud"
+ + ".aiplatform.v1beta1.PairwiseChoiceB\003\340A\003\022"
+ + "\030\n\013explanation\030\002 \001(\tB\003\340A\003\"\262\001\n\022ToolCallVa"
+ + "lidInput\022L\n\013metric_spec\030\001 \001(\01322.google.c"
+ + "loud.aiplatform.v1beta1.ToolCallValidSpe"
+ + "cB\003\340A\002\022N\n\tinstances\030\002 \003(\01326.google.cloud"
+ + ".aiplatform.v1beta1.ToolCallValidInstanc"
+ + "eB\003\340A\002\"\023\n\021ToolCallValidSpec\"o\n\025ToolCallV"
+ + "alidInstance\022\034\n\nprediction\030\001 \001(\tB\003\340A\002H\000\210"
+ + "\001\001\022\033\n\treference\030\002 \001(\tB\003\340A\002H\001\210\001\001B\r\n\013_pred"
+ + "ictionB\014\n\n_reference\"}\n\024ToolCallValidRes"
+ + "ults\022e\n\035tool_call_valid_metric_values\030\001 "
+ + "\003(\01329.google.cloud.aiplatform.v1beta1.To"
+ + "olCallValidMetricValueB\003\340A\003\"=\n\030ToolCallV"
+ + "alidMetricValue\022\027\n\005score\030\001 \001(\002B\003\340A\003H\000\210\001\001"
+ + "B\010\n\006_score\"\262\001\n\022ToolNameMatchInput\022L\n\013met"
+ + "ric_spec\030\001 \001(\01322.google.cloud.aiplatform"
+ + ".v1beta1.ToolNameMatchSpecB\003\340A\002\022N\n\tinsta"
+ + "nces\030\002 \003(\01326.google.cloud.aiplatform.v1b"
+ + "eta1.ToolNameMatchInstanceB\003\340A\002\"\023\n\021ToolN"
+ + "ameMatchSpec\"o\n\025ToolNameMatchInstance\022\034\n"
+ + "\nprediction\030\001 \001(\tB\003\340A\002H\000\210\001\001\022\033\n\treference"
+ + "\030\002 \001(\tB\003\340A\002H\001\210\001\001B\r\n\013_predictionB\014\n\n_refe"
+ + "rence\"}\n\024ToolNameMatchResults\022e\n\035tool_na"
+ + "me_match_metric_values\030\001 \003(\01329.google.cl"
+ + "oud.aiplatform.v1beta1.ToolNameMatchMetr"
+ + "icValueB\003\340A\003\"=\n\030ToolNameMatchMetricValue"
+ + "\022\027\n\005score\030\001 \001(\002B\003\340A\003H\000\210\001\001B\010\n\006_score\"\312\001\n\032"
+ + "ToolParameterKeyMatchInput\022T\n\013metric_spe"
+ + "c\030\001 \001(\0132:.google.cloud.aiplatform.v1beta"
+ + "1.ToolParameterKeyMatchSpecB\003\340A\002\022V\n\tinst"
+ + "ances\030\002 \003(\0132>.google.cloud.aiplatform.v1"
+ + "beta1.ToolParameterKeyMatchInstanceB\003\340A\002"
+ + "\"\033\n\031ToolParameterKeyMatchSpec\"w\n\035ToolPar"
+ + "ameterKeyMatchInstance\022\034\n\nprediction\030\001 \001"
+ + "(\tB\003\340A\002H\000\210\001\001\022\033\n\treference\030\002 \001(\tB\003\340A\002H\001\210\001"
+ + "\001B\r\n\013_predictionB\014\n\n_reference\"\226\001\n\034ToolP"
+ + "arameterKeyMatchResults\022v\n&tool_paramete"
+ + "r_key_match_metric_values\030\001 \003(\0132A.google"
+ + ".cloud.aiplatform.v1beta1.ToolParameterK"
+ + "eyMatchMetricValueB\003\340A\003\"E\n ToolParameter"
+ + "KeyMatchMetricValue\022\027\n\005score\030\001 \001(\002B\003\340A\003H"
+ + "\000\210\001\001B\010\n\006_score\"\307\001\n\031ToolParameterKVMatchI"
+ + "nput\022S\n\013metric_spec\030\001 \001(\01329.google.cloud"
+ + ".aiplatform.v1beta1.ToolParameterKVMatch"
+ + "SpecB\003\340A\002\022U\n\tinstances\030\002 \003(\0132=.google.cl"
+ + "oud.aiplatform.v1beta1.ToolParameterKVMa"
+ + "tchInstanceB\003\340A\002\"@\n\030ToolParameterKVMatch"
+ + "Spec\022$\n\027use_strict_string_match\030\001 \001(\010B\003\340"
+ + "A\001\"v\n\034ToolParameterKVMatchInstance\022\034\n\npr"
+ + "ediction\030\001 \001(\tB\003\340A\002H\000\210\001\001\022\033\n\treference\030\002 "
+ + "\001(\tB\003\340A\002H\001\210\001\001B\r\n\013_predictionB\014\n\n_referen"
+ + "ce\"\223\001\n\033ToolParameterKVMatchResults\022t\n%to"
+ + "ol_parameter_kv_match_metric_values\030\001 \003("
+ + "\0132@.google.cloud.aiplatform.v1beta1.Tool"
+ + "ParameterKVMatchMetricValueB\003\340A\003\"D\n\037Tool"
+ + "ParameterKVMatchMetricValue\022\027\n\005score\030\001 \001"
+ + "(\002B\003\340A\003H\000\210\001\001B\010\n\006_score\"\307\001\n\031TrajectoryExa"
+ + "ctMatchInput\022S\n\013metric_spec\030\001 \001(\01329.goog"
+ + "le.cloud.aiplatform.v1beta1.TrajectoryEx"
+ + "actMatchSpecB\003\340A\002\022U\n\tinstances\030\002 \003(\0132=.g"
+ + "oogle.cloud.aiplatform.v1beta1.Trajector"
+ + "yExactMatchInstanceB\003\340A\002\"\032\n\030TrajectoryEx"
+ + "actMatchSpec\"\372\001\n\034TrajectoryExactMatchIns"
+ + "tance\022S\n\024predicted_trajectory\030\001 \001(\0132+.go"
+ + "ogle.cloud.aiplatform.v1beta1.Trajectory"
+ + "B\003\340A\002H\000\210\001\001\022S\n\024reference_trajectory\030\002 \001(\013"
+ + "2+.google.cloud.aiplatform.v1beta1.Traje"
+ + "ctoryB\003\340A\002H\001\210\001\001B\027\n\025_predicted_trajectory"
+ + "B\027\n\025_reference_trajectory\"\222\001\n\033Trajectory"
+ + "ExactMatchResults\022s\n$trajectory_exact_ma"
+ + "tch_metric_values\030\001 \003(\0132@.google.cloud.a"
+ + "iplatform.v1beta1.TrajectoryExactMatchMe"
+ + "tricValueB\003\340A\003\"D\n\037TrajectoryExactMatchMe"
+ + "tricValue\022\027\n\005score\030\001 \001(\002B\003\340A\003H\000\210\001\001B\010\n\006_s"
+ + "core\"\315\001\n\033TrajectoryInOrderMatchInput\022U\n\013"
+ + "metric_spec\030\001 \001(\0132;.google.cloud.aiplatf"
+ + "orm.v1beta1.TrajectoryInOrderMatchSpecB\003"
+ + "\340A\002\022W\n\tinstances\030\002 \003(\0132?.google.cloud.ai"
+ + "platform.v1beta1.TrajectoryInOrderMatchI"
+ + "nstanceB\003\340A\002\"\034\n\032TrajectoryInOrderMatchSp"
+ + "ec\"\374\001\n\036TrajectoryInOrderMatchInstance\022S\n"
+ + "\024predicted_trajectory\030\001 \001(\0132+.google.clo"
+ + "ud.aiplatform.v1beta1.TrajectoryB\003\340A\002H\000\210"
+ + "\001\001\022S\n\024reference_trajectory\030\002 \001(\0132+.googl"
+ + "e.cloud.aiplatform.v1beta1.TrajectoryB\003\340"
+ + "A\002H\001\210\001\001B\027\n\025_predicted_trajectoryB\027\n\025_ref"
+ + "erence_trajectory\"\231\001\n\035TrajectoryInOrderM"
+ + "atchResults\022x\n\'trajectory_in_order_match"
+ + "_metric_values\030\001 \003(\0132B.google.cloud.aipl"
+ + "atform.v1beta1.TrajectoryInOrderMatchMet"
+ + "ricValueB\003\340A\003\"F\n!TrajectoryInOrderMatchM"
+ + "etricValue\022\027\n\005score\030\001 \001(\002B\003\340A\003H\000\210\001\001B\010\n\006_"
+ + "score\"\320\001\n\034TrajectoryAnyOrderMatchInput\022V"
+ + "\n\013metric_spec\030\001 \001(\0132<.google.cloud.aipla"
+ + "tform.v1beta1.TrajectoryAnyOrderMatchSpe"
+ + "cB\003\340A\002\022X\n\tinstances\030\002 \003(\0132@.google.cloud"
+ + ".aiplatform.v1beta1.TrajectoryAnyOrderMa"
+ + "tchInstanceB\003\340A\002\"\035\n\033TrajectoryAnyOrderMa"
+ + "tchSpec\"\375\001\n\037TrajectoryAnyOrderMatchInsta"
+ + "nce\022S\n\024predicted_trajectory\030\001 \001(\0132+.goog"
+ + "le.cloud.aiplatform.v1beta1.TrajectoryB\003"
+ + "\340A\002H\000\210\001\001\022S\n\024reference_trajectory\030\002 \001(\0132+"
+ + ".google.cloud.aiplatform.v1beta1.Traject"
+ + "oryB\003\340A\002H\001\210\001\001B\027\n\025_predicted_trajectoryB\027"
+ + "\n\025_reference_trajectory\"\234\001\n\036TrajectoryAn"
+ + "yOrderMatchResults\022z\n(trajectory_any_ord"
+ + "er_match_metric_values\030\001 \003(\0132C.google.cl"
+ + "oud.aiplatform.v1beta1.TrajectoryAnyOrde"
+ + "rMatchMetricValueB\003\340A\003\"G\n\"TrajectoryAnyO"
+ + "rderMatchMetricValue\022\027\n\005score\030\001 \001(\002B\003\340A\003"
+ + "H\000\210\001\001B\010\n\006_score\"\304\001\n\030TrajectoryPrecisionI"
+ + "nput\022R\n\013metric_spec\030\001 \001(\01328.google.cloud"
+ + ".aiplatform.v1beta1.TrajectoryPrecisionS"
+ + "pecB\003\340A\002\022T\n\tinstances\030\002 \003(\0132<.google.clo"
+ + "ud.aiplatform.v1beta1.TrajectoryPrecisio"
+ + "nInstanceB\003\340A\002\"\031\n\027TrajectoryPrecisionSpe"
+ + "c\"\371\001\n\033TrajectoryPrecisionInstance\022S\n\024pre"
+ + "dicted_trajectory\030\001 \001(\0132+.google.cloud.a"
+ + "iplatform.v1beta1.TrajectoryB\003\340A\002H\000\210\001\001\022S"
+ + "\n\024reference_trajectory\030\002 \001(\0132+.google.cl"
+ + "oud.aiplatform.v1beta1.TrajectoryB\003\340A\002H\001"
+ + "\210\001\001B\027\n\025_predicted_trajectoryB\027\n\025_referen"
+ + "ce_trajectory\"\216\001\n\032TrajectoryPrecisionRes"
+ + "ults\022p\n\"trajectory_precision_metric_valu"
+ + "es\030\001 \003(\0132?.google.cloud.aiplatform.v1bet"
+ + "a1.TrajectoryPrecisionMetricValueB\003\340A\003\"C"
+ + "\n\036TrajectoryPrecisionMetricValue\022\027\n\005scor"
+ + "e\030\001 \001(\002B\003\340A\003H\000\210\001\001B\010\n\006_score\"\273\001\n\025Trajecto"
+ + "ryRecallInput\022O\n\013metric_spec\030\001 \001(\01325.goo"
+ + "gle.cloud.aiplatform.v1beta1.TrajectoryR"
+ + "ecallSpecB\003\340A\002\022Q\n\tinstances\030\002 \003(\01329.goog"
+ + "le.cloud.aiplatform.v1beta1.TrajectoryRe"
+ + "callInstanceB\003\340A\002\"\026\n\024TrajectoryRecallSpe"
+ + "c\"\366\001\n\030TrajectoryRecallInstance\022S\n\024predic"
+ + "ted_trajectory\030\001 \001(\0132+.google.cloud.aipl"
+ + "atform.v1beta1.TrajectoryB\003\340A\002H\000\210\001\001\022S\n\024r"
+ + "eference_trajectory\030\002 \001(\0132+.google.cloud"
+ + ".aiplatform.v1beta1.TrajectoryB\003\340A\002H\001\210\001\001"
+ + "B\027\n\025_predicted_trajectoryB\027\n\025_reference_"
+ + "trajectory\"\205\001\n\027TrajectoryRecallResults\022j"
+ + "\n\037trajectory_recall_metric_values\030\001 \003(\0132"
+ + "<.google.cloud.aiplatform.v1beta1.Trajec"
+ + "toryRecallMetricValueB\003\340A\003\"@\n\033Trajectory"
+ + "RecallMetricValue\022\027\n\005score\030\001 \001(\002B\003\340A\003H\000\210"
+ + "\001\001B\010\n\006_score\"\320\001\n\034TrajectorySingleToolUse"
+ + "Input\022V\n\013metric_spec\030\001 \001(\0132<.google.clou"
+ + "d.aiplatform.v1beta1.TrajectorySingleToo"
+ + "lUseSpecB\003\340A\002\022X\n\tinstances\030\002 \003(\0132@.googl"
+ + "e.cloud.aiplatform.v1beta1.TrajectorySin"
+ + "gleToolUseInstanceB\003\340A\002\"H\n\033TrajectorySin"
+ + "gleToolUseSpec\022\033\n\ttool_name\030\001 \001(\tB\003\340A\002H\000"
+ + "\210\001\001B\014\n\n_tool_name\"\217\001\n\037TrajectorySingleTo"
+ + "olUseInstance\022S\n\024predicted_trajectory\030\001 "
+ + "\001(\0132+.google.cloud.aiplatform.v1beta1.Tr"
+ + "ajectoryB\003\340A\002H\000\210\001\001B\027\n\025_predicted_traject"
+ + "ory\"\234\001\n\036TrajectorySingleToolUseResults\022z"
+ + "\n(trajectory_single_tool_use_metric_valu"
+ + "es\030\001 \003(\0132C.google.cloud.aiplatform.v1bet"
+ + "a1.TrajectorySingleToolUseMetricValueB\003\340"
+ + "A\003\"G\n\"TrajectorySingleToolUseMetricValue"
+ + "\022\027\n\005score\030\001 \001(\002B\003\340A\003H\000\210\001\001B\010\n\006_score\"P\n\nT"
+ + "rajectory\022B\n\ntool_calls\030\001 \003(\0132).google.c"
+ + "loud.aiplatform.v1beta1.ToolCallB\003\340A\002\"b\n"
+ + "\010ToolCall\022\033\n\ttool_name\030\001 \001(\tB\003\340A\002H\000\210\001\001\022\034"
+ + "\n\ntool_input\030\002 \001(\tB\003\340A\001H\001\210\001\001B\014\n\n_tool_na"
+ + "meB\r\n\013_tool_input*W\n\016PairwiseChoice\022\037\n\033P"
+ + "AIRWISE_CHOICE_UNSPECIFIED\020\000\022\014\n\010BASELINE"
+ + "\020\001\022\r\n\tCANDIDATE\020\002\022\007\n\003TIE\020\0032\270\002\n\021Evaluatio"
+ + "nService\022\323\001\n\021EvaluateInstances\0229.google."
+ + "cloud.aiplatform.v1beta1.EvaluateInstanc"
+ + "esRequest\032:.google.cloud.aiplatform.v1be"
+ + "ta1.EvaluateInstancesResponse\"G\202\323\344\223\002A\""
+ + "v1beta1/{location=projects/*/locations/*"
+ + "}:evaluateInstances:\001*\032M\312A\031aiplatform.go"
+ + "ogleapis.com\322A.https://www.googleapis.co"
+ + "m/auth/cloud-platformB\355\001\n#com.google.clo"
+ + "ud.aiplatform.v1beta1B\026EvaluationService"
+ + "ProtoP\001ZCcloud.google.com/go/aiplatform/"
+ + "apiv1beta1/aiplatformpb;aiplatformpb\252\002\037G"
+ + "oogle.Cloud.AIPlatform.V1Beta1\312\002\037Google\\"
+ + "Cloud\\AIPlatform\\V1beta1\352\002\"Google::Cloud"
+ + "::AIPlatform::V1beta1b\006proto3"
};
descriptor =
com.google.protobuf.Descriptors.FileDescriptor.internalBuildGeneratedFileFrom(
@@ -933,6 +1201,12 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() {
"ToolNameMatchInput",
"ToolParameterKeyMatchInput",
"ToolParameterKvMatchInput",
+ "TrajectoryExactMatchInput",
+ "TrajectoryInOrderMatchInput",
+ "TrajectoryAnyOrderMatchInput",
+ "TrajectoryPrecisionInput",
+ "TrajectoryRecallInput",
+ "TrajectorySingleToolUseInput",
"Location",
"MetricInputs",
});
@@ -965,6 +1239,12 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() {
"ToolNameMatchResults",
"ToolParameterKeyMatchResults",
"ToolParameterKvMatchResults",
+ "TrajectoryExactMatchResults",
+ "TrajectoryInOrderMatchResults",
+ "TrajectoryAnyOrderMatchResults",
+ "TrajectoryPrecisionResults",
+ "TrajectoryRecallResults",
+ "TrajectorySingleToolUseResults",
"EvaluationResults",
});
internal_static_google_cloud_aiplatform_v1beta1_ExactMatchInput_descriptor =
@@ -1751,6 +2031,252 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() {
new java.lang.String[] {
"Score",
});
+ internal_static_google_cloud_aiplatform_v1beta1_TrajectoryExactMatchInput_descriptor =
+ getDescriptor().getMessageTypes().get(101);
+ internal_static_google_cloud_aiplatform_v1beta1_TrajectoryExactMatchInput_fieldAccessorTable =
+ new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
+ internal_static_google_cloud_aiplatform_v1beta1_TrajectoryExactMatchInput_descriptor,
+ new java.lang.String[] {
+ "MetricSpec", "Instances",
+ });
+ internal_static_google_cloud_aiplatform_v1beta1_TrajectoryExactMatchSpec_descriptor =
+ getDescriptor().getMessageTypes().get(102);
+ internal_static_google_cloud_aiplatform_v1beta1_TrajectoryExactMatchSpec_fieldAccessorTable =
+ new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
+ internal_static_google_cloud_aiplatform_v1beta1_TrajectoryExactMatchSpec_descriptor,
+ new java.lang.String[] {});
+ internal_static_google_cloud_aiplatform_v1beta1_TrajectoryExactMatchInstance_descriptor =
+ getDescriptor().getMessageTypes().get(103);
+ internal_static_google_cloud_aiplatform_v1beta1_TrajectoryExactMatchInstance_fieldAccessorTable =
+ new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
+ internal_static_google_cloud_aiplatform_v1beta1_TrajectoryExactMatchInstance_descriptor,
+ new java.lang.String[] {
+ "PredictedTrajectory", "ReferenceTrajectory",
+ });
+ internal_static_google_cloud_aiplatform_v1beta1_TrajectoryExactMatchResults_descriptor =
+ getDescriptor().getMessageTypes().get(104);
+ internal_static_google_cloud_aiplatform_v1beta1_TrajectoryExactMatchResults_fieldAccessorTable =
+ new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
+ internal_static_google_cloud_aiplatform_v1beta1_TrajectoryExactMatchResults_descriptor,
+ new java.lang.String[] {
+ "TrajectoryExactMatchMetricValues",
+ });
+ internal_static_google_cloud_aiplatform_v1beta1_TrajectoryExactMatchMetricValue_descriptor =
+ getDescriptor().getMessageTypes().get(105);
+ internal_static_google_cloud_aiplatform_v1beta1_TrajectoryExactMatchMetricValue_fieldAccessorTable =
+ new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
+ internal_static_google_cloud_aiplatform_v1beta1_TrajectoryExactMatchMetricValue_descriptor,
+ new java.lang.String[] {
+ "Score",
+ });
+ internal_static_google_cloud_aiplatform_v1beta1_TrajectoryInOrderMatchInput_descriptor =
+ getDescriptor().getMessageTypes().get(106);
+ internal_static_google_cloud_aiplatform_v1beta1_TrajectoryInOrderMatchInput_fieldAccessorTable =
+ new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
+ internal_static_google_cloud_aiplatform_v1beta1_TrajectoryInOrderMatchInput_descriptor,
+ new java.lang.String[] {
+ "MetricSpec", "Instances",
+ });
+ internal_static_google_cloud_aiplatform_v1beta1_TrajectoryInOrderMatchSpec_descriptor =
+ getDescriptor().getMessageTypes().get(107);
+ internal_static_google_cloud_aiplatform_v1beta1_TrajectoryInOrderMatchSpec_fieldAccessorTable =
+ new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
+ internal_static_google_cloud_aiplatform_v1beta1_TrajectoryInOrderMatchSpec_descriptor,
+ new java.lang.String[] {});
+ internal_static_google_cloud_aiplatform_v1beta1_TrajectoryInOrderMatchInstance_descriptor =
+ getDescriptor().getMessageTypes().get(108);
+ internal_static_google_cloud_aiplatform_v1beta1_TrajectoryInOrderMatchInstance_fieldAccessorTable =
+ new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
+ internal_static_google_cloud_aiplatform_v1beta1_TrajectoryInOrderMatchInstance_descriptor,
+ new java.lang.String[] {
+ "PredictedTrajectory", "ReferenceTrajectory",
+ });
+ internal_static_google_cloud_aiplatform_v1beta1_TrajectoryInOrderMatchResults_descriptor =
+ getDescriptor().getMessageTypes().get(109);
+ internal_static_google_cloud_aiplatform_v1beta1_TrajectoryInOrderMatchResults_fieldAccessorTable =
+ new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
+ internal_static_google_cloud_aiplatform_v1beta1_TrajectoryInOrderMatchResults_descriptor,
+ new java.lang.String[] {
+ "TrajectoryInOrderMatchMetricValues",
+ });
+ internal_static_google_cloud_aiplatform_v1beta1_TrajectoryInOrderMatchMetricValue_descriptor =
+ getDescriptor().getMessageTypes().get(110);
+ internal_static_google_cloud_aiplatform_v1beta1_TrajectoryInOrderMatchMetricValue_fieldAccessorTable =
+ new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
+ internal_static_google_cloud_aiplatform_v1beta1_TrajectoryInOrderMatchMetricValue_descriptor,
+ new java.lang.String[] {
+ "Score",
+ });
+ internal_static_google_cloud_aiplatform_v1beta1_TrajectoryAnyOrderMatchInput_descriptor =
+ getDescriptor().getMessageTypes().get(111);
+ internal_static_google_cloud_aiplatform_v1beta1_TrajectoryAnyOrderMatchInput_fieldAccessorTable =
+ new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
+ internal_static_google_cloud_aiplatform_v1beta1_TrajectoryAnyOrderMatchInput_descriptor,
+ new java.lang.String[] {
+ "MetricSpec", "Instances",
+ });
+ internal_static_google_cloud_aiplatform_v1beta1_TrajectoryAnyOrderMatchSpec_descriptor =
+ getDescriptor().getMessageTypes().get(112);
+ internal_static_google_cloud_aiplatform_v1beta1_TrajectoryAnyOrderMatchSpec_fieldAccessorTable =
+ new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
+ internal_static_google_cloud_aiplatform_v1beta1_TrajectoryAnyOrderMatchSpec_descriptor,
+ new java.lang.String[] {});
+ internal_static_google_cloud_aiplatform_v1beta1_TrajectoryAnyOrderMatchInstance_descriptor =
+ getDescriptor().getMessageTypes().get(113);
+ internal_static_google_cloud_aiplatform_v1beta1_TrajectoryAnyOrderMatchInstance_fieldAccessorTable =
+ new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
+ internal_static_google_cloud_aiplatform_v1beta1_TrajectoryAnyOrderMatchInstance_descriptor,
+ new java.lang.String[] {
+ "PredictedTrajectory", "ReferenceTrajectory",
+ });
+ internal_static_google_cloud_aiplatform_v1beta1_TrajectoryAnyOrderMatchResults_descriptor =
+ getDescriptor().getMessageTypes().get(114);
+ internal_static_google_cloud_aiplatform_v1beta1_TrajectoryAnyOrderMatchResults_fieldAccessorTable =
+ new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
+ internal_static_google_cloud_aiplatform_v1beta1_TrajectoryAnyOrderMatchResults_descriptor,
+ new java.lang.String[] {
+ "TrajectoryAnyOrderMatchMetricValues",
+ });
+ internal_static_google_cloud_aiplatform_v1beta1_TrajectoryAnyOrderMatchMetricValue_descriptor =
+ getDescriptor().getMessageTypes().get(115);
+ internal_static_google_cloud_aiplatform_v1beta1_TrajectoryAnyOrderMatchMetricValue_fieldAccessorTable =
+ new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
+ internal_static_google_cloud_aiplatform_v1beta1_TrajectoryAnyOrderMatchMetricValue_descriptor,
+ new java.lang.String[] {
+ "Score",
+ });
+ internal_static_google_cloud_aiplatform_v1beta1_TrajectoryPrecisionInput_descriptor =
+ getDescriptor().getMessageTypes().get(116);
+ internal_static_google_cloud_aiplatform_v1beta1_TrajectoryPrecisionInput_fieldAccessorTable =
+ new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
+ internal_static_google_cloud_aiplatform_v1beta1_TrajectoryPrecisionInput_descriptor,
+ new java.lang.String[] {
+ "MetricSpec", "Instances",
+ });
+ internal_static_google_cloud_aiplatform_v1beta1_TrajectoryPrecisionSpec_descriptor =
+ getDescriptor().getMessageTypes().get(117);
+ internal_static_google_cloud_aiplatform_v1beta1_TrajectoryPrecisionSpec_fieldAccessorTable =
+ new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
+ internal_static_google_cloud_aiplatform_v1beta1_TrajectoryPrecisionSpec_descriptor,
+ new java.lang.String[] {});
+ internal_static_google_cloud_aiplatform_v1beta1_TrajectoryPrecisionInstance_descriptor =
+ getDescriptor().getMessageTypes().get(118);
+ internal_static_google_cloud_aiplatform_v1beta1_TrajectoryPrecisionInstance_fieldAccessorTable =
+ new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
+ internal_static_google_cloud_aiplatform_v1beta1_TrajectoryPrecisionInstance_descriptor,
+ new java.lang.String[] {
+ "PredictedTrajectory", "ReferenceTrajectory",
+ });
+ internal_static_google_cloud_aiplatform_v1beta1_TrajectoryPrecisionResults_descriptor =
+ getDescriptor().getMessageTypes().get(119);
+ internal_static_google_cloud_aiplatform_v1beta1_TrajectoryPrecisionResults_fieldAccessorTable =
+ new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
+ internal_static_google_cloud_aiplatform_v1beta1_TrajectoryPrecisionResults_descriptor,
+ new java.lang.String[] {
+ "TrajectoryPrecisionMetricValues",
+ });
+ internal_static_google_cloud_aiplatform_v1beta1_TrajectoryPrecisionMetricValue_descriptor =
+ getDescriptor().getMessageTypes().get(120);
+ internal_static_google_cloud_aiplatform_v1beta1_TrajectoryPrecisionMetricValue_fieldAccessorTable =
+ new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
+ internal_static_google_cloud_aiplatform_v1beta1_TrajectoryPrecisionMetricValue_descriptor,
+ new java.lang.String[] {
+ "Score",
+ });
+ internal_static_google_cloud_aiplatform_v1beta1_TrajectoryRecallInput_descriptor =
+ getDescriptor().getMessageTypes().get(121);
+ internal_static_google_cloud_aiplatform_v1beta1_TrajectoryRecallInput_fieldAccessorTable =
+ new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
+ internal_static_google_cloud_aiplatform_v1beta1_TrajectoryRecallInput_descriptor,
+ new java.lang.String[] {
+ "MetricSpec", "Instances",
+ });
+ internal_static_google_cloud_aiplatform_v1beta1_TrajectoryRecallSpec_descriptor =
+ getDescriptor().getMessageTypes().get(122);
+ internal_static_google_cloud_aiplatform_v1beta1_TrajectoryRecallSpec_fieldAccessorTable =
+ new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
+ internal_static_google_cloud_aiplatform_v1beta1_TrajectoryRecallSpec_descriptor,
+ new java.lang.String[] {});
+ internal_static_google_cloud_aiplatform_v1beta1_TrajectoryRecallInstance_descriptor =
+ getDescriptor().getMessageTypes().get(123);
+ internal_static_google_cloud_aiplatform_v1beta1_TrajectoryRecallInstance_fieldAccessorTable =
+ new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
+ internal_static_google_cloud_aiplatform_v1beta1_TrajectoryRecallInstance_descriptor,
+ new java.lang.String[] {
+ "PredictedTrajectory", "ReferenceTrajectory",
+ });
+ internal_static_google_cloud_aiplatform_v1beta1_TrajectoryRecallResults_descriptor =
+ getDescriptor().getMessageTypes().get(124);
+ internal_static_google_cloud_aiplatform_v1beta1_TrajectoryRecallResults_fieldAccessorTable =
+ new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
+ internal_static_google_cloud_aiplatform_v1beta1_TrajectoryRecallResults_descriptor,
+ new java.lang.String[] {
+ "TrajectoryRecallMetricValues",
+ });
+ internal_static_google_cloud_aiplatform_v1beta1_TrajectoryRecallMetricValue_descriptor =
+ getDescriptor().getMessageTypes().get(125);
+ internal_static_google_cloud_aiplatform_v1beta1_TrajectoryRecallMetricValue_fieldAccessorTable =
+ new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
+ internal_static_google_cloud_aiplatform_v1beta1_TrajectoryRecallMetricValue_descriptor,
+ new java.lang.String[] {
+ "Score",
+ });
+ internal_static_google_cloud_aiplatform_v1beta1_TrajectorySingleToolUseInput_descriptor =
+ getDescriptor().getMessageTypes().get(126);
+ internal_static_google_cloud_aiplatform_v1beta1_TrajectorySingleToolUseInput_fieldAccessorTable =
+ new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
+ internal_static_google_cloud_aiplatform_v1beta1_TrajectorySingleToolUseInput_descriptor,
+ new java.lang.String[] {
+ "MetricSpec", "Instances",
+ });
+ internal_static_google_cloud_aiplatform_v1beta1_TrajectorySingleToolUseSpec_descriptor =
+ getDescriptor().getMessageTypes().get(127);
+ internal_static_google_cloud_aiplatform_v1beta1_TrajectorySingleToolUseSpec_fieldAccessorTable =
+ new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
+ internal_static_google_cloud_aiplatform_v1beta1_TrajectorySingleToolUseSpec_descriptor,
+ new java.lang.String[] {
+ "ToolName",
+ });
+ internal_static_google_cloud_aiplatform_v1beta1_TrajectorySingleToolUseInstance_descriptor =
+ getDescriptor().getMessageTypes().get(128);
+ internal_static_google_cloud_aiplatform_v1beta1_TrajectorySingleToolUseInstance_fieldAccessorTable =
+ new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
+ internal_static_google_cloud_aiplatform_v1beta1_TrajectorySingleToolUseInstance_descriptor,
+ new java.lang.String[] {
+ "PredictedTrajectory",
+ });
+ internal_static_google_cloud_aiplatform_v1beta1_TrajectorySingleToolUseResults_descriptor =
+ getDescriptor().getMessageTypes().get(129);
+ internal_static_google_cloud_aiplatform_v1beta1_TrajectorySingleToolUseResults_fieldAccessorTable =
+ new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
+ internal_static_google_cloud_aiplatform_v1beta1_TrajectorySingleToolUseResults_descriptor,
+ new java.lang.String[] {
+ "TrajectorySingleToolUseMetricValues",
+ });
+ internal_static_google_cloud_aiplatform_v1beta1_TrajectorySingleToolUseMetricValue_descriptor =
+ getDescriptor().getMessageTypes().get(130);
+ internal_static_google_cloud_aiplatform_v1beta1_TrajectorySingleToolUseMetricValue_fieldAccessorTable =
+ new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
+ internal_static_google_cloud_aiplatform_v1beta1_TrajectorySingleToolUseMetricValue_descriptor,
+ new java.lang.String[] {
+ "Score",
+ });
+ internal_static_google_cloud_aiplatform_v1beta1_Trajectory_descriptor =
+ getDescriptor().getMessageTypes().get(131);
+ internal_static_google_cloud_aiplatform_v1beta1_Trajectory_fieldAccessorTable =
+ new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
+ internal_static_google_cloud_aiplatform_v1beta1_Trajectory_descriptor,
+ new java.lang.String[] {
+ "ToolCalls",
+ });
+ internal_static_google_cloud_aiplatform_v1beta1_ToolCall_descriptor =
+ getDescriptor().getMessageTypes().get(132);
+ internal_static_google_cloud_aiplatform_v1beta1_ToolCall_fieldAccessorTable =
+ new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
+ internal_static_google_cloud_aiplatform_v1beta1_ToolCall_descriptor,
+ new java.lang.String[] {
+ "ToolName", "ToolInput",
+ });
com.google.protobuf.ExtensionRegistry registry =
com.google.protobuf.ExtensionRegistry.newInstance();
registry.add(com.google.api.ClientProto.defaultHost);
diff --git a/java-aiplatform/proto-google-cloud-aiplatform-v1beta1/src/main/java/com/google/cloud/aiplatform/v1beta1/NotebookExecutionJob.java b/java-aiplatform/proto-google-cloud-aiplatform-v1beta1/src/main/java/com/google/cloud/aiplatform/v1beta1/NotebookExecutionJob.java
index 5cefc45e9eb0..f7f1d763f77c 100644
--- a/java-aiplatform/proto-google-cloud-aiplatform-v1beta1/src/main/java/com/google/cloud/aiplatform/v1beta1/NotebookExecutionJob.java
+++ b/java-aiplatform/proto-google-cloud-aiplatform-v1beta1/src/main/java/com/google/cloud/aiplatform/v1beta1/NotebookExecutionJob.java
@@ -2455,6 +2455,1411 @@ public com.google.protobuf.Parser getParserForType() {
}
}
+ public interface CustomEnvironmentSpecOrBuilder
+ extends
+ // @@protoc_insertion_point(interface_extends:google.cloud.aiplatform.v1beta1.NotebookExecutionJob.CustomEnvironmentSpec)
+ com.google.protobuf.MessageOrBuilder {
+
+ /**
+ *
+ *
+ *
+ * The specification of a single machine for the execution job.
+ *
+ *
+ * .google.cloud.aiplatform.v1beta1.MachineSpec machine_spec = 1;
+ *
+ * @return Whether the machineSpec field is set.
+ */
+ boolean hasMachineSpec();
+ /**
+ *
+ *
+ *
+ * The specification of a single machine for the execution job.
+ *
+ *
+ * .google.cloud.aiplatform.v1beta1.MachineSpec machine_spec = 1;
+ *
+ * @return The machineSpec.
+ */
+ com.google.cloud.aiplatform.v1beta1.MachineSpec getMachineSpec();
+ /**
+ *
+ *
+ *
+ * The specification of a single machine for the execution job.
+ *
+ *
+ * .google.cloud.aiplatform.v1beta1.MachineSpec machine_spec = 1;
+ */
+ com.google.cloud.aiplatform.v1beta1.MachineSpecOrBuilder getMachineSpecOrBuilder();
+
+ /**
+ *
+ *
+ *
+ * The specification of a persistent disk to attach for the execution job.
+ *
+ *
+ * .google.cloud.aiplatform.v1beta1.PersistentDiskSpec persistent_disk_spec = 2;
+ *
+ * @return Whether the persistentDiskSpec field is set.
+ */
+ boolean hasPersistentDiskSpec();
+ /**
+ *
+ *
+ *
+ * The specification of a persistent disk to attach for the execution job.
+ *
+ *
+ * .google.cloud.aiplatform.v1beta1.PersistentDiskSpec persistent_disk_spec = 2;
+ *
+ * @return The persistentDiskSpec.
+ */
+ com.google.cloud.aiplatform.v1beta1.PersistentDiskSpec getPersistentDiskSpec();
+ /**
+ *
+ *
+ *
+ * The specification of a persistent disk to attach for the execution job.
+ *
+ *
+ * .google.cloud.aiplatform.v1beta1.PersistentDiskSpec persistent_disk_spec = 2;
+ */
+ com.google.cloud.aiplatform.v1beta1.PersistentDiskSpecOrBuilder
+ getPersistentDiskSpecOrBuilder();
+
+ /**
+ *
+ *
+ *
+ * The network configuration to use for the execution job.
+ *
+ *
+ * .google.cloud.aiplatform.v1beta1.NetworkSpec network_spec = 3;
+ *
+ * @return Whether the networkSpec field is set.
+ */
+ boolean hasNetworkSpec();
+ /**
+ *
+ *
+ *
+ * The network configuration to use for the execution job.
+ *
+ *
+ * .google.cloud.aiplatform.v1beta1.NetworkSpec network_spec = 3;
+ *
+ * @return The networkSpec.
+ */
+ com.google.cloud.aiplatform.v1beta1.NetworkSpec getNetworkSpec();
+ /**
+ *
+ *
+ *
+ * The network configuration to use for the execution job.
+ *
+ *
+ * .google.cloud.aiplatform.v1beta1.NetworkSpec network_spec = 3;
+ */
+ com.google.cloud.aiplatform.v1beta1.NetworkSpecOrBuilder getNetworkSpecOrBuilder();
+ }
+ /**
+ *
+ *
+ *
+ * Compute configuration to use for an execution job.
+ *
+ *
+ * Protobuf type {@code
+ * google.cloud.aiplatform.v1beta1.NotebookExecutionJob.CustomEnvironmentSpec}
+ */
+ public static final class CustomEnvironmentSpec extends com.google.protobuf.GeneratedMessageV3
+ implements
+ // @@protoc_insertion_point(message_implements:google.cloud.aiplatform.v1beta1.NotebookExecutionJob.CustomEnvironmentSpec)
+ CustomEnvironmentSpecOrBuilder {
+ private static final long serialVersionUID = 0L;
+ // Use CustomEnvironmentSpec.newBuilder() to construct.
+ private CustomEnvironmentSpec(com.google.protobuf.GeneratedMessageV3.Builder> builder) {
+ super(builder);
+ }
+
+ private CustomEnvironmentSpec() {}
+
+ @java.lang.Override
+ @SuppressWarnings({"unused"})
+ protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
+ return new CustomEnvironmentSpec();
+ }
+
+ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+ return com.google.cloud.aiplatform.v1beta1.NotebookExecutionJobProto
+ .internal_static_google_cloud_aiplatform_v1beta1_NotebookExecutionJob_CustomEnvironmentSpec_descriptor;
+ }
+
+ @java.lang.Override
+ protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
+ internalGetFieldAccessorTable() {
+ return com.google.cloud.aiplatform.v1beta1.NotebookExecutionJobProto
+ .internal_static_google_cloud_aiplatform_v1beta1_NotebookExecutionJob_CustomEnvironmentSpec_fieldAccessorTable
+ .ensureFieldAccessorsInitialized(
+ com.google.cloud.aiplatform.v1beta1.NotebookExecutionJob.CustomEnvironmentSpec.class,
+ com.google.cloud.aiplatform.v1beta1.NotebookExecutionJob.CustomEnvironmentSpec.Builder
+ .class);
+ }
+
+ private int bitField0_;
+ public static final int MACHINE_SPEC_FIELD_NUMBER = 1;
+ private com.google.cloud.aiplatform.v1beta1.MachineSpec machineSpec_;
+ /**
+ *
+ *
+ *
+ * The specification of a single machine for the execution job.
+ *
+ *
+ * .google.cloud.aiplatform.v1beta1.MachineSpec machine_spec = 1;
+ *
+ * @return Whether the machineSpec field is set.
+ */
+ @java.lang.Override
+ public boolean hasMachineSpec() {
+ return ((bitField0_ & 0x00000001) != 0);
+ }
+ /**
+ *
+ *
+ *
+ * The specification of a single machine for the execution job.
+ *
+ *
+ * .google.cloud.aiplatform.v1beta1.MachineSpec machine_spec = 1;
+ *
+ * @return The machineSpec.
+ */
+ @java.lang.Override
+ public com.google.cloud.aiplatform.v1beta1.MachineSpec getMachineSpec() {
+ return machineSpec_ == null
+ ? com.google.cloud.aiplatform.v1beta1.MachineSpec.getDefaultInstance()
+ : machineSpec_;
+ }
+ /**
+ *
+ *
+ *
+ * The specification of a single machine for the execution job.
+ *
+ *
+ * .google.cloud.aiplatform.v1beta1.MachineSpec machine_spec = 1;
+ */
+ @java.lang.Override
+ public com.google.cloud.aiplatform.v1beta1.MachineSpecOrBuilder getMachineSpecOrBuilder() {
+ return machineSpec_ == null
+ ? com.google.cloud.aiplatform.v1beta1.MachineSpec.getDefaultInstance()
+ : machineSpec_;
+ }
+
+ public static final int PERSISTENT_DISK_SPEC_FIELD_NUMBER = 2;
+ private com.google.cloud.aiplatform.v1beta1.PersistentDiskSpec persistentDiskSpec_;
+ /**
+ *
+ *
+ *
+ * The specification of a persistent disk to attach for the execution job.
+ *
+ *
+ * .google.cloud.aiplatform.v1beta1.PersistentDiskSpec persistent_disk_spec = 2;
+ *
+ * @return Whether the persistentDiskSpec field is set.
+ */
+ @java.lang.Override
+ public boolean hasPersistentDiskSpec() {
+ return ((bitField0_ & 0x00000002) != 0);
+ }
+ /**
+ *
+ *
+ *
+ * The specification of a persistent disk to attach for the execution job.
+ *
+ *
+ * .google.cloud.aiplatform.v1beta1.PersistentDiskSpec persistent_disk_spec = 2;
+ *
+ * @return The persistentDiskSpec.
+ */
+ @java.lang.Override
+ public com.google.cloud.aiplatform.v1beta1.PersistentDiskSpec getPersistentDiskSpec() {
+ return persistentDiskSpec_ == null
+ ? com.google.cloud.aiplatform.v1beta1.PersistentDiskSpec.getDefaultInstance()
+ : persistentDiskSpec_;
+ }
+ /**
+ *
+ *
+ *
+ * The specification of a persistent disk to attach for the execution job.
+ *
+ *
+ * .google.cloud.aiplatform.v1beta1.PersistentDiskSpec persistent_disk_spec = 2;
+ */
+ @java.lang.Override
+ public com.google.cloud.aiplatform.v1beta1.PersistentDiskSpecOrBuilder
+ getPersistentDiskSpecOrBuilder() {
+ return persistentDiskSpec_ == null
+ ? com.google.cloud.aiplatform.v1beta1.PersistentDiskSpec.getDefaultInstance()
+ : persistentDiskSpec_;
+ }
+
+ public static final int NETWORK_SPEC_FIELD_NUMBER = 3;
+ private com.google.cloud.aiplatform.v1beta1.NetworkSpec networkSpec_;
+ /**
+ *
+ *
+ *
+ * The network configuration to use for the execution job.
+ *
+ *
+ * .google.cloud.aiplatform.v1beta1.NetworkSpec network_spec = 3;
+ *
+ * @return Whether the networkSpec field is set.
+ */
+ @java.lang.Override
+ public boolean hasNetworkSpec() {
+ return ((bitField0_ & 0x00000004) != 0);
+ }
+ /**
+ *
+ *
+ *
+ * The network configuration to use for the execution job.
+ *
+ *
+ * .google.cloud.aiplatform.v1beta1.NetworkSpec network_spec = 3;
+ *
+ * @return The networkSpec.
+ */
+ @java.lang.Override
+ public com.google.cloud.aiplatform.v1beta1.NetworkSpec getNetworkSpec() {
+ return networkSpec_ == null
+ ? com.google.cloud.aiplatform.v1beta1.NetworkSpec.getDefaultInstance()
+ : networkSpec_;
+ }
+ /**
+ *
+ *
+ *
+ * The network configuration to use for the execution job.
+ *
+ *
+ * .google.cloud.aiplatform.v1beta1.NetworkSpec network_spec = 3;
+ */
+ @java.lang.Override
+ public com.google.cloud.aiplatform.v1beta1.NetworkSpecOrBuilder getNetworkSpecOrBuilder() {
+ return networkSpec_ == null
+ ? com.google.cloud.aiplatform.v1beta1.NetworkSpec.getDefaultInstance()
+ : networkSpec_;
+ }
+
+ private byte memoizedIsInitialized = -1;
+
+ @java.lang.Override
+ public final boolean isInitialized() {
+ byte isInitialized = memoizedIsInitialized;
+ if (isInitialized == 1) return true;
+ if (isInitialized == 0) return false;
+
+ memoizedIsInitialized = 1;
+ return true;
+ }
+
+ @java.lang.Override
+ public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException {
+ if (((bitField0_ & 0x00000001) != 0)) {
+ output.writeMessage(1, getMachineSpec());
+ }
+ if (((bitField0_ & 0x00000002) != 0)) {
+ output.writeMessage(2, getPersistentDiskSpec());
+ }
+ if (((bitField0_ & 0x00000004) != 0)) {
+ output.writeMessage(3, getNetworkSpec());
+ }
+ getUnknownFields().writeTo(output);
+ }
+
+ @java.lang.Override
+ public int getSerializedSize() {
+ int size = memoizedSize;
+ if (size != -1) return size;
+
+ size = 0;
+ if (((bitField0_ & 0x00000001) != 0)) {
+ size += com.google.protobuf.CodedOutputStream.computeMessageSize(1, getMachineSpec());
+ }
+ if (((bitField0_ & 0x00000002) != 0)) {
+ size +=
+ com.google.protobuf.CodedOutputStream.computeMessageSize(2, getPersistentDiskSpec());
+ }
+ if (((bitField0_ & 0x00000004) != 0)) {
+ size += com.google.protobuf.CodedOutputStream.computeMessageSize(3, getNetworkSpec());
+ }
+ 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
+ com.google.cloud.aiplatform.v1beta1.NotebookExecutionJob.CustomEnvironmentSpec)) {
+ return super.equals(obj);
+ }
+ com.google.cloud.aiplatform.v1beta1.NotebookExecutionJob.CustomEnvironmentSpec other =
+ (com.google.cloud.aiplatform.v1beta1.NotebookExecutionJob.CustomEnvironmentSpec) obj;
+
+ if (hasMachineSpec() != other.hasMachineSpec()) return false;
+ if (hasMachineSpec()) {
+ if (!getMachineSpec().equals(other.getMachineSpec())) return false;
+ }
+ if (hasPersistentDiskSpec() != other.hasPersistentDiskSpec()) return false;
+ if (hasPersistentDiskSpec()) {
+ if (!getPersistentDiskSpec().equals(other.getPersistentDiskSpec())) return false;
+ }
+ if (hasNetworkSpec() != other.hasNetworkSpec()) return false;
+ if (hasNetworkSpec()) {
+ if (!getNetworkSpec().equals(other.getNetworkSpec())) 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 (hasMachineSpec()) {
+ hash = (37 * hash) + MACHINE_SPEC_FIELD_NUMBER;
+ hash = (53 * hash) + getMachineSpec().hashCode();
+ }
+ if (hasPersistentDiskSpec()) {
+ hash = (37 * hash) + PERSISTENT_DISK_SPEC_FIELD_NUMBER;
+ hash = (53 * hash) + getPersistentDiskSpec().hashCode();
+ }
+ if (hasNetworkSpec()) {
+ hash = (37 * hash) + NETWORK_SPEC_FIELD_NUMBER;
+ hash = (53 * hash) + getNetworkSpec().hashCode();
+ }
+ hash = (29 * hash) + getUnknownFields().hashCode();
+ memoizedHashCode = hash;
+ return hash;
+ }
+
+ public static com.google.cloud.aiplatform.v1beta1.NotebookExecutionJob.CustomEnvironmentSpec
+ parseFrom(java.nio.ByteBuffer data)
+ throws com.google.protobuf.InvalidProtocolBufferException {
+ return PARSER.parseFrom(data);
+ }
+
+ public static com.google.cloud.aiplatform.v1beta1.NotebookExecutionJob.CustomEnvironmentSpec
+ parseFrom(
+ java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+ throws com.google.protobuf.InvalidProtocolBufferException {
+ return PARSER.parseFrom(data, extensionRegistry);
+ }
+
+ public static com.google.cloud.aiplatform.v1beta1.NotebookExecutionJob.CustomEnvironmentSpec
+ parseFrom(com.google.protobuf.ByteString data)
+ throws com.google.protobuf.InvalidProtocolBufferException {
+ return PARSER.parseFrom(data);
+ }
+
+ public static com.google.cloud.aiplatform.v1beta1.NotebookExecutionJob.CustomEnvironmentSpec
+ parseFrom(
+ com.google.protobuf.ByteString data,
+ com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+ throws com.google.protobuf.InvalidProtocolBufferException {
+ return PARSER.parseFrom(data, extensionRegistry);
+ }
+
+ public static com.google.cloud.aiplatform.v1beta1.NotebookExecutionJob.CustomEnvironmentSpec
+ parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException {
+ return PARSER.parseFrom(data);
+ }
+
+ public static com.google.cloud.aiplatform.v1beta1.NotebookExecutionJob.CustomEnvironmentSpec
+ parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+ throws com.google.protobuf.InvalidProtocolBufferException {
+ return PARSER.parseFrom(data, extensionRegistry);
+ }
+
+ public static com.google.cloud.aiplatform.v1beta1.NotebookExecutionJob.CustomEnvironmentSpec
+ parseFrom(java.io.InputStream input) throws java.io.IOException {
+ return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input);
+ }
+
+ public static com.google.cloud.aiplatform.v1beta1.NotebookExecutionJob.CustomEnvironmentSpec
+ parseFrom(
+ java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+ throws java.io.IOException {
+ return com.google.protobuf.GeneratedMessageV3.parseWithIOException(
+ PARSER, input, extensionRegistry);
+ }
+
+ public static com.google.cloud.aiplatform.v1beta1.NotebookExecutionJob.CustomEnvironmentSpec
+ parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException {
+ return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input);
+ }
+
+ public static com.google.cloud.aiplatform.v1beta1.NotebookExecutionJob.CustomEnvironmentSpec
+ parseDelimitedFrom(
+ java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+ throws java.io.IOException {
+ return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(
+ PARSER, input, extensionRegistry);
+ }
+
+ public static com.google.cloud.aiplatform.v1beta1.NotebookExecutionJob.CustomEnvironmentSpec
+ parseFrom(com.google.protobuf.CodedInputStream input) throws java.io.IOException {
+ return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input);
+ }
+
+ public static com.google.cloud.aiplatform.v1beta1.NotebookExecutionJob.CustomEnvironmentSpec
+ 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(
+ com.google.cloud.aiplatform.v1beta1.NotebookExecutionJob.CustomEnvironmentSpec 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;
+ }
+ /**
+ *
+ *
+ *
+ * Compute configuration to use for an execution job.
+ *
+ *
+ * Protobuf type {@code
+ * google.cloud.aiplatform.v1beta1.NotebookExecutionJob.CustomEnvironmentSpec}
+ */
+ public static final class Builder
+ extends com.google.protobuf.GeneratedMessageV3.Builder
+ implements
+ // @@protoc_insertion_point(builder_implements:google.cloud.aiplatform.v1beta1.NotebookExecutionJob.CustomEnvironmentSpec)
+ com.google.cloud.aiplatform.v1beta1.NotebookExecutionJob.CustomEnvironmentSpecOrBuilder {
+ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+ return com.google.cloud.aiplatform.v1beta1.NotebookExecutionJobProto
+ .internal_static_google_cloud_aiplatform_v1beta1_NotebookExecutionJob_CustomEnvironmentSpec_descriptor;
+ }
+
+ @java.lang.Override
+ protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
+ internalGetFieldAccessorTable() {
+ return com.google.cloud.aiplatform.v1beta1.NotebookExecutionJobProto
+ .internal_static_google_cloud_aiplatform_v1beta1_NotebookExecutionJob_CustomEnvironmentSpec_fieldAccessorTable
+ .ensureFieldAccessorsInitialized(
+ com.google.cloud.aiplatform.v1beta1.NotebookExecutionJob.CustomEnvironmentSpec
+ .class,
+ com.google.cloud.aiplatform.v1beta1.NotebookExecutionJob.CustomEnvironmentSpec
+ .Builder.class);
+ }
+
+ // Construct using
+ // com.google.cloud.aiplatform.v1beta1.NotebookExecutionJob.CustomEnvironmentSpec.newBuilder()
+ private Builder() {
+ maybeForceBuilderInitialization();
+ }
+
+ private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+ super(parent);
+ maybeForceBuilderInitialization();
+ }
+
+ private void maybeForceBuilderInitialization() {
+ if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {
+ getMachineSpecFieldBuilder();
+ getPersistentDiskSpecFieldBuilder();
+ getNetworkSpecFieldBuilder();
+ }
+ }
+
+ @java.lang.Override
+ public Builder clear() {
+ super.clear();
+ bitField0_ = 0;
+ machineSpec_ = null;
+ if (machineSpecBuilder_ != null) {
+ machineSpecBuilder_.dispose();
+ machineSpecBuilder_ = null;
+ }
+ persistentDiskSpec_ = null;
+ if (persistentDiskSpecBuilder_ != null) {
+ persistentDiskSpecBuilder_.dispose();
+ persistentDiskSpecBuilder_ = null;
+ }
+ networkSpec_ = null;
+ if (networkSpecBuilder_ != null) {
+ networkSpecBuilder_.dispose();
+ networkSpecBuilder_ = null;
+ }
+ return this;
+ }
+
+ @java.lang.Override
+ public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
+ return com.google.cloud.aiplatform.v1beta1.NotebookExecutionJobProto
+ .internal_static_google_cloud_aiplatform_v1beta1_NotebookExecutionJob_CustomEnvironmentSpec_descriptor;
+ }
+
+ @java.lang.Override
+ public com.google.cloud.aiplatform.v1beta1.NotebookExecutionJob.CustomEnvironmentSpec
+ getDefaultInstanceForType() {
+ return com.google.cloud.aiplatform.v1beta1.NotebookExecutionJob.CustomEnvironmentSpec
+ .getDefaultInstance();
+ }
+
+ @java.lang.Override
+ public com.google.cloud.aiplatform.v1beta1.NotebookExecutionJob.CustomEnvironmentSpec
+ build() {
+ com.google.cloud.aiplatform.v1beta1.NotebookExecutionJob.CustomEnvironmentSpec result =
+ buildPartial();
+ if (!result.isInitialized()) {
+ throw newUninitializedMessageException(result);
+ }
+ return result;
+ }
+
+ @java.lang.Override
+ public com.google.cloud.aiplatform.v1beta1.NotebookExecutionJob.CustomEnvironmentSpec
+ buildPartial() {
+ com.google.cloud.aiplatform.v1beta1.NotebookExecutionJob.CustomEnvironmentSpec result =
+ new com.google.cloud.aiplatform.v1beta1.NotebookExecutionJob.CustomEnvironmentSpec(
+ this);
+ if (bitField0_ != 0) {
+ buildPartial0(result);
+ }
+ onBuilt();
+ return result;
+ }
+
+ private void buildPartial0(
+ com.google.cloud.aiplatform.v1beta1.NotebookExecutionJob.CustomEnvironmentSpec result) {
+ int from_bitField0_ = bitField0_;
+ int to_bitField0_ = 0;
+ if (((from_bitField0_ & 0x00000001) != 0)) {
+ result.machineSpec_ =
+ machineSpecBuilder_ == null ? machineSpec_ : machineSpecBuilder_.build();
+ to_bitField0_ |= 0x00000001;
+ }
+ if (((from_bitField0_ & 0x00000002) != 0)) {
+ result.persistentDiskSpec_ =
+ persistentDiskSpecBuilder_ == null
+ ? persistentDiskSpec_
+ : persistentDiskSpecBuilder_.build();
+ to_bitField0_ |= 0x00000002;
+ }
+ if (((from_bitField0_ & 0x00000004) != 0)) {
+ result.networkSpec_ =
+ networkSpecBuilder_ == null ? networkSpec_ : networkSpecBuilder_.build();
+ to_bitField0_ |= 0x00000004;
+ }
+ result.bitField0_ |= to_bitField0_;
+ }
+
+ @java.lang.Override
+ public Builder clone() {
+ return super.clone();
+ }
+
+ @java.lang.Override
+ public Builder setField(
+ com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+ return super.setField(field, value);
+ }
+
+ @java.lang.Override
+ public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) {
+ return super.clearField(field);
+ }
+
+ @java.lang.Override
+ public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) {
+ return super.clearOneof(oneof);
+ }
+
+ @java.lang.Override
+ public Builder setRepeatedField(
+ com.google.protobuf.Descriptors.FieldDescriptor field,
+ int index,
+ java.lang.Object value) {
+ return super.setRepeatedField(field, index, value);
+ }
+
+ @java.lang.Override
+ public Builder addRepeatedField(
+ com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+ return super.addRepeatedField(field, value);
+ }
+
+ @java.lang.Override
+ public Builder mergeFrom(com.google.protobuf.Message other) {
+ if (other
+ instanceof
+ com.google.cloud.aiplatform.v1beta1.NotebookExecutionJob.CustomEnvironmentSpec) {
+ return mergeFrom(
+ (com.google.cloud.aiplatform.v1beta1.NotebookExecutionJob.CustomEnvironmentSpec)
+ other);
+ } else {
+ super.mergeFrom(other);
+ return this;
+ }
+ }
+
+ public Builder mergeFrom(
+ com.google.cloud.aiplatform.v1beta1.NotebookExecutionJob.CustomEnvironmentSpec other) {
+ if (other
+ == com.google.cloud.aiplatform.v1beta1.NotebookExecutionJob.CustomEnvironmentSpec
+ .getDefaultInstance()) return this;
+ if (other.hasMachineSpec()) {
+ mergeMachineSpec(other.getMachineSpec());
+ }
+ if (other.hasPersistentDiskSpec()) {
+ mergePersistentDiskSpec(other.getPersistentDiskSpec());
+ }
+ if (other.hasNetworkSpec()) {
+ mergeNetworkSpec(other.getNetworkSpec());
+ }
+ this.mergeUnknownFields(other.getUnknownFields());
+ onChanged();
+ return this;
+ }
+
+ @java.lang.Override
+ public final boolean isInitialized() {
+ return true;
+ }
+
+ @java.lang.Override
+ public Builder mergeFrom(
+ com.google.protobuf.CodedInputStream input,
+ com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+ throws java.io.IOException {
+ if (extensionRegistry == null) {
+ throw new java.lang.NullPointerException();
+ }
+ try {
+ boolean done = false;
+ while (!done) {
+ int tag = input.readTag();
+ switch (tag) {
+ case 0:
+ done = true;
+ break;
+ case 10:
+ {
+ input.readMessage(getMachineSpecFieldBuilder().getBuilder(), extensionRegistry);
+ bitField0_ |= 0x00000001;
+ break;
+ } // case 10
+ case 18:
+ {
+ input.readMessage(
+ getPersistentDiskSpecFieldBuilder().getBuilder(), extensionRegistry);
+ bitField0_ |= 0x00000002;
+ break;
+ } // case 18
+ case 26:
+ {
+ input.readMessage(getNetworkSpecFieldBuilder().getBuilder(), extensionRegistry);
+ bitField0_ |= 0x00000004;
+ break;
+ } // case 26
+ default:
+ {
+ if (!super.parseUnknownField(input, extensionRegistry, tag)) {
+ done = true; // was an endgroup tag
+ }
+ break;
+ } // default:
+ } // switch (tag)
+ } // while (!done)
+ } catch (com.google.protobuf.InvalidProtocolBufferException e) {
+ throw e.unwrapIOException();
+ } finally {
+ onChanged();
+ } // finally
+ return this;
+ }
+
+ private int bitField0_;
+
+ private com.google.cloud.aiplatform.v1beta1.MachineSpec machineSpec_;
+ private com.google.protobuf.SingleFieldBuilderV3<
+ com.google.cloud.aiplatform.v1beta1.MachineSpec,
+ com.google.cloud.aiplatform.v1beta1.MachineSpec.Builder,
+ com.google.cloud.aiplatform.v1beta1.MachineSpecOrBuilder>
+ machineSpecBuilder_;
+ /**
+ *
+ *
+ *
+ * The specification of a single machine for the execution job.
+ *
+ *
+ * .google.cloud.aiplatform.v1beta1.MachineSpec machine_spec = 1;
+ *
+ * @return Whether the machineSpec field is set.
+ */
+ public boolean hasMachineSpec() {
+ return ((bitField0_ & 0x00000001) != 0);
+ }
+ /**
+ *
+ *
+ *
+ * The specification of a single machine for the execution job.
+ *
+ *
+ * .google.cloud.aiplatform.v1beta1.MachineSpec machine_spec = 1;
+ *
+ * @return The machineSpec.
+ */
+ public com.google.cloud.aiplatform.v1beta1.MachineSpec getMachineSpec() {
+ if (machineSpecBuilder_ == null) {
+ return machineSpec_ == null
+ ? com.google.cloud.aiplatform.v1beta1.MachineSpec.getDefaultInstance()
+ : machineSpec_;
+ } else {
+ return machineSpecBuilder_.getMessage();
+ }
+ }
+ /**
+ *
+ *
+ *
+ * The specification of a single machine for the execution job.
+ *
+ *
+ * .google.cloud.aiplatform.v1beta1.MachineSpec machine_spec = 1;
+ */
+ public Builder setMachineSpec(com.google.cloud.aiplatform.v1beta1.MachineSpec value) {
+ if (machineSpecBuilder_ == null) {
+ if (value == null) {
+ throw new NullPointerException();
+ }
+ machineSpec_ = value;
+ } else {
+ machineSpecBuilder_.setMessage(value);
+ }
+ bitField0_ |= 0x00000001;
+ onChanged();
+ return this;
+ }
+ /**
+ *
+ *
+ *
+ * The specification of a single machine for the execution job.
+ *
+ *
+ * .google.cloud.aiplatform.v1beta1.MachineSpec machine_spec = 1;
+ */
+ public Builder setMachineSpec(
+ com.google.cloud.aiplatform.v1beta1.MachineSpec.Builder builderForValue) {
+ if (machineSpecBuilder_ == null) {
+ machineSpec_ = builderForValue.build();
+ } else {
+ machineSpecBuilder_.setMessage(builderForValue.build());
+ }
+ bitField0_ |= 0x00000001;
+ onChanged();
+ return this;
+ }
+ /**
+ *
+ *
+ *
+ * The specification of a single machine for the execution job.
+ *
+ *
+ * .google.cloud.aiplatform.v1beta1.MachineSpec machine_spec = 1;
+ */
+ public Builder mergeMachineSpec(com.google.cloud.aiplatform.v1beta1.MachineSpec value) {
+ if (machineSpecBuilder_ == null) {
+ if (((bitField0_ & 0x00000001) != 0)
+ && machineSpec_ != null
+ && machineSpec_
+ != com.google.cloud.aiplatform.v1beta1.MachineSpec.getDefaultInstance()) {
+ getMachineSpecBuilder().mergeFrom(value);
+ } else {
+ machineSpec_ = value;
+ }
+ } else {
+ machineSpecBuilder_.mergeFrom(value);
+ }
+ if (machineSpec_ != null) {
+ bitField0_ |= 0x00000001;
+ onChanged();
+ }
+ return this;
+ }
+ /**
+ *
+ *
+ *
+ * The specification of a single machine for the execution job.
+ *
+ *
+ * .google.cloud.aiplatform.v1beta1.MachineSpec machine_spec = 1;
+ */
+ public Builder clearMachineSpec() {
+ bitField0_ = (bitField0_ & ~0x00000001);
+ machineSpec_ = null;
+ if (machineSpecBuilder_ != null) {
+ machineSpecBuilder_.dispose();
+ machineSpecBuilder_ = null;
+ }
+ onChanged();
+ return this;
+ }
+ /**
+ *
+ *
+ *
+ * The specification of a single machine for the execution job.
+ *
+ *
+ * .google.cloud.aiplatform.v1beta1.MachineSpec machine_spec = 1;
+ */
+ public com.google.cloud.aiplatform.v1beta1.MachineSpec.Builder getMachineSpecBuilder() {
+ bitField0_ |= 0x00000001;
+ onChanged();
+ return getMachineSpecFieldBuilder().getBuilder();
+ }
+ /**
+ *
+ *
+ *
+ * The specification of a single machine for the execution job.
+ *
+ *
+ * .google.cloud.aiplatform.v1beta1.MachineSpec machine_spec = 1;
+ */
+ public com.google.cloud.aiplatform.v1beta1.MachineSpecOrBuilder getMachineSpecOrBuilder() {
+ if (machineSpecBuilder_ != null) {
+ return machineSpecBuilder_.getMessageOrBuilder();
+ } else {
+ return machineSpec_ == null
+ ? com.google.cloud.aiplatform.v1beta1.MachineSpec.getDefaultInstance()
+ : machineSpec_;
+ }
+ }
+ /**
+ *
+ *
+ *
+ * The specification of a single machine for the execution job.
+ *
+ *
+ * .google.cloud.aiplatform.v1beta1.MachineSpec machine_spec = 1;
+ */
+ private com.google.protobuf.SingleFieldBuilderV3<
+ com.google.cloud.aiplatform.v1beta1.MachineSpec,
+ com.google.cloud.aiplatform.v1beta1.MachineSpec.Builder,
+ com.google.cloud.aiplatform.v1beta1.MachineSpecOrBuilder>
+ getMachineSpecFieldBuilder() {
+ if (machineSpecBuilder_ == null) {
+ machineSpecBuilder_ =
+ new com.google.protobuf.SingleFieldBuilderV3<
+ com.google.cloud.aiplatform.v1beta1.MachineSpec,
+ com.google.cloud.aiplatform.v1beta1.MachineSpec.Builder,
+ com.google.cloud.aiplatform.v1beta1.MachineSpecOrBuilder>(
+ getMachineSpec(), getParentForChildren(), isClean());
+ machineSpec_ = null;
+ }
+ return machineSpecBuilder_;
+ }
+
+ private com.google.cloud.aiplatform.v1beta1.PersistentDiskSpec persistentDiskSpec_;
+ private com.google.protobuf.SingleFieldBuilderV3<
+ com.google.cloud.aiplatform.v1beta1.PersistentDiskSpec,
+ com.google.cloud.aiplatform.v1beta1.PersistentDiskSpec.Builder,
+ com.google.cloud.aiplatform.v1beta1.PersistentDiskSpecOrBuilder>
+ persistentDiskSpecBuilder_;
+ /**
+ *
+ *
+ *
+ * The specification of a persistent disk to attach for the execution job.
+ *
+ *
+ * .google.cloud.aiplatform.v1beta1.PersistentDiskSpec persistent_disk_spec = 2;
+ *
+ * @return Whether the persistentDiskSpec field is set.
+ */
+ public boolean hasPersistentDiskSpec() {
+ return ((bitField0_ & 0x00000002) != 0);
+ }
+ /**
+ *
+ *
+ *
+ * The specification of a persistent disk to attach for the execution job.
+ *
+ *
+ * .google.cloud.aiplatform.v1beta1.PersistentDiskSpec persistent_disk_spec = 2;
+ *
+ * @return The persistentDiskSpec.
+ */
+ public com.google.cloud.aiplatform.v1beta1.PersistentDiskSpec getPersistentDiskSpec() {
+ if (persistentDiskSpecBuilder_ == null) {
+ return persistentDiskSpec_ == null
+ ? com.google.cloud.aiplatform.v1beta1.PersistentDiskSpec.getDefaultInstance()
+ : persistentDiskSpec_;
+ } else {
+ return persistentDiskSpecBuilder_.getMessage();
+ }
+ }
+ /**
+ *
+ *
+ *
+ * The specification of a persistent disk to attach for the execution job.
+ *
+ *
+ * .google.cloud.aiplatform.v1beta1.PersistentDiskSpec persistent_disk_spec = 2;
+ */
+ public Builder setPersistentDiskSpec(
+ com.google.cloud.aiplatform.v1beta1.PersistentDiskSpec value) {
+ if (persistentDiskSpecBuilder_ == null) {
+ if (value == null) {
+ throw new NullPointerException();
+ }
+ persistentDiskSpec_ = value;
+ } else {
+ persistentDiskSpecBuilder_.setMessage(value);
+ }
+ bitField0_ |= 0x00000002;
+ onChanged();
+ return this;
+ }
+ /**
+ *
+ *
+ *
+ * The specification of a persistent disk to attach for the execution job.
+ *
+ *
+ * .google.cloud.aiplatform.v1beta1.PersistentDiskSpec persistent_disk_spec = 2;
+ */
+ public Builder setPersistentDiskSpec(
+ com.google.cloud.aiplatform.v1beta1.PersistentDiskSpec.Builder builderForValue) {
+ if (persistentDiskSpecBuilder_ == null) {
+ persistentDiskSpec_ = builderForValue.build();
+ } else {
+ persistentDiskSpecBuilder_.setMessage(builderForValue.build());
+ }
+ bitField0_ |= 0x00000002;
+ onChanged();
+ return this;
+ }
+ /**
+ *
+ *
+ *
+ * The specification of a persistent disk to attach for the execution job.
+ *
+ *
+ * .google.cloud.aiplatform.v1beta1.PersistentDiskSpec persistent_disk_spec = 2;
+ */
+ public Builder mergePersistentDiskSpec(
+ com.google.cloud.aiplatform.v1beta1.PersistentDiskSpec value) {
+ if (persistentDiskSpecBuilder_ == null) {
+ if (((bitField0_ & 0x00000002) != 0)
+ && persistentDiskSpec_ != null
+ && persistentDiskSpec_
+ != com.google.cloud.aiplatform.v1beta1.PersistentDiskSpec.getDefaultInstance()) {
+ getPersistentDiskSpecBuilder().mergeFrom(value);
+ } else {
+ persistentDiskSpec_ = value;
+ }
+ } else {
+ persistentDiskSpecBuilder_.mergeFrom(value);
+ }
+ if (persistentDiskSpec_ != null) {
+ bitField0_ |= 0x00000002;
+ onChanged();
+ }
+ return this;
+ }
+ /**
+ *
+ *
+ *
+ * The specification of a persistent disk to attach for the execution job.
+ *
+ *
+ * .google.cloud.aiplatform.v1beta1.PersistentDiskSpec persistent_disk_spec = 2;
+ */
+ public Builder clearPersistentDiskSpec() {
+ bitField0_ = (bitField0_ & ~0x00000002);
+ persistentDiskSpec_ = null;
+ if (persistentDiskSpecBuilder_ != null) {
+ persistentDiskSpecBuilder_.dispose();
+ persistentDiskSpecBuilder_ = null;
+ }
+ onChanged();
+ return this;
+ }
+ /**
+ *
+ *
+ *
+ * The specification of a persistent disk to attach for the execution job.
+ *
+ *
+ * .google.cloud.aiplatform.v1beta1.PersistentDiskSpec persistent_disk_spec = 2;
+ */
+ public com.google.cloud.aiplatform.v1beta1.PersistentDiskSpec.Builder
+ getPersistentDiskSpecBuilder() {
+ bitField0_ |= 0x00000002;
+ onChanged();
+ return getPersistentDiskSpecFieldBuilder().getBuilder();
+ }
+ /**
+ *
+ *
+ *
+ * The specification of a persistent disk to attach for the execution job.
+ *
+ *
+ * .google.cloud.aiplatform.v1beta1.PersistentDiskSpec persistent_disk_spec = 2;
+ */
+ public com.google.cloud.aiplatform.v1beta1.PersistentDiskSpecOrBuilder
+ getPersistentDiskSpecOrBuilder() {
+ if (persistentDiskSpecBuilder_ != null) {
+ return persistentDiskSpecBuilder_.getMessageOrBuilder();
+ } else {
+ return persistentDiskSpec_ == null
+ ? com.google.cloud.aiplatform.v1beta1.PersistentDiskSpec.getDefaultInstance()
+ : persistentDiskSpec_;
+ }
+ }
+ /**
+ *
+ *
+ *
+ * The specification of a persistent disk to attach for the execution job.
+ *
+ *
+ * .google.cloud.aiplatform.v1beta1.PersistentDiskSpec persistent_disk_spec = 2;
+ */
+ private com.google.protobuf.SingleFieldBuilderV3<
+ com.google.cloud.aiplatform.v1beta1.PersistentDiskSpec,
+ com.google.cloud.aiplatform.v1beta1.PersistentDiskSpec.Builder,
+ com.google.cloud.aiplatform.v1beta1.PersistentDiskSpecOrBuilder>
+ getPersistentDiskSpecFieldBuilder() {
+ if (persistentDiskSpecBuilder_ == null) {
+ persistentDiskSpecBuilder_ =
+ new com.google.protobuf.SingleFieldBuilderV3<
+ com.google.cloud.aiplatform.v1beta1.PersistentDiskSpec,
+ com.google.cloud.aiplatform.v1beta1.PersistentDiskSpec.Builder,
+ com.google.cloud.aiplatform.v1beta1.PersistentDiskSpecOrBuilder>(
+ getPersistentDiskSpec(), getParentForChildren(), isClean());
+ persistentDiskSpec_ = null;
+ }
+ return persistentDiskSpecBuilder_;
+ }
+
+ private com.google.cloud.aiplatform.v1beta1.NetworkSpec networkSpec_;
+ private com.google.protobuf.SingleFieldBuilderV3<
+ com.google.cloud.aiplatform.v1beta1.NetworkSpec,
+ com.google.cloud.aiplatform.v1beta1.NetworkSpec.Builder,
+ com.google.cloud.aiplatform.v1beta1.NetworkSpecOrBuilder>
+ networkSpecBuilder_;
+ /**
+ *
+ *
+ *
+ * The network configuration to use for the execution job.
+ *
+ *
+ * .google.cloud.aiplatform.v1beta1.NetworkSpec network_spec = 3;
+ *
+ * @return Whether the networkSpec field is set.
+ */
+ public boolean hasNetworkSpec() {
+ return ((bitField0_ & 0x00000004) != 0);
+ }
+ /**
+ *
+ *
+ *
+ * The network configuration to use for the execution job.
+ *
+ *
+ * .google.cloud.aiplatform.v1beta1.NetworkSpec network_spec = 3;
+ *
+ * @return The networkSpec.
+ */
+ public com.google.cloud.aiplatform.v1beta1.NetworkSpec getNetworkSpec() {
+ if (networkSpecBuilder_ == null) {
+ return networkSpec_ == null
+ ? com.google.cloud.aiplatform.v1beta1.NetworkSpec.getDefaultInstance()
+ : networkSpec_;
+ } else {
+ return networkSpecBuilder_.getMessage();
+ }
+ }
+ /**
+ *
+ *
+ *
+ * The network configuration to use for the execution job.
+ *
+ *
+ * .google.cloud.aiplatform.v1beta1.NetworkSpec network_spec = 3;
+ */
+ public Builder setNetworkSpec(com.google.cloud.aiplatform.v1beta1.NetworkSpec value) {
+ if (networkSpecBuilder_ == null) {
+ if (value == null) {
+ throw new NullPointerException();
+ }
+ networkSpec_ = value;
+ } else {
+ networkSpecBuilder_.setMessage(value);
+ }
+ bitField0_ |= 0x00000004;
+ onChanged();
+ return this;
+ }
+ /**
+ *
+ *
+ *
+ * The network configuration to use for the execution job.
+ *
+ *
+ * .google.cloud.aiplatform.v1beta1.NetworkSpec network_spec = 3;
+ */
+ public Builder setNetworkSpec(
+ com.google.cloud.aiplatform.v1beta1.NetworkSpec.Builder builderForValue) {
+ if (networkSpecBuilder_ == null) {
+ networkSpec_ = builderForValue.build();
+ } else {
+ networkSpecBuilder_.setMessage(builderForValue.build());
+ }
+ bitField0_ |= 0x00000004;
+ onChanged();
+ return this;
+ }
+ /**
+ *
+ *
+ *
+ * The network configuration to use for the execution job.
+ *
+ *
+ * .google.cloud.aiplatform.v1beta1.NetworkSpec network_spec = 3;
+ */
+ public Builder mergeNetworkSpec(com.google.cloud.aiplatform.v1beta1.NetworkSpec value) {
+ if (networkSpecBuilder_ == null) {
+ if (((bitField0_ & 0x00000004) != 0)
+ && networkSpec_ != null
+ && networkSpec_
+ != com.google.cloud.aiplatform.v1beta1.NetworkSpec.getDefaultInstance()) {
+ getNetworkSpecBuilder().mergeFrom(value);
+ } else {
+ networkSpec_ = value;
+ }
+ } else {
+ networkSpecBuilder_.mergeFrom(value);
+ }
+ if (networkSpec_ != null) {
+ bitField0_ |= 0x00000004;
+ onChanged();
+ }
+ return this;
+ }
+ /**
+ *
+ *
+ *
+ * The network configuration to use for the execution job.
+ *
+ *
+ * .google.cloud.aiplatform.v1beta1.NetworkSpec network_spec = 3;
+ */
+ public Builder clearNetworkSpec() {
+ bitField0_ = (bitField0_ & ~0x00000004);
+ networkSpec_ = null;
+ if (networkSpecBuilder_ != null) {
+ networkSpecBuilder_.dispose();
+ networkSpecBuilder_ = null;
+ }
+ onChanged();
+ return this;
+ }
+ /**
+ *
+ *
+ *
+ * The network configuration to use for the execution job.
+ *
+ *
+ * .google.cloud.aiplatform.v1beta1.NetworkSpec network_spec = 3;
+ */
+ public com.google.cloud.aiplatform.v1beta1.NetworkSpec.Builder getNetworkSpecBuilder() {
+ bitField0_ |= 0x00000004;
+ onChanged();
+ return getNetworkSpecFieldBuilder().getBuilder();
+ }
+ /**
+ *
+ *
+ *
+ * The network configuration to use for the execution job.
+ *
+ *
+ * .google.cloud.aiplatform.v1beta1.NetworkSpec network_spec = 3;
+ */
+ public com.google.cloud.aiplatform.v1beta1.NetworkSpecOrBuilder getNetworkSpecOrBuilder() {
+ if (networkSpecBuilder_ != null) {
+ return networkSpecBuilder_.getMessageOrBuilder();
+ } else {
+ return networkSpec_ == null
+ ? com.google.cloud.aiplatform.v1beta1.NetworkSpec.getDefaultInstance()
+ : networkSpec_;
+ }
+ }
+ /**
+ *
+ *
+ *
+ * The network configuration to use for the execution job.
+ *
+ *
+ * .google.cloud.aiplatform.v1beta1.NetworkSpec network_spec = 3;
+ */
+ private com.google.protobuf.SingleFieldBuilderV3<
+ com.google.cloud.aiplatform.v1beta1.NetworkSpec,
+ com.google.cloud.aiplatform.v1beta1.NetworkSpec.Builder,
+ com.google.cloud.aiplatform.v1beta1.NetworkSpecOrBuilder>
+ getNetworkSpecFieldBuilder() {
+ if (networkSpecBuilder_ == null) {
+ networkSpecBuilder_ =
+ new com.google.protobuf.SingleFieldBuilderV3<
+ com.google.cloud.aiplatform.v1beta1.NetworkSpec,
+ com.google.cloud.aiplatform.v1beta1.NetworkSpec.Builder,
+ com.google.cloud.aiplatform.v1beta1.NetworkSpecOrBuilder>(
+ getNetworkSpec(), getParentForChildren(), isClean());
+ networkSpec_ = null;
+ }
+ return networkSpecBuilder_;
+ }
+
+ @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:google.cloud.aiplatform.v1beta1.NotebookExecutionJob.CustomEnvironmentSpec)
+ }
+
+ // @@protoc_insertion_point(class_scope:google.cloud.aiplatform.v1beta1.NotebookExecutionJob.CustomEnvironmentSpec)
+ private static final com.google.cloud.aiplatform.v1beta1.NotebookExecutionJob
+ .CustomEnvironmentSpec
+ DEFAULT_INSTANCE;
+
+ static {
+ DEFAULT_INSTANCE =
+ new com.google.cloud.aiplatform.v1beta1.NotebookExecutionJob.CustomEnvironmentSpec();
+ }
+
+ public static com.google.cloud.aiplatform.v1beta1.NotebookExecutionJob.CustomEnvironmentSpec
+ getDefaultInstance() {
+ return DEFAULT_INSTANCE;
+ }
+
+ private static final com.google.protobuf.Parser PARSER =
+ new com.google.protobuf.AbstractParser() {
+ @java.lang.Override
+ public CustomEnvironmentSpec 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 com.google.cloud.aiplatform.v1beta1.NotebookExecutionJob.CustomEnvironmentSpec
+ getDefaultInstanceForType() {
+ return DEFAULT_INSTANCE;
+ }
+ }
+
private int bitField0_;
private int notebookSourceCase_ = 0;
@@ -2518,6 +3923,7 @@ public enum EnvironmentSpecCase
com.google.protobuf.Internal.EnumLite,
com.google.protobuf.AbstractMessage.InternalOneOfEnum {
NOTEBOOK_RUNTIME_TEMPLATE_RESOURCE_NAME(14),
+ CUSTOM_ENVIRONMENT_SPEC(16),
ENVIRONMENTSPEC_NOT_SET(0);
private final int value;
@@ -2538,6 +3944,8 @@ public static EnvironmentSpecCase forNumber(int value) {
switch (value) {
case 14:
return NOTEBOOK_RUNTIME_TEMPLATE_RESOURCE_NAME;
+ case 16:
+ return CUSTOM_ENVIRONMENT_SPEC;
case 0:
return ENVIRONMENTSPEC_NOT_SET;
default:
@@ -2917,6 +4325,69 @@ public com.google.protobuf.ByteString getNotebookRuntimeTemplateResourceNameByte
}
}
+ public static final int CUSTOM_ENVIRONMENT_SPEC_FIELD_NUMBER = 16;
+ /**
+ *
+ *
+ *
+ * The custom compute configuration for an execution job.
+ *
+ *
+ *
+ * .google.cloud.aiplatform.v1beta1.NotebookExecutionJob.CustomEnvironmentSpec custom_environment_spec = 16;
+ *
+ *
+ * @return Whether the customEnvironmentSpec field is set.
+ */
+ @java.lang.Override
+ public boolean hasCustomEnvironmentSpec() {
+ return environmentSpecCase_ == 16;
+ }
+ /**
+ *
+ *
+ *
+ * The custom compute configuration for an execution job.
+ *
+ *
+ *
+ * .google.cloud.aiplatform.v1beta1.NotebookExecutionJob.CustomEnvironmentSpec custom_environment_spec = 16;
+ *
+ *
+ * @return The customEnvironmentSpec.
+ */
+ @java.lang.Override
+ public com.google.cloud.aiplatform.v1beta1.NotebookExecutionJob.CustomEnvironmentSpec
+ getCustomEnvironmentSpec() {
+ if (environmentSpecCase_ == 16) {
+ return (com.google.cloud.aiplatform.v1beta1.NotebookExecutionJob.CustomEnvironmentSpec)
+ environmentSpec_;
+ }
+ return com.google.cloud.aiplatform.v1beta1.NotebookExecutionJob.CustomEnvironmentSpec
+ .getDefaultInstance();
+ }
+ /**
+ *
+ *
+ *
+ * The custom compute configuration for an execution job.
+ *
+ *
+ *
+ * .google.cloud.aiplatform.v1beta1.NotebookExecutionJob.CustomEnvironmentSpec custom_environment_spec = 16;
+ *
+ */
+ @java.lang.Override
+ public com.google.cloud.aiplatform.v1beta1.NotebookExecutionJob.CustomEnvironmentSpecOrBuilder
+ getCustomEnvironmentSpecOrBuilder() {
+ if (environmentSpecCase_ == 16) {
+ return (com.google.cloud.aiplatform.v1beta1.NotebookExecutionJob.CustomEnvironmentSpec)
+ environmentSpec_;
+ }
+ return com.google.cloud.aiplatform.v1beta1.NotebookExecutionJob.CustomEnvironmentSpec
+ .getDefaultInstance();
+ }
+
public static final int GCS_OUTPUT_URI_FIELD_NUMBER = 8;
/**
*
@@ -3787,6 +5258,12 @@ public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io
if (environmentSpecCase_ == 14) {
com.google.protobuf.GeneratedMessageV3.writeString(output, 14, environmentSpec_);
}
+ if (environmentSpecCase_ == 16) {
+ output.writeMessage(
+ 16,
+ (com.google.cloud.aiplatform.v1beta1.NotebookExecutionJob.CustomEnvironmentSpec)
+ environmentSpec_);
+ }
if (notebookSourceCase_ == 17) {
output.writeMessage(
17,
@@ -3858,6 +5335,13 @@ public int getSerializedSize() {
if (environmentSpecCase_ == 14) {
size += com.google.protobuf.GeneratedMessageV3.computeStringSize(14, environmentSpec_);
}
+ if (environmentSpecCase_ == 16) {
+ size +=
+ com.google.protobuf.CodedOutputStream.computeMessageSize(
+ 16,
+ (com.google.cloud.aiplatform.v1beta1.NotebookExecutionJob.CustomEnvironmentSpec)
+ environmentSpec_);
+ }
if (notebookSourceCase_ == 17) {
size +=
com.google.protobuf.CodedOutputStream.computeMessageSize(
@@ -3943,6 +5427,9 @@ public boolean equals(final java.lang.Object obj) {
if (!getNotebookRuntimeTemplateResourceName()
.equals(other.getNotebookRuntimeTemplateResourceName())) return false;
break;
+ case 16:
+ if (!getCustomEnvironmentSpec().equals(other.getCustomEnvironmentSpec())) return false;
+ break;
case 0:
default:
}
@@ -4029,6 +5516,10 @@ public int hashCode() {
hash = (37 * hash) + NOTEBOOK_RUNTIME_TEMPLATE_RESOURCE_NAME_FIELD_NUMBER;
hash = (53 * hash) + getNotebookRuntimeTemplateResourceName().hashCode();
break;
+ case 16:
+ hash = (37 * hash) + CUSTOM_ENVIRONMENT_SPEC_FIELD_NUMBER;
+ hash = (53 * hash) + getCustomEnvironmentSpec().hashCode();
+ break;
case 0:
default:
}
@@ -4236,6 +5727,9 @@ public Builder clear() {
if (directNotebookSourceBuilder_ != null) {
directNotebookSourceBuilder_.clear();
}
+ if (customEnvironmentSpecBuilder_ != null) {
+ customEnvironmentSpecBuilder_.clear();
+ }
name_ = "";
displayName_ = "";
executionTimeout_ = null;
@@ -4311,41 +5805,41 @@ public com.google.cloud.aiplatform.v1beta1.NotebookExecutionJob buildPartial() {
private void buildPartial0(com.google.cloud.aiplatform.v1beta1.NotebookExecutionJob result) {
int from_bitField0_ = bitField0_;
- if (((from_bitField0_ & 0x00000080) != 0)) {
+ if (((from_bitField0_ & 0x00000100) != 0)) {
result.name_ = name_;
}
- if (((from_bitField0_ & 0x00000100) != 0)) {
+ if (((from_bitField0_ & 0x00000200) != 0)) {
result.displayName_ = displayName_;
}
int to_bitField0_ = 0;
- if (((from_bitField0_ & 0x00000200) != 0)) {
+ if (((from_bitField0_ & 0x00000400) != 0)) {
result.executionTimeout_ =
executionTimeoutBuilder_ == null ? executionTimeout_ : executionTimeoutBuilder_.build();
to_bitField0_ |= 0x00000001;
}
- if (((from_bitField0_ & 0x00000400) != 0)) {
+ if (((from_bitField0_ & 0x00000800) != 0)) {
result.scheduleResourceName_ = scheduleResourceName_;
}
- if (((from_bitField0_ & 0x00000800) != 0)) {
+ if (((from_bitField0_ & 0x00001000) != 0)) {
result.jobState_ = jobState_;
}
- if (((from_bitField0_ & 0x00001000) != 0)) {
+ if (((from_bitField0_ & 0x00002000) != 0)) {
result.status_ = statusBuilder_ == null ? status_ : statusBuilder_.build();
to_bitField0_ |= 0x00000002;
}
- if (((from_bitField0_ & 0x00002000) != 0)) {
+ if (((from_bitField0_ & 0x00004000) != 0)) {
result.createTime_ = createTimeBuilder_ == null ? createTime_ : createTimeBuilder_.build();
to_bitField0_ |= 0x00000004;
}
- if (((from_bitField0_ & 0x00004000) != 0)) {
+ if (((from_bitField0_ & 0x00008000) != 0)) {
result.updateTime_ = updateTimeBuilder_ == null ? updateTime_ : updateTimeBuilder_.build();
to_bitField0_ |= 0x00000008;
}
- if (((from_bitField0_ & 0x00008000) != 0)) {
+ if (((from_bitField0_ & 0x00010000) != 0)) {
result.labels_ = internalGetLabels();
result.labels_.makeImmutable();
}
- if (((from_bitField0_ & 0x00010000) != 0)) {
+ if (((from_bitField0_ & 0x00020000) != 0)) {
result.encryptionSpec_ =
encryptionSpecBuilder_ == null ? encryptionSpec_ : encryptionSpecBuilder_.build();
to_bitField0_ |= 0x00000010;
@@ -4368,6 +5862,9 @@ private void buildPartialOneofs(
}
result.environmentSpecCase_ = environmentSpecCase_;
result.environmentSpec_ = this.environmentSpec_;
+ if (environmentSpecCase_ == 16 && customEnvironmentSpecBuilder_ != null) {
+ result.environmentSpec_ = customEnvironmentSpecBuilder_.build();
+ }
result.executionSinkCase_ = executionSinkCase_;
result.executionSink_ = this.executionSink_;
result.executionIdentityCase_ = executionIdentityCase_;
@@ -4422,12 +5919,12 @@ public Builder mergeFrom(com.google.cloud.aiplatform.v1beta1.NotebookExecutionJo
return this;
if (!other.getName().isEmpty()) {
name_ = other.name_;
- bitField0_ |= 0x00000080;
+ bitField0_ |= 0x00000100;
onChanged();
}
if (!other.getDisplayName().isEmpty()) {
displayName_ = other.displayName_;
- bitField0_ |= 0x00000100;
+ bitField0_ |= 0x00000200;
onChanged();
}
if (other.hasExecutionTimeout()) {
@@ -4435,7 +5932,7 @@ public Builder mergeFrom(com.google.cloud.aiplatform.v1beta1.NotebookExecutionJo
}
if (!other.getScheduleResourceName().isEmpty()) {
scheduleResourceName_ = other.scheduleResourceName_;
- bitField0_ |= 0x00000400;
+ bitField0_ |= 0x00000800;
onChanged();
}
if (other.jobState_ != 0) {
@@ -4451,7 +5948,7 @@ public Builder mergeFrom(com.google.cloud.aiplatform.v1beta1.NotebookExecutionJo
mergeUpdateTime(other.getUpdateTime());
}
internalGetMutableLabels().mergeFrom(other.internalGetLabels());
- bitField0_ |= 0x00008000;
+ bitField0_ |= 0x00010000;
if (other.hasEncryptionSpec()) {
mergeEncryptionSpec(other.getEncryptionSpec());
}
@@ -4484,6 +5981,11 @@ public Builder mergeFrom(com.google.cloud.aiplatform.v1beta1.NotebookExecutionJo
onChanged();
break;
}
+ case CUSTOM_ENVIRONMENT_SPEC:
+ {
+ mergeCustomEnvironmentSpec(other.getCustomEnvironmentSpec());
+ break;
+ }
case ENVIRONMENTSPEC_NOT_SET:
{
break;
@@ -4551,13 +6053,13 @@ public Builder mergeFrom(
case 10:
{
name_ = input.readStringRequireUtf8();
- bitField0_ |= 0x00000080;
+ bitField0_ |= 0x00000100;
break;
} // case 10
case 18:
{
displayName_ = input.readStringRequireUtf8();
- bitField0_ |= 0x00000100;
+ bitField0_ |= 0x00000200;
break;
} // case 18
case 26:
@@ -4578,13 +6080,13 @@ public Builder mergeFrom(
{
input.readMessage(
getExecutionTimeoutFieldBuilder().getBuilder(), extensionRegistry);
- bitField0_ |= 0x00000200;
+ bitField0_ |= 0x00000400;
break;
} // case 42
case 50:
{
scheduleResourceName_ = input.readStringRequireUtf8();
- bitField0_ |= 0x00000400;
+ bitField0_ |= 0x00000800;
break;
} // case 50
case 66:
@@ -4604,25 +6106,25 @@ public Builder mergeFrom(
case 80:
{
jobState_ = input.readEnum();
- bitField0_ |= 0x00000800;
+ bitField0_ |= 0x00001000;
break;
} // case 80
case 90:
{
input.readMessage(getStatusFieldBuilder().getBuilder(), extensionRegistry);
- bitField0_ |= 0x00001000;
+ bitField0_ |= 0x00002000;
break;
} // case 90
case 98:
{
input.readMessage(getCreateTimeFieldBuilder().getBuilder(), extensionRegistry);
- bitField0_ |= 0x00002000;
+ bitField0_ |= 0x00004000;
break;
} // case 98
case 106:
{
input.readMessage(getUpdateTimeFieldBuilder().getBuilder(), extensionRegistry);
- bitField0_ |= 0x00004000;
+ bitField0_ |= 0x00008000;
break;
} // case 106
case 114:
@@ -4632,6 +6134,13 @@ public Builder mergeFrom(
environmentSpec_ = s;
break;
} // case 114
+ case 130:
+ {
+ input.readMessage(
+ getCustomEnvironmentSpecFieldBuilder().getBuilder(), extensionRegistry);
+ environmentSpecCase_ = 16;
+ break;
+ } // case 130
case 138:
{
input.readMessage(
@@ -4655,13 +6164,13 @@ public Builder mergeFrom(
internalGetMutableLabels()
.getMutableMap()
.put(labels__.getKey(), labels__.getValue());
- bitField0_ |= 0x00008000;
+ bitField0_ |= 0x00010000;
break;
} // case 154
case 178:
{
input.readMessage(getEncryptionSpecFieldBuilder().getBuilder(), extensionRegistry);
- bitField0_ |= 0x00010000;
+ bitField0_ |= 0x00020000;
break;
} // case 178
default:
@@ -5641,6 +7150,254 @@ public Builder setNotebookRuntimeTemplateResourceNameBytes(
return this;
}
+ private com.google.protobuf.SingleFieldBuilderV3<
+ com.google.cloud.aiplatform.v1beta1.NotebookExecutionJob.CustomEnvironmentSpec,
+ com.google.cloud.aiplatform.v1beta1.NotebookExecutionJob.CustomEnvironmentSpec.Builder,
+ com.google.cloud.aiplatform.v1beta1.NotebookExecutionJob.CustomEnvironmentSpecOrBuilder>
+ customEnvironmentSpecBuilder_;
+ /**
+ *
+ *
+ *
+ * The custom compute configuration for an execution job.
+ *
+ *
+ *
+ * .google.cloud.aiplatform.v1beta1.NotebookExecutionJob.CustomEnvironmentSpec custom_environment_spec = 16;
+ *
+ *
+ * @return Whether the customEnvironmentSpec field is set.
+ */
+ @java.lang.Override
+ public boolean hasCustomEnvironmentSpec() {
+ return environmentSpecCase_ == 16;
+ }
+ /**
+ *
+ *
+ *
+ * The custom compute configuration for an execution job.
+ *
+ *
+ *
+ * .google.cloud.aiplatform.v1beta1.NotebookExecutionJob.CustomEnvironmentSpec custom_environment_spec = 16;
+ *
+ *
+ * @return The customEnvironmentSpec.
+ */
+ @java.lang.Override
+ public com.google.cloud.aiplatform.v1beta1.NotebookExecutionJob.CustomEnvironmentSpec
+ getCustomEnvironmentSpec() {
+ if (customEnvironmentSpecBuilder_ == null) {
+ if (environmentSpecCase_ == 16) {
+ return (com.google.cloud.aiplatform.v1beta1.NotebookExecutionJob.CustomEnvironmentSpec)
+ environmentSpec_;
+ }
+ return com.google.cloud.aiplatform.v1beta1.NotebookExecutionJob.CustomEnvironmentSpec
+ .getDefaultInstance();
+ } else {
+ if (environmentSpecCase_ == 16) {
+ return customEnvironmentSpecBuilder_.getMessage();
+ }
+ return com.google.cloud.aiplatform.v1beta1.NotebookExecutionJob.CustomEnvironmentSpec
+ .getDefaultInstance();
+ }
+ }
+ /**
+ *
+ *
+ *
+ * The custom compute configuration for an execution job.
+ *
+ *
+ *
+ * .google.cloud.aiplatform.v1beta1.NotebookExecutionJob.CustomEnvironmentSpec custom_environment_spec = 16;
+ *
+ */
+ public Builder setCustomEnvironmentSpec(
+ com.google.cloud.aiplatform.v1beta1.NotebookExecutionJob.CustomEnvironmentSpec value) {
+ if (customEnvironmentSpecBuilder_ == null) {
+ if (value == null) {
+ throw new NullPointerException();
+ }
+ environmentSpec_ = value;
+ onChanged();
+ } else {
+ customEnvironmentSpecBuilder_.setMessage(value);
+ }
+ environmentSpecCase_ = 16;
+ return this;
+ }
+ /**
+ *
+ *
+ *
+ * The custom compute configuration for an execution job.
+ *
+ *
+ *
+ * .google.cloud.aiplatform.v1beta1.NotebookExecutionJob.CustomEnvironmentSpec custom_environment_spec = 16;
+ *
+ */
+ public Builder setCustomEnvironmentSpec(
+ com.google.cloud.aiplatform.v1beta1.NotebookExecutionJob.CustomEnvironmentSpec.Builder
+ builderForValue) {
+ if (customEnvironmentSpecBuilder_ == null) {
+ environmentSpec_ = builderForValue.build();
+ onChanged();
+ } else {
+ customEnvironmentSpecBuilder_.setMessage(builderForValue.build());
+ }
+ environmentSpecCase_ = 16;
+ return this;
+ }
+ /**
+ *
+ *
+ *
+ * The custom compute configuration for an execution job.
+ *
+ *
+ *
+ * .google.cloud.aiplatform.v1beta1.NotebookExecutionJob.CustomEnvironmentSpec custom_environment_spec = 16;
+ *
+ */
+ public Builder mergeCustomEnvironmentSpec(
+ com.google.cloud.aiplatform.v1beta1.NotebookExecutionJob.CustomEnvironmentSpec value) {
+ if (customEnvironmentSpecBuilder_ == null) {
+ if (environmentSpecCase_ == 16
+ && environmentSpec_
+ != com.google.cloud.aiplatform.v1beta1.NotebookExecutionJob.CustomEnvironmentSpec
+ .getDefaultInstance()) {
+ environmentSpec_ =
+ com.google.cloud.aiplatform.v1beta1.NotebookExecutionJob.CustomEnvironmentSpec
+ .newBuilder(
+ (com.google.cloud.aiplatform.v1beta1.NotebookExecutionJob
+ .CustomEnvironmentSpec)
+ environmentSpec_)
+ .mergeFrom(value)
+ .buildPartial();
+ } else {
+ environmentSpec_ = value;
+ }
+ onChanged();
+ } else {
+ if (environmentSpecCase_ == 16) {
+ customEnvironmentSpecBuilder_.mergeFrom(value);
+ } else {
+ customEnvironmentSpecBuilder_.setMessage(value);
+ }
+ }
+ environmentSpecCase_ = 16;
+ return this;
+ }
+ /**
+ *
+ *
+ *
+ * The custom compute configuration for an execution job.
+ *
+ *
+ *
+ * .google.cloud.aiplatform.v1beta1.NotebookExecutionJob.CustomEnvironmentSpec custom_environment_spec = 16;
+ *
+ */
+ public Builder clearCustomEnvironmentSpec() {
+ if (customEnvironmentSpecBuilder_ == null) {
+ if (environmentSpecCase_ == 16) {
+ environmentSpecCase_ = 0;
+ environmentSpec_ = null;
+ onChanged();
+ }
+ } else {
+ if (environmentSpecCase_ == 16) {
+ environmentSpecCase_ = 0;
+ environmentSpec_ = null;
+ }
+ customEnvironmentSpecBuilder_.clear();
+ }
+ return this;
+ }
+ /**
+ *
+ *
+ *
+ * The custom compute configuration for an execution job.
+ *
+ *
+ *
+ * .google.cloud.aiplatform.v1beta1.NotebookExecutionJob.CustomEnvironmentSpec custom_environment_spec = 16;
+ *
+ */
+ public com.google.cloud.aiplatform.v1beta1.NotebookExecutionJob.CustomEnvironmentSpec.Builder
+ getCustomEnvironmentSpecBuilder() {
+ return getCustomEnvironmentSpecFieldBuilder().getBuilder();
+ }
+ /**
+ *
+ *
+ *
+ * The custom compute configuration for an execution job.
+ *
+ *
+ *
+ * .google.cloud.aiplatform.v1beta1.NotebookExecutionJob.CustomEnvironmentSpec custom_environment_spec = 16;
+ *
+ */
+ @java.lang.Override
+ public com.google.cloud.aiplatform.v1beta1.NotebookExecutionJob.CustomEnvironmentSpecOrBuilder
+ getCustomEnvironmentSpecOrBuilder() {
+ if ((environmentSpecCase_ == 16) && (customEnvironmentSpecBuilder_ != null)) {
+ return customEnvironmentSpecBuilder_.getMessageOrBuilder();
+ } else {
+ if (environmentSpecCase_ == 16) {
+ return (com.google.cloud.aiplatform.v1beta1.NotebookExecutionJob.CustomEnvironmentSpec)
+ environmentSpec_;
+ }
+ return com.google.cloud.aiplatform.v1beta1.NotebookExecutionJob.CustomEnvironmentSpec
+ .getDefaultInstance();
+ }
+ }
+ /**
+ *
+ *
+ *
+ * The custom compute configuration for an execution job.
+ *
+ *
+ *
+ * .google.cloud.aiplatform.v1beta1.NotebookExecutionJob.CustomEnvironmentSpec custom_environment_spec = 16;
+ *
+ */
+ private com.google.protobuf.SingleFieldBuilderV3<
+ com.google.cloud.aiplatform.v1beta1.NotebookExecutionJob.CustomEnvironmentSpec,
+ com.google.cloud.aiplatform.v1beta1.NotebookExecutionJob.CustomEnvironmentSpec.Builder,
+ com.google.cloud.aiplatform.v1beta1.NotebookExecutionJob.CustomEnvironmentSpecOrBuilder>
+ getCustomEnvironmentSpecFieldBuilder() {
+ if (customEnvironmentSpecBuilder_ == null) {
+ if (!(environmentSpecCase_ == 16)) {
+ environmentSpec_ =
+ com.google.cloud.aiplatform.v1beta1.NotebookExecutionJob.CustomEnvironmentSpec
+ .getDefaultInstance();
+ }
+ customEnvironmentSpecBuilder_ =
+ new com.google.protobuf.SingleFieldBuilderV3<
+ com.google.cloud.aiplatform.v1beta1.NotebookExecutionJob.CustomEnvironmentSpec,
+ com.google.cloud.aiplatform.v1beta1.NotebookExecutionJob.CustomEnvironmentSpec
+ .Builder,
+ com.google.cloud.aiplatform.v1beta1.NotebookExecutionJob
+ .CustomEnvironmentSpecOrBuilder>(
+ (com.google.cloud.aiplatform.v1beta1.NotebookExecutionJob.CustomEnvironmentSpec)
+ environmentSpec_,
+ getParentForChildren(),
+ isClean());
+ environmentSpec_ = null;
+ }
+ environmentSpecCase_ = 16;
+ onChanged();
+ return customEnvironmentSpecBuilder_;
+ }
+
/**
*
*
@@ -6114,7 +7871,7 @@ public Builder setName(java.lang.String value) {
throw new NullPointerException();
}
name_ = value;
- bitField0_ |= 0x00000080;
+ bitField0_ |= 0x00000100;
onChanged();
return this;
}
@@ -6132,7 +7889,7 @@ public Builder setName(java.lang.String value) {
*/
public Builder clearName() {
name_ = getDefaultInstance().getName();
- bitField0_ = (bitField0_ & ~0x00000080);
+ bitField0_ = (bitField0_ & ~0x00000100);
onChanged();
return this;
}
@@ -6155,7 +7912,7 @@ public Builder setNameBytes(com.google.protobuf.ByteString value) {
}
checkByteStringIsUtf8(value);
name_ = value;
- bitField0_ |= 0x00000080;
+ bitField0_ |= 0x00000100;
onChanged();
return this;
}
@@ -6225,7 +7982,7 @@ public Builder setDisplayName(java.lang.String value) {
throw new NullPointerException();
}
displayName_ = value;
- bitField0_ |= 0x00000100;
+ bitField0_ |= 0x00000200;
onChanged();
return this;
}
@@ -6243,7 +8000,7 @@ public Builder setDisplayName(java.lang.String value) {
*/
public Builder clearDisplayName() {
displayName_ = getDefaultInstance().getDisplayName();
- bitField0_ = (bitField0_ & ~0x00000100);
+ bitField0_ = (bitField0_ & ~0x00000200);
onChanged();
return this;
}
@@ -6266,7 +8023,7 @@ public Builder setDisplayNameBytes(com.google.protobuf.ByteString value) {
}
checkByteStringIsUtf8(value);
displayName_ = value;
- bitField0_ |= 0x00000100;
+ bitField0_ |= 0x00000200;
onChanged();
return this;
}
@@ -6289,7 +8046,7 @@ public Builder setDisplayNameBytes(com.google.protobuf.ByteString value) {
* @return Whether the executionTimeout field is set.
*/
public boolean hasExecutionTimeout() {
- return ((bitField0_ & 0x00000200) != 0);
+ return ((bitField0_ & 0x00000400) != 0);
}
/**
*
@@ -6329,7 +8086,7 @@ public Builder setExecutionTimeout(com.google.protobuf.Duration value) {
} else {
executionTimeoutBuilder_.setMessage(value);
}
- bitField0_ |= 0x00000200;
+ bitField0_ |= 0x00000400;
onChanged();
return this;
}
@@ -6348,7 +8105,7 @@ public Builder setExecutionTimeout(com.google.protobuf.Duration.Builder builderF
} else {
executionTimeoutBuilder_.setMessage(builderForValue.build());
}
- bitField0_ |= 0x00000200;
+ bitField0_ |= 0x00000400;
onChanged();
return this;
}
@@ -6363,7 +8120,7 @@ public Builder setExecutionTimeout(com.google.protobuf.Duration.Builder builderF
*/
public Builder mergeExecutionTimeout(com.google.protobuf.Duration value) {
if (executionTimeoutBuilder_ == null) {
- if (((bitField0_ & 0x00000200) != 0)
+ if (((bitField0_ & 0x00000400) != 0)
&& executionTimeout_ != null
&& executionTimeout_ != com.google.protobuf.Duration.getDefaultInstance()) {
getExecutionTimeoutBuilder().mergeFrom(value);
@@ -6374,7 +8131,7 @@ public Builder mergeExecutionTimeout(com.google.protobuf.Duration value) {
executionTimeoutBuilder_.mergeFrom(value);
}
if (executionTimeout_ != null) {
- bitField0_ |= 0x00000200;
+ bitField0_ |= 0x00000400;
onChanged();
}
return this;
@@ -6389,7 +8146,7 @@ public Builder mergeExecutionTimeout(com.google.protobuf.Duration value) {
* .google.protobuf.Duration execution_timeout = 5;
*/
public Builder clearExecutionTimeout() {
- bitField0_ = (bitField0_ & ~0x00000200);
+ bitField0_ = (bitField0_ & ~0x00000400);
executionTimeout_ = null;
if (executionTimeoutBuilder_ != null) {
executionTimeoutBuilder_.dispose();
@@ -6408,7 +8165,7 @@ public Builder clearExecutionTimeout() {
* .google.protobuf.Duration execution_timeout = 5;
*/
public com.google.protobuf.Duration.Builder getExecutionTimeoutBuilder() {
- bitField0_ |= 0x00000200;
+ bitField0_ |= 0x00000400;
onChanged();
return getExecutionTimeoutFieldBuilder().getBuilder();
}
@@ -6530,7 +8287,7 @@ public Builder setScheduleResourceName(java.lang.String value) {
throw new NullPointerException();
}
scheduleResourceName_ = value;
- bitField0_ |= 0x00000400;
+ bitField0_ |= 0x00000800;
onChanged();
return this;
}
@@ -6551,7 +8308,7 @@ public Builder setScheduleResourceName(java.lang.String value) {
*/
public Builder clearScheduleResourceName() {
scheduleResourceName_ = getDefaultInstance().getScheduleResourceName();
- bitField0_ = (bitField0_ & ~0x00000400);
+ bitField0_ = (bitField0_ & ~0x00000800);
onChanged();
return this;
}
@@ -6577,7 +8334,7 @@ public Builder setScheduleResourceNameBytes(com.google.protobuf.ByteString value
}
checkByteStringIsUtf8(value);
scheduleResourceName_ = value;
- bitField0_ |= 0x00000400;
+ bitField0_ |= 0x00000800;
onChanged();
return this;
}
@@ -6616,7 +8373,7 @@ public int getJobStateValue() {
*/
public Builder setJobStateValue(int value) {
jobState_ = value;
- bitField0_ |= 0x00000800;
+ bitField0_ |= 0x00001000;
onChanged();
return this;
}
@@ -6657,7 +8414,7 @@ public Builder setJobState(com.google.cloud.aiplatform.v1beta1.JobState value) {
if (value == null) {
throw new NullPointerException();
}
- bitField0_ |= 0x00000800;
+ bitField0_ |= 0x00001000;
jobState_ = value.getNumber();
onChanged();
return this;
@@ -6676,7 +8433,7 @@ public Builder setJobState(com.google.cloud.aiplatform.v1beta1.JobState value) {
* @return This builder for chaining.
*/
public Builder clearJobState() {
- bitField0_ = (bitField0_ & ~0x00000800);
+ bitField0_ = (bitField0_ & ~0x00001000);
jobState_ = 0;
onChanged();
return this;
@@ -6700,7 +8457,7 @@ public Builder clearJobState() {
* @return Whether the status field is set.
*/
public boolean hasStatus() {
- return ((bitField0_ & 0x00001000) != 0);
+ return ((bitField0_ & 0x00002000) != 0);
}
/**
*
@@ -6742,7 +8499,7 @@ public Builder setStatus(com.google.rpc.Status value) {
} else {
statusBuilder_.setMessage(value);
}
- bitField0_ |= 0x00001000;
+ bitField0_ |= 0x00002000;
onChanged();
return this;
}
@@ -6763,7 +8520,7 @@ public Builder setStatus(com.google.rpc.Status.Builder builderForValue) {
} else {
statusBuilder_.setMessage(builderForValue.build());
}
- bitField0_ |= 0x00001000;
+ bitField0_ |= 0x00002000;
onChanged();
return this;
}
@@ -6780,7 +8537,7 @@ public Builder setStatus(com.google.rpc.Status.Builder builderForValue) {
*/
public Builder mergeStatus(com.google.rpc.Status value) {
if (statusBuilder_ == null) {
- if (((bitField0_ & 0x00001000) != 0)
+ if (((bitField0_ & 0x00002000) != 0)
&& status_ != null
&& status_ != com.google.rpc.Status.getDefaultInstance()) {
getStatusBuilder().mergeFrom(value);
@@ -6791,7 +8548,7 @@ public Builder mergeStatus(com.google.rpc.Status value) {
statusBuilder_.mergeFrom(value);
}
if (status_ != null) {
- bitField0_ |= 0x00001000;
+ bitField0_ |= 0x00002000;
onChanged();
}
return this;
@@ -6808,7 +8565,7 @@ public Builder mergeStatus(com.google.rpc.Status value) {
* .google.rpc.Status status = 11 [(.google.api.field_behavior) = OUTPUT_ONLY];
*/
public Builder clearStatus() {
- bitField0_ = (bitField0_ & ~0x00001000);
+ bitField0_ = (bitField0_ & ~0x00002000);
status_ = null;
if (statusBuilder_ != null) {
statusBuilder_.dispose();
@@ -6829,7 +8586,7 @@ public Builder clearStatus() {
* .google.rpc.Status status = 11 [(.google.api.field_behavior) = OUTPUT_ONLY];
*/
public com.google.rpc.Status.Builder getStatusBuilder() {
- bitField0_ |= 0x00001000;
+ bitField0_ |= 0x00002000;
onChanged();
return getStatusFieldBuilder().getBuilder();
}
@@ -6896,7 +8653,7 @@ public com.google.rpc.StatusOrBuilder getStatusOrBuilder() {
* @return Whether the createTime field is set.
*/
public boolean hasCreateTime() {
- return ((bitField0_ & 0x00002000) != 0);
+ return ((bitField0_ & 0x00004000) != 0);
}
/**
*
@@ -6940,7 +8697,7 @@ public Builder setCreateTime(com.google.protobuf.Timestamp value) {
} else {
createTimeBuilder_.setMessage(value);
}
- bitField0_ |= 0x00002000;
+ bitField0_ |= 0x00004000;
onChanged();
return this;
}
@@ -6961,7 +8718,7 @@ public Builder setCreateTime(com.google.protobuf.Timestamp.Builder builderForVal
} else {
createTimeBuilder_.setMessage(builderForValue.build());
}
- bitField0_ |= 0x00002000;
+ bitField0_ |= 0x00004000;
onChanged();
return this;
}
@@ -6978,7 +8735,7 @@ public Builder setCreateTime(com.google.protobuf.Timestamp.Builder builderForVal
*/
public Builder mergeCreateTime(com.google.protobuf.Timestamp value) {
if (createTimeBuilder_ == null) {
- if (((bitField0_ & 0x00002000) != 0)
+ if (((bitField0_ & 0x00004000) != 0)
&& createTime_ != null
&& createTime_ != com.google.protobuf.Timestamp.getDefaultInstance()) {
getCreateTimeBuilder().mergeFrom(value);
@@ -6989,7 +8746,7 @@ public Builder mergeCreateTime(com.google.protobuf.Timestamp value) {
createTimeBuilder_.mergeFrom(value);
}
if (createTime_ != null) {
- bitField0_ |= 0x00002000;
+ bitField0_ |= 0x00004000;
onChanged();
}
return this;
@@ -7006,7 +8763,7 @@ public Builder mergeCreateTime(com.google.protobuf.Timestamp value) {
*
*/
public Builder clearCreateTime() {
- bitField0_ = (bitField0_ & ~0x00002000);
+ bitField0_ = (bitField0_ & ~0x00004000);
createTime_ = null;
if (createTimeBuilder_ != null) {
createTimeBuilder_.dispose();
@@ -7027,7 +8784,7 @@ public Builder clearCreateTime() {
*
*/
public com.google.protobuf.Timestamp.Builder getCreateTimeBuilder() {
- bitField0_ |= 0x00002000;
+ bitField0_ |= 0x00004000;
onChanged();
return getCreateTimeFieldBuilder().getBuilder();
}
@@ -7100,7 +8857,7 @@ public com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder() {
* @return Whether the updateTime field is set.
*/
public boolean hasUpdateTime() {
- return ((bitField0_ & 0x00004000) != 0);
+ return ((bitField0_ & 0x00008000) != 0);
}
/**
*
@@ -7146,7 +8903,7 @@ public Builder setUpdateTime(com.google.protobuf.Timestamp value) {
} else {
updateTimeBuilder_.setMessage(value);
}
- bitField0_ |= 0x00004000;
+ bitField0_ |= 0x00008000;
onChanged();
return this;
}
@@ -7168,7 +8925,7 @@ public Builder setUpdateTime(com.google.protobuf.Timestamp.Builder builderForVal
} else {
updateTimeBuilder_.setMessage(builderForValue.build());
}
- bitField0_ |= 0x00004000;
+ bitField0_ |= 0x00008000;
onChanged();
return this;
}
@@ -7186,7 +8943,7 @@ public Builder setUpdateTime(com.google.protobuf.Timestamp.Builder builderForVal
*/
public Builder mergeUpdateTime(com.google.protobuf.Timestamp value) {
if (updateTimeBuilder_ == null) {
- if (((bitField0_ & 0x00004000) != 0)
+ if (((bitField0_ & 0x00008000) != 0)
&& updateTime_ != null
&& updateTime_ != com.google.protobuf.Timestamp.getDefaultInstance()) {
getUpdateTimeBuilder().mergeFrom(value);
@@ -7197,7 +8954,7 @@ public Builder mergeUpdateTime(com.google.protobuf.Timestamp value) {
updateTimeBuilder_.mergeFrom(value);
}
if (updateTime_ != null) {
- bitField0_ |= 0x00004000;
+ bitField0_ |= 0x00008000;
onChanged();
}
return this;
@@ -7215,7 +8972,7 @@ public Builder mergeUpdateTime(com.google.protobuf.Timestamp value) {
*
*/
public Builder clearUpdateTime() {
- bitField0_ = (bitField0_ & ~0x00004000);
+ bitField0_ = (bitField0_ & ~0x00008000);
updateTime_ = null;
if (updateTimeBuilder_ != null) {
updateTimeBuilder_.dispose();
@@ -7237,7 +8994,7 @@ public Builder clearUpdateTime() {
*
*/
public com.google.protobuf.Timestamp.Builder getUpdateTimeBuilder() {
- bitField0_ |= 0x00004000;
+ bitField0_ |= 0x00008000;
onChanged();
return getUpdateTimeFieldBuilder().getBuilder();
}
@@ -7308,7 +9065,7 @@ private com.google.protobuf.MapField interna
if (!labels_.isMutable()) {
labels_ = labels_.copy();
}
- bitField0_ |= 0x00008000;
+ bitField0_ |= 0x00010000;
onChanged();
return labels_;
}
@@ -7425,7 +9182,7 @@ public java.lang.String getLabelsOrThrow(java.lang.String key) {
}
public Builder clearLabels() {
- bitField0_ = (bitField0_ & ~0x00008000);
+ bitField0_ = (bitField0_ & ~0x00010000);
internalGetMutableLabels().getMutableMap().clear();
return this;
}
@@ -7456,7 +9213,7 @@ public Builder removeLabels(java.lang.String key) {
/** Use alternate mutation accessors instead. */
@java.lang.Deprecated
public java.util.Map getMutableLabels() {
- bitField0_ |= 0x00008000;
+ bitField0_ |= 0x00010000;
return internalGetMutableLabels().getMutableMap();
}
/**
@@ -7484,7 +9241,7 @@ public Builder putLabels(java.lang.String key, java.lang.String value) {
throw new NullPointerException("map value");
}
internalGetMutableLabels().getMutableMap().put(key, value);
- bitField0_ |= 0x00008000;
+ bitField0_ |= 0x00010000;
return this;
}
/**
@@ -7506,7 +9263,7 @@ public Builder putLabels(java.lang.String key, java.lang.String value) {
*/
public Builder putAllLabels(java.util.Map values) {
internalGetMutableLabels().getMutableMap().putAll(values);
- bitField0_ |= 0x00008000;
+ bitField0_ |= 0x00010000;
return this;
}
@@ -7530,7 +9287,7 @@ public Builder putAllLabels(java.util.Map va
* @return Whether the encryptionSpec field is set.
*/
public boolean hasEncryptionSpec() {
- return ((bitField0_ & 0x00010000) != 0);
+ return ((bitField0_ & 0x00020000) != 0);
}
/**
*
@@ -7574,7 +9331,7 @@ public Builder setEncryptionSpec(com.google.cloud.aiplatform.v1beta1.EncryptionS
} else {
encryptionSpecBuilder_.setMessage(value);
}
- bitField0_ |= 0x00010000;
+ bitField0_ |= 0x00020000;
onChanged();
return this;
}
@@ -7596,7 +9353,7 @@ public Builder setEncryptionSpec(
} else {
encryptionSpecBuilder_.setMessage(builderForValue.build());
}
- bitField0_ |= 0x00010000;
+ bitField0_ |= 0x00020000;
onChanged();
return this;
}
@@ -7613,7 +9370,7 @@ public Builder setEncryptionSpec(
*/
public Builder mergeEncryptionSpec(com.google.cloud.aiplatform.v1beta1.EncryptionSpec value) {
if (encryptionSpecBuilder_ == null) {
- if (((bitField0_ & 0x00010000) != 0)
+ if (((bitField0_ & 0x00020000) != 0)
&& encryptionSpec_ != null
&& encryptionSpec_
!= com.google.cloud.aiplatform.v1beta1.EncryptionSpec.getDefaultInstance()) {
@@ -7625,7 +9382,7 @@ public Builder mergeEncryptionSpec(com.google.cloud.aiplatform.v1beta1.Encryptio
encryptionSpecBuilder_.mergeFrom(value);
}
if (encryptionSpec_ != null) {
- bitField0_ |= 0x00010000;
+ bitField0_ |= 0x00020000;
onChanged();
}
return this;
@@ -7642,7 +9399,7 @@ public Builder mergeEncryptionSpec(com.google.cloud.aiplatform.v1beta1.Encryptio
* .google.cloud.aiplatform.v1beta1.EncryptionSpec encryption_spec = 22;
*/
public Builder clearEncryptionSpec() {
- bitField0_ = (bitField0_ & ~0x00010000);
+ bitField0_ = (bitField0_ & ~0x00020000);
encryptionSpec_ = null;
if (encryptionSpecBuilder_ != null) {
encryptionSpecBuilder_.dispose();
@@ -7663,7 +9420,7 @@ public Builder clearEncryptionSpec() {
* .google.cloud.aiplatform.v1beta1.EncryptionSpec encryption_spec = 22;
*/
public com.google.cloud.aiplatform.v1beta1.EncryptionSpec.Builder getEncryptionSpecBuilder() {
- bitField0_ |= 0x00010000;
+ bitField0_ |= 0x00020000;
onChanged();
return getEncryptionSpecFieldBuilder().getBuilder();
}
diff --git a/java-aiplatform/proto-google-cloud-aiplatform-v1beta1/src/main/java/com/google/cloud/aiplatform/v1beta1/NotebookExecutionJobOrBuilder.java b/java-aiplatform/proto-google-cloud-aiplatform-v1beta1/src/main/java/com/google/cloud/aiplatform/v1beta1/NotebookExecutionJobOrBuilder.java
index 7fbfcce6669b..a17686f3c28e 100644
--- a/java-aiplatform/proto-google-cloud-aiplatform-v1beta1/src/main/java/com/google/cloud/aiplatform/v1beta1/NotebookExecutionJobOrBuilder.java
+++ b/java-aiplatform/proto-google-cloud-aiplatform-v1beta1/src/main/java/com/google/cloud/aiplatform/v1beta1/NotebookExecutionJobOrBuilder.java
@@ -198,6 +198,49 @@ public interface NotebookExecutionJobOrBuilder
*/
com.google.protobuf.ByteString getNotebookRuntimeTemplateResourceNameBytes();
+ /**
+ *
+ *
+ *
+ * The custom compute configuration for an execution job.
+ *
+ *
+ *
+ * .google.cloud.aiplatform.v1beta1.NotebookExecutionJob.CustomEnvironmentSpec custom_environment_spec = 16;
+ *
+ *
+ * @return Whether the customEnvironmentSpec field is set.
+ */
+ boolean hasCustomEnvironmentSpec();
+ /**
+ *
+ *
+ *
+ * The custom compute configuration for an execution job.
+ *
+ *
+ *
+ * .google.cloud.aiplatform.v1beta1.NotebookExecutionJob.CustomEnvironmentSpec custom_environment_spec = 16;
+ *
+ *
+ * @return The customEnvironmentSpec.
+ */
+ com.google.cloud.aiplatform.v1beta1.NotebookExecutionJob.CustomEnvironmentSpec
+ getCustomEnvironmentSpec();
+ /**
+ *
+ *
+ *
+ * The custom compute configuration for an execution job.
+ *
+ *
+ *
+ * .google.cloud.aiplatform.v1beta1.NotebookExecutionJob.CustomEnvironmentSpec custom_environment_spec = 16;
+ *
+ */
+ com.google.cloud.aiplatform.v1beta1.NotebookExecutionJob.CustomEnvironmentSpecOrBuilder
+ getCustomEnvironmentSpecOrBuilder();
+
/**
*
*
diff --git a/java-aiplatform/proto-google-cloud-aiplatform-v1beta1/src/main/java/com/google/cloud/aiplatform/v1beta1/NotebookExecutionJobProto.java b/java-aiplatform/proto-google-cloud-aiplatform-v1beta1/src/main/java/com/google/cloud/aiplatform/v1beta1/NotebookExecutionJobProto.java
index d5ef863487f9..a865272ff232 100644
--- a/java-aiplatform/proto-google-cloud-aiplatform-v1beta1/src/main/java/com/google/cloud/aiplatform/v1beta1/NotebookExecutionJobProto.java
+++ b/java-aiplatform/proto-google-cloud-aiplatform-v1beta1/src/main/java/com/google/cloud/aiplatform/v1beta1/NotebookExecutionJobProto.java
@@ -44,6 +44,10 @@ public static void registerAllExtensions(com.google.protobuf.ExtensionRegistry r
internal_static_google_cloud_aiplatform_v1beta1_NotebookExecutionJob_DirectNotebookSource_descriptor;
static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internal_static_google_cloud_aiplatform_v1beta1_NotebookExecutionJob_DirectNotebookSource_fieldAccessorTable;
+ static final com.google.protobuf.Descriptors.Descriptor
+ internal_static_google_cloud_aiplatform_v1beta1_NotebookExecutionJob_CustomEnvironmentSpec_descriptor;
+ static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
+ internal_static_google_cloud_aiplatform_v1beta1_NotebookExecutionJob_CustomEnvironmentSpec_fieldAccessorTable;
static final com.google.protobuf.Descriptors.Descriptor
internal_static_google_cloud_aiplatform_v1beta1_NotebookExecutionJob_LabelsEntry_descriptor;
static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
@@ -63,55 +67,67 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() {
+ "or.proto\032\031google/api/resource.proto\0325goo"
+ "gle/cloud/aiplatform/v1beta1/encryption_"
+ "spec.proto\032/google/cloud/aiplatform/v1be"
- + "ta1/job_state.proto\032\036google/protobuf/dur"
- + "ation.proto\032\037google/protobuf/timestamp.p"
- + "roto\032\027google/rpc/status.proto\"\260\014\n\024Notebo"
- + "okExecutionJob\022t\n\032dataform_repository_so"
- + "urce\030\003 \001(\0132N.google.cloud.aiplatform.v1b"
- + "eta1.NotebookExecutionJob.DataformReposi"
- + "torySourceH\000\022f\n\023gcs_notebook_source\030\004 \001("
- + "\0132G.google.cloud.aiplatform.v1beta1.Note"
- + "bookExecutionJob.GcsNotebookSourceH\000\022l\n\026"
- + "direct_notebook_source\030\021 \001(\0132J.google.cl"
- + "oud.aiplatform.v1beta1.NotebookExecution"
- + "Job.DirectNotebookSourceH\000\022i\n\'notebook_r"
- + "untime_template_resource_name\030\016 \001(\tB6\372A3"
- + "\n1aiplatform.googleapis.com/NotebookRunt"
- + "imeTemplateH\001\022\030\n\016gcs_output_uri\030\010 \001(\tH\002\022"
- + "\030\n\016execution_user\030\t \001(\tH\003\022\031\n\017service_acc"
- + "ount\030\022 \001(\tH\003\022\021\n\004name\030\001 \001(\tB\003\340A\003\022\024\n\014displ"
- + "ay_name\030\002 \001(\t\0224\n\021execution_timeout\030\005 \001(\013"
- + "2\031.google.protobuf.Duration\022J\n\026schedule_"
- + "resource_name\030\006 \001(\tB*\340A\003\372A$\n\"aiplatform."
- + "googleapis.com/Schedule\022A\n\tjob_state\030\n \001"
- + "(\0162).google.cloud.aiplatform.v1beta1.Job"
- + "StateB\003\340A\003\022\'\n\006status\030\013 \001(\0132\022.google.rpc."
- + "StatusB\003\340A\003\0224\n\013create_time\030\014 \001(\0132\032.googl"
- + "e.protobuf.TimestampB\003\340A\003\0224\n\013update_time"
- + "\030\r \001(\0132\032.google.protobuf.TimestampB\003\340A\003\022"
- + "Q\n\006labels\030\023 \003(\0132A.google.cloud.aiplatfor"
- + "m.v1beta1.NotebookExecutionJob.LabelsEnt"
- + "ry\022H\n\017encryption_spec\030\026 \001(\0132/.google.clo"
- + "ud.aiplatform.v1beta1.EncryptionSpec\032Y\n\030"
- + "DataformRepositorySource\022)\n!dataform_rep"
- + "ository_resource_name\030\001 \001(\t\022\022\n\ncommit_sh"
- + "a\030\002 \001(\t\0324\n\021GcsNotebookSource\022\013\n\003uri\030\001 \001("
- + "\t\022\022\n\ngeneration\030\002 \001(\t\032\'\n\024DirectNotebookS"
- + "ource\022\017\n\007content\030\001 \001(\014\032-\n\013LabelsEntry\022\013\n"
- + "\003key\030\001 \001(\t\022\r\n\005value\030\002 \001(\t:\0028\001:\271\001\352A\265\001\n.ai"
- + "platform.googleapis.com/NotebookExecutio"
- + "nJob\022Vprojects/{project}/locations/{loca"
- + "tion}/notebookExecutionJobs/{notebook_ex"
- + "ecution_job}*\025notebookExecutionJobs2\024not"
- + "ebookExecutionJobB\021\n\017notebook_sourceB\022\n\020"
- + "environment_specB\020\n\016execution_sinkB\024\n\022ex"
- + "ecution_identityB\360\001\n#com.google.cloud.ai"
- + "platform.v1beta1B\031NotebookExecutionJobPr"
- + "otoP\001ZCcloud.google.com/go/aiplatform/ap"
- + "iv1beta1/aiplatformpb;aiplatformpb\252\002\037Goo"
- + "gle.Cloud.AIPlatform.V1Beta1\312\002\037Google\\Cl"
- + "oud\\AIPlatform\\V1beta1\352\002\"Google::Cloud::"
- + "AIPlatform::V1beta1b\006proto3"
+ + "ta1/job_state.proto\0327google/cloud/aiplat"
+ + "form/v1beta1/machine_resources.proto\0322go"
+ + "ogle/cloud/aiplatform/v1beta1/network_sp"
+ + "ec.proto\032\036google/protobuf/duration.proto"
+ + "\032\037google/protobuf/timestamp.proto\032\027googl"
+ + "e/rpc/status.proto\"\225\017\n\024NotebookExecution"
+ + "Job\022t\n\032dataform_repository_source\030\003 \001(\0132"
+ + "N.google.cloud.aiplatform.v1beta1.Notebo"
+ + "okExecutionJob.DataformRepositorySourceH"
+ + "\000\022f\n\023gcs_notebook_source\030\004 \001(\0132G.google."
+ + "cloud.aiplatform.v1beta1.NotebookExecuti"
+ + "onJob.GcsNotebookSourceH\000\022l\n\026direct_note"
+ + "book_source\030\021 \001(\0132J.google.cloud.aiplatf"
+ + "orm.v1beta1.NotebookExecutionJob.DirectN"
+ + "otebookSourceH\000\022i\n\'notebook_runtime_temp"
+ + "late_resource_name\030\016 \001(\tB6\372A3\n1aiplatfor"
+ + "m.googleapis.com/NotebookRuntimeTemplate"
+ + "H\001\022n\n\027custom_environment_spec\030\020 \001(\0132K.go"
+ + "ogle.cloud.aiplatform.v1beta1.NotebookEx"
+ + "ecutionJob.CustomEnvironmentSpecH\001\022\030\n\016gc"
+ + "s_output_uri\030\010 \001(\tH\002\022\030\n\016execution_user\030\t"
+ + " \001(\tH\003\022\031\n\017service_account\030\022 \001(\tH\003\022\021\n\004nam"
+ + "e\030\001 \001(\tB\003\340A\003\022\024\n\014display_name\030\002 \001(\t\0224\n\021ex"
+ + "ecution_timeout\030\005 \001(\0132\031.google.protobuf."
+ + "Duration\022J\n\026schedule_resource_name\030\006 \001(\t"
+ + "B*\340A\003\372A$\n\"aiplatform.googleapis.com/Sche"
+ + "dule\022A\n\tjob_state\030\n \001(\0162).google.cloud.a"
+ + "iplatform.v1beta1.JobStateB\003\340A\003\022\'\n\006statu"
+ + "s\030\013 \001(\0132\022.google.rpc.StatusB\003\340A\003\0224\n\013crea"
+ + "te_time\030\014 \001(\0132\032.google.protobuf.Timestam"
+ + "pB\003\340A\003\0224\n\013update_time\030\r \001(\0132\032.google.pro"
+ + "tobuf.TimestampB\003\340A\003\022Q\n\006labels\030\023 \003(\0132A.g"
+ + "oogle.cloud.aiplatform.v1beta1.NotebookE"
+ + "xecutionJob.LabelsEntry\022H\n\017encryption_sp"
+ + "ec\030\026 \001(\0132/.google.cloud.aiplatform.v1bet"
+ + "a1.EncryptionSpec\032Y\n\030DataformRepositoryS"
+ + "ource\022)\n!dataform_repository_resource_na"
+ + "me\030\001 \001(\t\022\022\n\ncommit_sha\030\002 \001(\t\0324\n\021GcsNoteb"
+ + "ookSource\022\013\n\003uri\030\001 \001(\t\022\022\n\ngeneration\030\002 \001"
+ + "(\t\032\'\n\024DirectNotebookSource\022\017\n\007content\030\001 "
+ + "\001(\014\032\362\001\n\025CustomEnvironmentSpec\022B\n\014machine"
+ + "_spec\030\001 \001(\0132,.google.cloud.aiplatform.v1"
+ + "beta1.MachineSpec\022Q\n\024persistent_disk_spe"
+ + "c\030\002 \001(\01323.google.cloud.aiplatform.v1beta"
+ + "1.PersistentDiskSpec\022B\n\014network_spec\030\003 \001"
+ + "(\0132,.google.cloud.aiplatform.v1beta1.Net"
+ + "workSpec\032-\n\013LabelsEntry\022\013\n\003key\030\001 \001(\t\022\r\n\005"
+ + "value\030\002 \001(\t:\0028\001:\271\001\352A\265\001\n.aiplatform.googl"
+ + "eapis.com/NotebookExecutionJob\022Vprojects"
+ + "/{project}/locations/{location}/notebook"
+ + "ExecutionJobs/{notebook_execution_job}*\025"
+ + "notebookExecutionJobs2\024notebookExecution"
+ + "JobB\021\n\017notebook_sourceB\022\n\020environment_sp"
+ + "ecB\020\n\016execution_sinkB\024\n\022execution_identi"
+ + "tyB\360\001\n#com.google.cloud.aiplatform.v1bet"
+ + "a1B\031NotebookExecutionJobProtoP\001ZCcloud.g"
+ + "oogle.com/go/aiplatform/apiv1beta1/aipla"
+ + "tformpb;aiplatformpb\252\002\037Google.Cloud.AIPl"
+ + "atform.V1Beta1\312\002\037Google\\Cloud\\AIPlatform"
+ + "\\V1beta1\352\002\"Google::Cloud::AIPlatform::V1"
+ + "beta1b\006proto3"
};
descriptor =
com.google.protobuf.Descriptors.FileDescriptor.internalBuildGeneratedFileFrom(
@@ -121,6 +137,8 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() {
com.google.api.ResourceProto.getDescriptor(),
com.google.cloud.aiplatform.v1beta1.EncryptionSpecProto.getDescriptor(),
com.google.cloud.aiplatform.v1beta1.JobStateProto.getDescriptor(),
+ com.google.cloud.aiplatform.v1beta1.MachineResourcesProto.getDescriptor(),
+ com.google.cloud.aiplatform.v1beta1.NetworkSpecProto.getDescriptor(),
com.google.protobuf.DurationProto.getDescriptor(),
com.google.protobuf.TimestampProto.getDescriptor(),
com.google.rpc.StatusProto.getDescriptor(),
@@ -135,6 +153,7 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() {
"GcsNotebookSource",
"DirectNotebookSource",
"NotebookRuntimeTemplateResourceName",
+ "CustomEnvironmentSpec",
"GcsOutputUri",
"ExecutionUser",
"ServiceAccount",
@@ -183,10 +202,20 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() {
new java.lang.String[] {
"Content",
});
- internal_static_google_cloud_aiplatform_v1beta1_NotebookExecutionJob_LabelsEntry_descriptor =
+ internal_static_google_cloud_aiplatform_v1beta1_NotebookExecutionJob_CustomEnvironmentSpec_descriptor =
internal_static_google_cloud_aiplatform_v1beta1_NotebookExecutionJob_descriptor
.getNestedTypes()
.get(3);
+ internal_static_google_cloud_aiplatform_v1beta1_NotebookExecutionJob_CustomEnvironmentSpec_fieldAccessorTable =
+ new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
+ internal_static_google_cloud_aiplatform_v1beta1_NotebookExecutionJob_CustomEnvironmentSpec_descriptor,
+ new java.lang.String[] {
+ "MachineSpec", "PersistentDiskSpec", "NetworkSpec",
+ });
+ internal_static_google_cloud_aiplatform_v1beta1_NotebookExecutionJob_LabelsEntry_descriptor =
+ internal_static_google_cloud_aiplatform_v1beta1_NotebookExecutionJob_descriptor
+ .getNestedTypes()
+ .get(4);
internal_static_google_cloud_aiplatform_v1beta1_NotebookExecutionJob_LabelsEntry_fieldAccessorTable =
new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
internal_static_google_cloud_aiplatform_v1beta1_NotebookExecutionJob_LabelsEntry_descriptor,
@@ -204,6 +233,8 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() {
com.google.api.ResourceProto.getDescriptor();
com.google.cloud.aiplatform.v1beta1.EncryptionSpecProto.getDescriptor();
com.google.cloud.aiplatform.v1beta1.JobStateProto.getDescriptor();
+ com.google.cloud.aiplatform.v1beta1.MachineResourcesProto.getDescriptor();
+ com.google.cloud.aiplatform.v1beta1.NetworkSpecProto.getDescriptor();
com.google.protobuf.DurationProto.getDescriptor();
com.google.protobuf.TimestampProto.getDescriptor();
com.google.rpc.StatusProto.getDescriptor();
diff --git a/java-aiplatform/proto-google-cloud-aiplatform-v1beta1/src/main/java/com/google/cloud/aiplatform/v1beta1/ToolCall.java b/java-aiplatform/proto-google-cloud-aiplatform-v1beta1/src/main/java/com/google/cloud/aiplatform/v1beta1/ToolCall.java
new file mode 100644
index 000000000000..c0492853b507
--- /dev/null
+++ b/java-aiplatform/proto-google-cloud-aiplatform-v1beta1/src/main/java/com/google/cloud/aiplatform/v1beta1/ToolCall.java
@@ -0,0 +1,879 @@
+/*
+ * Copyright 2024 Google LLC
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ * https://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+// Generated by the protocol buffer compiler. DO NOT EDIT!
+// source: google/cloud/aiplatform/v1beta1/evaluation_service.proto
+
+// Protobuf Java Version: 3.25.5
+package com.google.cloud.aiplatform.v1beta1;
+
+/**
+ *
+ *
+ *
+ * Spec for tool call.
+ *
+ *
+ * Protobuf type {@code google.cloud.aiplatform.v1beta1.ToolCall}
+ */
+public final class ToolCall extends com.google.protobuf.GeneratedMessageV3
+ implements
+ // @@protoc_insertion_point(message_implements:google.cloud.aiplatform.v1beta1.ToolCall)
+ ToolCallOrBuilder {
+ private static final long serialVersionUID = 0L;
+ // Use ToolCall.newBuilder() to construct.
+ private ToolCall(com.google.protobuf.GeneratedMessageV3.Builder> builder) {
+ super(builder);
+ }
+
+ private ToolCall() {
+ toolName_ = "";
+ toolInput_ = "";
+ }
+
+ @java.lang.Override
+ @SuppressWarnings({"unused"})
+ protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
+ return new ToolCall();
+ }
+
+ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+ return com.google.cloud.aiplatform.v1beta1.EvaluationServiceProto
+ .internal_static_google_cloud_aiplatform_v1beta1_ToolCall_descriptor;
+ }
+
+ @java.lang.Override
+ protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
+ internalGetFieldAccessorTable() {
+ return com.google.cloud.aiplatform.v1beta1.EvaluationServiceProto
+ .internal_static_google_cloud_aiplatform_v1beta1_ToolCall_fieldAccessorTable
+ .ensureFieldAccessorsInitialized(
+ com.google.cloud.aiplatform.v1beta1.ToolCall.class,
+ com.google.cloud.aiplatform.v1beta1.ToolCall.Builder.class);
+ }
+
+ private int bitField0_;
+ public static final int TOOL_NAME_FIELD_NUMBER = 1;
+
+ @SuppressWarnings("serial")
+ private volatile java.lang.Object toolName_ = "";
+ /**
+ *
+ *
+ *
+ * Required. Spec for tool name
+ *
+ *
+ * optional string tool_name = 1 [(.google.api.field_behavior) = REQUIRED];
+ *
+ * @return Whether the toolName field is set.
+ */
+ @java.lang.Override
+ public boolean hasToolName() {
+ return ((bitField0_ & 0x00000001) != 0);
+ }
+ /**
+ *
+ *
+ *
+ * Required. Spec for tool name
+ *
+ *
+ * optional string tool_name = 1 [(.google.api.field_behavior) = REQUIRED];
+ *
+ * @return The toolName.
+ */
+ @java.lang.Override
+ public java.lang.String getToolName() {
+ java.lang.Object ref = toolName_;
+ 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();
+ toolName_ = s;
+ return s;
+ }
+ }
+ /**
+ *
+ *
+ *
+ * Required. Spec for tool name
+ *
+ *
+ * optional string tool_name = 1 [(.google.api.field_behavior) = REQUIRED];
+ *
+ * @return The bytes for toolName.
+ */
+ @java.lang.Override
+ public com.google.protobuf.ByteString getToolNameBytes() {
+ java.lang.Object ref = toolName_;
+ if (ref instanceof java.lang.String) {
+ com.google.protobuf.ByteString b =
+ com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref);
+ toolName_ = b;
+ return b;
+ } else {
+ return (com.google.protobuf.ByteString) ref;
+ }
+ }
+
+ public static final int TOOL_INPUT_FIELD_NUMBER = 2;
+
+ @SuppressWarnings("serial")
+ private volatile java.lang.Object toolInput_ = "";
+ /**
+ *
+ *
+ *
+ * Optional. Spec for tool input
+ *
+ *
+ * optional string tool_input = 2 [(.google.api.field_behavior) = OPTIONAL];
+ *
+ * @return Whether the toolInput field is set.
+ */
+ @java.lang.Override
+ public boolean hasToolInput() {
+ return ((bitField0_ & 0x00000002) != 0);
+ }
+ /**
+ *
+ *
+ *
+ * Optional. Spec for tool input
+ *
+ *
+ * optional string tool_input = 2 [(.google.api.field_behavior) = OPTIONAL];
+ *
+ * @return The toolInput.
+ */
+ @java.lang.Override
+ public java.lang.String getToolInput() {
+ java.lang.Object ref = toolInput_;
+ 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();
+ toolInput_ = s;
+ return s;
+ }
+ }
+ /**
+ *
+ *
+ *
+ * Optional. Spec for tool input
+ *
+ *
+ * optional string tool_input = 2 [(.google.api.field_behavior) = OPTIONAL];
+ *
+ * @return The bytes for toolInput.
+ */
+ @java.lang.Override
+ public com.google.protobuf.ByteString getToolInputBytes() {
+ java.lang.Object ref = toolInput_;
+ if (ref instanceof java.lang.String) {
+ com.google.protobuf.ByteString b =
+ com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref);
+ toolInput_ = b;
+ return b;
+ } else {
+ return (com.google.protobuf.ByteString) ref;
+ }
+ }
+
+ private byte memoizedIsInitialized = -1;
+
+ @java.lang.Override
+ public final boolean isInitialized() {
+ byte isInitialized = memoizedIsInitialized;
+ if (isInitialized == 1) return true;
+ if (isInitialized == 0) return false;
+
+ memoizedIsInitialized = 1;
+ return true;
+ }
+
+ @java.lang.Override
+ public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException {
+ if (((bitField0_ & 0x00000001) != 0)) {
+ com.google.protobuf.GeneratedMessageV3.writeString(output, 1, toolName_);
+ }
+ if (((bitField0_ & 0x00000002) != 0)) {
+ com.google.protobuf.GeneratedMessageV3.writeString(output, 2, toolInput_);
+ }
+ getUnknownFields().writeTo(output);
+ }
+
+ @java.lang.Override
+ public int getSerializedSize() {
+ int size = memoizedSize;
+ if (size != -1) return size;
+
+ size = 0;
+ if (((bitField0_ & 0x00000001) != 0)) {
+ size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, toolName_);
+ }
+ if (((bitField0_ & 0x00000002) != 0)) {
+ size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, toolInput_);
+ }
+ 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 com.google.cloud.aiplatform.v1beta1.ToolCall)) {
+ return super.equals(obj);
+ }
+ com.google.cloud.aiplatform.v1beta1.ToolCall other =
+ (com.google.cloud.aiplatform.v1beta1.ToolCall) obj;
+
+ if (hasToolName() != other.hasToolName()) return false;
+ if (hasToolName()) {
+ if (!getToolName().equals(other.getToolName())) return false;
+ }
+ if (hasToolInput() != other.hasToolInput()) return false;
+ if (hasToolInput()) {
+ if (!getToolInput().equals(other.getToolInput())) 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 (hasToolName()) {
+ hash = (37 * hash) + TOOL_NAME_FIELD_NUMBER;
+ hash = (53 * hash) + getToolName().hashCode();
+ }
+ if (hasToolInput()) {
+ hash = (37 * hash) + TOOL_INPUT_FIELD_NUMBER;
+ hash = (53 * hash) + getToolInput().hashCode();
+ }
+ hash = (29 * hash) + getUnknownFields().hashCode();
+ memoizedHashCode = hash;
+ return hash;
+ }
+
+ public static com.google.cloud.aiplatform.v1beta1.ToolCall parseFrom(java.nio.ByteBuffer data)
+ throws com.google.protobuf.InvalidProtocolBufferException {
+ return PARSER.parseFrom(data);
+ }
+
+ public static com.google.cloud.aiplatform.v1beta1.ToolCall parseFrom(
+ java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+ throws com.google.protobuf.InvalidProtocolBufferException {
+ return PARSER.parseFrom(data, extensionRegistry);
+ }
+
+ public static com.google.cloud.aiplatform.v1beta1.ToolCall parseFrom(
+ com.google.protobuf.ByteString data)
+ throws com.google.protobuf.InvalidProtocolBufferException {
+ return PARSER.parseFrom(data);
+ }
+
+ public static com.google.cloud.aiplatform.v1beta1.ToolCall parseFrom(
+ com.google.protobuf.ByteString data,
+ com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+ throws com.google.protobuf.InvalidProtocolBufferException {
+ return PARSER.parseFrom(data, extensionRegistry);
+ }
+
+ public static com.google.cloud.aiplatform.v1beta1.ToolCall parseFrom(byte[] data)
+ throws com.google.protobuf.InvalidProtocolBufferException {
+ return PARSER.parseFrom(data);
+ }
+
+ public static com.google.cloud.aiplatform.v1beta1.ToolCall parseFrom(
+ byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+ throws com.google.protobuf.InvalidProtocolBufferException {
+ return PARSER.parseFrom(data, extensionRegistry);
+ }
+
+ public static com.google.cloud.aiplatform.v1beta1.ToolCall parseFrom(java.io.InputStream input)
+ throws java.io.IOException {
+ return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input);
+ }
+
+ public static com.google.cloud.aiplatform.v1beta1.ToolCall parseFrom(
+ java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+ throws java.io.IOException {
+ return com.google.protobuf.GeneratedMessageV3.parseWithIOException(
+ PARSER, input, extensionRegistry);
+ }
+
+ public static com.google.cloud.aiplatform.v1beta1.ToolCall parseDelimitedFrom(
+ java.io.InputStream input) throws java.io.IOException {
+ return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input);
+ }
+
+ public static com.google.cloud.aiplatform.v1beta1.ToolCall parseDelimitedFrom(
+ java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+ throws java.io.IOException {
+ return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(
+ PARSER, input, extensionRegistry);
+ }
+
+ public static com.google.cloud.aiplatform.v1beta1.ToolCall parseFrom(
+ com.google.protobuf.CodedInputStream input) throws java.io.IOException {
+ return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input);
+ }
+
+ public static com.google.cloud.aiplatform.v1beta1.ToolCall 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(com.google.cloud.aiplatform.v1beta1.ToolCall 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;
+ }
+ /**
+ *
+ *
+ *
+ * Spec for tool call.
+ *
+ *
+ * Protobuf type {@code google.cloud.aiplatform.v1beta1.ToolCall}
+ */
+ public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder
+ implements
+ // @@protoc_insertion_point(builder_implements:google.cloud.aiplatform.v1beta1.ToolCall)
+ com.google.cloud.aiplatform.v1beta1.ToolCallOrBuilder {
+ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+ return com.google.cloud.aiplatform.v1beta1.EvaluationServiceProto
+ .internal_static_google_cloud_aiplatform_v1beta1_ToolCall_descriptor;
+ }
+
+ @java.lang.Override
+ protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
+ internalGetFieldAccessorTable() {
+ return com.google.cloud.aiplatform.v1beta1.EvaluationServiceProto
+ .internal_static_google_cloud_aiplatform_v1beta1_ToolCall_fieldAccessorTable
+ .ensureFieldAccessorsInitialized(
+ com.google.cloud.aiplatform.v1beta1.ToolCall.class,
+ com.google.cloud.aiplatform.v1beta1.ToolCall.Builder.class);
+ }
+
+ // Construct using com.google.cloud.aiplatform.v1beta1.ToolCall.newBuilder()
+ private Builder() {}
+
+ private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+ super(parent);
+ }
+
+ @java.lang.Override
+ public Builder clear() {
+ super.clear();
+ bitField0_ = 0;
+ toolName_ = "";
+ toolInput_ = "";
+ return this;
+ }
+
+ @java.lang.Override
+ public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
+ return com.google.cloud.aiplatform.v1beta1.EvaluationServiceProto
+ .internal_static_google_cloud_aiplatform_v1beta1_ToolCall_descriptor;
+ }
+
+ @java.lang.Override
+ public com.google.cloud.aiplatform.v1beta1.ToolCall getDefaultInstanceForType() {
+ return com.google.cloud.aiplatform.v1beta1.ToolCall.getDefaultInstance();
+ }
+
+ @java.lang.Override
+ public com.google.cloud.aiplatform.v1beta1.ToolCall build() {
+ com.google.cloud.aiplatform.v1beta1.ToolCall result = buildPartial();
+ if (!result.isInitialized()) {
+ throw newUninitializedMessageException(result);
+ }
+ return result;
+ }
+
+ @java.lang.Override
+ public com.google.cloud.aiplatform.v1beta1.ToolCall buildPartial() {
+ com.google.cloud.aiplatform.v1beta1.ToolCall result =
+ new com.google.cloud.aiplatform.v1beta1.ToolCall(this);
+ if (bitField0_ != 0) {
+ buildPartial0(result);
+ }
+ onBuilt();
+ return result;
+ }
+
+ private void buildPartial0(com.google.cloud.aiplatform.v1beta1.ToolCall result) {
+ int from_bitField0_ = bitField0_;
+ int to_bitField0_ = 0;
+ if (((from_bitField0_ & 0x00000001) != 0)) {
+ result.toolName_ = toolName_;
+ to_bitField0_ |= 0x00000001;
+ }
+ if (((from_bitField0_ & 0x00000002) != 0)) {
+ result.toolInput_ = toolInput_;
+ to_bitField0_ |= 0x00000002;
+ }
+ result.bitField0_ |= to_bitField0_;
+ }
+
+ @java.lang.Override
+ public Builder clone() {
+ return super.clone();
+ }
+
+ @java.lang.Override
+ public Builder setField(
+ com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+ return super.setField(field, value);
+ }
+
+ @java.lang.Override
+ public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) {
+ return super.clearField(field);
+ }
+
+ @java.lang.Override
+ public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) {
+ return super.clearOneof(oneof);
+ }
+
+ @java.lang.Override
+ public Builder setRepeatedField(
+ com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) {
+ return super.setRepeatedField(field, index, value);
+ }
+
+ @java.lang.Override
+ public Builder addRepeatedField(
+ com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+ return super.addRepeatedField(field, value);
+ }
+
+ @java.lang.Override
+ public Builder mergeFrom(com.google.protobuf.Message other) {
+ if (other instanceof com.google.cloud.aiplatform.v1beta1.ToolCall) {
+ return mergeFrom((com.google.cloud.aiplatform.v1beta1.ToolCall) other);
+ } else {
+ super.mergeFrom(other);
+ return this;
+ }
+ }
+
+ public Builder mergeFrom(com.google.cloud.aiplatform.v1beta1.ToolCall other) {
+ if (other == com.google.cloud.aiplatform.v1beta1.ToolCall.getDefaultInstance()) return this;
+ if (other.hasToolName()) {
+ toolName_ = other.toolName_;
+ bitField0_ |= 0x00000001;
+ onChanged();
+ }
+ if (other.hasToolInput()) {
+ toolInput_ = other.toolInput_;
+ bitField0_ |= 0x00000002;
+ onChanged();
+ }
+ this.mergeUnknownFields(other.getUnknownFields());
+ onChanged();
+ return this;
+ }
+
+ @java.lang.Override
+ public final boolean isInitialized() {
+ return true;
+ }
+
+ @java.lang.Override
+ public Builder mergeFrom(
+ com.google.protobuf.CodedInputStream input,
+ com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+ throws java.io.IOException {
+ if (extensionRegistry == null) {
+ throw new java.lang.NullPointerException();
+ }
+ try {
+ boolean done = false;
+ while (!done) {
+ int tag = input.readTag();
+ switch (tag) {
+ case 0:
+ done = true;
+ break;
+ case 10:
+ {
+ toolName_ = input.readStringRequireUtf8();
+ bitField0_ |= 0x00000001;
+ break;
+ } // case 10
+ case 18:
+ {
+ toolInput_ = input.readStringRequireUtf8();
+ bitField0_ |= 0x00000002;
+ break;
+ } // case 18
+ default:
+ {
+ if (!super.parseUnknownField(input, extensionRegistry, tag)) {
+ done = true; // was an endgroup tag
+ }
+ break;
+ } // default:
+ } // switch (tag)
+ } // while (!done)
+ } catch (com.google.protobuf.InvalidProtocolBufferException e) {
+ throw e.unwrapIOException();
+ } finally {
+ onChanged();
+ } // finally
+ return this;
+ }
+
+ private int bitField0_;
+
+ private java.lang.Object toolName_ = "";
+ /**
+ *
+ *
+ *
+ * Required. Spec for tool name
+ *
+ *
+ * optional string tool_name = 1 [(.google.api.field_behavior) = REQUIRED];
+ *
+ * @return Whether the toolName field is set.
+ */
+ public boolean hasToolName() {
+ return ((bitField0_ & 0x00000001) != 0);
+ }
+ /**
+ *
+ *
+ *
+ * Required. Spec for tool name
+ *
+ *
+ * optional string tool_name = 1 [(.google.api.field_behavior) = REQUIRED];
+ *
+ * @return The toolName.
+ */
+ public java.lang.String getToolName() {
+ java.lang.Object ref = toolName_;
+ if (!(ref instanceof java.lang.String)) {
+ com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref;
+ java.lang.String s = bs.toStringUtf8();
+ toolName_ = s;
+ return s;
+ } else {
+ return (java.lang.String) ref;
+ }
+ }
+ /**
+ *
+ *
+ *
+ * Required. Spec for tool name
+ *
+ *
+ * optional string tool_name = 1 [(.google.api.field_behavior) = REQUIRED];
+ *
+ * @return The bytes for toolName.
+ */
+ public com.google.protobuf.ByteString getToolNameBytes() {
+ java.lang.Object ref = toolName_;
+ if (ref instanceof String) {
+ com.google.protobuf.ByteString b =
+ com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref);
+ toolName_ = b;
+ return b;
+ } else {
+ return (com.google.protobuf.ByteString) ref;
+ }
+ }
+ /**
+ *
+ *
+ *
+ * Required. Spec for tool name
+ *
+ *
+ * optional string tool_name = 1 [(.google.api.field_behavior) = REQUIRED];
+ *
+ * @param value The toolName to set.
+ * @return This builder for chaining.
+ */
+ public Builder setToolName(java.lang.String value) {
+ if (value == null) {
+ throw new NullPointerException();
+ }
+ toolName_ = value;
+ bitField0_ |= 0x00000001;
+ onChanged();
+ return this;
+ }
+ /**
+ *
+ *
+ *
+ * Required. Spec for tool name
+ *
+ *
+ * optional string tool_name = 1 [(.google.api.field_behavior) = REQUIRED];
+ *
+ * @return This builder for chaining.
+ */
+ public Builder clearToolName() {
+ toolName_ = getDefaultInstance().getToolName();
+ bitField0_ = (bitField0_ & ~0x00000001);
+ onChanged();
+ return this;
+ }
+ /**
+ *
+ *
+ *
+ * Required. Spec for tool name
+ *
+ *
+ * optional string tool_name = 1 [(.google.api.field_behavior) = REQUIRED];
+ *
+ * @param value The bytes for toolName to set.
+ * @return This builder for chaining.
+ */
+ public Builder setToolNameBytes(com.google.protobuf.ByteString value) {
+ if (value == null) {
+ throw new NullPointerException();
+ }
+ checkByteStringIsUtf8(value);
+ toolName_ = value;
+ bitField0_ |= 0x00000001;
+ onChanged();
+ return this;
+ }
+
+ private java.lang.Object toolInput_ = "";
+ /**
+ *
+ *
+ *
+ * Optional. Spec for tool input
+ *
+ *
+ * optional string tool_input = 2 [(.google.api.field_behavior) = OPTIONAL];
+ *
+ * @return Whether the toolInput field is set.
+ */
+ public boolean hasToolInput() {
+ return ((bitField0_ & 0x00000002) != 0);
+ }
+ /**
+ *
+ *
+ *
+ * Optional. Spec for tool input
+ *
+ *
+ * optional string tool_input = 2 [(.google.api.field_behavior) = OPTIONAL];
+ *
+ * @return The toolInput.
+ */
+ public java.lang.String getToolInput() {
+ java.lang.Object ref = toolInput_;
+ if (!(ref instanceof java.lang.String)) {
+ com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref;
+ java.lang.String s = bs.toStringUtf8();
+ toolInput_ = s;
+ return s;
+ } else {
+ return (java.lang.String) ref;
+ }
+ }
+ /**
+ *
+ *
+ *
+ * Optional. Spec for tool input
+ *
+ *
+ * optional string tool_input = 2 [(.google.api.field_behavior) = OPTIONAL];
+ *
+ * @return The bytes for toolInput.
+ */
+ public com.google.protobuf.ByteString getToolInputBytes() {
+ java.lang.Object ref = toolInput_;
+ if (ref instanceof String) {
+ com.google.protobuf.ByteString b =
+ com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref);
+ toolInput_ = b;
+ return b;
+ } else {
+ return (com.google.protobuf.ByteString) ref;
+ }
+ }
+ /**
+ *
+ *
+ *
+ * Optional. Spec for tool input
+ *
+ *
+ * optional string tool_input = 2 [(.google.api.field_behavior) = OPTIONAL];
+ *
+ * @param value The toolInput to set.
+ * @return This builder for chaining.
+ */
+ public Builder setToolInput(java.lang.String value) {
+ if (value == null) {
+ throw new NullPointerException();
+ }
+ toolInput_ = value;
+ bitField0_ |= 0x00000002;
+ onChanged();
+ return this;
+ }
+ /**
+ *
+ *
+ *
+ * Optional. Spec for tool input
+ *
+ *
+ * optional string tool_input = 2 [(.google.api.field_behavior) = OPTIONAL];
+ *
+ * @return This builder for chaining.
+ */
+ public Builder clearToolInput() {
+ toolInput_ = getDefaultInstance().getToolInput();
+ bitField0_ = (bitField0_ & ~0x00000002);
+ onChanged();
+ return this;
+ }
+ /**
+ *
+ *
+ *
+ * Optional. Spec for tool input
+ *
+ *
+ * optional string tool_input = 2 [(.google.api.field_behavior) = OPTIONAL];
+ *
+ * @param value The bytes for toolInput to set.
+ * @return This builder for chaining.
+ */
+ public Builder setToolInputBytes(com.google.protobuf.ByteString value) {
+ if (value == null) {
+ throw new NullPointerException();
+ }
+ checkByteStringIsUtf8(value);
+ toolInput_ = value;
+ bitField0_ |= 0x00000002;
+ onChanged();
+ return this;
+ }
+
+ @java.lang.Override
+ public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) {
+ return super.setUnknownFields(unknownFields);
+ }
+
+ @java.lang.Override
+ public final Builder mergeUnknownFields(
+ final com.google.protobuf.UnknownFieldSet unknownFields) {
+ return super.mergeUnknownFields(unknownFields);
+ }
+
+ // @@protoc_insertion_point(builder_scope:google.cloud.aiplatform.v1beta1.ToolCall)
+ }
+
+ // @@protoc_insertion_point(class_scope:google.cloud.aiplatform.v1beta1.ToolCall)
+ private static final com.google.cloud.aiplatform.v1beta1.ToolCall DEFAULT_INSTANCE;
+
+ static {
+ DEFAULT_INSTANCE = new com.google.cloud.aiplatform.v1beta1.ToolCall();
+ }
+
+ public static com.google.cloud.aiplatform.v1beta1.ToolCall getDefaultInstance() {
+ return DEFAULT_INSTANCE;
+ }
+
+ private static final com.google.protobuf.Parser PARSER =
+ new com.google.protobuf.AbstractParser() {
+ @java.lang.Override
+ public ToolCall 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 com.google.cloud.aiplatform.v1beta1.ToolCall getDefaultInstanceForType() {
+ return DEFAULT_INSTANCE;
+ }
+}
diff --git a/java-aiplatform/proto-google-cloud-aiplatform-v1beta1/src/main/java/com/google/cloud/aiplatform/v1beta1/ToolCallOrBuilder.java b/java-aiplatform/proto-google-cloud-aiplatform-v1beta1/src/main/java/com/google/cloud/aiplatform/v1beta1/ToolCallOrBuilder.java
new file mode 100644
index 000000000000..c961858d08e5
--- /dev/null
+++ b/java-aiplatform/proto-google-cloud-aiplatform-v1beta1/src/main/java/com/google/cloud/aiplatform/v1beta1/ToolCallOrBuilder.java
@@ -0,0 +1,100 @@
+/*
+ * Copyright 2024 Google LLC
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ * https://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+// Generated by the protocol buffer compiler. DO NOT EDIT!
+// source: google/cloud/aiplatform/v1beta1/evaluation_service.proto
+
+// Protobuf Java Version: 3.25.5
+package com.google.cloud.aiplatform.v1beta1;
+
+public interface ToolCallOrBuilder
+ extends
+ // @@protoc_insertion_point(interface_extends:google.cloud.aiplatform.v1beta1.ToolCall)
+ com.google.protobuf.MessageOrBuilder {
+
+ /**
+ *
+ *
+ *
+ * Required. Spec for tool name
+ *
+ *
+ * optional string tool_name = 1 [(.google.api.field_behavior) = REQUIRED];
+ *
+ * @return Whether the toolName field is set.
+ */
+ boolean hasToolName();
+ /**
+ *
+ *
+ *
+ * Required. Spec for tool name
+ *
+ *
+ * optional string tool_name = 1 [(.google.api.field_behavior) = REQUIRED];
+ *
+ * @return The toolName.
+ */
+ java.lang.String getToolName();
+ /**
+ *
+ *
+ *
+ * Required. Spec for tool name
+ *
+ *
+ * optional string tool_name = 1 [(.google.api.field_behavior) = REQUIRED];
+ *
+ * @return The bytes for toolName.
+ */
+ com.google.protobuf.ByteString getToolNameBytes();
+
+ /**
+ *
+ *
+ *
+ * Optional. Spec for tool input
+ *
+ *
+ * optional string tool_input = 2 [(.google.api.field_behavior) = OPTIONAL];
+ *
+ * @return Whether the toolInput field is set.
+ */
+ boolean hasToolInput();
+ /**
+ *
+ *
+ *
+ * Optional. Spec for tool input
+ *
+ *
+ * optional string tool_input = 2 [(.google.api.field_behavior) = OPTIONAL];
+ *
+ * @return The toolInput.
+ */
+ java.lang.String getToolInput();
+ /**
+ *
+ *
+ *
+ * Optional. Spec for tool input
+ *
+ *
+ * optional string tool_input = 2 [(.google.api.field_behavior) = OPTIONAL];
+ *
+ * @return The bytes for toolInput.
+ */
+ com.google.protobuf.ByteString getToolInputBytes();
+}
diff --git a/java-aiplatform/proto-google-cloud-aiplatform-v1beta1/src/main/java/com/google/cloud/aiplatform/v1beta1/ToolParameterKVMatchSpec.java b/java-aiplatform/proto-google-cloud-aiplatform-v1beta1/src/main/java/com/google/cloud/aiplatform/v1beta1/ToolParameterKVMatchSpec.java
index eb44dba6ef06..bb5c87e98060 100644
--- a/java-aiplatform/proto-google-cloud-aiplatform-v1beta1/src/main/java/com/google/cloud/aiplatform/v1beta1/ToolParameterKVMatchSpec.java
+++ b/java-aiplatform/proto-google-cloud-aiplatform-v1beta1/src/main/java/com/google/cloud/aiplatform/v1beta1/ToolParameterKVMatchSpec.java
@@ -67,7 +67,7 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
*
*
*
- * Optional. Whether to use STRCIT string match on parameter values.
+ * Optional. Whether to use STRICT string match on parameter values.
*
*
* bool use_strict_string_match = 1 [(.google.api.field_behavior) = OPTIONAL];
@@ -428,7 +428,7 @@ public Builder mergeFrom(
*
*
*
- * Optional. Whether to use STRCIT string match on parameter values.
+ * Optional. Whether to use STRICT string match on parameter values.
*
*
* bool use_strict_string_match = 1 [(.google.api.field_behavior) = OPTIONAL];
@@ -443,7 +443,7 @@ public boolean getUseStrictStringMatch() {
*
*
*
- * Optional. Whether to use STRCIT string match on parameter values.
+ * Optional. Whether to use STRICT string match on parameter values.
*
*
* bool use_strict_string_match = 1 [(.google.api.field_behavior) = OPTIONAL];
@@ -462,7 +462,7 @@ public Builder setUseStrictStringMatch(boolean value) {
*
*
*
- * Optional. Whether to use STRCIT string match on parameter values.
+ * Optional. Whether to use STRICT string match on parameter values.
*
*
* bool use_strict_string_match = 1 [(.google.api.field_behavior) = OPTIONAL];
diff --git a/java-aiplatform/proto-google-cloud-aiplatform-v1beta1/src/main/java/com/google/cloud/aiplatform/v1beta1/ToolParameterKVMatchSpecOrBuilder.java b/java-aiplatform/proto-google-cloud-aiplatform-v1beta1/src/main/java/com/google/cloud/aiplatform/v1beta1/ToolParameterKVMatchSpecOrBuilder.java
index bb0f066a8513..94e50c3191bd 100644
--- a/java-aiplatform/proto-google-cloud-aiplatform-v1beta1/src/main/java/com/google/cloud/aiplatform/v1beta1/ToolParameterKVMatchSpecOrBuilder.java
+++ b/java-aiplatform/proto-google-cloud-aiplatform-v1beta1/src/main/java/com/google/cloud/aiplatform/v1beta1/ToolParameterKVMatchSpecOrBuilder.java
@@ -28,7 +28,7 @@ public interface ToolParameterKVMatchSpecOrBuilder
*
*
*
- * Optional. Whether to use STRCIT string match on parameter values.
+ * Optional. Whether to use STRICT string match on parameter values.
*
*
* bool use_strict_string_match = 1 [(.google.api.field_behavior) = OPTIONAL];
diff --git a/java-aiplatform/proto-google-cloud-aiplatform-v1beta1/src/main/java/com/google/cloud/aiplatform/v1beta1/Trajectory.java b/java-aiplatform/proto-google-cloud-aiplatform-v1beta1/src/main/java/com/google/cloud/aiplatform/v1beta1/Trajectory.java
new file mode 100644
index 000000000000..1c0709be225a
--- /dev/null
+++ b/java-aiplatform/proto-google-cloud-aiplatform-v1beta1/src/main/java/com/google/cloud/aiplatform/v1beta1/Trajectory.java
@@ -0,0 +1,982 @@
+/*
+ * Copyright 2024 Google LLC
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ * https://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+// Generated by the protocol buffer compiler. DO NOT EDIT!
+// source: google/cloud/aiplatform/v1beta1/evaluation_service.proto
+
+// Protobuf Java Version: 3.25.5
+package com.google.cloud.aiplatform.v1beta1;
+
+/**
+ *
+ *
+ *
+ * Spec for trajectory.
+ *
+ *
+ * Protobuf type {@code google.cloud.aiplatform.v1beta1.Trajectory}
+ */
+public final class Trajectory extends com.google.protobuf.GeneratedMessageV3
+ implements
+ // @@protoc_insertion_point(message_implements:google.cloud.aiplatform.v1beta1.Trajectory)
+ TrajectoryOrBuilder {
+ private static final long serialVersionUID = 0L;
+ // Use Trajectory.newBuilder() to construct.
+ private Trajectory(com.google.protobuf.GeneratedMessageV3.Builder> builder) {
+ super(builder);
+ }
+
+ private Trajectory() {
+ toolCalls_ = java.util.Collections.emptyList();
+ }
+
+ @java.lang.Override
+ @SuppressWarnings({"unused"})
+ protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
+ return new Trajectory();
+ }
+
+ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+ return com.google.cloud.aiplatform.v1beta1.EvaluationServiceProto
+ .internal_static_google_cloud_aiplatform_v1beta1_Trajectory_descriptor;
+ }
+
+ @java.lang.Override
+ protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
+ internalGetFieldAccessorTable() {
+ return com.google.cloud.aiplatform.v1beta1.EvaluationServiceProto
+ .internal_static_google_cloud_aiplatform_v1beta1_Trajectory_fieldAccessorTable
+ .ensureFieldAccessorsInitialized(
+ com.google.cloud.aiplatform.v1beta1.Trajectory.class,
+ com.google.cloud.aiplatform.v1beta1.Trajectory.Builder.class);
+ }
+
+ public static final int TOOL_CALLS_FIELD_NUMBER = 1;
+
+ @SuppressWarnings("serial")
+ private java.util.List toolCalls_;
+ /**
+ *
+ *
+ *
+ * Required. Tool calls in the trajectory.
+ *
+ *
+ *
+ * repeated .google.cloud.aiplatform.v1beta1.ToolCall tool_calls = 1 [(.google.api.field_behavior) = REQUIRED];
+ *
+ */
+ @java.lang.Override
+ public java.util.List getToolCallsList() {
+ return toolCalls_;
+ }
+ /**
+ *
+ *
+ *
+ * Required. Tool calls in the trajectory.
+ *
+ *
+ *
+ * repeated .google.cloud.aiplatform.v1beta1.ToolCall tool_calls = 1 [(.google.api.field_behavior) = REQUIRED];
+ *
+ */
+ @java.lang.Override
+ public java.util.List extends com.google.cloud.aiplatform.v1beta1.ToolCallOrBuilder>
+ getToolCallsOrBuilderList() {
+ return toolCalls_;
+ }
+ /**
+ *
+ *
+ *
+ * Required. Tool calls in the trajectory.
+ *
+ *
+ *
+ * repeated .google.cloud.aiplatform.v1beta1.ToolCall tool_calls = 1 [(.google.api.field_behavior) = REQUIRED];
+ *
+ */
+ @java.lang.Override
+ public int getToolCallsCount() {
+ return toolCalls_.size();
+ }
+ /**
+ *
+ *
+ *
+ * Required. Tool calls in the trajectory.
+ *
+ *
+ *
+ * repeated .google.cloud.aiplatform.v1beta1.ToolCall tool_calls = 1 [(.google.api.field_behavior) = REQUIRED];
+ *
+ */
+ @java.lang.Override
+ public com.google.cloud.aiplatform.v1beta1.ToolCall getToolCalls(int index) {
+ return toolCalls_.get(index);
+ }
+ /**
+ *
+ *
+ *
+ * Required. Tool calls in the trajectory.
+ *
+ *
+ *
+ * repeated .google.cloud.aiplatform.v1beta1.ToolCall tool_calls = 1 [(.google.api.field_behavior) = REQUIRED];
+ *
+ */
+ @java.lang.Override
+ public com.google.cloud.aiplatform.v1beta1.ToolCallOrBuilder getToolCallsOrBuilder(int index) {
+ return toolCalls_.get(index);
+ }
+
+ private byte memoizedIsInitialized = -1;
+
+ @java.lang.Override
+ public final boolean isInitialized() {
+ byte isInitialized = memoizedIsInitialized;
+ if (isInitialized == 1) return true;
+ if (isInitialized == 0) return false;
+
+ memoizedIsInitialized = 1;
+ return true;
+ }
+
+ @java.lang.Override
+ public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException {
+ for (int i = 0; i < toolCalls_.size(); i++) {
+ output.writeMessage(1, toolCalls_.get(i));
+ }
+ getUnknownFields().writeTo(output);
+ }
+
+ @java.lang.Override
+ public int getSerializedSize() {
+ int size = memoizedSize;
+ if (size != -1) return size;
+
+ size = 0;
+ for (int i = 0; i < toolCalls_.size(); i++) {
+ size += com.google.protobuf.CodedOutputStream.computeMessageSize(1, toolCalls_.get(i));
+ }
+ size += getUnknownFields().getSerializedSize();
+ memoizedSize = size;
+ return size;
+ }
+
+ @java.lang.Override
+ public boolean equals(final java.lang.Object obj) {
+ if (obj == this) {
+ return true;
+ }
+ if (!(obj instanceof com.google.cloud.aiplatform.v1beta1.Trajectory)) {
+ return super.equals(obj);
+ }
+ com.google.cloud.aiplatform.v1beta1.Trajectory other =
+ (com.google.cloud.aiplatform.v1beta1.Trajectory) obj;
+
+ if (!getToolCallsList().equals(other.getToolCallsList())) 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 (getToolCallsCount() > 0) {
+ hash = (37 * hash) + TOOL_CALLS_FIELD_NUMBER;
+ hash = (53 * hash) + getToolCallsList().hashCode();
+ }
+ hash = (29 * hash) + getUnknownFields().hashCode();
+ memoizedHashCode = hash;
+ return hash;
+ }
+
+ public static com.google.cloud.aiplatform.v1beta1.Trajectory parseFrom(java.nio.ByteBuffer data)
+ throws com.google.protobuf.InvalidProtocolBufferException {
+ return PARSER.parseFrom(data);
+ }
+
+ public static com.google.cloud.aiplatform.v1beta1.Trajectory parseFrom(
+ java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+ throws com.google.protobuf.InvalidProtocolBufferException {
+ return PARSER.parseFrom(data, extensionRegistry);
+ }
+
+ public static com.google.cloud.aiplatform.v1beta1.Trajectory parseFrom(
+ com.google.protobuf.ByteString data)
+ throws com.google.protobuf.InvalidProtocolBufferException {
+ return PARSER.parseFrom(data);
+ }
+
+ public static com.google.cloud.aiplatform.v1beta1.Trajectory parseFrom(
+ com.google.protobuf.ByteString data,
+ com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+ throws com.google.protobuf.InvalidProtocolBufferException {
+ return PARSER.parseFrom(data, extensionRegistry);
+ }
+
+ public static com.google.cloud.aiplatform.v1beta1.Trajectory parseFrom(byte[] data)
+ throws com.google.protobuf.InvalidProtocolBufferException {
+ return PARSER.parseFrom(data);
+ }
+
+ public static com.google.cloud.aiplatform.v1beta1.Trajectory parseFrom(
+ byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+ throws com.google.protobuf.InvalidProtocolBufferException {
+ return PARSER.parseFrom(data, extensionRegistry);
+ }
+
+ public static com.google.cloud.aiplatform.v1beta1.Trajectory parseFrom(java.io.InputStream input)
+ throws java.io.IOException {
+ return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input);
+ }
+
+ public static com.google.cloud.aiplatform.v1beta1.Trajectory parseFrom(
+ java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+ throws java.io.IOException {
+ return com.google.protobuf.GeneratedMessageV3.parseWithIOException(
+ PARSER, input, extensionRegistry);
+ }
+
+ public static com.google.cloud.aiplatform.v1beta1.Trajectory parseDelimitedFrom(
+ java.io.InputStream input) throws java.io.IOException {
+ return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input);
+ }
+
+ public static com.google.cloud.aiplatform.v1beta1.Trajectory parseDelimitedFrom(
+ java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+ throws java.io.IOException {
+ return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(
+ PARSER, input, extensionRegistry);
+ }
+
+ public static com.google.cloud.aiplatform.v1beta1.Trajectory parseFrom(
+ com.google.protobuf.CodedInputStream input) throws java.io.IOException {
+ return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input);
+ }
+
+ public static com.google.cloud.aiplatform.v1beta1.Trajectory 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(com.google.cloud.aiplatform.v1beta1.Trajectory 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;
+ }
+ /**
+ *
+ *
+ *
+ * Spec for trajectory.
+ *
+ *
+ * Protobuf type {@code google.cloud.aiplatform.v1beta1.Trajectory}
+ */
+ public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder
+ implements
+ // @@protoc_insertion_point(builder_implements:google.cloud.aiplatform.v1beta1.Trajectory)
+ com.google.cloud.aiplatform.v1beta1.TrajectoryOrBuilder {
+ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+ return com.google.cloud.aiplatform.v1beta1.EvaluationServiceProto
+ .internal_static_google_cloud_aiplatform_v1beta1_Trajectory_descriptor;
+ }
+
+ @java.lang.Override
+ protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
+ internalGetFieldAccessorTable() {
+ return com.google.cloud.aiplatform.v1beta1.EvaluationServiceProto
+ .internal_static_google_cloud_aiplatform_v1beta1_Trajectory_fieldAccessorTable
+ .ensureFieldAccessorsInitialized(
+ com.google.cloud.aiplatform.v1beta1.Trajectory.class,
+ com.google.cloud.aiplatform.v1beta1.Trajectory.Builder.class);
+ }
+
+ // Construct using com.google.cloud.aiplatform.v1beta1.Trajectory.newBuilder()
+ private Builder() {}
+
+ private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+ super(parent);
+ }
+
+ @java.lang.Override
+ public Builder clear() {
+ super.clear();
+ bitField0_ = 0;
+ if (toolCallsBuilder_ == null) {
+ toolCalls_ = java.util.Collections.emptyList();
+ } else {
+ toolCalls_ = null;
+ toolCallsBuilder_.clear();
+ }
+ bitField0_ = (bitField0_ & ~0x00000001);
+ return this;
+ }
+
+ @java.lang.Override
+ public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
+ return com.google.cloud.aiplatform.v1beta1.EvaluationServiceProto
+ .internal_static_google_cloud_aiplatform_v1beta1_Trajectory_descriptor;
+ }
+
+ @java.lang.Override
+ public com.google.cloud.aiplatform.v1beta1.Trajectory getDefaultInstanceForType() {
+ return com.google.cloud.aiplatform.v1beta1.Trajectory.getDefaultInstance();
+ }
+
+ @java.lang.Override
+ public com.google.cloud.aiplatform.v1beta1.Trajectory build() {
+ com.google.cloud.aiplatform.v1beta1.Trajectory result = buildPartial();
+ if (!result.isInitialized()) {
+ throw newUninitializedMessageException(result);
+ }
+ return result;
+ }
+
+ @java.lang.Override
+ public com.google.cloud.aiplatform.v1beta1.Trajectory buildPartial() {
+ com.google.cloud.aiplatform.v1beta1.Trajectory result =
+ new com.google.cloud.aiplatform.v1beta1.Trajectory(this);
+ buildPartialRepeatedFields(result);
+ if (bitField0_ != 0) {
+ buildPartial0(result);
+ }
+ onBuilt();
+ return result;
+ }
+
+ private void buildPartialRepeatedFields(com.google.cloud.aiplatform.v1beta1.Trajectory result) {
+ if (toolCallsBuilder_ == null) {
+ if (((bitField0_ & 0x00000001) != 0)) {
+ toolCalls_ = java.util.Collections.unmodifiableList(toolCalls_);
+ bitField0_ = (bitField0_ & ~0x00000001);
+ }
+ result.toolCalls_ = toolCalls_;
+ } else {
+ result.toolCalls_ = toolCallsBuilder_.build();
+ }
+ }
+
+ private void buildPartial0(com.google.cloud.aiplatform.v1beta1.Trajectory result) {
+ int from_bitField0_ = bitField0_;
+ }
+
+ @java.lang.Override
+ public Builder clone() {
+ return super.clone();
+ }
+
+ @java.lang.Override
+ public Builder setField(
+ com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+ return super.setField(field, value);
+ }
+
+ @java.lang.Override
+ public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) {
+ return super.clearField(field);
+ }
+
+ @java.lang.Override
+ public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) {
+ return super.clearOneof(oneof);
+ }
+
+ @java.lang.Override
+ public Builder setRepeatedField(
+ com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) {
+ return super.setRepeatedField(field, index, value);
+ }
+
+ @java.lang.Override
+ public Builder addRepeatedField(
+ com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+ return super.addRepeatedField(field, value);
+ }
+
+ @java.lang.Override
+ public Builder mergeFrom(com.google.protobuf.Message other) {
+ if (other instanceof com.google.cloud.aiplatform.v1beta1.Trajectory) {
+ return mergeFrom((com.google.cloud.aiplatform.v1beta1.Trajectory) other);
+ } else {
+ super.mergeFrom(other);
+ return this;
+ }
+ }
+
+ public Builder mergeFrom(com.google.cloud.aiplatform.v1beta1.Trajectory other) {
+ if (other == com.google.cloud.aiplatform.v1beta1.Trajectory.getDefaultInstance()) return this;
+ if (toolCallsBuilder_ == null) {
+ if (!other.toolCalls_.isEmpty()) {
+ if (toolCalls_.isEmpty()) {
+ toolCalls_ = other.toolCalls_;
+ bitField0_ = (bitField0_ & ~0x00000001);
+ } else {
+ ensureToolCallsIsMutable();
+ toolCalls_.addAll(other.toolCalls_);
+ }
+ onChanged();
+ }
+ } else {
+ if (!other.toolCalls_.isEmpty()) {
+ if (toolCallsBuilder_.isEmpty()) {
+ toolCallsBuilder_.dispose();
+ toolCallsBuilder_ = null;
+ toolCalls_ = other.toolCalls_;
+ bitField0_ = (bitField0_ & ~0x00000001);
+ toolCallsBuilder_ =
+ com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders
+ ? getToolCallsFieldBuilder()
+ : null;
+ } else {
+ toolCallsBuilder_.addAllMessages(other.toolCalls_);
+ }
+ }
+ }
+ 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.cloud.aiplatform.v1beta1.ToolCall m =
+ input.readMessage(
+ com.google.cloud.aiplatform.v1beta1.ToolCall.parser(), extensionRegistry);
+ if (toolCallsBuilder_ == null) {
+ ensureToolCallsIsMutable();
+ toolCalls_.add(m);
+ } else {
+ toolCallsBuilder_.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 toolCalls_ =
+ java.util.Collections.emptyList();
+
+ private void ensureToolCallsIsMutable() {
+ if (!((bitField0_ & 0x00000001) != 0)) {
+ toolCalls_ =
+ new java.util.ArrayList(toolCalls_);
+ bitField0_ |= 0x00000001;
+ }
+ }
+
+ private com.google.protobuf.RepeatedFieldBuilderV3<
+ com.google.cloud.aiplatform.v1beta1.ToolCall,
+ com.google.cloud.aiplatform.v1beta1.ToolCall.Builder,
+ com.google.cloud.aiplatform.v1beta1.ToolCallOrBuilder>
+ toolCallsBuilder_;
+
+ /**
+ *
+ *
+ *
+ * Required. Tool calls in the trajectory.
+ *
+ *
+ *
+ * repeated .google.cloud.aiplatform.v1beta1.ToolCall tool_calls = 1 [(.google.api.field_behavior) = REQUIRED];
+ *
+ */
+ public java.util.List getToolCallsList() {
+ if (toolCallsBuilder_ == null) {
+ return java.util.Collections.unmodifiableList(toolCalls_);
+ } else {
+ return toolCallsBuilder_.getMessageList();
+ }
+ }
+ /**
+ *
+ *
+ *
+ * Required. Tool calls in the trajectory.
+ *
+ *
+ *
+ * repeated .google.cloud.aiplatform.v1beta1.ToolCall tool_calls = 1 [(.google.api.field_behavior) = REQUIRED];
+ *
+ */
+ public int getToolCallsCount() {
+ if (toolCallsBuilder_ == null) {
+ return toolCalls_.size();
+ } else {
+ return toolCallsBuilder_.getCount();
+ }
+ }
+ /**
+ *
+ *
+ *
+ * Required. Tool calls in the trajectory.
+ *
+ *
+ *
+ * repeated .google.cloud.aiplatform.v1beta1.ToolCall tool_calls = 1 [(.google.api.field_behavior) = REQUIRED];
+ *
+ */
+ public com.google.cloud.aiplatform.v1beta1.ToolCall getToolCalls(int index) {
+ if (toolCallsBuilder_ == null) {
+ return toolCalls_.get(index);
+ } else {
+ return toolCallsBuilder_.getMessage(index);
+ }
+ }
+ /**
+ *
+ *
+ *
+ * Required. Tool calls in the trajectory.
+ *
+ *
+ *
+ * repeated .google.cloud.aiplatform.v1beta1.ToolCall tool_calls = 1 [(.google.api.field_behavior) = REQUIRED];
+ *
+ */
+ public Builder setToolCalls(int index, com.google.cloud.aiplatform.v1beta1.ToolCall value) {
+ if (toolCallsBuilder_ == null) {
+ if (value == null) {
+ throw new NullPointerException();
+ }
+ ensureToolCallsIsMutable();
+ toolCalls_.set(index, value);
+ onChanged();
+ } else {
+ toolCallsBuilder_.setMessage(index, value);
+ }
+ return this;
+ }
+ /**
+ *
+ *
+ *
+ * Required. Tool calls in the trajectory.
+ *
+ *
+ *
+ * repeated .google.cloud.aiplatform.v1beta1.ToolCall tool_calls = 1 [(.google.api.field_behavior) = REQUIRED];
+ *
+ */
+ public Builder setToolCalls(
+ int index, com.google.cloud.aiplatform.v1beta1.ToolCall.Builder builderForValue) {
+ if (toolCallsBuilder_ == null) {
+ ensureToolCallsIsMutable();
+ toolCalls_.set(index, builderForValue.build());
+ onChanged();
+ } else {
+ toolCallsBuilder_.setMessage(index, builderForValue.build());
+ }
+ return this;
+ }
+ /**
+ *
+ *
+ *
+ * Required. Tool calls in the trajectory.
+ *
+ *
+ *
+ * repeated .google.cloud.aiplatform.v1beta1.ToolCall tool_calls = 1 [(.google.api.field_behavior) = REQUIRED];
+ *
+ */
+ public Builder addToolCalls(com.google.cloud.aiplatform.v1beta1.ToolCall value) {
+ if (toolCallsBuilder_ == null) {
+ if (value == null) {
+ throw new NullPointerException();
+ }
+ ensureToolCallsIsMutable();
+ toolCalls_.add(value);
+ onChanged();
+ } else {
+ toolCallsBuilder_.addMessage(value);
+ }
+ return this;
+ }
+ /**
+ *
+ *
+ *
+ * Required. Tool calls in the trajectory.
+ *
+ *
+ *
+ * repeated .google.cloud.aiplatform.v1beta1.ToolCall tool_calls = 1 [(.google.api.field_behavior) = REQUIRED];
+ *
+ */
+ public Builder addToolCalls(int index, com.google.cloud.aiplatform.v1beta1.ToolCall value) {
+ if (toolCallsBuilder_ == null) {
+ if (value == null) {
+ throw new NullPointerException();
+ }
+ ensureToolCallsIsMutable();
+ toolCalls_.add(index, value);
+ onChanged();
+ } else {
+ toolCallsBuilder_.addMessage(index, value);
+ }
+ return this;
+ }
+ /**
+ *
+ *
+ *
+ * Required. Tool calls in the trajectory.
+ *
+ *
+ *
+ * repeated .google.cloud.aiplatform.v1beta1.ToolCall tool_calls = 1 [(.google.api.field_behavior) = REQUIRED];
+ *
+ */
+ public Builder addToolCalls(
+ com.google.cloud.aiplatform.v1beta1.ToolCall.Builder builderForValue) {
+ if (toolCallsBuilder_ == null) {
+ ensureToolCallsIsMutable();
+ toolCalls_.add(builderForValue.build());
+ onChanged();
+ } else {
+ toolCallsBuilder_.addMessage(builderForValue.build());
+ }
+ return this;
+ }
+ /**
+ *
+ *
+ *
+ * Required. Tool calls in the trajectory.
+ *
+ *
+ *
+ * repeated .google.cloud.aiplatform.v1beta1.ToolCall tool_calls = 1 [(.google.api.field_behavior) = REQUIRED];
+ *
+ */
+ public Builder addToolCalls(
+ int index, com.google.cloud.aiplatform.v1beta1.ToolCall.Builder builderForValue) {
+ if (toolCallsBuilder_ == null) {
+ ensureToolCallsIsMutable();
+ toolCalls_.add(index, builderForValue.build());
+ onChanged();
+ } else {
+ toolCallsBuilder_.addMessage(index, builderForValue.build());
+ }
+ return this;
+ }
+ /**
+ *
+ *
+ *
+ * Required. Tool calls in the trajectory.
+ *
+ *
+ *
+ * repeated .google.cloud.aiplatform.v1beta1.ToolCall tool_calls = 1 [(.google.api.field_behavior) = REQUIRED];
+ *
+ */
+ public Builder addAllToolCalls(
+ java.lang.Iterable extends com.google.cloud.aiplatform.v1beta1.ToolCall> values) {
+ if (toolCallsBuilder_ == null) {
+ ensureToolCallsIsMutable();
+ com.google.protobuf.AbstractMessageLite.Builder.addAll(values, toolCalls_);
+ onChanged();
+ } else {
+ toolCallsBuilder_.addAllMessages(values);
+ }
+ return this;
+ }
+ /**
+ *
+ *
+ *
+ * Required. Tool calls in the trajectory.
+ *
+ *
+ *
+ * repeated .google.cloud.aiplatform.v1beta1.ToolCall tool_calls = 1 [(.google.api.field_behavior) = REQUIRED];
+ *
+ */
+ public Builder clearToolCalls() {
+ if (toolCallsBuilder_ == null) {
+ toolCalls_ = java.util.Collections.emptyList();
+ bitField0_ = (bitField0_ & ~0x00000001);
+ onChanged();
+ } else {
+ toolCallsBuilder_.clear();
+ }
+ return this;
+ }
+ /**
+ *
+ *
+ *
+ * Required. Tool calls in the trajectory.
+ *
+ *
+ *
+ * repeated .google.cloud.aiplatform.v1beta1.ToolCall tool_calls = 1 [(.google.api.field_behavior) = REQUIRED];
+ *
+ */
+ public Builder removeToolCalls(int index) {
+ if (toolCallsBuilder_ == null) {
+ ensureToolCallsIsMutable();
+ toolCalls_.remove(index);
+ onChanged();
+ } else {
+ toolCallsBuilder_.remove(index);
+ }
+ return this;
+ }
+ /**
+ *
+ *
+ *
+ * Required. Tool calls in the trajectory.
+ *
+ *
+ *
+ * repeated .google.cloud.aiplatform.v1beta1.ToolCall tool_calls = 1 [(.google.api.field_behavior) = REQUIRED];
+ *
+ */
+ public com.google.cloud.aiplatform.v1beta1.ToolCall.Builder getToolCallsBuilder(int index) {
+ return getToolCallsFieldBuilder().getBuilder(index);
+ }
+ /**
+ *
+ *
+ *
+ * Required. Tool calls in the trajectory.
+ *
+ *
+ *
+ * repeated .google.cloud.aiplatform.v1beta1.ToolCall tool_calls = 1 [(.google.api.field_behavior) = REQUIRED];
+ *
+ */
+ public com.google.cloud.aiplatform.v1beta1.ToolCallOrBuilder getToolCallsOrBuilder(int index) {
+ if (toolCallsBuilder_ == null) {
+ return toolCalls_.get(index);
+ } else {
+ return toolCallsBuilder_.getMessageOrBuilder(index);
+ }
+ }
+ /**
+ *
+ *
+ *
+ * Required. Tool calls in the trajectory.
+ *
+ *
+ *
+ * repeated .google.cloud.aiplatform.v1beta1.ToolCall tool_calls = 1 [(.google.api.field_behavior) = REQUIRED];
+ *
+ */
+ public java.util.List extends com.google.cloud.aiplatform.v1beta1.ToolCallOrBuilder>
+ getToolCallsOrBuilderList() {
+ if (toolCallsBuilder_ != null) {
+ return toolCallsBuilder_.getMessageOrBuilderList();
+ } else {
+ return java.util.Collections.unmodifiableList(toolCalls_);
+ }
+ }
+ /**
+ *
+ *
+ *
+ * Required. Tool calls in the trajectory.
+ *
+ *
+ *
+ * repeated .google.cloud.aiplatform.v1beta1.ToolCall tool_calls = 1 [(.google.api.field_behavior) = REQUIRED];
+ *
+ */
+ public com.google.cloud.aiplatform.v1beta1.ToolCall.Builder addToolCallsBuilder() {
+ return getToolCallsFieldBuilder()
+ .addBuilder(com.google.cloud.aiplatform.v1beta1.ToolCall.getDefaultInstance());
+ }
+ /**
+ *
+ *
+ *
+ * Required. Tool calls in the trajectory.
+ *
+ *
+ *
+ * repeated .google.cloud.aiplatform.v1beta1.ToolCall tool_calls = 1 [(.google.api.field_behavior) = REQUIRED];
+ *
+ */
+ public com.google.cloud.aiplatform.v1beta1.ToolCall.Builder addToolCallsBuilder(int index) {
+ return getToolCallsFieldBuilder()
+ .addBuilder(index, com.google.cloud.aiplatform.v1beta1.ToolCall.getDefaultInstance());
+ }
+ /**
+ *
+ *
+ *
+ * Required. Tool calls in the trajectory.
+ *
+ *
+ *
+ * repeated .google.cloud.aiplatform.v1beta1.ToolCall tool_calls = 1 [(.google.api.field_behavior) = REQUIRED];
+ *
+ */
+ public java.util.List
+ getToolCallsBuilderList() {
+ return getToolCallsFieldBuilder().getBuilderList();
+ }
+
+ private com.google.protobuf.RepeatedFieldBuilderV3<
+ com.google.cloud.aiplatform.v1beta1.ToolCall,
+ com.google.cloud.aiplatform.v1beta1.ToolCall.Builder,
+ com.google.cloud.aiplatform.v1beta1.ToolCallOrBuilder>
+ getToolCallsFieldBuilder() {
+ if (toolCallsBuilder_ == null) {
+ toolCallsBuilder_ =
+ new com.google.protobuf.RepeatedFieldBuilderV3<
+ com.google.cloud.aiplatform.v1beta1.ToolCall,
+ com.google.cloud.aiplatform.v1beta1.ToolCall.Builder,
+ com.google.cloud.aiplatform.v1beta1.ToolCallOrBuilder>(
+ toolCalls_, ((bitField0_ & 0x00000001) != 0), getParentForChildren(), isClean());
+ toolCalls_ = null;
+ }
+ return toolCallsBuilder_;
+ }
+
+ @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:google.cloud.aiplatform.v1beta1.Trajectory)
+ }
+
+ // @@protoc_insertion_point(class_scope:google.cloud.aiplatform.v1beta1.Trajectory)
+ private static final com.google.cloud.aiplatform.v1beta1.Trajectory DEFAULT_INSTANCE;
+
+ static {
+ DEFAULT_INSTANCE = new com.google.cloud.aiplatform.v1beta1.Trajectory();
+ }
+
+ public static com.google.cloud.aiplatform.v1beta1.Trajectory getDefaultInstance() {
+ return DEFAULT_INSTANCE;
+ }
+
+ private static final com.google.protobuf.Parser PARSER =
+ new com.google.protobuf.AbstractParser() {
+ @java.lang.Override
+ public Trajectory 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 com.google.cloud.aiplatform.v1beta1.Trajectory getDefaultInstanceForType() {
+ return DEFAULT_INSTANCE;
+ }
+}
diff --git a/java-aiplatform/proto-google-cloud-aiplatform-v1beta1/src/main/java/com/google/cloud/aiplatform/v1beta1/TrajectoryAnyOrderMatchInput.java b/java-aiplatform/proto-google-cloud-aiplatform-v1beta1/src/main/java/com/google/cloud/aiplatform/v1beta1/TrajectoryAnyOrderMatchInput.java
new file mode 100644
index 000000000000..d31c8f26ec28
--- /dev/null
+++ b/java-aiplatform/proto-google-cloud-aiplatform-v1beta1/src/main/java/com/google/cloud/aiplatform/v1beta1/TrajectoryAnyOrderMatchInput.java
@@ -0,0 +1,1335 @@
+/*
+ * Copyright 2024 Google LLC
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ * https://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+// Generated by the protocol buffer compiler. DO NOT EDIT!
+// source: google/cloud/aiplatform/v1beta1/evaluation_service.proto
+
+// Protobuf Java Version: 3.25.5
+package com.google.cloud.aiplatform.v1beta1;
+
+/**
+ *
+ *
+ *
+ * Instances and metric spec for TrajectoryAnyOrderMatch metric.
+ *
+ *
+ * Protobuf type {@code google.cloud.aiplatform.v1beta1.TrajectoryAnyOrderMatchInput}
+ */
+public final class TrajectoryAnyOrderMatchInput extends com.google.protobuf.GeneratedMessageV3
+ implements
+ // @@protoc_insertion_point(message_implements:google.cloud.aiplatform.v1beta1.TrajectoryAnyOrderMatchInput)
+ TrajectoryAnyOrderMatchInputOrBuilder {
+ private static final long serialVersionUID = 0L;
+ // Use TrajectoryAnyOrderMatchInput.newBuilder() to construct.
+ private TrajectoryAnyOrderMatchInput(com.google.protobuf.GeneratedMessageV3.Builder> builder) {
+ super(builder);
+ }
+
+ private TrajectoryAnyOrderMatchInput() {
+ instances_ = java.util.Collections.emptyList();
+ }
+
+ @java.lang.Override
+ @SuppressWarnings({"unused"})
+ protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
+ return new TrajectoryAnyOrderMatchInput();
+ }
+
+ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+ return com.google.cloud.aiplatform.v1beta1.EvaluationServiceProto
+ .internal_static_google_cloud_aiplatform_v1beta1_TrajectoryAnyOrderMatchInput_descriptor;
+ }
+
+ @java.lang.Override
+ protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
+ internalGetFieldAccessorTable() {
+ return com.google.cloud.aiplatform.v1beta1.EvaluationServiceProto
+ .internal_static_google_cloud_aiplatform_v1beta1_TrajectoryAnyOrderMatchInput_fieldAccessorTable
+ .ensureFieldAccessorsInitialized(
+ com.google.cloud.aiplatform.v1beta1.TrajectoryAnyOrderMatchInput.class,
+ com.google.cloud.aiplatform.v1beta1.TrajectoryAnyOrderMatchInput.Builder.class);
+ }
+
+ private int bitField0_;
+ public static final int METRIC_SPEC_FIELD_NUMBER = 1;
+ private com.google.cloud.aiplatform.v1beta1.TrajectoryAnyOrderMatchSpec metricSpec_;
+ /**
+ *
+ *
+ *
+ * Required. Spec for TrajectoryAnyOrderMatch metric.
+ *
+ *
+ *
+ * .google.cloud.aiplatform.v1beta1.TrajectoryAnyOrderMatchSpec metric_spec = 1 [(.google.api.field_behavior) = REQUIRED];
+ *
+ *
+ * @return Whether the metricSpec field is set.
+ */
+ @java.lang.Override
+ public boolean hasMetricSpec() {
+ return ((bitField0_ & 0x00000001) != 0);
+ }
+ /**
+ *
+ *
+ *
+ * Required. Spec for TrajectoryAnyOrderMatch metric.
+ *
+ *
+ *
+ * .google.cloud.aiplatform.v1beta1.TrajectoryAnyOrderMatchSpec metric_spec = 1 [(.google.api.field_behavior) = REQUIRED];
+ *
+ *
+ * @return The metricSpec.
+ */
+ @java.lang.Override
+ public com.google.cloud.aiplatform.v1beta1.TrajectoryAnyOrderMatchSpec getMetricSpec() {
+ return metricSpec_ == null
+ ? com.google.cloud.aiplatform.v1beta1.TrajectoryAnyOrderMatchSpec.getDefaultInstance()
+ : metricSpec_;
+ }
+ /**
+ *
+ *
+ *
+ * Required. Spec for TrajectoryAnyOrderMatch metric.
+ *
+ *
+ *
+ * .google.cloud.aiplatform.v1beta1.TrajectoryAnyOrderMatchSpec metric_spec = 1 [(.google.api.field_behavior) = REQUIRED];
+ *
+ */
+ @java.lang.Override
+ public com.google.cloud.aiplatform.v1beta1.TrajectoryAnyOrderMatchSpecOrBuilder
+ getMetricSpecOrBuilder() {
+ return metricSpec_ == null
+ ? com.google.cloud.aiplatform.v1beta1.TrajectoryAnyOrderMatchSpec.getDefaultInstance()
+ : metricSpec_;
+ }
+
+ public static final int INSTANCES_FIELD_NUMBER = 2;
+
+ @SuppressWarnings("serial")
+ private java.util.List
+ instances_;
+ /**
+ *
+ *
+ *
+ * Required. Repeated TrajectoryAnyOrderMatch instance.
+ *
+ *
+ *
+ * repeated .google.cloud.aiplatform.v1beta1.TrajectoryAnyOrderMatchInstance instances = 2 [(.google.api.field_behavior) = REQUIRED];
+ *
+ */
+ @java.lang.Override
+ public java.util.List
+ getInstancesList() {
+ return instances_;
+ }
+ /**
+ *
+ *
+ *
+ * Required. Repeated TrajectoryAnyOrderMatch instance.
+ *
+ *
+ *
+ * repeated .google.cloud.aiplatform.v1beta1.TrajectoryAnyOrderMatchInstance instances = 2 [(.google.api.field_behavior) = REQUIRED];
+ *
+ */
+ @java.lang.Override
+ public java.util.List<
+ ? extends com.google.cloud.aiplatform.v1beta1.TrajectoryAnyOrderMatchInstanceOrBuilder>
+ getInstancesOrBuilderList() {
+ return instances_;
+ }
+ /**
+ *
+ *
+ *
+ * Required. Repeated TrajectoryAnyOrderMatch instance.
+ *
+ *
+ *
+ * repeated .google.cloud.aiplatform.v1beta1.TrajectoryAnyOrderMatchInstance instances = 2 [(.google.api.field_behavior) = REQUIRED];
+ *
+ */
+ @java.lang.Override
+ public int getInstancesCount() {
+ return instances_.size();
+ }
+ /**
+ *
+ *
+ *
+ * Required. Repeated TrajectoryAnyOrderMatch instance.
+ *
+ *
+ *
+ * repeated .google.cloud.aiplatform.v1beta1.TrajectoryAnyOrderMatchInstance instances = 2 [(.google.api.field_behavior) = REQUIRED];
+ *
+ */
+ @java.lang.Override
+ public com.google.cloud.aiplatform.v1beta1.TrajectoryAnyOrderMatchInstance getInstances(
+ int index) {
+ return instances_.get(index);
+ }
+ /**
+ *
+ *
+ *
+ * Required. Repeated TrajectoryAnyOrderMatch instance.
+ *
+ *
+ *
+ * repeated .google.cloud.aiplatform.v1beta1.TrajectoryAnyOrderMatchInstance instances = 2 [(.google.api.field_behavior) = REQUIRED];
+ *
+ */
+ @java.lang.Override
+ public com.google.cloud.aiplatform.v1beta1.TrajectoryAnyOrderMatchInstanceOrBuilder
+ getInstancesOrBuilder(int index) {
+ return instances_.get(index);
+ }
+
+ private byte memoizedIsInitialized = -1;
+
+ @java.lang.Override
+ public final boolean isInitialized() {
+ byte isInitialized = memoizedIsInitialized;
+ if (isInitialized == 1) return true;
+ if (isInitialized == 0) return false;
+
+ memoizedIsInitialized = 1;
+ return true;
+ }
+
+ @java.lang.Override
+ public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException {
+ if (((bitField0_ & 0x00000001) != 0)) {
+ output.writeMessage(1, getMetricSpec());
+ }
+ for (int i = 0; i < instances_.size(); i++) {
+ output.writeMessage(2, instances_.get(i));
+ }
+ getUnknownFields().writeTo(output);
+ }
+
+ @java.lang.Override
+ public int getSerializedSize() {
+ int size = memoizedSize;
+ if (size != -1) return size;
+
+ size = 0;
+ if (((bitField0_ & 0x00000001) != 0)) {
+ size += com.google.protobuf.CodedOutputStream.computeMessageSize(1, getMetricSpec());
+ }
+ for (int i = 0; i < instances_.size(); i++) {
+ size += com.google.protobuf.CodedOutputStream.computeMessageSize(2, instances_.get(i));
+ }
+ size += getUnknownFields().getSerializedSize();
+ memoizedSize = size;
+ return size;
+ }
+
+ @java.lang.Override
+ public boolean equals(final java.lang.Object obj) {
+ if (obj == this) {
+ return true;
+ }
+ if (!(obj instanceof com.google.cloud.aiplatform.v1beta1.TrajectoryAnyOrderMatchInput)) {
+ return super.equals(obj);
+ }
+ com.google.cloud.aiplatform.v1beta1.TrajectoryAnyOrderMatchInput other =
+ (com.google.cloud.aiplatform.v1beta1.TrajectoryAnyOrderMatchInput) obj;
+
+ if (hasMetricSpec() != other.hasMetricSpec()) return false;
+ if (hasMetricSpec()) {
+ if (!getMetricSpec().equals(other.getMetricSpec())) return false;
+ }
+ if (!getInstancesList().equals(other.getInstancesList())) 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 (hasMetricSpec()) {
+ hash = (37 * hash) + METRIC_SPEC_FIELD_NUMBER;
+ hash = (53 * hash) + getMetricSpec().hashCode();
+ }
+ if (getInstancesCount() > 0) {
+ hash = (37 * hash) + INSTANCES_FIELD_NUMBER;
+ hash = (53 * hash) + getInstancesList().hashCode();
+ }
+ hash = (29 * hash) + getUnknownFields().hashCode();
+ memoizedHashCode = hash;
+ return hash;
+ }
+
+ public static com.google.cloud.aiplatform.v1beta1.TrajectoryAnyOrderMatchInput parseFrom(
+ java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException {
+ return PARSER.parseFrom(data);
+ }
+
+ public static com.google.cloud.aiplatform.v1beta1.TrajectoryAnyOrderMatchInput parseFrom(
+ java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+ throws com.google.protobuf.InvalidProtocolBufferException {
+ return PARSER.parseFrom(data, extensionRegistry);
+ }
+
+ public static com.google.cloud.aiplatform.v1beta1.TrajectoryAnyOrderMatchInput parseFrom(
+ com.google.protobuf.ByteString data)
+ throws com.google.protobuf.InvalidProtocolBufferException {
+ return PARSER.parseFrom(data);
+ }
+
+ public static com.google.cloud.aiplatform.v1beta1.TrajectoryAnyOrderMatchInput parseFrom(
+ com.google.protobuf.ByteString data,
+ com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+ throws com.google.protobuf.InvalidProtocolBufferException {
+ return PARSER.parseFrom(data, extensionRegistry);
+ }
+
+ public static com.google.cloud.aiplatform.v1beta1.TrajectoryAnyOrderMatchInput parseFrom(
+ byte[] data) throws com.google.protobuf.InvalidProtocolBufferException {
+ return PARSER.parseFrom(data);
+ }
+
+ public static com.google.cloud.aiplatform.v1beta1.TrajectoryAnyOrderMatchInput parseFrom(
+ byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+ throws com.google.protobuf.InvalidProtocolBufferException {
+ return PARSER.parseFrom(data, extensionRegistry);
+ }
+
+ public static com.google.cloud.aiplatform.v1beta1.TrajectoryAnyOrderMatchInput parseFrom(
+ java.io.InputStream input) throws java.io.IOException {
+ return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input);
+ }
+
+ public static com.google.cloud.aiplatform.v1beta1.TrajectoryAnyOrderMatchInput parseFrom(
+ java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+ throws java.io.IOException {
+ return com.google.protobuf.GeneratedMessageV3.parseWithIOException(
+ PARSER, input, extensionRegistry);
+ }
+
+ public static com.google.cloud.aiplatform.v1beta1.TrajectoryAnyOrderMatchInput parseDelimitedFrom(
+ java.io.InputStream input) throws java.io.IOException {
+ return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input);
+ }
+
+ public static com.google.cloud.aiplatform.v1beta1.TrajectoryAnyOrderMatchInput parseDelimitedFrom(
+ java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+ throws java.io.IOException {
+ return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(
+ PARSER, input, extensionRegistry);
+ }
+
+ public static com.google.cloud.aiplatform.v1beta1.TrajectoryAnyOrderMatchInput parseFrom(
+ com.google.protobuf.CodedInputStream input) throws java.io.IOException {
+ return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input);
+ }
+
+ public static com.google.cloud.aiplatform.v1beta1.TrajectoryAnyOrderMatchInput 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(
+ com.google.cloud.aiplatform.v1beta1.TrajectoryAnyOrderMatchInput 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;
+ }
+ /**
+ *
+ *
+ *
+ * Instances and metric spec for TrajectoryAnyOrderMatch metric.
+ *
+ *
+ * Protobuf type {@code google.cloud.aiplatform.v1beta1.TrajectoryAnyOrderMatchInput}
+ */
+ public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder
+ implements
+ // @@protoc_insertion_point(builder_implements:google.cloud.aiplatform.v1beta1.TrajectoryAnyOrderMatchInput)
+ com.google.cloud.aiplatform.v1beta1.TrajectoryAnyOrderMatchInputOrBuilder {
+ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+ return com.google.cloud.aiplatform.v1beta1.EvaluationServiceProto
+ .internal_static_google_cloud_aiplatform_v1beta1_TrajectoryAnyOrderMatchInput_descriptor;
+ }
+
+ @java.lang.Override
+ protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
+ internalGetFieldAccessorTable() {
+ return com.google.cloud.aiplatform.v1beta1.EvaluationServiceProto
+ .internal_static_google_cloud_aiplatform_v1beta1_TrajectoryAnyOrderMatchInput_fieldAccessorTable
+ .ensureFieldAccessorsInitialized(
+ com.google.cloud.aiplatform.v1beta1.TrajectoryAnyOrderMatchInput.class,
+ com.google.cloud.aiplatform.v1beta1.TrajectoryAnyOrderMatchInput.Builder.class);
+ }
+
+ // Construct using com.google.cloud.aiplatform.v1beta1.TrajectoryAnyOrderMatchInput.newBuilder()
+ private Builder() {
+ maybeForceBuilderInitialization();
+ }
+
+ private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+ super(parent);
+ maybeForceBuilderInitialization();
+ }
+
+ private void maybeForceBuilderInitialization() {
+ if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {
+ getMetricSpecFieldBuilder();
+ getInstancesFieldBuilder();
+ }
+ }
+
+ @java.lang.Override
+ public Builder clear() {
+ super.clear();
+ bitField0_ = 0;
+ metricSpec_ = null;
+ if (metricSpecBuilder_ != null) {
+ metricSpecBuilder_.dispose();
+ metricSpecBuilder_ = null;
+ }
+ if (instancesBuilder_ == null) {
+ instances_ = java.util.Collections.emptyList();
+ } else {
+ instances_ = null;
+ instancesBuilder_.clear();
+ }
+ bitField0_ = (bitField0_ & ~0x00000002);
+ return this;
+ }
+
+ @java.lang.Override
+ public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
+ return com.google.cloud.aiplatform.v1beta1.EvaluationServiceProto
+ .internal_static_google_cloud_aiplatform_v1beta1_TrajectoryAnyOrderMatchInput_descriptor;
+ }
+
+ @java.lang.Override
+ public com.google.cloud.aiplatform.v1beta1.TrajectoryAnyOrderMatchInput
+ getDefaultInstanceForType() {
+ return com.google.cloud.aiplatform.v1beta1.TrajectoryAnyOrderMatchInput.getDefaultInstance();
+ }
+
+ @java.lang.Override
+ public com.google.cloud.aiplatform.v1beta1.TrajectoryAnyOrderMatchInput build() {
+ com.google.cloud.aiplatform.v1beta1.TrajectoryAnyOrderMatchInput result = buildPartial();
+ if (!result.isInitialized()) {
+ throw newUninitializedMessageException(result);
+ }
+ return result;
+ }
+
+ @java.lang.Override
+ public com.google.cloud.aiplatform.v1beta1.TrajectoryAnyOrderMatchInput buildPartial() {
+ com.google.cloud.aiplatform.v1beta1.TrajectoryAnyOrderMatchInput result =
+ new com.google.cloud.aiplatform.v1beta1.TrajectoryAnyOrderMatchInput(this);
+ buildPartialRepeatedFields(result);
+ if (bitField0_ != 0) {
+ buildPartial0(result);
+ }
+ onBuilt();
+ return result;
+ }
+
+ private void buildPartialRepeatedFields(
+ com.google.cloud.aiplatform.v1beta1.TrajectoryAnyOrderMatchInput result) {
+ if (instancesBuilder_ == null) {
+ if (((bitField0_ & 0x00000002) != 0)) {
+ instances_ = java.util.Collections.unmodifiableList(instances_);
+ bitField0_ = (bitField0_ & ~0x00000002);
+ }
+ result.instances_ = instances_;
+ } else {
+ result.instances_ = instancesBuilder_.build();
+ }
+ }
+
+ private void buildPartial0(
+ com.google.cloud.aiplatform.v1beta1.TrajectoryAnyOrderMatchInput result) {
+ int from_bitField0_ = bitField0_;
+ int to_bitField0_ = 0;
+ if (((from_bitField0_ & 0x00000001) != 0)) {
+ result.metricSpec_ = metricSpecBuilder_ == null ? metricSpec_ : metricSpecBuilder_.build();
+ to_bitField0_ |= 0x00000001;
+ }
+ result.bitField0_ |= to_bitField0_;
+ }
+
+ @java.lang.Override
+ public Builder clone() {
+ return super.clone();
+ }
+
+ @java.lang.Override
+ public Builder setField(
+ com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+ return super.setField(field, value);
+ }
+
+ @java.lang.Override
+ public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) {
+ return super.clearField(field);
+ }
+
+ @java.lang.Override
+ public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) {
+ return super.clearOneof(oneof);
+ }
+
+ @java.lang.Override
+ public Builder setRepeatedField(
+ com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) {
+ return super.setRepeatedField(field, index, value);
+ }
+
+ @java.lang.Override
+ public Builder addRepeatedField(
+ com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+ return super.addRepeatedField(field, value);
+ }
+
+ @java.lang.Override
+ public Builder mergeFrom(com.google.protobuf.Message other) {
+ if (other instanceof com.google.cloud.aiplatform.v1beta1.TrajectoryAnyOrderMatchInput) {
+ return mergeFrom((com.google.cloud.aiplatform.v1beta1.TrajectoryAnyOrderMatchInput) other);
+ } else {
+ super.mergeFrom(other);
+ return this;
+ }
+ }
+
+ public Builder mergeFrom(
+ com.google.cloud.aiplatform.v1beta1.TrajectoryAnyOrderMatchInput other) {
+ if (other
+ == com.google.cloud.aiplatform.v1beta1.TrajectoryAnyOrderMatchInput.getDefaultInstance())
+ return this;
+ if (other.hasMetricSpec()) {
+ mergeMetricSpec(other.getMetricSpec());
+ }
+ if (instancesBuilder_ == null) {
+ if (!other.instances_.isEmpty()) {
+ if (instances_.isEmpty()) {
+ instances_ = other.instances_;
+ bitField0_ = (bitField0_ & ~0x00000002);
+ } else {
+ ensureInstancesIsMutable();
+ instances_.addAll(other.instances_);
+ }
+ onChanged();
+ }
+ } else {
+ if (!other.instances_.isEmpty()) {
+ if (instancesBuilder_.isEmpty()) {
+ instancesBuilder_.dispose();
+ instancesBuilder_ = null;
+ instances_ = other.instances_;
+ bitField0_ = (bitField0_ & ~0x00000002);
+ instancesBuilder_ =
+ com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders
+ ? getInstancesFieldBuilder()
+ : null;
+ } else {
+ instancesBuilder_.addAllMessages(other.instances_);
+ }
+ }
+ }
+ this.mergeUnknownFields(other.getUnknownFields());
+ onChanged();
+ return this;
+ }
+
+ @java.lang.Override
+ public final boolean isInitialized() {
+ return true;
+ }
+
+ @java.lang.Override
+ public Builder mergeFrom(
+ com.google.protobuf.CodedInputStream input,
+ com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+ throws java.io.IOException {
+ if (extensionRegistry == null) {
+ throw new java.lang.NullPointerException();
+ }
+ try {
+ boolean done = false;
+ while (!done) {
+ int tag = input.readTag();
+ switch (tag) {
+ case 0:
+ done = true;
+ break;
+ case 10:
+ {
+ input.readMessage(getMetricSpecFieldBuilder().getBuilder(), extensionRegistry);
+ bitField0_ |= 0x00000001;
+ break;
+ } // case 10
+ case 18:
+ {
+ com.google.cloud.aiplatform.v1beta1.TrajectoryAnyOrderMatchInstance m =
+ input.readMessage(
+ com.google.cloud.aiplatform.v1beta1.TrajectoryAnyOrderMatchInstance
+ .parser(),
+ extensionRegistry);
+ if (instancesBuilder_ == null) {
+ ensureInstancesIsMutable();
+ instances_.add(m);
+ } else {
+ instancesBuilder_.addMessage(m);
+ }
+ break;
+ } // case 18
+ default:
+ {
+ if (!super.parseUnknownField(input, extensionRegistry, tag)) {
+ done = true; // was an endgroup tag
+ }
+ break;
+ } // default:
+ } // switch (tag)
+ } // while (!done)
+ } catch (com.google.protobuf.InvalidProtocolBufferException e) {
+ throw e.unwrapIOException();
+ } finally {
+ onChanged();
+ } // finally
+ return this;
+ }
+
+ private int bitField0_;
+
+ private com.google.cloud.aiplatform.v1beta1.TrajectoryAnyOrderMatchSpec metricSpec_;
+ private com.google.protobuf.SingleFieldBuilderV3<
+ com.google.cloud.aiplatform.v1beta1.TrajectoryAnyOrderMatchSpec,
+ com.google.cloud.aiplatform.v1beta1.TrajectoryAnyOrderMatchSpec.Builder,
+ com.google.cloud.aiplatform.v1beta1.TrajectoryAnyOrderMatchSpecOrBuilder>
+ metricSpecBuilder_;
+ /**
+ *
+ *
+ *
+ * Required. Spec for TrajectoryAnyOrderMatch metric.
+ *
+ *
+ *
+ * .google.cloud.aiplatform.v1beta1.TrajectoryAnyOrderMatchSpec metric_spec = 1 [(.google.api.field_behavior) = REQUIRED];
+ *
+ *
+ * @return Whether the metricSpec field is set.
+ */
+ public boolean hasMetricSpec() {
+ return ((bitField0_ & 0x00000001) != 0);
+ }
+ /**
+ *
+ *
+ *
+ * Required. Spec for TrajectoryAnyOrderMatch metric.
+ *
+ *
+ *
+ * .google.cloud.aiplatform.v1beta1.TrajectoryAnyOrderMatchSpec metric_spec = 1 [(.google.api.field_behavior) = REQUIRED];
+ *
+ *
+ * @return The metricSpec.
+ */
+ public com.google.cloud.aiplatform.v1beta1.TrajectoryAnyOrderMatchSpec getMetricSpec() {
+ if (metricSpecBuilder_ == null) {
+ return metricSpec_ == null
+ ? com.google.cloud.aiplatform.v1beta1.TrajectoryAnyOrderMatchSpec.getDefaultInstance()
+ : metricSpec_;
+ } else {
+ return metricSpecBuilder_.getMessage();
+ }
+ }
+ /**
+ *
+ *
+ *
+ * Required. Spec for TrajectoryAnyOrderMatch metric.
+ *
+ *
+ *
+ * .google.cloud.aiplatform.v1beta1.TrajectoryAnyOrderMatchSpec metric_spec = 1 [(.google.api.field_behavior) = REQUIRED];
+ *
+ */
+ public Builder setMetricSpec(
+ com.google.cloud.aiplatform.v1beta1.TrajectoryAnyOrderMatchSpec value) {
+ if (metricSpecBuilder_ == null) {
+ if (value == null) {
+ throw new NullPointerException();
+ }
+ metricSpec_ = value;
+ } else {
+ metricSpecBuilder_.setMessage(value);
+ }
+ bitField0_ |= 0x00000001;
+ onChanged();
+ return this;
+ }
+ /**
+ *
+ *
+ *
+ * Required. Spec for TrajectoryAnyOrderMatch metric.
+ *
+ *
+ *
+ * .google.cloud.aiplatform.v1beta1.TrajectoryAnyOrderMatchSpec metric_spec = 1 [(.google.api.field_behavior) = REQUIRED];
+ *
+ */
+ public Builder setMetricSpec(
+ com.google.cloud.aiplatform.v1beta1.TrajectoryAnyOrderMatchSpec.Builder builderForValue) {
+ if (metricSpecBuilder_ == null) {
+ metricSpec_ = builderForValue.build();
+ } else {
+ metricSpecBuilder_.setMessage(builderForValue.build());
+ }
+ bitField0_ |= 0x00000001;
+ onChanged();
+ return this;
+ }
+ /**
+ *
+ *
+ *
+ * Required. Spec for TrajectoryAnyOrderMatch metric.
+ *
+ *
+ *
+ * .google.cloud.aiplatform.v1beta1.TrajectoryAnyOrderMatchSpec metric_spec = 1 [(.google.api.field_behavior) = REQUIRED];
+ *
+ */
+ public Builder mergeMetricSpec(
+ com.google.cloud.aiplatform.v1beta1.TrajectoryAnyOrderMatchSpec value) {
+ if (metricSpecBuilder_ == null) {
+ if (((bitField0_ & 0x00000001) != 0)
+ && metricSpec_ != null
+ && metricSpec_
+ != com.google.cloud.aiplatform.v1beta1.TrajectoryAnyOrderMatchSpec
+ .getDefaultInstance()) {
+ getMetricSpecBuilder().mergeFrom(value);
+ } else {
+ metricSpec_ = value;
+ }
+ } else {
+ metricSpecBuilder_.mergeFrom(value);
+ }
+ if (metricSpec_ != null) {
+ bitField0_ |= 0x00000001;
+ onChanged();
+ }
+ return this;
+ }
+ /**
+ *
+ *
+ *
+ * Required. Spec for TrajectoryAnyOrderMatch metric.
+ *
+ *
+ *
+ * .google.cloud.aiplatform.v1beta1.TrajectoryAnyOrderMatchSpec metric_spec = 1 [(.google.api.field_behavior) = REQUIRED];
+ *
+ */
+ public Builder clearMetricSpec() {
+ bitField0_ = (bitField0_ & ~0x00000001);
+ metricSpec_ = null;
+ if (metricSpecBuilder_ != null) {
+ metricSpecBuilder_.dispose();
+ metricSpecBuilder_ = null;
+ }
+ onChanged();
+ return this;
+ }
+ /**
+ *
+ *
+ *
+ * Required. Spec for TrajectoryAnyOrderMatch metric.
+ *
+ *
+ *
+ * .google.cloud.aiplatform.v1beta1.TrajectoryAnyOrderMatchSpec metric_spec = 1 [(.google.api.field_behavior) = REQUIRED];
+ *
+ */
+ public com.google.cloud.aiplatform.v1beta1.TrajectoryAnyOrderMatchSpec.Builder
+ getMetricSpecBuilder() {
+ bitField0_ |= 0x00000001;
+ onChanged();
+ return getMetricSpecFieldBuilder().getBuilder();
+ }
+ /**
+ *
+ *
+ *
+ * Required. Spec for TrajectoryAnyOrderMatch metric.
+ *
+ *
+ *
+ * .google.cloud.aiplatform.v1beta1.TrajectoryAnyOrderMatchSpec metric_spec = 1 [(.google.api.field_behavior) = REQUIRED];
+ *
+ */
+ public com.google.cloud.aiplatform.v1beta1.TrajectoryAnyOrderMatchSpecOrBuilder
+ getMetricSpecOrBuilder() {
+ if (metricSpecBuilder_ != null) {
+ return metricSpecBuilder_.getMessageOrBuilder();
+ } else {
+ return metricSpec_ == null
+ ? com.google.cloud.aiplatform.v1beta1.TrajectoryAnyOrderMatchSpec.getDefaultInstance()
+ : metricSpec_;
+ }
+ }
+ /**
+ *
+ *
+ *
+ * Required. Spec for TrajectoryAnyOrderMatch metric.
+ *
+ *
+ *
+ * .google.cloud.aiplatform.v1beta1.TrajectoryAnyOrderMatchSpec metric_spec = 1 [(.google.api.field_behavior) = REQUIRED];
+ *
+ */
+ private com.google.protobuf.SingleFieldBuilderV3<
+ com.google.cloud.aiplatform.v1beta1.TrajectoryAnyOrderMatchSpec,
+ com.google.cloud.aiplatform.v1beta1.TrajectoryAnyOrderMatchSpec.Builder,
+ com.google.cloud.aiplatform.v1beta1.TrajectoryAnyOrderMatchSpecOrBuilder>
+ getMetricSpecFieldBuilder() {
+ if (metricSpecBuilder_ == null) {
+ metricSpecBuilder_ =
+ new com.google.protobuf.SingleFieldBuilderV3<
+ com.google.cloud.aiplatform.v1beta1.TrajectoryAnyOrderMatchSpec,
+ com.google.cloud.aiplatform.v1beta1.TrajectoryAnyOrderMatchSpec.Builder,
+ com.google.cloud.aiplatform.v1beta1.TrajectoryAnyOrderMatchSpecOrBuilder>(
+ getMetricSpec(), getParentForChildren(), isClean());
+ metricSpec_ = null;
+ }
+ return metricSpecBuilder_;
+ }
+
+ private java.util.List
+ instances_ = java.util.Collections.emptyList();
+
+ private void ensureInstancesIsMutable() {
+ if (!((bitField0_ & 0x00000002) != 0)) {
+ instances_ =
+ new java.util.ArrayList<
+ com.google.cloud.aiplatform.v1beta1.TrajectoryAnyOrderMatchInstance>(instances_);
+ bitField0_ |= 0x00000002;
+ }
+ }
+
+ private com.google.protobuf.RepeatedFieldBuilderV3<
+ com.google.cloud.aiplatform.v1beta1.TrajectoryAnyOrderMatchInstance,
+ com.google.cloud.aiplatform.v1beta1.TrajectoryAnyOrderMatchInstance.Builder,
+ com.google.cloud.aiplatform.v1beta1.TrajectoryAnyOrderMatchInstanceOrBuilder>
+ instancesBuilder_;
+
+ /**
+ *
+ *
+ *
+ * Required. Repeated TrajectoryAnyOrderMatch instance.
+ *
+ *
+ *
+ * repeated .google.cloud.aiplatform.v1beta1.TrajectoryAnyOrderMatchInstance instances = 2 [(.google.api.field_behavior) = REQUIRED];
+ *
+ */
+ public java.util.List
+ getInstancesList() {
+ if (instancesBuilder_ == null) {
+ return java.util.Collections.unmodifiableList(instances_);
+ } else {
+ return instancesBuilder_.getMessageList();
+ }
+ }
+ /**
+ *
+ *
+ *
+ * Required. Repeated TrajectoryAnyOrderMatch instance.
+ *
+ *
+ *
+ * repeated .google.cloud.aiplatform.v1beta1.TrajectoryAnyOrderMatchInstance instances = 2 [(.google.api.field_behavior) = REQUIRED];
+ *
+ */
+ public int getInstancesCount() {
+ if (instancesBuilder_ == null) {
+ return instances_.size();
+ } else {
+ return instancesBuilder_.getCount();
+ }
+ }
+ /**
+ *
+ *
+ *
+ * Required. Repeated TrajectoryAnyOrderMatch instance.
+ *
+ *
+ *
+ * repeated .google.cloud.aiplatform.v1beta1.TrajectoryAnyOrderMatchInstance instances = 2 [(.google.api.field_behavior) = REQUIRED];
+ *
+ */
+ public com.google.cloud.aiplatform.v1beta1.TrajectoryAnyOrderMatchInstance getInstances(
+ int index) {
+ if (instancesBuilder_ == null) {
+ return instances_.get(index);
+ } else {
+ return instancesBuilder_.getMessage(index);
+ }
+ }
+ /**
+ *
+ *
+ *
+ * Required. Repeated TrajectoryAnyOrderMatch instance.
+ *
+ *
+ *
+ * repeated .google.cloud.aiplatform.v1beta1.TrajectoryAnyOrderMatchInstance instances = 2 [(.google.api.field_behavior) = REQUIRED];
+ *
+ */
+ public Builder setInstances(
+ int index, com.google.cloud.aiplatform.v1beta1.TrajectoryAnyOrderMatchInstance value) {
+ if (instancesBuilder_ == null) {
+ if (value == null) {
+ throw new NullPointerException();
+ }
+ ensureInstancesIsMutable();
+ instances_.set(index, value);
+ onChanged();
+ } else {
+ instancesBuilder_.setMessage(index, value);
+ }
+ return this;
+ }
+ /**
+ *
+ *
+ *
+ * Required. Repeated TrajectoryAnyOrderMatch instance.
+ *
+ *
+ *
+ * repeated .google.cloud.aiplatform.v1beta1.TrajectoryAnyOrderMatchInstance instances = 2 [(.google.api.field_behavior) = REQUIRED];
+ *
+ */
+ public Builder setInstances(
+ int index,
+ com.google.cloud.aiplatform.v1beta1.TrajectoryAnyOrderMatchInstance.Builder
+ builderForValue) {
+ if (instancesBuilder_ == null) {
+ ensureInstancesIsMutable();
+ instances_.set(index, builderForValue.build());
+ onChanged();
+ } else {
+ instancesBuilder_.setMessage(index, builderForValue.build());
+ }
+ return this;
+ }
+ /**
+ *
+ *
+ *
+ * Required. Repeated TrajectoryAnyOrderMatch instance.
+ *
+ *
+ *
+ * repeated .google.cloud.aiplatform.v1beta1.TrajectoryAnyOrderMatchInstance instances = 2 [(.google.api.field_behavior) = REQUIRED];
+ *
+ */
+ public Builder addInstances(
+ com.google.cloud.aiplatform.v1beta1.TrajectoryAnyOrderMatchInstance value) {
+ if (instancesBuilder_ == null) {
+ if (value == null) {
+ throw new NullPointerException();
+ }
+ ensureInstancesIsMutable();
+ instances_.add(value);
+ onChanged();
+ } else {
+ instancesBuilder_.addMessage(value);
+ }
+ return this;
+ }
+ /**
+ *
+ *
+ *
+ * Required. Repeated TrajectoryAnyOrderMatch instance.
+ *
+ *
+ *
+ * repeated .google.cloud.aiplatform.v1beta1.TrajectoryAnyOrderMatchInstance instances = 2 [(.google.api.field_behavior) = REQUIRED];
+ *
+ */
+ public Builder addInstances(
+ int index, com.google.cloud.aiplatform.v1beta1.TrajectoryAnyOrderMatchInstance value) {
+ if (instancesBuilder_ == null) {
+ if (value == null) {
+ throw new NullPointerException();
+ }
+ ensureInstancesIsMutable();
+ instances_.add(index, value);
+ onChanged();
+ } else {
+ instancesBuilder_.addMessage(index, value);
+ }
+ return this;
+ }
+ /**
+ *
+ *
+ *
+ * Required. Repeated TrajectoryAnyOrderMatch instance.
+ *
+ *
+ *
+ * repeated .google.cloud.aiplatform.v1beta1.TrajectoryAnyOrderMatchInstance instances = 2 [(.google.api.field_behavior) = REQUIRED];
+ *
+ */
+ public Builder addInstances(
+ com.google.cloud.aiplatform.v1beta1.TrajectoryAnyOrderMatchInstance.Builder
+ builderForValue) {
+ if (instancesBuilder_ == null) {
+ ensureInstancesIsMutable();
+ instances_.add(builderForValue.build());
+ onChanged();
+ } else {
+ instancesBuilder_.addMessage(builderForValue.build());
+ }
+ return this;
+ }
+ /**
+ *
+ *
+ *
+ * Required. Repeated TrajectoryAnyOrderMatch instance.
+ *
+ *
+ *
+ * repeated .google.cloud.aiplatform.v1beta1.TrajectoryAnyOrderMatchInstance instances = 2 [(.google.api.field_behavior) = REQUIRED];
+ *
+ */
+ public Builder addInstances(
+ int index,
+ com.google.cloud.aiplatform.v1beta1.TrajectoryAnyOrderMatchInstance.Builder
+ builderForValue) {
+ if (instancesBuilder_ == null) {
+ ensureInstancesIsMutable();
+ instances_.add(index, builderForValue.build());
+ onChanged();
+ } else {
+ instancesBuilder_.addMessage(index, builderForValue.build());
+ }
+ return this;
+ }
+ /**
+ *
+ *
+ *
+ * Required. Repeated TrajectoryAnyOrderMatch instance.
+ *
+ *
+ *
+ * repeated .google.cloud.aiplatform.v1beta1.TrajectoryAnyOrderMatchInstance instances = 2 [(.google.api.field_behavior) = REQUIRED];
+ *
+ */
+ public Builder addAllInstances(
+ java.lang.Iterable<
+ ? extends com.google.cloud.aiplatform.v1beta1.TrajectoryAnyOrderMatchInstance>
+ values) {
+ if (instancesBuilder_ == null) {
+ ensureInstancesIsMutable();
+ com.google.protobuf.AbstractMessageLite.Builder.addAll(values, instances_);
+ onChanged();
+ } else {
+ instancesBuilder_.addAllMessages(values);
+ }
+ return this;
+ }
+ /**
+ *
+ *
+ *
+ * Required. Repeated TrajectoryAnyOrderMatch instance.
+ *
+ *
+ *
+ * repeated .google.cloud.aiplatform.v1beta1.TrajectoryAnyOrderMatchInstance instances = 2 [(.google.api.field_behavior) = REQUIRED];
+ *
+ */
+ public Builder clearInstances() {
+ if (instancesBuilder_ == null) {
+ instances_ = java.util.Collections.emptyList();
+ bitField0_ = (bitField0_ & ~0x00000002);
+ onChanged();
+ } else {
+ instancesBuilder_.clear();
+ }
+ return this;
+ }
+ /**
+ *
+ *
+ *
+ * Required. Repeated TrajectoryAnyOrderMatch instance.
+ *
+ *
+ *
+ * repeated .google.cloud.aiplatform.v1beta1.TrajectoryAnyOrderMatchInstance instances = 2 [(.google.api.field_behavior) = REQUIRED];
+ *
+ */
+ public Builder removeInstances(int index) {
+ if (instancesBuilder_ == null) {
+ ensureInstancesIsMutable();
+ instances_.remove(index);
+ onChanged();
+ } else {
+ instancesBuilder_.remove(index);
+ }
+ return this;
+ }
+ /**
+ *
+ *
+ *
+ * Required. Repeated TrajectoryAnyOrderMatch instance.
+ *
+ *
+ *
+ * repeated .google.cloud.aiplatform.v1beta1.TrajectoryAnyOrderMatchInstance instances = 2 [(.google.api.field_behavior) = REQUIRED];
+ *
+ */
+ public com.google.cloud.aiplatform.v1beta1.TrajectoryAnyOrderMatchInstance.Builder
+ getInstancesBuilder(int index) {
+ return getInstancesFieldBuilder().getBuilder(index);
+ }
+ /**
+ *
+ *
+ *
+ * Required. Repeated TrajectoryAnyOrderMatch instance.
+ *
+ *
+ *
+ * repeated .google.cloud.aiplatform.v1beta1.TrajectoryAnyOrderMatchInstance instances = 2 [(.google.api.field_behavior) = REQUIRED];
+ *
+ */
+ public com.google.cloud.aiplatform.v1beta1.TrajectoryAnyOrderMatchInstanceOrBuilder
+ getInstancesOrBuilder(int index) {
+ if (instancesBuilder_ == null) {
+ return instances_.get(index);
+ } else {
+ return instancesBuilder_.getMessageOrBuilder(index);
+ }
+ }
+ /**
+ *
+ *
+ *
+ * Required. Repeated TrajectoryAnyOrderMatch instance.
+ *
+ *
+ *
+ * repeated .google.cloud.aiplatform.v1beta1.TrajectoryAnyOrderMatchInstance instances = 2 [(.google.api.field_behavior) = REQUIRED];
+ *
+ */
+ public java.util.List<
+ ? extends com.google.cloud.aiplatform.v1beta1.TrajectoryAnyOrderMatchInstanceOrBuilder>
+ getInstancesOrBuilderList() {
+ if (instancesBuilder_ != null) {
+ return instancesBuilder_.getMessageOrBuilderList();
+ } else {
+ return java.util.Collections.unmodifiableList(instances_);
+ }
+ }
+ /**
+ *
+ *
+ *
+ * Required. Repeated TrajectoryAnyOrderMatch instance.
+ *
+ *
+ *
+ * repeated .google.cloud.aiplatform.v1beta1.TrajectoryAnyOrderMatchInstance instances = 2 [(.google.api.field_behavior) = REQUIRED];
+ *
+ */
+ public com.google.cloud.aiplatform.v1beta1.TrajectoryAnyOrderMatchInstance.Builder
+ addInstancesBuilder() {
+ return getInstancesFieldBuilder()
+ .addBuilder(
+ com.google.cloud.aiplatform.v1beta1.TrajectoryAnyOrderMatchInstance
+ .getDefaultInstance());
+ }
+ /**
+ *
+ *
+ *
+ * Required. Repeated TrajectoryAnyOrderMatch instance.
+ *
+ *
+ *
+ * repeated .google.cloud.aiplatform.v1beta1.TrajectoryAnyOrderMatchInstance instances = 2 [(.google.api.field_behavior) = REQUIRED];
+ *
+ */
+ public com.google.cloud.aiplatform.v1beta1.TrajectoryAnyOrderMatchInstance.Builder
+ addInstancesBuilder(int index) {
+ return getInstancesFieldBuilder()
+ .addBuilder(
+ index,
+ com.google.cloud.aiplatform.v1beta1.TrajectoryAnyOrderMatchInstance
+ .getDefaultInstance());
+ }
+ /**
+ *
+ *
+ *
+ * Required. Repeated TrajectoryAnyOrderMatch instance.
+ *
+ *
+ *
+ * repeated .google.cloud.aiplatform.v1beta1.TrajectoryAnyOrderMatchInstance instances = 2 [(.google.api.field_behavior) = REQUIRED];
+ *
+ */
+ public java.util.List<
+ com.google.cloud.aiplatform.v1beta1.TrajectoryAnyOrderMatchInstance.Builder>
+ getInstancesBuilderList() {
+ return getInstancesFieldBuilder().getBuilderList();
+ }
+
+ private com.google.protobuf.RepeatedFieldBuilderV3<
+ com.google.cloud.aiplatform.v1beta1.TrajectoryAnyOrderMatchInstance,
+ com.google.cloud.aiplatform.v1beta1.TrajectoryAnyOrderMatchInstance.Builder,
+ com.google.cloud.aiplatform.v1beta1.TrajectoryAnyOrderMatchInstanceOrBuilder>
+ getInstancesFieldBuilder() {
+ if (instancesBuilder_ == null) {
+ instancesBuilder_ =
+ new com.google.protobuf.RepeatedFieldBuilderV3<
+ com.google.cloud.aiplatform.v1beta1.TrajectoryAnyOrderMatchInstance,
+ com.google.cloud.aiplatform.v1beta1.TrajectoryAnyOrderMatchInstance.Builder,
+ com.google.cloud.aiplatform.v1beta1.TrajectoryAnyOrderMatchInstanceOrBuilder>(
+ instances_, ((bitField0_ & 0x00000002) != 0), getParentForChildren(), isClean());
+ instances_ = null;
+ }
+ return instancesBuilder_;
+ }
+
+ @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:google.cloud.aiplatform.v1beta1.TrajectoryAnyOrderMatchInput)
+ }
+
+ // @@protoc_insertion_point(class_scope:google.cloud.aiplatform.v1beta1.TrajectoryAnyOrderMatchInput)
+ private static final com.google.cloud.aiplatform.v1beta1.TrajectoryAnyOrderMatchInput
+ DEFAULT_INSTANCE;
+
+ static {
+ DEFAULT_INSTANCE = new com.google.cloud.aiplatform.v1beta1.TrajectoryAnyOrderMatchInput();
+ }
+
+ public static com.google.cloud.aiplatform.v1beta1.TrajectoryAnyOrderMatchInput
+ getDefaultInstance() {
+ return DEFAULT_INSTANCE;
+ }
+
+ private static final com.google.protobuf.Parser PARSER =
+ new com.google.protobuf.AbstractParser() {
+ @java.lang.Override
+ public TrajectoryAnyOrderMatchInput 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 com.google.cloud.aiplatform.v1beta1.TrajectoryAnyOrderMatchInput
+ getDefaultInstanceForType() {
+ return DEFAULT_INSTANCE;
+ }
+}
diff --git a/java-aiplatform/proto-google-cloud-aiplatform-v1beta1/src/main/java/com/google/cloud/aiplatform/v1beta1/TrajectoryAnyOrderMatchInputOrBuilder.java b/java-aiplatform/proto-google-cloud-aiplatform-v1beta1/src/main/java/com/google/cloud/aiplatform/v1beta1/TrajectoryAnyOrderMatchInputOrBuilder.java
new file mode 100644
index 000000000000..cd0b5af80b83
--- /dev/null
+++ b/java-aiplatform/proto-google-cloud-aiplatform-v1beta1/src/main/java/com/google/cloud/aiplatform/v1beta1/TrajectoryAnyOrderMatchInputOrBuilder.java
@@ -0,0 +1,132 @@
+/*
+ * Copyright 2024 Google LLC
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ * https://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+// Generated by the protocol buffer compiler. DO NOT EDIT!
+// source: google/cloud/aiplatform/v1beta1/evaluation_service.proto
+
+// Protobuf Java Version: 3.25.5
+package com.google.cloud.aiplatform.v1beta1;
+
+public interface TrajectoryAnyOrderMatchInputOrBuilder
+ extends
+ // @@protoc_insertion_point(interface_extends:google.cloud.aiplatform.v1beta1.TrajectoryAnyOrderMatchInput)
+ com.google.protobuf.MessageOrBuilder {
+
+ /**
+ *
+ *
+ *
+ * Required. Spec for TrajectoryAnyOrderMatch metric.
+ *
+ *
+ *
+ * .google.cloud.aiplatform.v1beta1.TrajectoryAnyOrderMatchSpec metric_spec = 1 [(.google.api.field_behavior) = REQUIRED];
+ *
+ *
+ * @return Whether the metricSpec field is set.
+ */
+ boolean hasMetricSpec();
+ /**
+ *
+ *
+ *
+ * Required. Spec for TrajectoryAnyOrderMatch metric.
+ *
+ *
+ *
+ * .google.cloud.aiplatform.v1beta1.TrajectoryAnyOrderMatchSpec metric_spec = 1 [(.google.api.field_behavior) = REQUIRED];
+ *
+ *
+ * @return The metricSpec.
+ */
+ com.google.cloud.aiplatform.v1beta1.TrajectoryAnyOrderMatchSpec getMetricSpec();
+ /**
+ *
+ *
+ *
+ * Required. Spec for TrajectoryAnyOrderMatch metric.
+ *
+ *
+ *
+ * .google.cloud.aiplatform.v1beta1.TrajectoryAnyOrderMatchSpec metric_spec = 1 [(.google.api.field_behavior) = REQUIRED];
+ *
+ */
+ com.google.cloud.aiplatform.v1beta1.TrajectoryAnyOrderMatchSpecOrBuilder getMetricSpecOrBuilder();
+
+ /**
+ *
+ *
+ *
+ * Required. Repeated TrajectoryAnyOrderMatch instance.
+ *
+ *
+ *
+ * repeated .google.cloud.aiplatform.v1beta1.TrajectoryAnyOrderMatchInstance instances = 2 [(.google.api.field_behavior) = REQUIRED];
+ *
+ */
+ java.util.List
+ getInstancesList();
+ /**
+ *
+ *
+ *
+ * Required. Repeated TrajectoryAnyOrderMatch instance.
+ *
+ *
+ *
+ * repeated .google.cloud.aiplatform.v1beta1.TrajectoryAnyOrderMatchInstance instances = 2 [(.google.api.field_behavior) = REQUIRED];
+ *
+ */
+ com.google.cloud.aiplatform.v1beta1.TrajectoryAnyOrderMatchInstance getInstances(int index);
+ /**
+ *
+ *
+ *
+ * Required. Repeated TrajectoryAnyOrderMatch instance.
+ *
+ *
+ *
+ * repeated .google.cloud.aiplatform.v1beta1.TrajectoryAnyOrderMatchInstance instances = 2 [(.google.api.field_behavior) = REQUIRED];
+ *
+ */
+ int getInstancesCount();
+ /**
+ *
+ *
+ *
+ * Required. Repeated TrajectoryAnyOrderMatch instance.
+ *
+ *
+ *
+ * repeated .google.cloud.aiplatform.v1beta1.TrajectoryAnyOrderMatchInstance instances = 2 [(.google.api.field_behavior) = REQUIRED];
+ *
+ */
+ java.util.List<
+ ? extends com.google.cloud.aiplatform.v1beta1.TrajectoryAnyOrderMatchInstanceOrBuilder>
+ getInstancesOrBuilderList();
+ /**
+ *
+ *
+ *
+ * Required. Repeated TrajectoryAnyOrderMatch instance.
+ *
+ *
+ *
+ * repeated .google.cloud.aiplatform.v1beta1.TrajectoryAnyOrderMatchInstance instances = 2 [(.google.api.field_behavior) = REQUIRED];
+ *
+ */
+ com.google.cloud.aiplatform.v1beta1.TrajectoryAnyOrderMatchInstanceOrBuilder
+ getInstancesOrBuilder(int index);
+}
diff --git a/java-aiplatform/proto-google-cloud-aiplatform-v1beta1/src/main/java/com/google/cloud/aiplatform/v1beta1/TrajectoryAnyOrderMatchInstance.java b/java-aiplatform/proto-google-cloud-aiplatform-v1beta1/src/main/java/com/google/cloud/aiplatform/v1beta1/TrajectoryAnyOrderMatchInstance.java
new file mode 100644
index 000000000000..79fd81888ccd
--- /dev/null
+++ b/java-aiplatform/proto-google-cloud-aiplatform-v1beta1/src/main/java/com/google/cloud/aiplatform/v1beta1/TrajectoryAnyOrderMatchInstance.java
@@ -0,0 +1,1064 @@
+/*
+ * Copyright 2024 Google LLC
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ * https://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+// Generated by the protocol buffer compiler. DO NOT EDIT!
+// source: google/cloud/aiplatform/v1beta1/evaluation_service.proto
+
+// Protobuf Java Version: 3.25.5
+package com.google.cloud.aiplatform.v1beta1;
+
+/**
+ *
+ *
+ *
+ * Spec for TrajectoryAnyOrderMatch instance.
+ *
+ *
+ * Protobuf type {@code google.cloud.aiplatform.v1beta1.TrajectoryAnyOrderMatchInstance}
+ */
+public final class TrajectoryAnyOrderMatchInstance extends com.google.protobuf.GeneratedMessageV3
+ implements
+ // @@protoc_insertion_point(message_implements:google.cloud.aiplatform.v1beta1.TrajectoryAnyOrderMatchInstance)
+ TrajectoryAnyOrderMatchInstanceOrBuilder {
+ private static final long serialVersionUID = 0L;
+ // Use TrajectoryAnyOrderMatchInstance.newBuilder() to construct.
+ private TrajectoryAnyOrderMatchInstance(
+ com.google.protobuf.GeneratedMessageV3.Builder> builder) {
+ super(builder);
+ }
+
+ private TrajectoryAnyOrderMatchInstance() {}
+
+ @java.lang.Override
+ @SuppressWarnings({"unused"})
+ protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
+ return new TrajectoryAnyOrderMatchInstance();
+ }
+
+ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+ return com.google.cloud.aiplatform.v1beta1.EvaluationServiceProto
+ .internal_static_google_cloud_aiplatform_v1beta1_TrajectoryAnyOrderMatchInstance_descriptor;
+ }
+
+ @java.lang.Override
+ protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
+ internalGetFieldAccessorTable() {
+ return com.google.cloud.aiplatform.v1beta1.EvaluationServiceProto
+ .internal_static_google_cloud_aiplatform_v1beta1_TrajectoryAnyOrderMatchInstance_fieldAccessorTable
+ .ensureFieldAccessorsInitialized(
+ com.google.cloud.aiplatform.v1beta1.TrajectoryAnyOrderMatchInstance.class,
+ com.google.cloud.aiplatform.v1beta1.TrajectoryAnyOrderMatchInstance.Builder.class);
+ }
+
+ private int bitField0_;
+ public static final int PREDICTED_TRAJECTORY_FIELD_NUMBER = 1;
+ private com.google.cloud.aiplatform.v1beta1.Trajectory predictedTrajectory_;
+ /**
+ *
+ *
+ *
+ * Required. Spec for predicted tool call trajectory.
+ *
+ *
+ *
+ * optional .google.cloud.aiplatform.v1beta1.Trajectory predicted_trajectory = 1 [(.google.api.field_behavior) = REQUIRED];
+ *
+ *
+ * @return Whether the predictedTrajectory field is set.
+ */
+ @java.lang.Override
+ public boolean hasPredictedTrajectory() {
+ return ((bitField0_ & 0x00000001) != 0);
+ }
+ /**
+ *
+ *
+ *
+ * Required. Spec for predicted tool call trajectory.
+ *
+ *
+ *
+ * optional .google.cloud.aiplatform.v1beta1.Trajectory predicted_trajectory = 1 [(.google.api.field_behavior) = REQUIRED];
+ *
+ *
+ * @return The predictedTrajectory.
+ */
+ @java.lang.Override
+ public com.google.cloud.aiplatform.v1beta1.Trajectory getPredictedTrajectory() {
+ return predictedTrajectory_ == null
+ ? com.google.cloud.aiplatform.v1beta1.Trajectory.getDefaultInstance()
+ : predictedTrajectory_;
+ }
+ /**
+ *
+ *
+ *
+ * Required. Spec for predicted tool call trajectory.
+ *
+ *
+ *
+ * optional .google.cloud.aiplatform.v1beta1.Trajectory predicted_trajectory = 1 [(.google.api.field_behavior) = REQUIRED];
+ *
+ */
+ @java.lang.Override
+ public com.google.cloud.aiplatform.v1beta1.TrajectoryOrBuilder getPredictedTrajectoryOrBuilder() {
+ return predictedTrajectory_ == null
+ ? com.google.cloud.aiplatform.v1beta1.Trajectory.getDefaultInstance()
+ : predictedTrajectory_;
+ }
+
+ public static final int REFERENCE_TRAJECTORY_FIELD_NUMBER = 2;
+ private com.google.cloud.aiplatform.v1beta1.Trajectory referenceTrajectory_;
+ /**
+ *
+ *
+ *
+ * Required. Spec for reference tool call trajectory.
+ *
+ *
+ *
+ * optional .google.cloud.aiplatform.v1beta1.Trajectory reference_trajectory = 2 [(.google.api.field_behavior) = REQUIRED];
+ *
+ *
+ * @return Whether the referenceTrajectory field is set.
+ */
+ @java.lang.Override
+ public boolean hasReferenceTrajectory() {
+ return ((bitField0_ & 0x00000002) != 0);
+ }
+ /**
+ *
+ *
+ *
+ * Required. Spec for reference tool call trajectory.
+ *
+ *
+ *
+ * optional .google.cloud.aiplatform.v1beta1.Trajectory reference_trajectory = 2 [(.google.api.field_behavior) = REQUIRED];
+ *
+ *
+ * @return The referenceTrajectory.
+ */
+ @java.lang.Override
+ public com.google.cloud.aiplatform.v1beta1.Trajectory getReferenceTrajectory() {
+ return referenceTrajectory_ == null
+ ? com.google.cloud.aiplatform.v1beta1.Trajectory.getDefaultInstance()
+ : referenceTrajectory_;
+ }
+ /**
+ *
+ *
+ *
+ * Required. Spec for reference tool call trajectory.
+ *
+ *
+ *
+ * optional .google.cloud.aiplatform.v1beta1.Trajectory reference_trajectory = 2 [(.google.api.field_behavior) = REQUIRED];
+ *
+ */
+ @java.lang.Override
+ public com.google.cloud.aiplatform.v1beta1.TrajectoryOrBuilder getReferenceTrajectoryOrBuilder() {
+ return referenceTrajectory_ == null
+ ? com.google.cloud.aiplatform.v1beta1.Trajectory.getDefaultInstance()
+ : referenceTrajectory_;
+ }
+
+ private byte memoizedIsInitialized = -1;
+
+ @java.lang.Override
+ public final boolean isInitialized() {
+ byte isInitialized = memoizedIsInitialized;
+ if (isInitialized == 1) return true;
+ if (isInitialized == 0) return false;
+
+ memoizedIsInitialized = 1;
+ return true;
+ }
+
+ @java.lang.Override
+ public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException {
+ if (((bitField0_ & 0x00000001) != 0)) {
+ output.writeMessage(1, getPredictedTrajectory());
+ }
+ if (((bitField0_ & 0x00000002) != 0)) {
+ output.writeMessage(2, getReferenceTrajectory());
+ }
+ getUnknownFields().writeTo(output);
+ }
+
+ @java.lang.Override
+ public int getSerializedSize() {
+ int size = memoizedSize;
+ if (size != -1) return size;
+
+ size = 0;
+ if (((bitField0_ & 0x00000001) != 0)) {
+ size += com.google.protobuf.CodedOutputStream.computeMessageSize(1, getPredictedTrajectory());
+ }
+ if (((bitField0_ & 0x00000002) != 0)) {
+ size += com.google.protobuf.CodedOutputStream.computeMessageSize(2, getReferenceTrajectory());
+ }
+ 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 com.google.cloud.aiplatform.v1beta1.TrajectoryAnyOrderMatchInstance)) {
+ return super.equals(obj);
+ }
+ com.google.cloud.aiplatform.v1beta1.TrajectoryAnyOrderMatchInstance other =
+ (com.google.cloud.aiplatform.v1beta1.TrajectoryAnyOrderMatchInstance) obj;
+
+ if (hasPredictedTrajectory() != other.hasPredictedTrajectory()) return false;
+ if (hasPredictedTrajectory()) {
+ if (!getPredictedTrajectory().equals(other.getPredictedTrajectory())) return false;
+ }
+ if (hasReferenceTrajectory() != other.hasReferenceTrajectory()) return false;
+ if (hasReferenceTrajectory()) {
+ if (!getReferenceTrajectory().equals(other.getReferenceTrajectory())) 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 (hasPredictedTrajectory()) {
+ hash = (37 * hash) + PREDICTED_TRAJECTORY_FIELD_NUMBER;
+ hash = (53 * hash) + getPredictedTrajectory().hashCode();
+ }
+ if (hasReferenceTrajectory()) {
+ hash = (37 * hash) + REFERENCE_TRAJECTORY_FIELD_NUMBER;
+ hash = (53 * hash) + getReferenceTrajectory().hashCode();
+ }
+ hash = (29 * hash) + getUnknownFields().hashCode();
+ memoizedHashCode = hash;
+ return hash;
+ }
+
+ public static com.google.cloud.aiplatform.v1beta1.TrajectoryAnyOrderMatchInstance parseFrom(
+ java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException {
+ return PARSER.parseFrom(data);
+ }
+
+ public static com.google.cloud.aiplatform.v1beta1.TrajectoryAnyOrderMatchInstance parseFrom(
+ java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+ throws com.google.protobuf.InvalidProtocolBufferException {
+ return PARSER.parseFrom(data, extensionRegistry);
+ }
+
+ public static com.google.cloud.aiplatform.v1beta1.TrajectoryAnyOrderMatchInstance parseFrom(
+ com.google.protobuf.ByteString data)
+ throws com.google.protobuf.InvalidProtocolBufferException {
+ return PARSER.parseFrom(data);
+ }
+
+ public static com.google.cloud.aiplatform.v1beta1.TrajectoryAnyOrderMatchInstance parseFrom(
+ com.google.protobuf.ByteString data,
+ com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+ throws com.google.protobuf.InvalidProtocolBufferException {
+ return PARSER.parseFrom(data, extensionRegistry);
+ }
+
+ public static com.google.cloud.aiplatform.v1beta1.TrajectoryAnyOrderMatchInstance parseFrom(
+ byte[] data) throws com.google.protobuf.InvalidProtocolBufferException {
+ return PARSER.parseFrom(data);
+ }
+
+ public static com.google.cloud.aiplatform.v1beta1.TrajectoryAnyOrderMatchInstance parseFrom(
+ byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+ throws com.google.protobuf.InvalidProtocolBufferException {
+ return PARSER.parseFrom(data, extensionRegistry);
+ }
+
+ public static com.google.cloud.aiplatform.v1beta1.TrajectoryAnyOrderMatchInstance parseFrom(
+ java.io.InputStream input) throws java.io.IOException {
+ return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input);
+ }
+
+ public static com.google.cloud.aiplatform.v1beta1.TrajectoryAnyOrderMatchInstance parseFrom(
+ java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+ throws java.io.IOException {
+ return com.google.protobuf.GeneratedMessageV3.parseWithIOException(
+ PARSER, input, extensionRegistry);
+ }
+
+ public static com.google.cloud.aiplatform.v1beta1.TrajectoryAnyOrderMatchInstance
+ parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException {
+ return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input);
+ }
+
+ public static com.google.cloud.aiplatform.v1beta1.TrajectoryAnyOrderMatchInstance
+ parseDelimitedFrom(
+ java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+ throws java.io.IOException {
+ return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(
+ PARSER, input, extensionRegistry);
+ }
+
+ public static com.google.cloud.aiplatform.v1beta1.TrajectoryAnyOrderMatchInstance parseFrom(
+ com.google.protobuf.CodedInputStream input) throws java.io.IOException {
+ return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input);
+ }
+
+ public static com.google.cloud.aiplatform.v1beta1.TrajectoryAnyOrderMatchInstance 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(
+ com.google.cloud.aiplatform.v1beta1.TrajectoryAnyOrderMatchInstance 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;
+ }
+ /**
+ *
+ *
+ *
+ * Spec for TrajectoryAnyOrderMatch instance.
+ *
+ *
+ * Protobuf type {@code google.cloud.aiplatform.v1beta1.TrajectoryAnyOrderMatchInstance}
+ */
+ public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder
+ implements
+ // @@protoc_insertion_point(builder_implements:google.cloud.aiplatform.v1beta1.TrajectoryAnyOrderMatchInstance)
+ com.google.cloud.aiplatform.v1beta1.TrajectoryAnyOrderMatchInstanceOrBuilder {
+ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+ return com.google.cloud.aiplatform.v1beta1.EvaluationServiceProto
+ .internal_static_google_cloud_aiplatform_v1beta1_TrajectoryAnyOrderMatchInstance_descriptor;
+ }
+
+ @java.lang.Override
+ protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
+ internalGetFieldAccessorTable() {
+ return com.google.cloud.aiplatform.v1beta1.EvaluationServiceProto
+ .internal_static_google_cloud_aiplatform_v1beta1_TrajectoryAnyOrderMatchInstance_fieldAccessorTable
+ .ensureFieldAccessorsInitialized(
+ com.google.cloud.aiplatform.v1beta1.TrajectoryAnyOrderMatchInstance.class,
+ com.google.cloud.aiplatform.v1beta1.TrajectoryAnyOrderMatchInstance.Builder.class);
+ }
+
+ // Construct using
+ // com.google.cloud.aiplatform.v1beta1.TrajectoryAnyOrderMatchInstance.newBuilder()
+ private Builder() {
+ maybeForceBuilderInitialization();
+ }
+
+ private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+ super(parent);
+ maybeForceBuilderInitialization();
+ }
+
+ private void maybeForceBuilderInitialization() {
+ if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {
+ getPredictedTrajectoryFieldBuilder();
+ getReferenceTrajectoryFieldBuilder();
+ }
+ }
+
+ @java.lang.Override
+ public Builder clear() {
+ super.clear();
+ bitField0_ = 0;
+ predictedTrajectory_ = null;
+ if (predictedTrajectoryBuilder_ != null) {
+ predictedTrajectoryBuilder_.dispose();
+ predictedTrajectoryBuilder_ = null;
+ }
+ referenceTrajectory_ = null;
+ if (referenceTrajectoryBuilder_ != null) {
+ referenceTrajectoryBuilder_.dispose();
+ referenceTrajectoryBuilder_ = null;
+ }
+ return this;
+ }
+
+ @java.lang.Override
+ public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
+ return com.google.cloud.aiplatform.v1beta1.EvaluationServiceProto
+ .internal_static_google_cloud_aiplatform_v1beta1_TrajectoryAnyOrderMatchInstance_descriptor;
+ }
+
+ @java.lang.Override
+ public com.google.cloud.aiplatform.v1beta1.TrajectoryAnyOrderMatchInstance
+ getDefaultInstanceForType() {
+ return com.google.cloud.aiplatform.v1beta1.TrajectoryAnyOrderMatchInstance
+ .getDefaultInstance();
+ }
+
+ @java.lang.Override
+ public com.google.cloud.aiplatform.v1beta1.TrajectoryAnyOrderMatchInstance build() {
+ com.google.cloud.aiplatform.v1beta1.TrajectoryAnyOrderMatchInstance result = buildPartial();
+ if (!result.isInitialized()) {
+ throw newUninitializedMessageException(result);
+ }
+ return result;
+ }
+
+ @java.lang.Override
+ public com.google.cloud.aiplatform.v1beta1.TrajectoryAnyOrderMatchInstance buildPartial() {
+ com.google.cloud.aiplatform.v1beta1.TrajectoryAnyOrderMatchInstance result =
+ new com.google.cloud.aiplatform.v1beta1.TrajectoryAnyOrderMatchInstance(this);
+ if (bitField0_ != 0) {
+ buildPartial0(result);
+ }
+ onBuilt();
+ return result;
+ }
+
+ private void buildPartial0(
+ com.google.cloud.aiplatform.v1beta1.TrajectoryAnyOrderMatchInstance result) {
+ int from_bitField0_ = bitField0_;
+ int to_bitField0_ = 0;
+ if (((from_bitField0_ & 0x00000001) != 0)) {
+ result.predictedTrajectory_ =
+ predictedTrajectoryBuilder_ == null
+ ? predictedTrajectory_
+ : predictedTrajectoryBuilder_.build();
+ to_bitField0_ |= 0x00000001;
+ }
+ if (((from_bitField0_ & 0x00000002) != 0)) {
+ result.referenceTrajectory_ =
+ referenceTrajectoryBuilder_ == null
+ ? referenceTrajectory_
+ : referenceTrajectoryBuilder_.build();
+ to_bitField0_ |= 0x00000002;
+ }
+ result.bitField0_ |= to_bitField0_;
+ }
+
+ @java.lang.Override
+ public Builder clone() {
+ return super.clone();
+ }
+
+ @java.lang.Override
+ public Builder setField(
+ com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+ return super.setField(field, value);
+ }
+
+ @java.lang.Override
+ public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) {
+ return super.clearField(field);
+ }
+
+ @java.lang.Override
+ public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) {
+ return super.clearOneof(oneof);
+ }
+
+ @java.lang.Override
+ public Builder setRepeatedField(
+ com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) {
+ return super.setRepeatedField(field, index, value);
+ }
+
+ @java.lang.Override
+ public Builder addRepeatedField(
+ com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+ return super.addRepeatedField(field, value);
+ }
+
+ @java.lang.Override
+ public Builder mergeFrom(com.google.protobuf.Message other) {
+ if (other instanceof com.google.cloud.aiplatform.v1beta1.TrajectoryAnyOrderMatchInstance) {
+ return mergeFrom(
+ (com.google.cloud.aiplatform.v1beta1.TrajectoryAnyOrderMatchInstance) other);
+ } else {
+ super.mergeFrom(other);
+ return this;
+ }
+ }
+
+ public Builder mergeFrom(
+ com.google.cloud.aiplatform.v1beta1.TrajectoryAnyOrderMatchInstance other) {
+ if (other
+ == com.google.cloud.aiplatform.v1beta1.TrajectoryAnyOrderMatchInstance
+ .getDefaultInstance()) return this;
+ if (other.hasPredictedTrajectory()) {
+ mergePredictedTrajectory(other.getPredictedTrajectory());
+ }
+ if (other.hasReferenceTrajectory()) {
+ mergeReferenceTrajectory(other.getReferenceTrajectory());
+ }
+ this.mergeUnknownFields(other.getUnknownFields());
+ onChanged();
+ return this;
+ }
+
+ @java.lang.Override
+ public final boolean isInitialized() {
+ return true;
+ }
+
+ @java.lang.Override
+ public Builder mergeFrom(
+ com.google.protobuf.CodedInputStream input,
+ com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+ throws java.io.IOException {
+ if (extensionRegistry == null) {
+ throw new java.lang.NullPointerException();
+ }
+ try {
+ boolean done = false;
+ while (!done) {
+ int tag = input.readTag();
+ switch (tag) {
+ case 0:
+ done = true;
+ break;
+ case 10:
+ {
+ input.readMessage(
+ getPredictedTrajectoryFieldBuilder().getBuilder(), extensionRegistry);
+ bitField0_ |= 0x00000001;
+ break;
+ } // case 10
+ case 18:
+ {
+ input.readMessage(
+ getReferenceTrajectoryFieldBuilder().getBuilder(), extensionRegistry);
+ bitField0_ |= 0x00000002;
+ break;
+ } // case 18
+ default:
+ {
+ if (!super.parseUnknownField(input, extensionRegistry, tag)) {
+ done = true; // was an endgroup tag
+ }
+ break;
+ } // default:
+ } // switch (tag)
+ } // while (!done)
+ } catch (com.google.protobuf.InvalidProtocolBufferException e) {
+ throw e.unwrapIOException();
+ } finally {
+ onChanged();
+ } // finally
+ return this;
+ }
+
+ private int bitField0_;
+
+ private com.google.cloud.aiplatform.v1beta1.Trajectory predictedTrajectory_;
+ private com.google.protobuf.SingleFieldBuilderV3<
+ com.google.cloud.aiplatform.v1beta1.Trajectory,
+ com.google.cloud.aiplatform.v1beta1.Trajectory.Builder,
+ com.google.cloud.aiplatform.v1beta1.TrajectoryOrBuilder>
+ predictedTrajectoryBuilder_;
+ /**
+ *
+ *
+ *
+ * Required. Spec for predicted tool call trajectory.
+ *
+ *
+ *
+ * optional .google.cloud.aiplatform.v1beta1.Trajectory predicted_trajectory = 1 [(.google.api.field_behavior) = REQUIRED];
+ *
+ *
+ * @return Whether the predictedTrajectory field is set.
+ */
+ public boolean hasPredictedTrajectory() {
+ return ((bitField0_ & 0x00000001) != 0);
+ }
+ /**
+ *
+ *
+ *
+ * Required. Spec for predicted tool call trajectory.
+ *
+ *
+ *
+ * optional .google.cloud.aiplatform.v1beta1.Trajectory predicted_trajectory = 1 [(.google.api.field_behavior) = REQUIRED];
+ *
+ *
+ * @return The predictedTrajectory.
+ */
+ public com.google.cloud.aiplatform.v1beta1.Trajectory getPredictedTrajectory() {
+ if (predictedTrajectoryBuilder_ == null) {
+ return predictedTrajectory_ == null
+ ? com.google.cloud.aiplatform.v1beta1.Trajectory.getDefaultInstance()
+ : predictedTrajectory_;
+ } else {
+ return predictedTrajectoryBuilder_.getMessage();
+ }
+ }
+ /**
+ *
+ *
+ *
+ * Required. Spec for predicted tool call trajectory.
+ *
+ *
+ *
+ * optional .google.cloud.aiplatform.v1beta1.Trajectory predicted_trajectory = 1 [(.google.api.field_behavior) = REQUIRED];
+ *
+ */
+ public Builder setPredictedTrajectory(com.google.cloud.aiplatform.v1beta1.Trajectory value) {
+ if (predictedTrajectoryBuilder_ == null) {
+ if (value == null) {
+ throw new NullPointerException();
+ }
+ predictedTrajectory_ = value;
+ } else {
+ predictedTrajectoryBuilder_.setMessage(value);
+ }
+ bitField0_ |= 0x00000001;
+ onChanged();
+ return this;
+ }
+ /**
+ *
+ *
+ *
+ * Required. Spec for predicted tool call trajectory.
+ *
+ *
+ *
+ * optional .google.cloud.aiplatform.v1beta1.Trajectory predicted_trajectory = 1 [(.google.api.field_behavior) = REQUIRED];
+ *
+ */
+ public Builder setPredictedTrajectory(
+ com.google.cloud.aiplatform.v1beta1.Trajectory.Builder builderForValue) {
+ if (predictedTrajectoryBuilder_ == null) {
+ predictedTrajectory_ = builderForValue.build();
+ } else {
+ predictedTrajectoryBuilder_.setMessage(builderForValue.build());
+ }
+ bitField0_ |= 0x00000001;
+ onChanged();
+ return this;
+ }
+ /**
+ *
+ *
+ *
+ * Required. Spec for predicted tool call trajectory.
+ *
+ *
+ *
+ * optional .google.cloud.aiplatform.v1beta1.Trajectory predicted_trajectory = 1 [(.google.api.field_behavior) = REQUIRED];
+ *
+ */
+ public Builder mergePredictedTrajectory(com.google.cloud.aiplatform.v1beta1.Trajectory value) {
+ if (predictedTrajectoryBuilder_ == null) {
+ if (((bitField0_ & 0x00000001) != 0)
+ && predictedTrajectory_ != null
+ && predictedTrajectory_
+ != com.google.cloud.aiplatform.v1beta1.Trajectory.getDefaultInstance()) {
+ getPredictedTrajectoryBuilder().mergeFrom(value);
+ } else {
+ predictedTrajectory_ = value;
+ }
+ } else {
+ predictedTrajectoryBuilder_.mergeFrom(value);
+ }
+ if (predictedTrajectory_ != null) {
+ bitField0_ |= 0x00000001;
+ onChanged();
+ }
+ return this;
+ }
+ /**
+ *
+ *
+ *
+ * Required. Spec for predicted tool call trajectory.
+ *
+ *
+ *
+ * optional .google.cloud.aiplatform.v1beta1.Trajectory predicted_trajectory = 1 [(.google.api.field_behavior) = REQUIRED];
+ *
+ */
+ public Builder clearPredictedTrajectory() {
+ bitField0_ = (bitField0_ & ~0x00000001);
+ predictedTrajectory_ = null;
+ if (predictedTrajectoryBuilder_ != null) {
+ predictedTrajectoryBuilder_.dispose();
+ predictedTrajectoryBuilder_ = null;
+ }
+ onChanged();
+ return this;
+ }
+ /**
+ *
+ *
+ *
+ * Required. Spec for predicted tool call trajectory.
+ *
+ *
+ *
+ * optional .google.cloud.aiplatform.v1beta1.Trajectory predicted_trajectory = 1 [(.google.api.field_behavior) = REQUIRED];
+ *
+ */
+ public com.google.cloud.aiplatform.v1beta1.Trajectory.Builder getPredictedTrajectoryBuilder() {
+ bitField0_ |= 0x00000001;
+ onChanged();
+ return getPredictedTrajectoryFieldBuilder().getBuilder();
+ }
+ /**
+ *
+ *
+ *
+ * Required. Spec for predicted tool call trajectory.
+ *
+ *
+ *
+ * optional .google.cloud.aiplatform.v1beta1.Trajectory predicted_trajectory = 1 [(.google.api.field_behavior) = REQUIRED];
+ *
+ */
+ public com.google.cloud.aiplatform.v1beta1.TrajectoryOrBuilder
+ getPredictedTrajectoryOrBuilder() {
+ if (predictedTrajectoryBuilder_ != null) {
+ return predictedTrajectoryBuilder_.getMessageOrBuilder();
+ } else {
+ return predictedTrajectory_ == null
+ ? com.google.cloud.aiplatform.v1beta1.Trajectory.getDefaultInstance()
+ : predictedTrajectory_;
+ }
+ }
+ /**
+ *
+ *
+ *
+ * Required. Spec for predicted tool call trajectory.
+ *
+ *
+ *
+ * optional .google.cloud.aiplatform.v1beta1.Trajectory predicted_trajectory = 1 [(.google.api.field_behavior) = REQUIRED];
+ *
+ */
+ private com.google.protobuf.SingleFieldBuilderV3<
+ com.google.cloud.aiplatform.v1beta1.Trajectory,
+ com.google.cloud.aiplatform.v1beta1.Trajectory.Builder,
+ com.google.cloud.aiplatform.v1beta1.TrajectoryOrBuilder>
+ getPredictedTrajectoryFieldBuilder() {
+ if (predictedTrajectoryBuilder_ == null) {
+ predictedTrajectoryBuilder_ =
+ new com.google.protobuf.SingleFieldBuilderV3<
+ com.google.cloud.aiplatform.v1beta1.Trajectory,
+ com.google.cloud.aiplatform.v1beta1.Trajectory.Builder,
+ com.google.cloud.aiplatform.v1beta1.TrajectoryOrBuilder>(
+ getPredictedTrajectory(), getParentForChildren(), isClean());
+ predictedTrajectory_ = null;
+ }
+ return predictedTrajectoryBuilder_;
+ }
+
+ private com.google.cloud.aiplatform.v1beta1.Trajectory referenceTrajectory_;
+ private com.google.protobuf.SingleFieldBuilderV3<
+ com.google.cloud.aiplatform.v1beta1.Trajectory,
+ com.google.cloud.aiplatform.v1beta1.Trajectory.Builder,
+ com.google.cloud.aiplatform.v1beta1.TrajectoryOrBuilder>
+ referenceTrajectoryBuilder_;
+ /**
+ *
+ *
+ *
+ * Required. Spec for reference tool call trajectory.
+ *
+ *
+ *
+ * optional .google.cloud.aiplatform.v1beta1.Trajectory reference_trajectory = 2 [(.google.api.field_behavior) = REQUIRED];
+ *
+ *
+ * @return Whether the referenceTrajectory field is set.
+ */
+ public boolean hasReferenceTrajectory() {
+ return ((bitField0_ & 0x00000002) != 0);
+ }
+ /**
+ *
+ *
+ *
+ * Required. Spec for reference tool call trajectory.
+ *
+ *
+ *
+ * optional .google.cloud.aiplatform.v1beta1.Trajectory reference_trajectory = 2 [(.google.api.field_behavior) = REQUIRED];
+ *
+ *
+ * @return The referenceTrajectory.
+ */
+ public com.google.cloud.aiplatform.v1beta1.Trajectory getReferenceTrajectory() {
+ if (referenceTrajectoryBuilder_ == null) {
+ return referenceTrajectory_ == null
+ ? com.google.cloud.aiplatform.v1beta1.Trajectory.getDefaultInstance()
+ : referenceTrajectory_;
+ } else {
+ return referenceTrajectoryBuilder_.getMessage();
+ }
+ }
+ /**
+ *
+ *
+ *
+ * Required. Spec for reference tool call trajectory.
+ *
+ *
+ *
+ * optional .google.cloud.aiplatform.v1beta1.Trajectory reference_trajectory = 2 [(.google.api.field_behavior) = REQUIRED];
+ *
+ */
+ public Builder setReferenceTrajectory(com.google.cloud.aiplatform.v1beta1.Trajectory value) {
+ if (referenceTrajectoryBuilder_ == null) {
+ if (value == null) {
+ throw new NullPointerException();
+ }
+ referenceTrajectory_ = value;
+ } else {
+ referenceTrajectoryBuilder_.setMessage(value);
+ }
+ bitField0_ |= 0x00000002;
+ onChanged();
+ return this;
+ }
+ /**
+ *
+ *
+ *
+ * Required. Spec for reference tool call trajectory.
+ *
+ *
+ *
+ * optional .google.cloud.aiplatform.v1beta1.Trajectory reference_trajectory = 2 [(.google.api.field_behavior) = REQUIRED];
+ *
+ */
+ public Builder setReferenceTrajectory(
+ com.google.cloud.aiplatform.v1beta1.Trajectory.Builder builderForValue) {
+ if (referenceTrajectoryBuilder_ == null) {
+ referenceTrajectory_ = builderForValue.build();
+ } else {
+ referenceTrajectoryBuilder_.setMessage(builderForValue.build());
+ }
+ bitField0_ |= 0x00000002;
+ onChanged();
+ return this;
+ }
+ /**
+ *
+ *
+ *
+ * Required. Spec for reference tool call trajectory.
+ *
+ *
+ *
+ * optional .google.cloud.aiplatform.v1beta1.Trajectory reference_trajectory = 2 [(.google.api.field_behavior) = REQUIRED];
+ *
+ */
+ public Builder mergeReferenceTrajectory(com.google.cloud.aiplatform.v1beta1.Trajectory value) {
+ if (referenceTrajectoryBuilder_ == null) {
+ if (((bitField0_ & 0x00000002) != 0)
+ && referenceTrajectory_ != null
+ && referenceTrajectory_
+ != com.google.cloud.aiplatform.v1beta1.Trajectory.getDefaultInstance()) {
+ getReferenceTrajectoryBuilder().mergeFrom(value);
+ } else {
+ referenceTrajectory_ = value;
+ }
+ } else {
+ referenceTrajectoryBuilder_.mergeFrom(value);
+ }
+ if (referenceTrajectory_ != null) {
+ bitField0_ |= 0x00000002;
+ onChanged();
+ }
+ return this;
+ }
+ /**
+ *
+ *
+ *
+ * Required. Spec for reference tool call trajectory.
+ *
+ *
+ *
+ * optional .google.cloud.aiplatform.v1beta1.Trajectory reference_trajectory = 2 [(.google.api.field_behavior) = REQUIRED];
+ *
+ */
+ public Builder clearReferenceTrajectory() {
+ bitField0_ = (bitField0_ & ~0x00000002);
+ referenceTrajectory_ = null;
+ if (referenceTrajectoryBuilder_ != null) {
+ referenceTrajectoryBuilder_.dispose();
+ referenceTrajectoryBuilder_ = null;
+ }
+ onChanged();
+ return this;
+ }
+ /**
+ *
+ *
+ *
+ * Required. Spec for reference tool call trajectory.
+ *
+ *
+ *
+ * optional .google.cloud.aiplatform.v1beta1.Trajectory reference_trajectory = 2 [(.google.api.field_behavior) = REQUIRED];
+ *
+ */
+ public com.google.cloud.aiplatform.v1beta1.Trajectory.Builder getReferenceTrajectoryBuilder() {
+ bitField0_ |= 0x00000002;
+ onChanged();
+ return getReferenceTrajectoryFieldBuilder().getBuilder();
+ }
+ /**
+ *
+ *
+ *
+ * Required. Spec for reference tool call trajectory.
+ *
+ *
+ *
+ * optional .google.cloud.aiplatform.v1beta1.Trajectory reference_trajectory = 2 [(.google.api.field_behavior) = REQUIRED];
+ *
+ */
+ public com.google.cloud.aiplatform.v1beta1.TrajectoryOrBuilder
+ getReferenceTrajectoryOrBuilder() {
+ if (referenceTrajectoryBuilder_ != null) {
+ return referenceTrajectoryBuilder_.getMessageOrBuilder();
+ } else {
+ return referenceTrajectory_ == null
+ ? com.google.cloud.aiplatform.v1beta1.Trajectory.getDefaultInstance()
+ : referenceTrajectory_;
+ }
+ }
+ /**
+ *
+ *
+ *
+ * Required. Spec for reference tool call trajectory.
+ *
+ *
+ *
+ * optional .google.cloud.aiplatform.v1beta1.Trajectory reference_trajectory = 2 [(.google.api.field_behavior) = REQUIRED];
+ *
+ */
+ private com.google.protobuf.SingleFieldBuilderV3<
+ com.google.cloud.aiplatform.v1beta1.Trajectory,
+ com.google.cloud.aiplatform.v1beta1.Trajectory.Builder,
+ com.google.cloud.aiplatform.v1beta1.TrajectoryOrBuilder>
+ getReferenceTrajectoryFieldBuilder() {
+ if (referenceTrajectoryBuilder_ == null) {
+ referenceTrajectoryBuilder_ =
+ new com.google.protobuf.SingleFieldBuilderV3<
+ com.google.cloud.aiplatform.v1beta1.Trajectory,
+ com.google.cloud.aiplatform.v1beta1.Trajectory.Builder,
+ com.google.cloud.aiplatform.v1beta1.TrajectoryOrBuilder>(
+ getReferenceTrajectory(), getParentForChildren(), isClean());
+ referenceTrajectory_ = null;
+ }
+ return referenceTrajectoryBuilder_;
+ }
+
+ @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:google.cloud.aiplatform.v1beta1.TrajectoryAnyOrderMatchInstance)
+ }
+
+ // @@protoc_insertion_point(class_scope:google.cloud.aiplatform.v1beta1.TrajectoryAnyOrderMatchInstance)
+ private static final com.google.cloud.aiplatform.v1beta1.TrajectoryAnyOrderMatchInstance
+ DEFAULT_INSTANCE;
+
+ static {
+ DEFAULT_INSTANCE = new com.google.cloud.aiplatform.v1beta1.TrajectoryAnyOrderMatchInstance();
+ }
+
+ public static com.google.cloud.aiplatform.v1beta1.TrajectoryAnyOrderMatchInstance
+ getDefaultInstance() {
+ return DEFAULT_INSTANCE;
+ }
+
+ private static final com.google.protobuf.Parser PARSER =
+ new com.google.protobuf.AbstractParser() {
+ @java.lang.Override
+ public TrajectoryAnyOrderMatchInstance 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 com.google.cloud.aiplatform.v1beta1.TrajectoryAnyOrderMatchInstance
+ getDefaultInstanceForType() {
+ return DEFAULT_INSTANCE;
+ }
+}
diff --git a/java-aiplatform/proto-google-cloud-aiplatform-v1beta1/src/main/java/com/google/cloud/aiplatform/v1beta1/TrajectoryAnyOrderMatchInstanceOrBuilder.java b/java-aiplatform/proto-google-cloud-aiplatform-v1beta1/src/main/java/com/google/cloud/aiplatform/v1beta1/TrajectoryAnyOrderMatchInstanceOrBuilder.java
new file mode 100644
index 000000000000..5b561314f9ce
--- /dev/null
+++ b/java-aiplatform/proto-google-cloud-aiplatform-v1beta1/src/main/java/com/google/cloud/aiplatform/v1beta1/TrajectoryAnyOrderMatchInstanceOrBuilder.java
@@ -0,0 +1,108 @@
+/*
+ * Copyright 2024 Google LLC
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ * https://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+// Generated by the protocol buffer compiler. DO NOT EDIT!
+// source: google/cloud/aiplatform/v1beta1/evaluation_service.proto
+
+// Protobuf Java Version: 3.25.5
+package com.google.cloud.aiplatform.v1beta1;
+
+public interface TrajectoryAnyOrderMatchInstanceOrBuilder
+ extends
+ // @@protoc_insertion_point(interface_extends:google.cloud.aiplatform.v1beta1.TrajectoryAnyOrderMatchInstance)
+ com.google.protobuf.MessageOrBuilder {
+
+ /**
+ *
+ *
+ *
+ * Required. Spec for predicted tool call trajectory.
+ *
+ *
+ *
+ * optional .google.cloud.aiplatform.v1beta1.Trajectory predicted_trajectory = 1 [(.google.api.field_behavior) = REQUIRED];
+ *
+ *
+ * @return Whether the predictedTrajectory field is set.
+ */
+ boolean hasPredictedTrajectory();
+ /**
+ *
+ *
+ *
+ * Required. Spec for predicted tool call trajectory.
+ *
+ *
+ *
+ * optional .google.cloud.aiplatform.v1beta1.Trajectory predicted_trajectory = 1 [(.google.api.field_behavior) = REQUIRED];
+ *
+ *
+ * @return The predictedTrajectory.
+ */
+ com.google.cloud.aiplatform.v1beta1.Trajectory getPredictedTrajectory();
+ /**
+ *
+ *
+ *
+ * Required. Spec for predicted tool call trajectory.
+ *
+ *
+ *
+ * optional .google.cloud.aiplatform.v1beta1.Trajectory predicted_trajectory = 1 [(.google.api.field_behavior) = REQUIRED];
+ *
+ */
+ com.google.cloud.aiplatform.v1beta1.TrajectoryOrBuilder getPredictedTrajectoryOrBuilder();
+
+ /**
+ *
+ *
+ *
+ * Required. Spec for reference tool call trajectory.
+ *
+ *
+ *
+ * optional .google.cloud.aiplatform.v1beta1.Trajectory reference_trajectory = 2 [(.google.api.field_behavior) = REQUIRED];
+ *
+ *
+ * @return Whether the referenceTrajectory field is set.
+ */
+ boolean hasReferenceTrajectory();
+ /**
+ *
+ *
+ *
+ * Required. Spec for reference tool call trajectory.
+ *
+ *
+ *
+ * optional .google.cloud.aiplatform.v1beta1.Trajectory reference_trajectory = 2 [(.google.api.field_behavior) = REQUIRED];
+ *
+ *
+ * @return The referenceTrajectory.
+ */
+ com.google.cloud.aiplatform.v1beta1.Trajectory getReferenceTrajectory();
+ /**
+ *
+ *
+ *
+ * Required. Spec for reference tool call trajectory.
+ *
+ *
+ *
+ * optional .google.cloud.aiplatform.v1beta1.Trajectory reference_trajectory = 2 [(.google.api.field_behavior) = REQUIRED];
+ *
+ */
+ com.google.cloud.aiplatform.v1beta1.TrajectoryOrBuilder getReferenceTrajectoryOrBuilder();
+}
diff --git a/java-aiplatform/proto-google-cloud-aiplatform-v1beta1/src/main/java/com/google/cloud/aiplatform/v1beta1/TrajectoryAnyOrderMatchMetricValue.java b/java-aiplatform/proto-google-cloud-aiplatform-v1beta1/src/main/java/com/google/cloud/aiplatform/v1beta1/TrajectoryAnyOrderMatchMetricValue.java
new file mode 100644
index 000000000000..107f09e82120
--- /dev/null
+++ b/java-aiplatform/proto-google-cloud-aiplatform-v1beta1/src/main/java/com/google/cloud/aiplatform/v1beta1/TrajectoryAnyOrderMatchMetricValue.java
@@ -0,0 +1,589 @@
+/*
+ * Copyright 2024 Google LLC
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ * https://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+// Generated by the protocol buffer compiler. DO NOT EDIT!
+// source: google/cloud/aiplatform/v1beta1/evaluation_service.proto
+
+// Protobuf Java Version: 3.25.5
+package com.google.cloud.aiplatform.v1beta1;
+
+/**
+ *
+ *
+ *
+ * TrajectoryAnyOrderMatch metric value for an instance.
+ *
+ *
+ * Protobuf type {@code google.cloud.aiplatform.v1beta1.TrajectoryAnyOrderMatchMetricValue}
+ */
+public final class TrajectoryAnyOrderMatchMetricValue extends com.google.protobuf.GeneratedMessageV3
+ implements
+ // @@protoc_insertion_point(message_implements:google.cloud.aiplatform.v1beta1.TrajectoryAnyOrderMatchMetricValue)
+ TrajectoryAnyOrderMatchMetricValueOrBuilder {
+ private static final long serialVersionUID = 0L;
+ // Use TrajectoryAnyOrderMatchMetricValue.newBuilder() to construct.
+ private TrajectoryAnyOrderMatchMetricValue(
+ com.google.protobuf.GeneratedMessageV3.Builder> builder) {
+ super(builder);
+ }
+
+ private TrajectoryAnyOrderMatchMetricValue() {}
+
+ @java.lang.Override
+ @SuppressWarnings({"unused"})
+ protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
+ return new TrajectoryAnyOrderMatchMetricValue();
+ }
+
+ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+ return com.google.cloud.aiplatform.v1beta1.EvaluationServiceProto
+ .internal_static_google_cloud_aiplatform_v1beta1_TrajectoryAnyOrderMatchMetricValue_descriptor;
+ }
+
+ @java.lang.Override
+ protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
+ internalGetFieldAccessorTable() {
+ return com.google.cloud.aiplatform.v1beta1.EvaluationServiceProto
+ .internal_static_google_cloud_aiplatform_v1beta1_TrajectoryAnyOrderMatchMetricValue_fieldAccessorTable
+ .ensureFieldAccessorsInitialized(
+ com.google.cloud.aiplatform.v1beta1.TrajectoryAnyOrderMatchMetricValue.class,
+ com.google.cloud.aiplatform.v1beta1.TrajectoryAnyOrderMatchMetricValue.Builder.class);
+ }
+
+ private int bitField0_;
+ public static final int SCORE_FIELD_NUMBER = 1;
+ private float score_ = 0F;
+ /**
+ *
+ *
+ *
+ * Output only. TrajectoryAnyOrderMatch score.
+ *
+ *
+ * optional float score = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
+ *
+ * @return Whether the score field is set.
+ */
+ @java.lang.Override
+ public boolean hasScore() {
+ return ((bitField0_ & 0x00000001) != 0);
+ }
+ /**
+ *
+ *
+ *
+ * Output only. TrajectoryAnyOrderMatch score.
+ *
+ *
+ * optional float score = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
+ *
+ * @return The score.
+ */
+ @java.lang.Override
+ public float getScore() {
+ return score_;
+ }
+
+ private byte memoizedIsInitialized = -1;
+
+ @java.lang.Override
+ public final boolean isInitialized() {
+ byte isInitialized = memoizedIsInitialized;
+ if (isInitialized == 1) return true;
+ if (isInitialized == 0) return false;
+
+ memoizedIsInitialized = 1;
+ return true;
+ }
+
+ @java.lang.Override
+ public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException {
+ if (((bitField0_ & 0x00000001) != 0)) {
+ output.writeFloat(1, score_);
+ }
+ getUnknownFields().writeTo(output);
+ }
+
+ @java.lang.Override
+ public int getSerializedSize() {
+ int size = memoizedSize;
+ if (size != -1) return size;
+
+ size = 0;
+ if (((bitField0_ & 0x00000001) != 0)) {
+ size += com.google.protobuf.CodedOutputStream.computeFloatSize(1, score_);
+ }
+ 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 com.google.cloud.aiplatform.v1beta1.TrajectoryAnyOrderMatchMetricValue)) {
+ return super.equals(obj);
+ }
+ com.google.cloud.aiplatform.v1beta1.TrajectoryAnyOrderMatchMetricValue other =
+ (com.google.cloud.aiplatform.v1beta1.TrajectoryAnyOrderMatchMetricValue) obj;
+
+ if (hasScore() != other.hasScore()) return false;
+ if (hasScore()) {
+ if (java.lang.Float.floatToIntBits(getScore())
+ != java.lang.Float.floatToIntBits(other.getScore())) 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 (hasScore()) {
+ hash = (37 * hash) + SCORE_FIELD_NUMBER;
+ hash = (53 * hash) + java.lang.Float.floatToIntBits(getScore());
+ }
+ hash = (29 * hash) + getUnknownFields().hashCode();
+ memoizedHashCode = hash;
+ return hash;
+ }
+
+ public static com.google.cloud.aiplatform.v1beta1.TrajectoryAnyOrderMatchMetricValue parseFrom(
+ java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException {
+ return PARSER.parseFrom(data);
+ }
+
+ public static com.google.cloud.aiplatform.v1beta1.TrajectoryAnyOrderMatchMetricValue parseFrom(
+ java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+ throws com.google.protobuf.InvalidProtocolBufferException {
+ return PARSER.parseFrom(data, extensionRegistry);
+ }
+
+ public static com.google.cloud.aiplatform.v1beta1.TrajectoryAnyOrderMatchMetricValue parseFrom(
+ com.google.protobuf.ByteString data)
+ throws com.google.protobuf.InvalidProtocolBufferException {
+ return PARSER.parseFrom(data);
+ }
+
+ public static com.google.cloud.aiplatform.v1beta1.TrajectoryAnyOrderMatchMetricValue parseFrom(
+ com.google.protobuf.ByteString data,
+ com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+ throws com.google.protobuf.InvalidProtocolBufferException {
+ return PARSER.parseFrom(data, extensionRegistry);
+ }
+
+ public static com.google.cloud.aiplatform.v1beta1.TrajectoryAnyOrderMatchMetricValue parseFrom(
+ byte[] data) throws com.google.protobuf.InvalidProtocolBufferException {
+ return PARSER.parseFrom(data);
+ }
+
+ public static com.google.cloud.aiplatform.v1beta1.TrajectoryAnyOrderMatchMetricValue parseFrom(
+ byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+ throws com.google.protobuf.InvalidProtocolBufferException {
+ return PARSER.parseFrom(data, extensionRegistry);
+ }
+
+ public static com.google.cloud.aiplatform.v1beta1.TrajectoryAnyOrderMatchMetricValue parseFrom(
+ java.io.InputStream input) throws java.io.IOException {
+ return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input);
+ }
+
+ public static com.google.cloud.aiplatform.v1beta1.TrajectoryAnyOrderMatchMetricValue parseFrom(
+ java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+ throws java.io.IOException {
+ return com.google.protobuf.GeneratedMessageV3.parseWithIOException(
+ PARSER, input, extensionRegistry);
+ }
+
+ public static com.google.cloud.aiplatform.v1beta1.TrajectoryAnyOrderMatchMetricValue
+ parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException {
+ return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input);
+ }
+
+ public static com.google.cloud.aiplatform.v1beta1.TrajectoryAnyOrderMatchMetricValue
+ parseDelimitedFrom(
+ java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+ throws java.io.IOException {
+ return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(
+ PARSER, input, extensionRegistry);
+ }
+
+ public static com.google.cloud.aiplatform.v1beta1.TrajectoryAnyOrderMatchMetricValue parseFrom(
+ com.google.protobuf.CodedInputStream input) throws java.io.IOException {
+ return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input);
+ }
+
+ public static com.google.cloud.aiplatform.v1beta1.TrajectoryAnyOrderMatchMetricValue 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(
+ com.google.cloud.aiplatform.v1beta1.TrajectoryAnyOrderMatchMetricValue 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;
+ }
+ /**
+ *
+ *
+ *
+ * TrajectoryAnyOrderMatch metric value for an instance.
+ *
+ *
+ * Protobuf type {@code google.cloud.aiplatform.v1beta1.TrajectoryAnyOrderMatchMetricValue}
+ */
+ public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder
+ implements
+ // @@protoc_insertion_point(builder_implements:google.cloud.aiplatform.v1beta1.TrajectoryAnyOrderMatchMetricValue)
+ com.google.cloud.aiplatform.v1beta1.TrajectoryAnyOrderMatchMetricValueOrBuilder {
+ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+ return com.google.cloud.aiplatform.v1beta1.EvaluationServiceProto
+ .internal_static_google_cloud_aiplatform_v1beta1_TrajectoryAnyOrderMatchMetricValue_descriptor;
+ }
+
+ @java.lang.Override
+ protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
+ internalGetFieldAccessorTable() {
+ return com.google.cloud.aiplatform.v1beta1.EvaluationServiceProto
+ .internal_static_google_cloud_aiplatform_v1beta1_TrajectoryAnyOrderMatchMetricValue_fieldAccessorTable
+ .ensureFieldAccessorsInitialized(
+ com.google.cloud.aiplatform.v1beta1.TrajectoryAnyOrderMatchMetricValue.class,
+ com.google.cloud.aiplatform.v1beta1.TrajectoryAnyOrderMatchMetricValue.Builder.class);
+ }
+
+ // Construct using
+ // com.google.cloud.aiplatform.v1beta1.TrajectoryAnyOrderMatchMetricValue.newBuilder()
+ private Builder() {}
+
+ private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+ super(parent);
+ }
+
+ @java.lang.Override
+ public Builder clear() {
+ super.clear();
+ bitField0_ = 0;
+ score_ = 0F;
+ return this;
+ }
+
+ @java.lang.Override
+ public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
+ return com.google.cloud.aiplatform.v1beta1.EvaluationServiceProto
+ .internal_static_google_cloud_aiplatform_v1beta1_TrajectoryAnyOrderMatchMetricValue_descriptor;
+ }
+
+ @java.lang.Override
+ public com.google.cloud.aiplatform.v1beta1.TrajectoryAnyOrderMatchMetricValue
+ getDefaultInstanceForType() {
+ return com.google.cloud.aiplatform.v1beta1.TrajectoryAnyOrderMatchMetricValue
+ .getDefaultInstance();
+ }
+
+ @java.lang.Override
+ public com.google.cloud.aiplatform.v1beta1.TrajectoryAnyOrderMatchMetricValue build() {
+ com.google.cloud.aiplatform.v1beta1.TrajectoryAnyOrderMatchMetricValue result =
+ buildPartial();
+ if (!result.isInitialized()) {
+ throw newUninitializedMessageException(result);
+ }
+ return result;
+ }
+
+ @java.lang.Override
+ public com.google.cloud.aiplatform.v1beta1.TrajectoryAnyOrderMatchMetricValue buildPartial() {
+ com.google.cloud.aiplatform.v1beta1.TrajectoryAnyOrderMatchMetricValue result =
+ new com.google.cloud.aiplatform.v1beta1.TrajectoryAnyOrderMatchMetricValue(this);
+ if (bitField0_ != 0) {
+ buildPartial0(result);
+ }
+ onBuilt();
+ return result;
+ }
+
+ private void buildPartial0(
+ com.google.cloud.aiplatform.v1beta1.TrajectoryAnyOrderMatchMetricValue result) {
+ int from_bitField0_ = bitField0_;
+ int to_bitField0_ = 0;
+ if (((from_bitField0_ & 0x00000001) != 0)) {
+ result.score_ = score_;
+ to_bitField0_ |= 0x00000001;
+ }
+ result.bitField0_ |= to_bitField0_;
+ }
+
+ @java.lang.Override
+ public Builder clone() {
+ return super.clone();
+ }
+
+ @java.lang.Override
+ public Builder setField(
+ com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+ return super.setField(field, value);
+ }
+
+ @java.lang.Override
+ public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) {
+ return super.clearField(field);
+ }
+
+ @java.lang.Override
+ public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) {
+ return super.clearOneof(oneof);
+ }
+
+ @java.lang.Override
+ public Builder setRepeatedField(
+ com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) {
+ return super.setRepeatedField(field, index, value);
+ }
+
+ @java.lang.Override
+ public Builder addRepeatedField(
+ com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+ return super.addRepeatedField(field, value);
+ }
+
+ @java.lang.Override
+ public Builder mergeFrom(com.google.protobuf.Message other) {
+ if (other instanceof com.google.cloud.aiplatform.v1beta1.TrajectoryAnyOrderMatchMetricValue) {
+ return mergeFrom(
+ (com.google.cloud.aiplatform.v1beta1.TrajectoryAnyOrderMatchMetricValue) other);
+ } else {
+ super.mergeFrom(other);
+ return this;
+ }
+ }
+
+ public Builder mergeFrom(
+ com.google.cloud.aiplatform.v1beta1.TrajectoryAnyOrderMatchMetricValue other) {
+ if (other
+ == com.google.cloud.aiplatform.v1beta1.TrajectoryAnyOrderMatchMetricValue
+ .getDefaultInstance()) return this;
+ if (other.hasScore()) {
+ setScore(other.getScore());
+ }
+ 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 13:
+ {
+ score_ = input.readFloat();
+ bitField0_ |= 0x00000001;
+ break;
+ } // case 13
+ default:
+ {
+ if (!super.parseUnknownField(input, extensionRegistry, tag)) {
+ done = true; // was an endgroup tag
+ }
+ break;
+ } // default:
+ } // switch (tag)
+ } // while (!done)
+ } catch (com.google.protobuf.InvalidProtocolBufferException e) {
+ throw e.unwrapIOException();
+ } finally {
+ onChanged();
+ } // finally
+ return this;
+ }
+
+ private int bitField0_;
+
+ private float score_;
+ /**
+ *
+ *
+ *
+ * Output only. TrajectoryAnyOrderMatch score.
+ *
+ *
+ * optional float score = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
+ *
+ * @return Whether the score field is set.
+ */
+ @java.lang.Override
+ public boolean hasScore() {
+ return ((bitField0_ & 0x00000001) != 0);
+ }
+ /**
+ *
+ *
+ *
+ * Output only. TrajectoryAnyOrderMatch score.
+ *
+ *
+ * optional float score = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
+ *
+ * @return The score.
+ */
+ @java.lang.Override
+ public float getScore() {
+ return score_;
+ }
+ /**
+ *
+ *
+ *
+ * Output only. TrajectoryAnyOrderMatch score.
+ *
+ *
+ * optional float score = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
+ *
+ * @param value The score to set.
+ * @return This builder for chaining.
+ */
+ public Builder setScore(float value) {
+
+ score_ = value;
+ bitField0_ |= 0x00000001;
+ onChanged();
+ return this;
+ }
+ /**
+ *
+ *
+ *
+ * Output only. TrajectoryAnyOrderMatch score.
+ *
+ *
+ * optional float score = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
+ *
+ * @return This builder for chaining.
+ */
+ public Builder clearScore() {
+ bitField0_ = (bitField0_ & ~0x00000001);
+ score_ = 0F;
+ onChanged();
+ return this;
+ }
+
+ @java.lang.Override
+ public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) {
+ return super.setUnknownFields(unknownFields);
+ }
+
+ @java.lang.Override
+ public final Builder mergeUnknownFields(
+ final com.google.protobuf.UnknownFieldSet unknownFields) {
+ return super.mergeUnknownFields(unknownFields);
+ }
+
+ // @@protoc_insertion_point(builder_scope:google.cloud.aiplatform.v1beta1.TrajectoryAnyOrderMatchMetricValue)
+ }
+
+ // @@protoc_insertion_point(class_scope:google.cloud.aiplatform.v1beta1.TrajectoryAnyOrderMatchMetricValue)
+ private static final com.google.cloud.aiplatform.v1beta1.TrajectoryAnyOrderMatchMetricValue
+ DEFAULT_INSTANCE;
+
+ static {
+ DEFAULT_INSTANCE = new com.google.cloud.aiplatform.v1beta1.TrajectoryAnyOrderMatchMetricValue();
+ }
+
+ public static com.google.cloud.aiplatform.v1beta1.TrajectoryAnyOrderMatchMetricValue
+ getDefaultInstance() {
+ return DEFAULT_INSTANCE;
+ }
+
+ private static final com.google.protobuf.Parser PARSER =
+ new com.google.protobuf.AbstractParser() {
+ @java.lang.Override
+ public TrajectoryAnyOrderMatchMetricValue 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 com.google.cloud.aiplatform.v1beta1.TrajectoryAnyOrderMatchMetricValue
+ getDefaultInstanceForType() {
+ return DEFAULT_INSTANCE;
+ }
+}
diff --git a/java-aiplatform/proto-google-cloud-aiplatform-v1beta1/src/main/java/com/google/cloud/aiplatform/v1beta1/TrajectoryAnyOrderMatchMetricValueOrBuilder.java b/java-aiplatform/proto-google-cloud-aiplatform-v1beta1/src/main/java/com/google/cloud/aiplatform/v1beta1/TrajectoryAnyOrderMatchMetricValueOrBuilder.java
new file mode 100644
index 000000000000..0bd00e9e9e2d
--- /dev/null
+++ b/java-aiplatform/proto-google-cloud-aiplatform-v1beta1/src/main/java/com/google/cloud/aiplatform/v1beta1/TrajectoryAnyOrderMatchMetricValueOrBuilder.java
@@ -0,0 +1,51 @@
+/*
+ * Copyright 2024 Google LLC
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ * https://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+// Generated by the protocol buffer compiler. DO NOT EDIT!
+// source: google/cloud/aiplatform/v1beta1/evaluation_service.proto
+
+// Protobuf Java Version: 3.25.5
+package com.google.cloud.aiplatform.v1beta1;
+
+public interface TrajectoryAnyOrderMatchMetricValueOrBuilder
+ extends
+ // @@protoc_insertion_point(interface_extends:google.cloud.aiplatform.v1beta1.TrajectoryAnyOrderMatchMetricValue)
+ com.google.protobuf.MessageOrBuilder {
+
+ /**
+ *
+ *
+ *
+ * Output only. TrajectoryAnyOrderMatch score.
+ *
+ *
+ * optional float score = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
+ *
+ * @return Whether the score field is set.
+ */
+ boolean hasScore();
+ /**
+ *
+ *
+ *
+ * Output only. TrajectoryAnyOrderMatch score.
+ *
+ *
+ * optional float score = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
+ *
+ * @return The score.
+ */
+ float getScore();
+}
diff --git a/java-aiplatform/proto-google-cloud-aiplatform-v1beta1/src/main/java/com/google/cloud/aiplatform/v1beta1/TrajectoryAnyOrderMatchResults.java b/java-aiplatform/proto-google-cloud-aiplatform-v1beta1/src/main/java/com/google/cloud/aiplatform/v1beta1/TrajectoryAnyOrderMatchResults.java
new file mode 100644
index 000000000000..fec21229e2fb
--- /dev/null
+++ b/java-aiplatform/proto-google-cloud-aiplatform-v1beta1/src/main/java/com/google/cloud/aiplatform/v1beta1/TrajectoryAnyOrderMatchResults.java
@@ -0,0 +1,1040 @@
+/*
+ * Copyright 2024 Google LLC
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ * https://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+// Generated by the protocol buffer compiler. DO NOT EDIT!
+// source: google/cloud/aiplatform/v1beta1/evaluation_service.proto
+
+// Protobuf Java Version: 3.25.5
+package com.google.cloud.aiplatform.v1beta1;
+
+/**
+ *
+ *
+ *
+ * Results for TrajectoryAnyOrderMatch metric.
+ *
+ *
+ * Protobuf type {@code google.cloud.aiplatform.v1beta1.TrajectoryAnyOrderMatchResults}
+ */
+public final class TrajectoryAnyOrderMatchResults extends com.google.protobuf.GeneratedMessageV3
+ implements
+ // @@protoc_insertion_point(message_implements:google.cloud.aiplatform.v1beta1.TrajectoryAnyOrderMatchResults)
+ TrajectoryAnyOrderMatchResultsOrBuilder {
+ private static final long serialVersionUID = 0L;
+ // Use TrajectoryAnyOrderMatchResults.newBuilder() to construct.
+ private TrajectoryAnyOrderMatchResults(
+ com.google.protobuf.GeneratedMessageV3.Builder> builder) {
+ super(builder);
+ }
+
+ private TrajectoryAnyOrderMatchResults() {
+ trajectoryAnyOrderMatchMetricValues_ = java.util.Collections.emptyList();
+ }
+
+ @java.lang.Override
+ @SuppressWarnings({"unused"})
+ protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
+ return new TrajectoryAnyOrderMatchResults();
+ }
+
+ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+ return com.google.cloud.aiplatform.v1beta1.EvaluationServiceProto
+ .internal_static_google_cloud_aiplatform_v1beta1_TrajectoryAnyOrderMatchResults_descriptor;
+ }
+
+ @java.lang.Override
+ protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
+ internalGetFieldAccessorTable() {
+ return com.google.cloud.aiplatform.v1beta1.EvaluationServiceProto
+ .internal_static_google_cloud_aiplatform_v1beta1_TrajectoryAnyOrderMatchResults_fieldAccessorTable
+ .ensureFieldAccessorsInitialized(
+ com.google.cloud.aiplatform.v1beta1.TrajectoryAnyOrderMatchResults.class,
+ com.google.cloud.aiplatform.v1beta1.TrajectoryAnyOrderMatchResults.Builder.class);
+ }
+
+ public static final int TRAJECTORY_ANY_ORDER_MATCH_METRIC_VALUES_FIELD_NUMBER = 1;
+
+ @SuppressWarnings("serial")
+ private java.util.List
+ trajectoryAnyOrderMatchMetricValues_;
+ /**
+ *
+ *
+ *
+ * Output only. TrajectoryAnyOrderMatch metric values.
+ *
+ *
+ *
+ * repeated .google.cloud.aiplatform.v1beta1.TrajectoryAnyOrderMatchMetricValue trajectory_any_order_match_metric_values = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
+ *
+ */
+ @java.lang.Override
+ public java.util.List
+ getTrajectoryAnyOrderMatchMetricValuesList() {
+ return trajectoryAnyOrderMatchMetricValues_;
+ }
+ /**
+ *
+ *
+ *
+ * Output only. TrajectoryAnyOrderMatch metric values.
+ *
+ *
+ *
+ * repeated .google.cloud.aiplatform.v1beta1.TrajectoryAnyOrderMatchMetricValue trajectory_any_order_match_metric_values = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
+ *
+ */
+ @java.lang.Override
+ public java.util.List<
+ ? extends com.google.cloud.aiplatform.v1beta1.TrajectoryAnyOrderMatchMetricValueOrBuilder>
+ getTrajectoryAnyOrderMatchMetricValuesOrBuilderList() {
+ return trajectoryAnyOrderMatchMetricValues_;
+ }
+ /**
+ *
+ *
+ *
+ * Output only. TrajectoryAnyOrderMatch metric values.
+ *
+ *
+ *
+ * repeated .google.cloud.aiplatform.v1beta1.TrajectoryAnyOrderMatchMetricValue trajectory_any_order_match_metric_values = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
+ *
+ */
+ @java.lang.Override
+ public int getTrajectoryAnyOrderMatchMetricValuesCount() {
+ return trajectoryAnyOrderMatchMetricValues_.size();
+ }
+ /**
+ *
+ *
+ *
+ * Output only. TrajectoryAnyOrderMatch metric values.
+ *
+ *
+ *
+ * repeated .google.cloud.aiplatform.v1beta1.TrajectoryAnyOrderMatchMetricValue trajectory_any_order_match_metric_values = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
+ *
+ */
+ @java.lang.Override
+ public com.google.cloud.aiplatform.v1beta1.TrajectoryAnyOrderMatchMetricValue
+ getTrajectoryAnyOrderMatchMetricValues(int index) {
+ return trajectoryAnyOrderMatchMetricValues_.get(index);
+ }
+ /**
+ *
+ *
+ *
+ * Output only. TrajectoryAnyOrderMatch metric values.
+ *
+ *
+ *
+ * repeated .google.cloud.aiplatform.v1beta1.TrajectoryAnyOrderMatchMetricValue trajectory_any_order_match_metric_values = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
+ *
+ */
+ @java.lang.Override
+ public com.google.cloud.aiplatform.v1beta1.TrajectoryAnyOrderMatchMetricValueOrBuilder
+ getTrajectoryAnyOrderMatchMetricValuesOrBuilder(int index) {
+ return trajectoryAnyOrderMatchMetricValues_.get(index);
+ }
+
+ private byte memoizedIsInitialized = -1;
+
+ @java.lang.Override
+ public final boolean isInitialized() {
+ byte isInitialized = memoizedIsInitialized;
+ if (isInitialized == 1) return true;
+ if (isInitialized == 0) return false;
+
+ memoizedIsInitialized = 1;
+ return true;
+ }
+
+ @java.lang.Override
+ public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException {
+ for (int i = 0; i < trajectoryAnyOrderMatchMetricValues_.size(); i++) {
+ output.writeMessage(1, trajectoryAnyOrderMatchMetricValues_.get(i));
+ }
+ getUnknownFields().writeTo(output);
+ }
+
+ @java.lang.Override
+ public int getSerializedSize() {
+ int size = memoizedSize;
+ if (size != -1) return size;
+
+ size = 0;
+ for (int i = 0; i < trajectoryAnyOrderMatchMetricValues_.size(); i++) {
+ size +=
+ com.google.protobuf.CodedOutputStream.computeMessageSize(
+ 1, trajectoryAnyOrderMatchMetricValues_.get(i));
+ }
+ size += getUnknownFields().getSerializedSize();
+ memoizedSize = size;
+ return size;
+ }
+
+ @java.lang.Override
+ public boolean equals(final java.lang.Object obj) {
+ if (obj == this) {
+ return true;
+ }
+ if (!(obj instanceof com.google.cloud.aiplatform.v1beta1.TrajectoryAnyOrderMatchResults)) {
+ return super.equals(obj);
+ }
+ com.google.cloud.aiplatform.v1beta1.TrajectoryAnyOrderMatchResults other =
+ (com.google.cloud.aiplatform.v1beta1.TrajectoryAnyOrderMatchResults) obj;
+
+ if (!getTrajectoryAnyOrderMatchMetricValuesList()
+ .equals(other.getTrajectoryAnyOrderMatchMetricValuesList())) 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 (getTrajectoryAnyOrderMatchMetricValuesCount() > 0) {
+ hash = (37 * hash) + TRAJECTORY_ANY_ORDER_MATCH_METRIC_VALUES_FIELD_NUMBER;
+ hash = (53 * hash) + getTrajectoryAnyOrderMatchMetricValuesList().hashCode();
+ }
+ hash = (29 * hash) + getUnknownFields().hashCode();
+ memoizedHashCode = hash;
+ return hash;
+ }
+
+ public static com.google.cloud.aiplatform.v1beta1.TrajectoryAnyOrderMatchResults parseFrom(
+ java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException {
+ return PARSER.parseFrom(data);
+ }
+
+ public static com.google.cloud.aiplatform.v1beta1.TrajectoryAnyOrderMatchResults parseFrom(
+ java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+ throws com.google.protobuf.InvalidProtocolBufferException {
+ return PARSER.parseFrom(data, extensionRegistry);
+ }
+
+ public static com.google.cloud.aiplatform.v1beta1.TrajectoryAnyOrderMatchResults parseFrom(
+ com.google.protobuf.ByteString data)
+ throws com.google.protobuf.InvalidProtocolBufferException {
+ return PARSER.parseFrom(data);
+ }
+
+ public static com.google.cloud.aiplatform.v1beta1.TrajectoryAnyOrderMatchResults parseFrom(
+ com.google.protobuf.ByteString data,
+ com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+ throws com.google.protobuf.InvalidProtocolBufferException {
+ return PARSER.parseFrom(data, extensionRegistry);
+ }
+
+ public static com.google.cloud.aiplatform.v1beta1.TrajectoryAnyOrderMatchResults parseFrom(
+ byte[] data) throws com.google.protobuf.InvalidProtocolBufferException {
+ return PARSER.parseFrom(data);
+ }
+
+ public static com.google.cloud.aiplatform.v1beta1.TrajectoryAnyOrderMatchResults parseFrom(
+ byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+ throws com.google.protobuf.InvalidProtocolBufferException {
+ return PARSER.parseFrom(data, extensionRegistry);
+ }
+
+ public static com.google.cloud.aiplatform.v1beta1.TrajectoryAnyOrderMatchResults parseFrom(
+ java.io.InputStream input) throws java.io.IOException {
+ return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input);
+ }
+
+ public static com.google.cloud.aiplatform.v1beta1.TrajectoryAnyOrderMatchResults parseFrom(
+ java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+ throws java.io.IOException {
+ return com.google.protobuf.GeneratedMessageV3.parseWithIOException(
+ PARSER, input, extensionRegistry);
+ }
+
+ public static com.google.cloud.aiplatform.v1beta1.TrajectoryAnyOrderMatchResults
+ parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException {
+ return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input);
+ }
+
+ public static com.google.cloud.aiplatform.v1beta1.TrajectoryAnyOrderMatchResults
+ parseDelimitedFrom(
+ java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+ throws java.io.IOException {
+ return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(
+ PARSER, input, extensionRegistry);
+ }
+
+ public static com.google.cloud.aiplatform.v1beta1.TrajectoryAnyOrderMatchResults parseFrom(
+ com.google.protobuf.CodedInputStream input) throws java.io.IOException {
+ return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input);
+ }
+
+ public static com.google.cloud.aiplatform.v1beta1.TrajectoryAnyOrderMatchResults 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(
+ com.google.cloud.aiplatform.v1beta1.TrajectoryAnyOrderMatchResults 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;
+ }
+ /**
+ *
+ *
+ *
+ * Results for TrajectoryAnyOrderMatch metric.
+ *
+ *
+ * Protobuf type {@code google.cloud.aiplatform.v1beta1.TrajectoryAnyOrderMatchResults}
+ */
+ public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder
+ implements
+ // @@protoc_insertion_point(builder_implements:google.cloud.aiplatform.v1beta1.TrajectoryAnyOrderMatchResults)
+ com.google.cloud.aiplatform.v1beta1.TrajectoryAnyOrderMatchResultsOrBuilder {
+ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+ return com.google.cloud.aiplatform.v1beta1.EvaluationServiceProto
+ .internal_static_google_cloud_aiplatform_v1beta1_TrajectoryAnyOrderMatchResults_descriptor;
+ }
+
+ @java.lang.Override
+ protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
+ internalGetFieldAccessorTable() {
+ return com.google.cloud.aiplatform.v1beta1.EvaluationServiceProto
+ .internal_static_google_cloud_aiplatform_v1beta1_TrajectoryAnyOrderMatchResults_fieldAccessorTable
+ .ensureFieldAccessorsInitialized(
+ com.google.cloud.aiplatform.v1beta1.TrajectoryAnyOrderMatchResults.class,
+ com.google.cloud.aiplatform.v1beta1.TrajectoryAnyOrderMatchResults.Builder.class);
+ }
+
+ // Construct using
+ // com.google.cloud.aiplatform.v1beta1.TrajectoryAnyOrderMatchResults.newBuilder()
+ private Builder() {}
+
+ private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+ super(parent);
+ }
+
+ @java.lang.Override
+ public Builder clear() {
+ super.clear();
+ bitField0_ = 0;
+ if (trajectoryAnyOrderMatchMetricValuesBuilder_ == null) {
+ trajectoryAnyOrderMatchMetricValues_ = java.util.Collections.emptyList();
+ } else {
+ trajectoryAnyOrderMatchMetricValues_ = null;
+ trajectoryAnyOrderMatchMetricValuesBuilder_.clear();
+ }
+ bitField0_ = (bitField0_ & ~0x00000001);
+ return this;
+ }
+
+ @java.lang.Override
+ public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
+ return com.google.cloud.aiplatform.v1beta1.EvaluationServiceProto
+ .internal_static_google_cloud_aiplatform_v1beta1_TrajectoryAnyOrderMatchResults_descriptor;
+ }
+
+ @java.lang.Override
+ public com.google.cloud.aiplatform.v1beta1.TrajectoryAnyOrderMatchResults
+ getDefaultInstanceForType() {
+ return com.google.cloud.aiplatform.v1beta1.TrajectoryAnyOrderMatchResults
+ .getDefaultInstance();
+ }
+
+ @java.lang.Override
+ public com.google.cloud.aiplatform.v1beta1.TrajectoryAnyOrderMatchResults build() {
+ com.google.cloud.aiplatform.v1beta1.TrajectoryAnyOrderMatchResults result = buildPartial();
+ if (!result.isInitialized()) {
+ throw newUninitializedMessageException(result);
+ }
+ return result;
+ }
+
+ @java.lang.Override
+ public com.google.cloud.aiplatform.v1beta1.TrajectoryAnyOrderMatchResults buildPartial() {
+ com.google.cloud.aiplatform.v1beta1.TrajectoryAnyOrderMatchResults result =
+ new com.google.cloud.aiplatform.v1beta1.TrajectoryAnyOrderMatchResults(this);
+ buildPartialRepeatedFields(result);
+ if (bitField0_ != 0) {
+ buildPartial0(result);
+ }
+ onBuilt();
+ return result;
+ }
+
+ private void buildPartialRepeatedFields(
+ com.google.cloud.aiplatform.v1beta1.TrajectoryAnyOrderMatchResults result) {
+ if (trajectoryAnyOrderMatchMetricValuesBuilder_ == null) {
+ if (((bitField0_ & 0x00000001) != 0)) {
+ trajectoryAnyOrderMatchMetricValues_ =
+ java.util.Collections.unmodifiableList(trajectoryAnyOrderMatchMetricValues_);
+ bitField0_ = (bitField0_ & ~0x00000001);
+ }
+ result.trajectoryAnyOrderMatchMetricValues_ = trajectoryAnyOrderMatchMetricValues_;
+ } else {
+ result.trajectoryAnyOrderMatchMetricValues_ =
+ trajectoryAnyOrderMatchMetricValuesBuilder_.build();
+ }
+ }
+
+ private void buildPartial0(
+ com.google.cloud.aiplatform.v1beta1.TrajectoryAnyOrderMatchResults result) {
+ int from_bitField0_ = bitField0_;
+ }
+
+ @java.lang.Override
+ public Builder clone() {
+ return super.clone();
+ }
+
+ @java.lang.Override
+ public Builder setField(
+ com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+ return super.setField(field, value);
+ }
+
+ @java.lang.Override
+ public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) {
+ return super.clearField(field);
+ }
+
+ @java.lang.Override
+ public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) {
+ return super.clearOneof(oneof);
+ }
+
+ @java.lang.Override
+ public Builder setRepeatedField(
+ com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) {
+ return super.setRepeatedField(field, index, value);
+ }
+
+ @java.lang.Override
+ public Builder addRepeatedField(
+ com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+ return super.addRepeatedField(field, value);
+ }
+
+ @java.lang.Override
+ public Builder mergeFrom(com.google.protobuf.Message other) {
+ if (other instanceof com.google.cloud.aiplatform.v1beta1.TrajectoryAnyOrderMatchResults) {
+ return mergeFrom(
+ (com.google.cloud.aiplatform.v1beta1.TrajectoryAnyOrderMatchResults) other);
+ } else {
+ super.mergeFrom(other);
+ return this;
+ }
+ }
+
+ public Builder mergeFrom(
+ com.google.cloud.aiplatform.v1beta1.TrajectoryAnyOrderMatchResults other) {
+ if (other
+ == com.google.cloud.aiplatform.v1beta1.TrajectoryAnyOrderMatchResults
+ .getDefaultInstance()) return this;
+ if (trajectoryAnyOrderMatchMetricValuesBuilder_ == null) {
+ if (!other.trajectoryAnyOrderMatchMetricValues_.isEmpty()) {
+ if (trajectoryAnyOrderMatchMetricValues_.isEmpty()) {
+ trajectoryAnyOrderMatchMetricValues_ = other.trajectoryAnyOrderMatchMetricValues_;
+ bitField0_ = (bitField0_ & ~0x00000001);
+ } else {
+ ensureTrajectoryAnyOrderMatchMetricValuesIsMutable();
+ trajectoryAnyOrderMatchMetricValues_.addAll(other.trajectoryAnyOrderMatchMetricValues_);
+ }
+ onChanged();
+ }
+ } else {
+ if (!other.trajectoryAnyOrderMatchMetricValues_.isEmpty()) {
+ if (trajectoryAnyOrderMatchMetricValuesBuilder_.isEmpty()) {
+ trajectoryAnyOrderMatchMetricValuesBuilder_.dispose();
+ trajectoryAnyOrderMatchMetricValuesBuilder_ = null;
+ trajectoryAnyOrderMatchMetricValues_ = other.trajectoryAnyOrderMatchMetricValues_;
+ bitField0_ = (bitField0_ & ~0x00000001);
+ trajectoryAnyOrderMatchMetricValuesBuilder_ =
+ com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders
+ ? getTrajectoryAnyOrderMatchMetricValuesFieldBuilder()
+ : null;
+ } else {
+ trajectoryAnyOrderMatchMetricValuesBuilder_.addAllMessages(
+ other.trajectoryAnyOrderMatchMetricValues_);
+ }
+ }
+ }
+ 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.cloud.aiplatform.v1beta1.TrajectoryAnyOrderMatchMetricValue m =
+ input.readMessage(
+ com.google.cloud.aiplatform.v1beta1.TrajectoryAnyOrderMatchMetricValue
+ .parser(),
+ extensionRegistry);
+ if (trajectoryAnyOrderMatchMetricValuesBuilder_ == null) {
+ ensureTrajectoryAnyOrderMatchMetricValuesIsMutable();
+ trajectoryAnyOrderMatchMetricValues_.add(m);
+ } else {
+ trajectoryAnyOrderMatchMetricValuesBuilder_.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
+ trajectoryAnyOrderMatchMetricValues_ = java.util.Collections.emptyList();
+
+ private void ensureTrajectoryAnyOrderMatchMetricValuesIsMutable() {
+ if (!((bitField0_ & 0x00000001) != 0)) {
+ trajectoryAnyOrderMatchMetricValues_ =
+ new java.util.ArrayList<
+ com.google.cloud.aiplatform.v1beta1.TrajectoryAnyOrderMatchMetricValue>(
+ trajectoryAnyOrderMatchMetricValues_);
+ bitField0_ |= 0x00000001;
+ }
+ }
+
+ private com.google.protobuf.RepeatedFieldBuilderV3<
+ com.google.cloud.aiplatform.v1beta1.TrajectoryAnyOrderMatchMetricValue,
+ com.google.cloud.aiplatform.v1beta1.TrajectoryAnyOrderMatchMetricValue.Builder,
+ com.google.cloud.aiplatform.v1beta1.TrajectoryAnyOrderMatchMetricValueOrBuilder>
+ trajectoryAnyOrderMatchMetricValuesBuilder_;
+
+ /**
+ *
+ *
+ *
+ * Output only. TrajectoryAnyOrderMatch metric values.
+ *
+ *
+ *
+ * repeated .google.cloud.aiplatform.v1beta1.TrajectoryAnyOrderMatchMetricValue trajectory_any_order_match_metric_values = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
+ *
+ */
+ public java.util.List
+ getTrajectoryAnyOrderMatchMetricValuesList() {
+ if (trajectoryAnyOrderMatchMetricValuesBuilder_ == null) {
+ return java.util.Collections.unmodifiableList(trajectoryAnyOrderMatchMetricValues_);
+ } else {
+ return trajectoryAnyOrderMatchMetricValuesBuilder_.getMessageList();
+ }
+ }
+ /**
+ *
+ *
+ *
+ * Output only. TrajectoryAnyOrderMatch metric values.
+ *
+ *
+ *
+ * repeated .google.cloud.aiplatform.v1beta1.TrajectoryAnyOrderMatchMetricValue trajectory_any_order_match_metric_values = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
+ *
+ */
+ public int getTrajectoryAnyOrderMatchMetricValuesCount() {
+ if (trajectoryAnyOrderMatchMetricValuesBuilder_ == null) {
+ return trajectoryAnyOrderMatchMetricValues_.size();
+ } else {
+ return trajectoryAnyOrderMatchMetricValuesBuilder_.getCount();
+ }
+ }
+ /**
+ *
+ *
+ *
+ * Output only. TrajectoryAnyOrderMatch metric values.
+ *
+ *
+ *
+ * repeated .google.cloud.aiplatform.v1beta1.TrajectoryAnyOrderMatchMetricValue trajectory_any_order_match_metric_values = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
+ *
+ */
+ public com.google.cloud.aiplatform.v1beta1.TrajectoryAnyOrderMatchMetricValue
+ getTrajectoryAnyOrderMatchMetricValues(int index) {
+ if (trajectoryAnyOrderMatchMetricValuesBuilder_ == null) {
+ return trajectoryAnyOrderMatchMetricValues_.get(index);
+ } else {
+ return trajectoryAnyOrderMatchMetricValuesBuilder_.getMessage(index);
+ }
+ }
+ /**
+ *
+ *
+ *
+ * Output only. TrajectoryAnyOrderMatch metric values.
+ *
+ *
+ *
+ * repeated .google.cloud.aiplatform.v1beta1.TrajectoryAnyOrderMatchMetricValue trajectory_any_order_match_metric_values = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
+ *
+ */
+ public Builder setTrajectoryAnyOrderMatchMetricValues(
+ int index, com.google.cloud.aiplatform.v1beta1.TrajectoryAnyOrderMatchMetricValue value) {
+ if (trajectoryAnyOrderMatchMetricValuesBuilder_ == null) {
+ if (value == null) {
+ throw new NullPointerException();
+ }
+ ensureTrajectoryAnyOrderMatchMetricValuesIsMutable();
+ trajectoryAnyOrderMatchMetricValues_.set(index, value);
+ onChanged();
+ } else {
+ trajectoryAnyOrderMatchMetricValuesBuilder_.setMessage(index, value);
+ }
+ return this;
+ }
+ /**
+ *
+ *
+ *
+ * Output only. TrajectoryAnyOrderMatch metric values.
+ *
+ *
+ *
+ * repeated .google.cloud.aiplatform.v1beta1.TrajectoryAnyOrderMatchMetricValue trajectory_any_order_match_metric_values = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
+ *
+ */
+ public Builder setTrajectoryAnyOrderMatchMetricValues(
+ int index,
+ com.google.cloud.aiplatform.v1beta1.TrajectoryAnyOrderMatchMetricValue.Builder
+ builderForValue) {
+ if (trajectoryAnyOrderMatchMetricValuesBuilder_ == null) {
+ ensureTrajectoryAnyOrderMatchMetricValuesIsMutable();
+ trajectoryAnyOrderMatchMetricValues_.set(index, builderForValue.build());
+ onChanged();
+ } else {
+ trajectoryAnyOrderMatchMetricValuesBuilder_.setMessage(index, builderForValue.build());
+ }
+ return this;
+ }
+ /**
+ *
+ *
+ *
+ * Output only. TrajectoryAnyOrderMatch metric values.
+ *
+ *
+ *
+ * repeated .google.cloud.aiplatform.v1beta1.TrajectoryAnyOrderMatchMetricValue trajectory_any_order_match_metric_values = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
+ *
+ */
+ public Builder addTrajectoryAnyOrderMatchMetricValues(
+ com.google.cloud.aiplatform.v1beta1.TrajectoryAnyOrderMatchMetricValue value) {
+ if (trajectoryAnyOrderMatchMetricValuesBuilder_ == null) {
+ if (value == null) {
+ throw new NullPointerException();
+ }
+ ensureTrajectoryAnyOrderMatchMetricValuesIsMutable();
+ trajectoryAnyOrderMatchMetricValues_.add(value);
+ onChanged();
+ } else {
+ trajectoryAnyOrderMatchMetricValuesBuilder_.addMessage(value);
+ }
+ return this;
+ }
+ /**
+ *
+ *
+ *
+ * Output only. TrajectoryAnyOrderMatch metric values.
+ *
+ *
+ *
+ * repeated .google.cloud.aiplatform.v1beta1.TrajectoryAnyOrderMatchMetricValue trajectory_any_order_match_metric_values = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
+ *
+ */
+ public Builder addTrajectoryAnyOrderMatchMetricValues(
+ int index, com.google.cloud.aiplatform.v1beta1.TrajectoryAnyOrderMatchMetricValue value) {
+ if (trajectoryAnyOrderMatchMetricValuesBuilder_ == null) {
+ if (value == null) {
+ throw new NullPointerException();
+ }
+ ensureTrajectoryAnyOrderMatchMetricValuesIsMutable();
+ trajectoryAnyOrderMatchMetricValues_.add(index, value);
+ onChanged();
+ } else {
+ trajectoryAnyOrderMatchMetricValuesBuilder_.addMessage(index, value);
+ }
+ return this;
+ }
+ /**
+ *
+ *
+ *
+ * Output only. TrajectoryAnyOrderMatch metric values.
+ *
+ *
+ *
+ * repeated .google.cloud.aiplatform.v1beta1.TrajectoryAnyOrderMatchMetricValue trajectory_any_order_match_metric_values = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
+ *
+ */
+ public Builder addTrajectoryAnyOrderMatchMetricValues(
+ com.google.cloud.aiplatform.v1beta1.TrajectoryAnyOrderMatchMetricValue.Builder
+ builderForValue) {
+ if (trajectoryAnyOrderMatchMetricValuesBuilder_ == null) {
+ ensureTrajectoryAnyOrderMatchMetricValuesIsMutable();
+ trajectoryAnyOrderMatchMetricValues_.add(builderForValue.build());
+ onChanged();
+ } else {
+ trajectoryAnyOrderMatchMetricValuesBuilder_.addMessage(builderForValue.build());
+ }
+ return this;
+ }
+ /**
+ *
+ *
+ *
+ * Output only. TrajectoryAnyOrderMatch metric values.
+ *
+ *
+ *
+ * repeated .google.cloud.aiplatform.v1beta1.TrajectoryAnyOrderMatchMetricValue trajectory_any_order_match_metric_values = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
+ *
+ */
+ public Builder addTrajectoryAnyOrderMatchMetricValues(
+ int index,
+ com.google.cloud.aiplatform.v1beta1.TrajectoryAnyOrderMatchMetricValue.Builder
+ builderForValue) {
+ if (trajectoryAnyOrderMatchMetricValuesBuilder_ == null) {
+ ensureTrajectoryAnyOrderMatchMetricValuesIsMutable();
+ trajectoryAnyOrderMatchMetricValues_.add(index, builderForValue.build());
+ onChanged();
+ } else {
+ trajectoryAnyOrderMatchMetricValuesBuilder_.addMessage(index, builderForValue.build());
+ }
+ return this;
+ }
+ /**
+ *
+ *
+ *
+ * Output only. TrajectoryAnyOrderMatch metric values.
+ *
+ *
+ *
+ * repeated .google.cloud.aiplatform.v1beta1.TrajectoryAnyOrderMatchMetricValue trajectory_any_order_match_metric_values = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
+ *
+ */
+ public Builder addAllTrajectoryAnyOrderMatchMetricValues(
+ java.lang.Iterable<
+ ? extends com.google.cloud.aiplatform.v1beta1.TrajectoryAnyOrderMatchMetricValue>
+ values) {
+ if (trajectoryAnyOrderMatchMetricValuesBuilder_ == null) {
+ ensureTrajectoryAnyOrderMatchMetricValuesIsMutable();
+ com.google.protobuf.AbstractMessageLite.Builder.addAll(
+ values, trajectoryAnyOrderMatchMetricValues_);
+ onChanged();
+ } else {
+ trajectoryAnyOrderMatchMetricValuesBuilder_.addAllMessages(values);
+ }
+ return this;
+ }
+ /**
+ *
+ *
+ *
+ * Output only. TrajectoryAnyOrderMatch metric values.
+ *
+ *
+ *
+ * repeated .google.cloud.aiplatform.v1beta1.TrajectoryAnyOrderMatchMetricValue trajectory_any_order_match_metric_values = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
+ *
+ */
+ public Builder clearTrajectoryAnyOrderMatchMetricValues() {
+ if (trajectoryAnyOrderMatchMetricValuesBuilder_ == null) {
+ trajectoryAnyOrderMatchMetricValues_ = java.util.Collections.emptyList();
+ bitField0_ = (bitField0_ & ~0x00000001);
+ onChanged();
+ } else {
+ trajectoryAnyOrderMatchMetricValuesBuilder_.clear();
+ }
+ return this;
+ }
+ /**
+ *
+ *
+ *
+ * Output only. TrajectoryAnyOrderMatch metric values.
+ *
+ *
+ *
+ * repeated .google.cloud.aiplatform.v1beta1.TrajectoryAnyOrderMatchMetricValue trajectory_any_order_match_metric_values = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
+ *
+ */
+ public Builder removeTrajectoryAnyOrderMatchMetricValues(int index) {
+ if (trajectoryAnyOrderMatchMetricValuesBuilder_ == null) {
+ ensureTrajectoryAnyOrderMatchMetricValuesIsMutable();
+ trajectoryAnyOrderMatchMetricValues_.remove(index);
+ onChanged();
+ } else {
+ trajectoryAnyOrderMatchMetricValuesBuilder_.remove(index);
+ }
+ return this;
+ }
+ /**
+ *
+ *
+ *
+ * Output only. TrajectoryAnyOrderMatch metric values.
+ *
+ *
+ *
+ * repeated .google.cloud.aiplatform.v1beta1.TrajectoryAnyOrderMatchMetricValue trajectory_any_order_match_metric_values = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
+ *
+ */
+ public com.google.cloud.aiplatform.v1beta1.TrajectoryAnyOrderMatchMetricValue.Builder
+ getTrajectoryAnyOrderMatchMetricValuesBuilder(int index) {
+ return getTrajectoryAnyOrderMatchMetricValuesFieldBuilder().getBuilder(index);
+ }
+ /**
+ *
+ *
+ *
+ * Output only. TrajectoryAnyOrderMatch metric values.
+ *
+ *
+ *
+ * repeated .google.cloud.aiplatform.v1beta1.TrajectoryAnyOrderMatchMetricValue trajectory_any_order_match_metric_values = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
+ *
+ */
+ public com.google.cloud.aiplatform.v1beta1.TrajectoryAnyOrderMatchMetricValueOrBuilder
+ getTrajectoryAnyOrderMatchMetricValuesOrBuilder(int index) {
+ if (trajectoryAnyOrderMatchMetricValuesBuilder_ == null) {
+ return trajectoryAnyOrderMatchMetricValues_.get(index);
+ } else {
+ return trajectoryAnyOrderMatchMetricValuesBuilder_.getMessageOrBuilder(index);
+ }
+ }
+ /**
+ *
+ *
+ *
+ * Output only. TrajectoryAnyOrderMatch metric values.
+ *
+ *
+ *
+ * repeated .google.cloud.aiplatform.v1beta1.TrajectoryAnyOrderMatchMetricValue trajectory_any_order_match_metric_values = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
+ *
+ */
+ public java.util.List<
+ ? extends
+ com.google.cloud.aiplatform.v1beta1.TrajectoryAnyOrderMatchMetricValueOrBuilder>
+ getTrajectoryAnyOrderMatchMetricValuesOrBuilderList() {
+ if (trajectoryAnyOrderMatchMetricValuesBuilder_ != null) {
+ return trajectoryAnyOrderMatchMetricValuesBuilder_.getMessageOrBuilderList();
+ } else {
+ return java.util.Collections.unmodifiableList(trajectoryAnyOrderMatchMetricValues_);
+ }
+ }
+ /**
+ *
+ *
+ *
+ * Output only. TrajectoryAnyOrderMatch metric values.
+ *
+ *
+ *
+ * repeated .google.cloud.aiplatform.v1beta1.TrajectoryAnyOrderMatchMetricValue trajectory_any_order_match_metric_values = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
+ *
+ */
+ public com.google.cloud.aiplatform.v1beta1.TrajectoryAnyOrderMatchMetricValue.Builder
+ addTrajectoryAnyOrderMatchMetricValuesBuilder() {
+ return getTrajectoryAnyOrderMatchMetricValuesFieldBuilder()
+ .addBuilder(
+ com.google.cloud.aiplatform.v1beta1.TrajectoryAnyOrderMatchMetricValue
+ .getDefaultInstance());
+ }
+ /**
+ *
+ *
+ *
+ * Output only. TrajectoryAnyOrderMatch metric values.
+ *
+ *
+ *
+ * repeated .google.cloud.aiplatform.v1beta1.TrajectoryAnyOrderMatchMetricValue trajectory_any_order_match_metric_values = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
+ *
+ */
+ public com.google.cloud.aiplatform.v1beta1.TrajectoryAnyOrderMatchMetricValue.Builder
+ addTrajectoryAnyOrderMatchMetricValuesBuilder(int index) {
+ return getTrajectoryAnyOrderMatchMetricValuesFieldBuilder()
+ .addBuilder(
+ index,
+ com.google.cloud.aiplatform.v1beta1.TrajectoryAnyOrderMatchMetricValue
+ .getDefaultInstance());
+ }
+ /**
+ *
+ *
+ *
+ * Output only. TrajectoryAnyOrderMatch metric values.
+ *
+ *
+ *
+ * repeated .google.cloud.aiplatform.v1beta1.TrajectoryAnyOrderMatchMetricValue trajectory_any_order_match_metric_values = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
+ *
+ */
+ public java.util.List<
+ com.google.cloud.aiplatform.v1beta1.TrajectoryAnyOrderMatchMetricValue.Builder>
+ getTrajectoryAnyOrderMatchMetricValuesBuilderList() {
+ return getTrajectoryAnyOrderMatchMetricValuesFieldBuilder().getBuilderList();
+ }
+
+ private com.google.protobuf.RepeatedFieldBuilderV3<
+ com.google.cloud.aiplatform.v1beta1.TrajectoryAnyOrderMatchMetricValue,
+ com.google.cloud.aiplatform.v1beta1.TrajectoryAnyOrderMatchMetricValue.Builder,
+ com.google.cloud.aiplatform.v1beta1.TrajectoryAnyOrderMatchMetricValueOrBuilder>
+ getTrajectoryAnyOrderMatchMetricValuesFieldBuilder() {
+ if (trajectoryAnyOrderMatchMetricValuesBuilder_ == null) {
+ trajectoryAnyOrderMatchMetricValuesBuilder_ =
+ new com.google.protobuf.RepeatedFieldBuilderV3<
+ com.google.cloud.aiplatform.v1beta1.TrajectoryAnyOrderMatchMetricValue,
+ com.google.cloud.aiplatform.v1beta1.TrajectoryAnyOrderMatchMetricValue.Builder,
+ com.google.cloud.aiplatform.v1beta1.TrajectoryAnyOrderMatchMetricValueOrBuilder>(
+ trajectoryAnyOrderMatchMetricValues_,
+ ((bitField0_ & 0x00000001) != 0),
+ getParentForChildren(),
+ isClean());
+ trajectoryAnyOrderMatchMetricValues_ = null;
+ }
+ return trajectoryAnyOrderMatchMetricValuesBuilder_;
+ }
+
+ @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:google.cloud.aiplatform.v1beta1.TrajectoryAnyOrderMatchResults)
+ }
+
+ // @@protoc_insertion_point(class_scope:google.cloud.aiplatform.v1beta1.TrajectoryAnyOrderMatchResults)
+ private static final com.google.cloud.aiplatform.v1beta1.TrajectoryAnyOrderMatchResults
+ DEFAULT_INSTANCE;
+
+ static {
+ DEFAULT_INSTANCE = new com.google.cloud.aiplatform.v1beta1.TrajectoryAnyOrderMatchResults();
+ }
+
+ public static com.google.cloud.aiplatform.v1beta1.TrajectoryAnyOrderMatchResults
+ getDefaultInstance() {
+ return DEFAULT_INSTANCE;
+ }
+
+ private static final com.google.protobuf.Parser PARSER =
+ new com.google.protobuf.AbstractParser() {
+ @java.lang.Override
+ public TrajectoryAnyOrderMatchResults 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 com.google.cloud.aiplatform.v1beta1.TrajectoryAnyOrderMatchResults
+ getDefaultInstanceForType() {
+ return DEFAULT_INSTANCE;
+ }
+}
diff --git a/java-aiplatform/proto-google-cloud-aiplatform-v1beta1/src/main/java/com/google/cloud/aiplatform/v1beta1/TrajectoryAnyOrderMatchResultsOrBuilder.java b/java-aiplatform/proto-google-cloud-aiplatform-v1beta1/src/main/java/com/google/cloud/aiplatform/v1beta1/TrajectoryAnyOrderMatchResultsOrBuilder.java
new file mode 100644
index 000000000000..6441d8dacccc
--- /dev/null
+++ b/java-aiplatform/proto-google-cloud-aiplatform-v1beta1/src/main/java/com/google/cloud/aiplatform/v1beta1/TrajectoryAnyOrderMatchResultsOrBuilder.java
@@ -0,0 +1,92 @@
+/*
+ * Copyright 2024 Google LLC
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ * https://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+// Generated by the protocol buffer compiler. DO NOT EDIT!
+// source: google/cloud/aiplatform/v1beta1/evaluation_service.proto
+
+// Protobuf Java Version: 3.25.5
+package com.google.cloud.aiplatform.v1beta1;
+
+public interface TrajectoryAnyOrderMatchResultsOrBuilder
+ extends
+ // @@protoc_insertion_point(interface_extends:google.cloud.aiplatform.v1beta1.TrajectoryAnyOrderMatchResults)
+ com.google.protobuf.MessageOrBuilder {
+
+ /**
+ *
+ *
+ *
+ * Output only. TrajectoryAnyOrderMatch metric values.
+ *
+ *
+ *
+ * repeated .google.cloud.aiplatform.v1beta1.TrajectoryAnyOrderMatchMetricValue trajectory_any_order_match_metric_values = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
+ *
+ */
+ java.util.List
+ getTrajectoryAnyOrderMatchMetricValuesList();
+ /**
+ *
+ *
+ *
+ * Output only. TrajectoryAnyOrderMatch metric values.
+ *
+ *
+ *
+ * repeated .google.cloud.aiplatform.v1beta1.TrajectoryAnyOrderMatchMetricValue trajectory_any_order_match_metric_values = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
+ *
+ */
+ com.google.cloud.aiplatform.v1beta1.TrajectoryAnyOrderMatchMetricValue
+ getTrajectoryAnyOrderMatchMetricValues(int index);
+ /**
+ *
+ *
+ *
+ * Output only. TrajectoryAnyOrderMatch metric values.
+ *
+ *
+ *
+ * repeated .google.cloud.aiplatform.v1beta1.TrajectoryAnyOrderMatchMetricValue trajectory_any_order_match_metric_values = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
+ *
+ */
+ int getTrajectoryAnyOrderMatchMetricValuesCount();
+ /**
+ *
+ *
+ *
+ * Output only. TrajectoryAnyOrderMatch metric values.
+ *
+ *
+ *
+ * repeated .google.cloud.aiplatform.v1beta1.TrajectoryAnyOrderMatchMetricValue trajectory_any_order_match_metric_values = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
+ *
+ */
+ java.util.List<
+ ? extends com.google.cloud.aiplatform.v1beta1.TrajectoryAnyOrderMatchMetricValueOrBuilder>
+ getTrajectoryAnyOrderMatchMetricValuesOrBuilderList();
+ /**
+ *
+ *
+ *
+ * Output only. TrajectoryAnyOrderMatch metric values.
+ *
+ *
+ *
+ * repeated .google.cloud.aiplatform.v1beta1.TrajectoryAnyOrderMatchMetricValue trajectory_any_order_match_metric_values = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
+ *
+ */
+ com.google.cloud.aiplatform.v1beta1.TrajectoryAnyOrderMatchMetricValueOrBuilder
+ getTrajectoryAnyOrderMatchMetricValuesOrBuilder(int index);
+}
diff --git a/java-aiplatform/proto-google-cloud-aiplatform-v1beta1/src/main/java/com/google/cloud/aiplatform/v1beta1/TrajectoryAnyOrderMatchSpec.java b/java-aiplatform/proto-google-cloud-aiplatform-v1beta1/src/main/java/com/google/cloud/aiplatform/v1beta1/TrajectoryAnyOrderMatchSpec.java
new file mode 100644
index 000000000000..fc74b82b09a8
--- /dev/null
+++ b/java-aiplatform/proto-google-cloud-aiplatform-v1beta1/src/main/java/com/google/cloud/aiplatform/v1beta1/TrajectoryAnyOrderMatchSpec.java
@@ -0,0 +1,443 @@
+/*
+ * Copyright 2024 Google LLC
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ * https://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+// Generated by the protocol buffer compiler. DO NOT EDIT!
+// source: google/cloud/aiplatform/v1beta1/evaluation_service.proto
+
+// Protobuf Java Version: 3.25.5
+package com.google.cloud.aiplatform.v1beta1;
+
+/**
+ *
+ *
+ *
+ * Spec for TrajectoryAnyOrderMatch metric - returns 1 if all tool calls in the
+ * reference trajectory appear in the predicted trajectory in any order, else
+ * 0.
+ *
+ *
+ * Protobuf type {@code google.cloud.aiplatform.v1beta1.TrajectoryAnyOrderMatchSpec}
+ */
+public final class TrajectoryAnyOrderMatchSpec extends com.google.protobuf.GeneratedMessageV3
+ implements
+ // @@protoc_insertion_point(message_implements:google.cloud.aiplatform.v1beta1.TrajectoryAnyOrderMatchSpec)
+ TrajectoryAnyOrderMatchSpecOrBuilder {
+ private static final long serialVersionUID = 0L;
+ // Use TrajectoryAnyOrderMatchSpec.newBuilder() to construct.
+ private TrajectoryAnyOrderMatchSpec(com.google.protobuf.GeneratedMessageV3.Builder> builder) {
+ super(builder);
+ }
+
+ private TrajectoryAnyOrderMatchSpec() {}
+
+ @java.lang.Override
+ @SuppressWarnings({"unused"})
+ protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
+ return new TrajectoryAnyOrderMatchSpec();
+ }
+
+ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+ return com.google.cloud.aiplatform.v1beta1.EvaluationServiceProto
+ .internal_static_google_cloud_aiplatform_v1beta1_TrajectoryAnyOrderMatchSpec_descriptor;
+ }
+
+ @java.lang.Override
+ protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
+ internalGetFieldAccessorTable() {
+ return com.google.cloud.aiplatform.v1beta1.EvaluationServiceProto
+ .internal_static_google_cloud_aiplatform_v1beta1_TrajectoryAnyOrderMatchSpec_fieldAccessorTable
+ .ensureFieldAccessorsInitialized(
+ com.google.cloud.aiplatform.v1beta1.TrajectoryAnyOrderMatchSpec.class,
+ com.google.cloud.aiplatform.v1beta1.TrajectoryAnyOrderMatchSpec.Builder.class);
+ }
+
+ private byte memoizedIsInitialized = -1;
+
+ @java.lang.Override
+ public final boolean isInitialized() {
+ byte isInitialized = memoizedIsInitialized;
+ if (isInitialized == 1) return true;
+ if (isInitialized == 0) return false;
+
+ memoizedIsInitialized = 1;
+ return true;
+ }
+
+ @java.lang.Override
+ public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException {
+ getUnknownFields().writeTo(output);
+ }
+
+ @java.lang.Override
+ public int getSerializedSize() {
+ int size = memoizedSize;
+ if (size != -1) return size;
+
+ size = 0;
+ size += getUnknownFields().getSerializedSize();
+ memoizedSize = size;
+ return size;
+ }
+
+ @java.lang.Override
+ public boolean equals(final java.lang.Object obj) {
+ if (obj == this) {
+ return true;
+ }
+ if (!(obj instanceof com.google.cloud.aiplatform.v1beta1.TrajectoryAnyOrderMatchSpec)) {
+ return super.equals(obj);
+ }
+ com.google.cloud.aiplatform.v1beta1.TrajectoryAnyOrderMatchSpec other =
+ (com.google.cloud.aiplatform.v1beta1.TrajectoryAnyOrderMatchSpec) obj;
+
+ if (!getUnknownFields().equals(other.getUnknownFields())) return false;
+ return true;
+ }
+
+ @java.lang.Override
+ public int hashCode() {
+ if (memoizedHashCode != 0) {
+ return memoizedHashCode;
+ }
+ int hash = 41;
+ hash = (19 * hash) + getDescriptor().hashCode();
+ hash = (29 * hash) + getUnknownFields().hashCode();
+ memoizedHashCode = hash;
+ return hash;
+ }
+
+ public static com.google.cloud.aiplatform.v1beta1.TrajectoryAnyOrderMatchSpec parseFrom(
+ java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException {
+ return PARSER.parseFrom(data);
+ }
+
+ public static com.google.cloud.aiplatform.v1beta1.TrajectoryAnyOrderMatchSpec parseFrom(
+ java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+ throws com.google.protobuf.InvalidProtocolBufferException {
+ return PARSER.parseFrom(data, extensionRegistry);
+ }
+
+ public static com.google.cloud.aiplatform.v1beta1.TrajectoryAnyOrderMatchSpec parseFrom(
+ com.google.protobuf.ByteString data)
+ throws com.google.protobuf.InvalidProtocolBufferException {
+ return PARSER.parseFrom(data);
+ }
+
+ public static com.google.cloud.aiplatform.v1beta1.TrajectoryAnyOrderMatchSpec parseFrom(
+ com.google.protobuf.ByteString data,
+ com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+ throws com.google.protobuf.InvalidProtocolBufferException {
+ return PARSER.parseFrom(data, extensionRegistry);
+ }
+
+ public static com.google.cloud.aiplatform.v1beta1.TrajectoryAnyOrderMatchSpec parseFrom(
+ byte[] data) throws com.google.protobuf.InvalidProtocolBufferException {
+ return PARSER.parseFrom(data);
+ }
+
+ public static com.google.cloud.aiplatform.v1beta1.TrajectoryAnyOrderMatchSpec parseFrom(
+ byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+ throws com.google.protobuf.InvalidProtocolBufferException {
+ return PARSER.parseFrom(data, extensionRegistry);
+ }
+
+ public static com.google.cloud.aiplatform.v1beta1.TrajectoryAnyOrderMatchSpec parseFrom(
+ java.io.InputStream input) throws java.io.IOException {
+ return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input);
+ }
+
+ public static com.google.cloud.aiplatform.v1beta1.TrajectoryAnyOrderMatchSpec parseFrom(
+ java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+ throws java.io.IOException {
+ return com.google.protobuf.GeneratedMessageV3.parseWithIOException(
+ PARSER, input, extensionRegistry);
+ }
+
+ public static com.google.cloud.aiplatform.v1beta1.TrajectoryAnyOrderMatchSpec parseDelimitedFrom(
+ java.io.InputStream input) throws java.io.IOException {
+ return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input);
+ }
+
+ public static com.google.cloud.aiplatform.v1beta1.TrajectoryAnyOrderMatchSpec parseDelimitedFrom(
+ java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+ throws java.io.IOException {
+ return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(
+ PARSER, input, extensionRegistry);
+ }
+
+ public static com.google.cloud.aiplatform.v1beta1.TrajectoryAnyOrderMatchSpec parseFrom(
+ com.google.protobuf.CodedInputStream input) throws java.io.IOException {
+ return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input);
+ }
+
+ public static com.google.cloud.aiplatform.v1beta1.TrajectoryAnyOrderMatchSpec 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(
+ com.google.cloud.aiplatform.v1beta1.TrajectoryAnyOrderMatchSpec 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;
+ }
+ /**
+ *
+ *
+ *
+ * Spec for TrajectoryAnyOrderMatch metric - returns 1 if all tool calls in the
+ * reference trajectory appear in the predicted trajectory in any order, else
+ * 0.
+ *
+ *
+ * Protobuf type {@code google.cloud.aiplatform.v1beta1.TrajectoryAnyOrderMatchSpec}
+ */
+ public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder
+ implements
+ // @@protoc_insertion_point(builder_implements:google.cloud.aiplatform.v1beta1.TrajectoryAnyOrderMatchSpec)
+ com.google.cloud.aiplatform.v1beta1.TrajectoryAnyOrderMatchSpecOrBuilder {
+ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+ return com.google.cloud.aiplatform.v1beta1.EvaluationServiceProto
+ .internal_static_google_cloud_aiplatform_v1beta1_TrajectoryAnyOrderMatchSpec_descriptor;
+ }
+
+ @java.lang.Override
+ protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
+ internalGetFieldAccessorTable() {
+ return com.google.cloud.aiplatform.v1beta1.EvaluationServiceProto
+ .internal_static_google_cloud_aiplatform_v1beta1_TrajectoryAnyOrderMatchSpec_fieldAccessorTable
+ .ensureFieldAccessorsInitialized(
+ com.google.cloud.aiplatform.v1beta1.TrajectoryAnyOrderMatchSpec.class,
+ com.google.cloud.aiplatform.v1beta1.TrajectoryAnyOrderMatchSpec.Builder.class);
+ }
+
+ // Construct using com.google.cloud.aiplatform.v1beta1.TrajectoryAnyOrderMatchSpec.newBuilder()
+ private Builder() {}
+
+ private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+ super(parent);
+ }
+
+ @java.lang.Override
+ public Builder clear() {
+ super.clear();
+ return this;
+ }
+
+ @java.lang.Override
+ public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
+ return com.google.cloud.aiplatform.v1beta1.EvaluationServiceProto
+ .internal_static_google_cloud_aiplatform_v1beta1_TrajectoryAnyOrderMatchSpec_descriptor;
+ }
+
+ @java.lang.Override
+ public com.google.cloud.aiplatform.v1beta1.TrajectoryAnyOrderMatchSpec
+ getDefaultInstanceForType() {
+ return com.google.cloud.aiplatform.v1beta1.TrajectoryAnyOrderMatchSpec.getDefaultInstance();
+ }
+
+ @java.lang.Override
+ public com.google.cloud.aiplatform.v1beta1.TrajectoryAnyOrderMatchSpec build() {
+ com.google.cloud.aiplatform.v1beta1.TrajectoryAnyOrderMatchSpec result = buildPartial();
+ if (!result.isInitialized()) {
+ throw newUninitializedMessageException(result);
+ }
+ return result;
+ }
+
+ @java.lang.Override
+ public com.google.cloud.aiplatform.v1beta1.TrajectoryAnyOrderMatchSpec buildPartial() {
+ com.google.cloud.aiplatform.v1beta1.TrajectoryAnyOrderMatchSpec result =
+ new com.google.cloud.aiplatform.v1beta1.TrajectoryAnyOrderMatchSpec(this);
+ onBuilt();
+ return result;
+ }
+
+ @java.lang.Override
+ public Builder clone() {
+ return super.clone();
+ }
+
+ @java.lang.Override
+ public Builder setField(
+ com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+ return super.setField(field, value);
+ }
+
+ @java.lang.Override
+ public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) {
+ return super.clearField(field);
+ }
+
+ @java.lang.Override
+ public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) {
+ return super.clearOneof(oneof);
+ }
+
+ @java.lang.Override
+ public Builder setRepeatedField(
+ com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) {
+ return super.setRepeatedField(field, index, value);
+ }
+
+ @java.lang.Override
+ public Builder addRepeatedField(
+ com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+ return super.addRepeatedField(field, value);
+ }
+
+ @java.lang.Override
+ public Builder mergeFrom(com.google.protobuf.Message other) {
+ if (other instanceof com.google.cloud.aiplatform.v1beta1.TrajectoryAnyOrderMatchSpec) {
+ return mergeFrom((com.google.cloud.aiplatform.v1beta1.TrajectoryAnyOrderMatchSpec) other);
+ } else {
+ super.mergeFrom(other);
+ return this;
+ }
+ }
+
+ public Builder mergeFrom(
+ com.google.cloud.aiplatform.v1beta1.TrajectoryAnyOrderMatchSpec other) {
+ if (other
+ == com.google.cloud.aiplatform.v1beta1.TrajectoryAnyOrderMatchSpec.getDefaultInstance())
+ return this;
+ this.mergeUnknownFields(other.getUnknownFields());
+ onChanged();
+ return this;
+ }
+
+ @java.lang.Override
+ public final boolean isInitialized() {
+ return true;
+ }
+
+ @java.lang.Override
+ public Builder mergeFrom(
+ com.google.protobuf.CodedInputStream input,
+ com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+ throws java.io.IOException {
+ if (extensionRegistry == null) {
+ throw new java.lang.NullPointerException();
+ }
+ try {
+ boolean done = false;
+ while (!done) {
+ int tag = input.readTag();
+ switch (tag) {
+ case 0:
+ done = true;
+ break;
+ default:
+ {
+ if (!super.parseUnknownField(input, extensionRegistry, tag)) {
+ done = true; // was an endgroup tag
+ }
+ break;
+ } // default:
+ } // switch (tag)
+ } // while (!done)
+ } catch (com.google.protobuf.InvalidProtocolBufferException e) {
+ throw e.unwrapIOException();
+ } finally {
+ onChanged();
+ } // finally
+ return this;
+ }
+
+ @java.lang.Override
+ public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) {
+ return super.setUnknownFields(unknownFields);
+ }
+
+ @java.lang.Override
+ public final Builder mergeUnknownFields(
+ final com.google.protobuf.UnknownFieldSet unknownFields) {
+ return super.mergeUnknownFields(unknownFields);
+ }
+
+ // @@protoc_insertion_point(builder_scope:google.cloud.aiplatform.v1beta1.TrajectoryAnyOrderMatchSpec)
+ }
+
+ // @@protoc_insertion_point(class_scope:google.cloud.aiplatform.v1beta1.TrajectoryAnyOrderMatchSpec)
+ private static final com.google.cloud.aiplatform.v1beta1.TrajectoryAnyOrderMatchSpec
+ DEFAULT_INSTANCE;
+
+ static {
+ DEFAULT_INSTANCE = new com.google.cloud.aiplatform.v1beta1.TrajectoryAnyOrderMatchSpec();
+ }
+
+ public static com.google.cloud.aiplatform.v1beta1.TrajectoryAnyOrderMatchSpec
+ getDefaultInstance() {
+ return DEFAULT_INSTANCE;
+ }
+
+ private static final com.google.protobuf.Parser PARSER =
+ new com.google.protobuf.AbstractParser() {
+ @java.lang.Override
+ public TrajectoryAnyOrderMatchSpec 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 com.google.cloud.aiplatform.v1beta1.TrajectoryAnyOrderMatchSpec
+ getDefaultInstanceForType() {
+ return DEFAULT_INSTANCE;
+ }
+}
diff --git a/java-aiplatform/proto-google-cloud-aiplatform-v1beta1/src/main/java/com/google/cloud/aiplatform/v1beta1/TrajectoryAnyOrderMatchSpecOrBuilder.java b/java-aiplatform/proto-google-cloud-aiplatform-v1beta1/src/main/java/com/google/cloud/aiplatform/v1beta1/TrajectoryAnyOrderMatchSpecOrBuilder.java
new file mode 100644
index 000000000000..9bf08b589d5c
--- /dev/null
+++ b/java-aiplatform/proto-google-cloud-aiplatform-v1beta1/src/main/java/com/google/cloud/aiplatform/v1beta1/TrajectoryAnyOrderMatchSpecOrBuilder.java
@@ -0,0 +1,25 @@
+/*
+ * Copyright 2024 Google LLC
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ * https://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+// Generated by the protocol buffer compiler. DO NOT EDIT!
+// source: google/cloud/aiplatform/v1beta1/evaluation_service.proto
+
+// Protobuf Java Version: 3.25.5
+package com.google.cloud.aiplatform.v1beta1;
+
+public interface TrajectoryAnyOrderMatchSpecOrBuilder
+ extends
+ // @@protoc_insertion_point(interface_extends:google.cloud.aiplatform.v1beta1.TrajectoryAnyOrderMatchSpec)
+ com.google.protobuf.MessageOrBuilder {}
diff --git a/java-aiplatform/proto-google-cloud-aiplatform-v1beta1/src/main/java/com/google/cloud/aiplatform/v1beta1/TrajectoryExactMatchInput.java b/java-aiplatform/proto-google-cloud-aiplatform-v1beta1/src/main/java/com/google/cloud/aiplatform/v1beta1/TrajectoryExactMatchInput.java
new file mode 100644
index 000000000000..ad9b4a01b9c1
--- /dev/null
+++ b/java-aiplatform/proto-google-cloud-aiplatform-v1beta1/src/main/java/com/google/cloud/aiplatform/v1beta1/TrajectoryExactMatchInput.java
@@ -0,0 +1,1326 @@
+/*
+ * Copyright 2024 Google LLC
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ * https://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+// Generated by the protocol buffer compiler. DO NOT EDIT!
+// source: google/cloud/aiplatform/v1beta1/evaluation_service.proto
+
+// Protobuf Java Version: 3.25.5
+package com.google.cloud.aiplatform.v1beta1;
+
+/**
+ *
+ *
+ *
+ * Instances and metric spec for TrajectoryExactMatch metric.
+ *
+ *
+ * Protobuf type {@code google.cloud.aiplatform.v1beta1.TrajectoryExactMatchInput}
+ */
+public final class TrajectoryExactMatchInput extends com.google.protobuf.GeneratedMessageV3
+ implements
+ // @@protoc_insertion_point(message_implements:google.cloud.aiplatform.v1beta1.TrajectoryExactMatchInput)
+ TrajectoryExactMatchInputOrBuilder {
+ private static final long serialVersionUID = 0L;
+ // Use TrajectoryExactMatchInput.newBuilder() to construct.
+ private TrajectoryExactMatchInput(com.google.protobuf.GeneratedMessageV3.Builder> builder) {
+ super(builder);
+ }
+
+ private TrajectoryExactMatchInput() {
+ instances_ = java.util.Collections.emptyList();
+ }
+
+ @java.lang.Override
+ @SuppressWarnings({"unused"})
+ protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
+ return new TrajectoryExactMatchInput();
+ }
+
+ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+ return com.google.cloud.aiplatform.v1beta1.EvaluationServiceProto
+ .internal_static_google_cloud_aiplatform_v1beta1_TrajectoryExactMatchInput_descriptor;
+ }
+
+ @java.lang.Override
+ protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
+ internalGetFieldAccessorTable() {
+ return com.google.cloud.aiplatform.v1beta1.EvaluationServiceProto
+ .internal_static_google_cloud_aiplatform_v1beta1_TrajectoryExactMatchInput_fieldAccessorTable
+ .ensureFieldAccessorsInitialized(
+ com.google.cloud.aiplatform.v1beta1.TrajectoryExactMatchInput.class,
+ com.google.cloud.aiplatform.v1beta1.TrajectoryExactMatchInput.Builder.class);
+ }
+
+ private int bitField0_;
+ public static final int METRIC_SPEC_FIELD_NUMBER = 1;
+ private com.google.cloud.aiplatform.v1beta1.TrajectoryExactMatchSpec metricSpec_;
+ /**
+ *
+ *
+ *
+ * Required. Spec for TrajectoryExactMatch metric.
+ *
+ *
+ *
+ * .google.cloud.aiplatform.v1beta1.TrajectoryExactMatchSpec metric_spec = 1 [(.google.api.field_behavior) = REQUIRED];
+ *
+ *
+ * @return Whether the metricSpec field is set.
+ */
+ @java.lang.Override
+ public boolean hasMetricSpec() {
+ return ((bitField0_ & 0x00000001) != 0);
+ }
+ /**
+ *
+ *
+ *
+ * Required. Spec for TrajectoryExactMatch metric.
+ *
+ *
+ *
+ * .google.cloud.aiplatform.v1beta1.TrajectoryExactMatchSpec metric_spec = 1 [(.google.api.field_behavior) = REQUIRED];
+ *
+ *
+ * @return The metricSpec.
+ */
+ @java.lang.Override
+ public com.google.cloud.aiplatform.v1beta1.TrajectoryExactMatchSpec getMetricSpec() {
+ return metricSpec_ == null
+ ? com.google.cloud.aiplatform.v1beta1.TrajectoryExactMatchSpec.getDefaultInstance()
+ : metricSpec_;
+ }
+ /**
+ *
+ *
+ *
+ * Required. Spec for TrajectoryExactMatch metric.
+ *
+ *
+ *
+ * .google.cloud.aiplatform.v1beta1.TrajectoryExactMatchSpec metric_spec = 1 [(.google.api.field_behavior) = REQUIRED];
+ *
+ */
+ @java.lang.Override
+ public com.google.cloud.aiplatform.v1beta1.TrajectoryExactMatchSpecOrBuilder
+ getMetricSpecOrBuilder() {
+ return metricSpec_ == null
+ ? com.google.cloud.aiplatform.v1beta1.TrajectoryExactMatchSpec.getDefaultInstance()
+ : metricSpec_;
+ }
+
+ public static final int INSTANCES_FIELD_NUMBER = 2;
+
+ @SuppressWarnings("serial")
+ private java.util.List
+ instances_;
+ /**
+ *
+ *
+ *
+ * Required. Repeated TrajectoryExactMatch instance.
+ *
+ *
+ *
+ * repeated .google.cloud.aiplatform.v1beta1.TrajectoryExactMatchInstance instances = 2 [(.google.api.field_behavior) = REQUIRED];
+ *
+ */
+ @java.lang.Override
+ public java.util.List
+ getInstancesList() {
+ return instances_;
+ }
+ /**
+ *
+ *
+ *
+ * Required. Repeated TrajectoryExactMatch instance.
+ *
+ *
+ *
+ * repeated .google.cloud.aiplatform.v1beta1.TrajectoryExactMatchInstance instances = 2 [(.google.api.field_behavior) = REQUIRED];
+ *
+ */
+ @java.lang.Override
+ public java.util.List<
+ ? extends com.google.cloud.aiplatform.v1beta1.TrajectoryExactMatchInstanceOrBuilder>
+ getInstancesOrBuilderList() {
+ return instances_;
+ }
+ /**
+ *
+ *
+ *
+ * Required. Repeated TrajectoryExactMatch instance.
+ *
+ *
+ *
+ * repeated .google.cloud.aiplatform.v1beta1.TrajectoryExactMatchInstance instances = 2 [(.google.api.field_behavior) = REQUIRED];
+ *
+ */
+ @java.lang.Override
+ public int getInstancesCount() {
+ return instances_.size();
+ }
+ /**
+ *
+ *
+ *
+ * Required. Repeated TrajectoryExactMatch instance.
+ *
+ *
+ *
+ * repeated .google.cloud.aiplatform.v1beta1.TrajectoryExactMatchInstance instances = 2 [(.google.api.field_behavior) = REQUIRED];
+ *
+ */
+ @java.lang.Override
+ public com.google.cloud.aiplatform.v1beta1.TrajectoryExactMatchInstance getInstances(int index) {
+ return instances_.get(index);
+ }
+ /**
+ *
+ *
+ *
+ * Required. Repeated TrajectoryExactMatch instance.
+ *
+ *
+ *
+ * repeated .google.cloud.aiplatform.v1beta1.TrajectoryExactMatchInstance instances = 2 [(.google.api.field_behavior) = REQUIRED];
+ *
+ */
+ @java.lang.Override
+ public com.google.cloud.aiplatform.v1beta1.TrajectoryExactMatchInstanceOrBuilder
+ getInstancesOrBuilder(int index) {
+ return instances_.get(index);
+ }
+
+ private byte memoizedIsInitialized = -1;
+
+ @java.lang.Override
+ public final boolean isInitialized() {
+ byte isInitialized = memoizedIsInitialized;
+ if (isInitialized == 1) return true;
+ if (isInitialized == 0) return false;
+
+ memoizedIsInitialized = 1;
+ return true;
+ }
+
+ @java.lang.Override
+ public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException {
+ if (((bitField0_ & 0x00000001) != 0)) {
+ output.writeMessage(1, getMetricSpec());
+ }
+ for (int i = 0; i < instances_.size(); i++) {
+ output.writeMessage(2, instances_.get(i));
+ }
+ getUnknownFields().writeTo(output);
+ }
+
+ @java.lang.Override
+ public int getSerializedSize() {
+ int size = memoizedSize;
+ if (size != -1) return size;
+
+ size = 0;
+ if (((bitField0_ & 0x00000001) != 0)) {
+ size += com.google.protobuf.CodedOutputStream.computeMessageSize(1, getMetricSpec());
+ }
+ for (int i = 0; i < instances_.size(); i++) {
+ size += com.google.protobuf.CodedOutputStream.computeMessageSize(2, instances_.get(i));
+ }
+ size += getUnknownFields().getSerializedSize();
+ memoizedSize = size;
+ return size;
+ }
+
+ @java.lang.Override
+ public boolean equals(final java.lang.Object obj) {
+ if (obj == this) {
+ return true;
+ }
+ if (!(obj instanceof com.google.cloud.aiplatform.v1beta1.TrajectoryExactMatchInput)) {
+ return super.equals(obj);
+ }
+ com.google.cloud.aiplatform.v1beta1.TrajectoryExactMatchInput other =
+ (com.google.cloud.aiplatform.v1beta1.TrajectoryExactMatchInput) obj;
+
+ if (hasMetricSpec() != other.hasMetricSpec()) return false;
+ if (hasMetricSpec()) {
+ if (!getMetricSpec().equals(other.getMetricSpec())) return false;
+ }
+ if (!getInstancesList().equals(other.getInstancesList())) 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 (hasMetricSpec()) {
+ hash = (37 * hash) + METRIC_SPEC_FIELD_NUMBER;
+ hash = (53 * hash) + getMetricSpec().hashCode();
+ }
+ if (getInstancesCount() > 0) {
+ hash = (37 * hash) + INSTANCES_FIELD_NUMBER;
+ hash = (53 * hash) + getInstancesList().hashCode();
+ }
+ hash = (29 * hash) + getUnknownFields().hashCode();
+ memoizedHashCode = hash;
+ return hash;
+ }
+
+ public static com.google.cloud.aiplatform.v1beta1.TrajectoryExactMatchInput parseFrom(
+ java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException {
+ return PARSER.parseFrom(data);
+ }
+
+ public static com.google.cloud.aiplatform.v1beta1.TrajectoryExactMatchInput parseFrom(
+ java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+ throws com.google.protobuf.InvalidProtocolBufferException {
+ return PARSER.parseFrom(data, extensionRegistry);
+ }
+
+ public static com.google.cloud.aiplatform.v1beta1.TrajectoryExactMatchInput parseFrom(
+ com.google.protobuf.ByteString data)
+ throws com.google.protobuf.InvalidProtocolBufferException {
+ return PARSER.parseFrom(data);
+ }
+
+ public static com.google.cloud.aiplatform.v1beta1.TrajectoryExactMatchInput parseFrom(
+ com.google.protobuf.ByteString data,
+ com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+ throws com.google.protobuf.InvalidProtocolBufferException {
+ return PARSER.parseFrom(data, extensionRegistry);
+ }
+
+ public static com.google.cloud.aiplatform.v1beta1.TrajectoryExactMatchInput parseFrom(byte[] data)
+ throws com.google.protobuf.InvalidProtocolBufferException {
+ return PARSER.parseFrom(data);
+ }
+
+ public static com.google.cloud.aiplatform.v1beta1.TrajectoryExactMatchInput parseFrom(
+ byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+ throws com.google.protobuf.InvalidProtocolBufferException {
+ return PARSER.parseFrom(data, extensionRegistry);
+ }
+
+ public static com.google.cloud.aiplatform.v1beta1.TrajectoryExactMatchInput parseFrom(
+ java.io.InputStream input) throws java.io.IOException {
+ return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input);
+ }
+
+ public static com.google.cloud.aiplatform.v1beta1.TrajectoryExactMatchInput parseFrom(
+ java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+ throws java.io.IOException {
+ return com.google.protobuf.GeneratedMessageV3.parseWithIOException(
+ PARSER, input, extensionRegistry);
+ }
+
+ public static com.google.cloud.aiplatform.v1beta1.TrajectoryExactMatchInput parseDelimitedFrom(
+ java.io.InputStream input) throws java.io.IOException {
+ return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input);
+ }
+
+ public static com.google.cloud.aiplatform.v1beta1.TrajectoryExactMatchInput parseDelimitedFrom(
+ java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+ throws java.io.IOException {
+ return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(
+ PARSER, input, extensionRegistry);
+ }
+
+ public static com.google.cloud.aiplatform.v1beta1.TrajectoryExactMatchInput parseFrom(
+ com.google.protobuf.CodedInputStream input) throws java.io.IOException {
+ return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input);
+ }
+
+ public static com.google.cloud.aiplatform.v1beta1.TrajectoryExactMatchInput 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(
+ com.google.cloud.aiplatform.v1beta1.TrajectoryExactMatchInput 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;
+ }
+ /**
+ *
+ *
+ *
+ * Instances and metric spec for TrajectoryExactMatch metric.
+ *
+ *
+ * Protobuf type {@code google.cloud.aiplatform.v1beta1.TrajectoryExactMatchInput}
+ */
+ public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder
+ implements
+ // @@protoc_insertion_point(builder_implements:google.cloud.aiplatform.v1beta1.TrajectoryExactMatchInput)
+ com.google.cloud.aiplatform.v1beta1.TrajectoryExactMatchInputOrBuilder {
+ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+ return com.google.cloud.aiplatform.v1beta1.EvaluationServiceProto
+ .internal_static_google_cloud_aiplatform_v1beta1_TrajectoryExactMatchInput_descriptor;
+ }
+
+ @java.lang.Override
+ protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
+ internalGetFieldAccessorTable() {
+ return com.google.cloud.aiplatform.v1beta1.EvaluationServiceProto
+ .internal_static_google_cloud_aiplatform_v1beta1_TrajectoryExactMatchInput_fieldAccessorTable
+ .ensureFieldAccessorsInitialized(
+ com.google.cloud.aiplatform.v1beta1.TrajectoryExactMatchInput.class,
+ com.google.cloud.aiplatform.v1beta1.TrajectoryExactMatchInput.Builder.class);
+ }
+
+ // Construct using com.google.cloud.aiplatform.v1beta1.TrajectoryExactMatchInput.newBuilder()
+ private Builder() {
+ maybeForceBuilderInitialization();
+ }
+
+ private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+ super(parent);
+ maybeForceBuilderInitialization();
+ }
+
+ private void maybeForceBuilderInitialization() {
+ if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {
+ getMetricSpecFieldBuilder();
+ getInstancesFieldBuilder();
+ }
+ }
+
+ @java.lang.Override
+ public Builder clear() {
+ super.clear();
+ bitField0_ = 0;
+ metricSpec_ = null;
+ if (metricSpecBuilder_ != null) {
+ metricSpecBuilder_.dispose();
+ metricSpecBuilder_ = null;
+ }
+ if (instancesBuilder_ == null) {
+ instances_ = java.util.Collections.emptyList();
+ } else {
+ instances_ = null;
+ instancesBuilder_.clear();
+ }
+ bitField0_ = (bitField0_ & ~0x00000002);
+ return this;
+ }
+
+ @java.lang.Override
+ public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
+ return com.google.cloud.aiplatform.v1beta1.EvaluationServiceProto
+ .internal_static_google_cloud_aiplatform_v1beta1_TrajectoryExactMatchInput_descriptor;
+ }
+
+ @java.lang.Override
+ public com.google.cloud.aiplatform.v1beta1.TrajectoryExactMatchInput
+ getDefaultInstanceForType() {
+ return com.google.cloud.aiplatform.v1beta1.TrajectoryExactMatchInput.getDefaultInstance();
+ }
+
+ @java.lang.Override
+ public com.google.cloud.aiplatform.v1beta1.TrajectoryExactMatchInput build() {
+ com.google.cloud.aiplatform.v1beta1.TrajectoryExactMatchInput result = buildPartial();
+ if (!result.isInitialized()) {
+ throw newUninitializedMessageException(result);
+ }
+ return result;
+ }
+
+ @java.lang.Override
+ public com.google.cloud.aiplatform.v1beta1.TrajectoryExactMatchInput buildPartial() {
+ com.google.cloud.aiplatform.v1beta1.TrajectoryExactMatchInput result =
+ new com.google.cloud.aiplatform.v1beta1.TrajectoryExactMatchInput(this);
+ buildPartialRepeatedFields(result);
+ if (bitField0_ != 0) {
+ buildPartial0(result);
+ }
+ onBuilt();
+ return result;
+ }
+
+ private void buildPartialRepeatedFields(
+ com.google.cloud.aiplatform.v1beta1.TrajectoryExactMatchInput result) {
+ if (instancesBuilder_ == null) {
+ if (((bitField0_ & 0x00000002) != 0)) {
+ instances_ = java.util.Collections.unmodifiableList(instances_);
+ bitField0_ = (bitField0_ & ~0x00000002);
+ }
+ result.instances_ = instances_;
+ } else {
+ result.instances_ = instancesBuilder_.build();
+ }
+ }
+
+ private void buildPartial0(
+ com.google.cloud.aiplatform.v1beta1.TrajectoryExactMatchInput result) {
+ int from_bitField0_ = bitField0_;
+ int to_bitField0_ = 0;
+ if (((from_bitField0_ & 0x00000001) != 0)) {
+ result.metricSpec_ = metricSpecBuilder_ == null ? metricSpec_ : metricSpecBuilder_.build();
+ to_bitField0_ |= 0x00000001;
+ }
+ result.bitField0_ |= to_bitField0_;
+ }
+
+ @java.lang.Override
+ public Builder clone() {
+ return super.clone();
+ }
+
+ @java.lang.Override
+ public Builder setField(
+ com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+ return super.setField(field, value);
+ }
+
+ @java.lang.Override
+ public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) {
+ return super.clearField(field);
+ }
+
+ @java.lang.Override
+ public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) {
+ return super.clearOneof(oneof);
+ }
+
+ @java.lang.Override
+ public Builder setRepeatedField(
+ com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) {
+ return super.setRepeatedField(field, index, value);
+ }
+
+ @java.lang.Override
+ public Builder addRepeatedField(
+ com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+ return super.addRepeatedField(field, value);
+ }
+
+ @java.lang.Override
+ public Builder mergeFrom(com.google.protobuf.Message other) {
+ if (other instanceof com.google.cloud.aiplatform.v1beta1.TrajectoryExactMatchInput) {
+ return mergeFrom((com.google.cloud.aiplatform.v1beta1.TrajectoryExactMatchInput) other);
+ } else {
+ super.mergeFrom(other);
+ return this;
+ }
+ }
+
+ public Builder mergeFrom(com.google.cloud.aiplatform.v1beta1.TrajectoryExactMatchInput other) {
+ if (other
+ == com.google.cloud.aiplatform.v1beta1.TrajectoryExactMatchInput.getDefaultInstance())
+ return this;
+ if (other.hasMetricSpec()) {
+ mergeMetricSpec(other.getMetricSpec());
+ }
+ if (instancesBuilder_ == null) {
+ if (!other.instances_.isEmpty()) {
+ if (instances_.isEmpty()) {
+ instances_ = other.instances_;
+ bitField0_ = (bitField0_ & ~0x00000002);
+ } else {
+ ensureInstancesIsMutable();
+ instances_.addAll(other.instances_);
+ }
+ onChanged();
+ }
+ } else {
+ if (!other.instances_.isEmpty()) {
+ if (instancesBuilder_.isEmpty()) {
+ instancesBuilder_.dispose();
+ instancesBuilder_ = null;
+ instances_ = other.instances_;
+ bitField0_ = (bitField0_ & ~0x00000002);
+ instancesBuilder_ =
+ com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders
+ ? getInstancesFieldBuilder()
+ : null;
+ } else {
+ instancesBuilder_.addAllMessages(other.instances_);
+ }
+ }
+ }
+ this.mergeUnknownFields(other.getUnknownFields());
+ onChanged();
+ return this;
+ }
+
+ @java.lang.Override
+ public final boolean isInitialized() {
+ return true;
+ }
+
+ @java.lang.Override
+ public Builder mergeFrom(
+ com.google.protobuf.CodedInputStream input,
+ com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+ throws java.io.IOException {
+ if (extensionRegistry == null) {
+ throw new java.lang.NullPointerException();
+ }
+ try {
+ boolean done = false;
+ while (!done) {
+ int tag = input.readTag();
+ switch (tag) {
+ case 0:
+ done = true;
+ break;
+ case 10:
+ {
+ input.readMessage(getMetricSpecFieldBuilder().getBuilder(), extensionRegistry);
+ bitField0_ |= 0x00000001;
+ break;
+ } // case 10
+ case 18:
+ {
+ com.google.cloud.aiplatform.v1beta1.TrajectoryExactMatchInstance m =
+ input.readMessage(
+ com.google.cloud.aiplatform.v1beta1.TrajectoryExactMatchInstance.parser(),
+ extensionRegistry);
+ if (instancesBuilder_ == null) {
+ ensureInstancesIsMutable();
+ instances_.add(m);
+ } else {
+ instancesBuilder_.addMessage(m);
+ }
+ break;
+ } // case 18
+ default:
+ {
+ if (!super.parseUnknownField(input, extensionRegistry, tag)) {
+ done = true; // was an endgroup tag
+ }
+ break;
+ } // default:
+ } // switch (tag)
+ } // while (!done)
+ } catch (com.google.protobuf.InvalidProtocolBufferException e) {
+ throw e.unwrapIOException();
+ } finally {
+ onChanged();
+ } // finally
+ return this;
+ }
+
+ private int bitField0_;
+
+ private com.google.cloud.aiplatform.v1beta1.TrajectoryExactMatchSpec metricSpec_;
+ private com.google.protobuf.SingleFieldBuilderV3<
+ com.google.cloud.aiplatform.v1beta1.TrajectoryExactMatchSpec,
+ com.google.cloud.aiplatform.v1beta1.TrajectoryExactMatchSpec.Builder,
+ com.google.cloud.aiplatform.v1beta1.TrajectoryExactMatchSpecOrBuilder>
+ metricSpecBuilder_;
+ /**
+ *
+ *
+ *
+ * Required. Spec for TrajectoryExactMatch metric.
+ *
+ *
+ *
+ * .google.cloud.aiplatform.v1beta1.TrajectoryExactMatchSpec metric_spec = 1 [(.google.api.field_behavior) = REQUIRED];
+ *
+ *
+ * @return Whether the metricSpec field is set.
+ */
+ public boolean hasMetricSpec() {
+ return ((bitField0_ & 0x00000001) != 0);
+ }
+ /**
+ *
+ *
+ *
+ * Required. Spec for TrajectoryExactMatch metric.
+ *
+ *
+ *
+ * .google.cloud.aiplatform.v1beta1.TrajectoryExactMatchSpec metric_spec = 1 [(.google.api.field_behavior) = REQUIRED];
+ *
+ *
+ * @return The metricSpec.
+ */
+ public com.google.cloud.aiplatform.v1beta1.TrajectoryExactMatchSpec getMetricSpec() {
+ if (metricSpecBuilder_ == null) {
+ return metricSpec_ == null
+ ? com.google.cloud.aiplatform.v1beta1.TrajectoryExactMatchSpec.getDefaultInstance()
+ : metricSpec_;
+ } else {
+ return metricSpecBuilder_.getMessage();
+ }
+ }
+ /**
+ *
+ *
+ *
+ * Required. Spec for TrajectoryExactMatch metric.
+ *
+ *
+ *
+ * .google.cloud.aiplatform.v1beta1.TrajectoryExactMatchSpec metric_spec = 1 [(.google.api.field_behavior) = REQUIRED];
+ *
+ */
+ public Builder setMetricSpec(
+ com.google.cloud.aiplatform.v1beta1.TrajectoryExactMatchSpec value) {
+ if (metricSpecBuilder_ == null) {
+ if (value == null) {
+ throw new NullPointerException();
+ }
+ metricSpec_ = value;
+ } else {
+ metricSpecBuilder_.setMessage(value);
+ }
+ bitField0_ |= 0x00000001;
+ onChanged();
+ return this;
+ }
+ /**
+ *
+ *
+ *
+ * Required. Spec for TrajectoryExactMatch metric.
+ *
+ *
+ *
+ * .google.cloud.aiplatform.v1beta1.TrajectoryExactMatchSpec metric_spec = 1 [(.google.api.field_behavior) = REQUIRED];
+ *
+ */
+ public Builder setMetricSpec(
+ com.google.cloud.aiplatform.v1beta1.TrajectoryExactMatchSpec.Builder builderForValue) {
+ if (metricSpecBuilder_ == null) {
+ metricSpec_ = builderForValue.build();
+ } else {
+ metricSpecBuilder_.setMessage(builderForValue.build());
+ }
+ bitField0_ |= 0x00000001;
+ onChanged();
+ return this;
+ }
+ /**
+ *
+ *
+ *
+ * Required. Spec for TrajectoryExactMatch metric.
+ *
+ *
+ *
+ * .google.cloud.aiplatform.v1beta1.TrajectoryExactMatchSpec metric_spec = 1 [(.google.api.field_behavior) = REQUIRED];
+ *
+ */
+ public Builder mergeMetricSpec(
+ com.google.cloud.aiplatform.v1beta1.TrajectoryExactMatchSpec value) {
+ if (metricSpecBuilder_ == null) {
+ if (((bitField0_ & 0x00000001) != 0)
+ && metricSpec_ != null
+ && metricSpec_
+ != com.google.cloud.aiplatform.v1beta1.TrajectoryExactMatchSpec
+ .getDefaultInstance()) {
+ getMetricSpecBuilder().mergeFrom(value);
+ } else {
+ metricSpec_ = value;
+ }
+ } else {
+ metricSpecBuilder_.mergeFrom(value);
+ }
+ if (metricSpec_ != null) {
+ bitField0_ |= 0x00000001;
+ onChanged();
+ }
+ return this;
+ }
+ /**
+ *
+ *
+ *
+ * Required. Spec for TrajectoryExactMatch metric.
+ *
+ *
+ *
+ * .google.cloud.aiplatform.v1beta1.TrajectoryExactMatchSpec metric_spec = 1 [(.google.api.field_behavior) = REQUIRED];
+ *
+ */
+ public Builder clearMetricSpec() {
+ bitField0_ = (bitField0_ & ~0x00000001);
+ metricSpec_ = null;
+ if (metricSpecBuilder_ != null) {
+ metricSpecBuilder_.dispose();
+ metricSpecBuilder_ = null;
+ }
+ onChanged();
+ return this;
+ }
+ /**
+ *
+ *
+ *
+ * Required. Spec for TrajectoryExactMatch metric.
+ *
+ *
+ *
+ * .google.cloud.aiplatform.v1beta1.TrajectoryExactMatchSpec metric_spec = 1 [(.google.api.field_behavior) = REQUIRED];
+ *
+ */
+ public com.google.cloud.aiplatform.v1beta1.TrajectoryExactMatchSpec.Builder
+ getMetricSpecBuilder() {
+ bitField0_ |= 0x00000001;
+ onChanged();
+ return getMetricSpecFieldBuilder().getBuilder();
+ }
+ /**
+ *
+ *
+ *
+ * Required. Spec for TrajectoryExactMatch metric.
+ *
+ *
+ *
+ * .google.cloud.aiplatform.v1beta1.TrajectoryExactMatchSpec metric_spec = 1 [(.google.api.field_behavior) = REQUIRED];
+ *
+ */
+ public com.google.cloud.aiplatform.v1beta1.TrajectoryExactMatchSpecOrBuilder
+ getMetricSpecOrBuilder() {
+ if (metricSpecBuilder_ != null) {
+ return metricSpecBuilder_.getMessageOrBuilder();
+ } else {
+ return metricSpec_ == null
+ ? com.google.cloud.aiplatform.v1beta1.TrajectoryExactMatchSpec.getDefaultInstance()
+ : metricSpec_;
+ }
+ }
+ /**
+ *
+ *
+ *
+ * Required. Spec for TrajectoryExactMatch metric.
+ *
+ *
+ *
+ * .google.cloud.aiplatform.v1beta1.TrajectoryExactMatchSpec metric_spec = 1 [(.google.api.field_behavior) = REQUIRED];
+ *
+ */
+ private com.google.protobuf.SingleFieldBuilderV3<
+ com.google.cloud.aiplatform.v1beta1.TrajectoryExactMatchSpec,
+ com.google.cloud.aiplatform.v1beta1.TrajectoryExactMatchSpec.Builder,
+ com.google.cloud.aiplatform.v1beta1.TrajectoryExactMatchSpecOrBuilder>
+ getMetricSpecFieldBuilder() {
+ if (metricSpecBuilder_ == null) {
+ metricSpecBuilder_ =
+ new com.google.protobuf.SingleFieldBuilderV3<
+ com.google.cloud.aiplatform.v1beta1.TrajectoryExactMatchSpec,
+ com.google.cloud.aiplatform.v1beta1.TrajectoryExactMatchSpec.Builder,
+ com.google.cloud.aiplatform.v1beta1.TrajectoryExactMatchSpecOrBuilder>(
+ getMetricSpec(), getParentForChildren(), isClean());
+ metricSpec_ = null;
+ }
+ return metricSpecBuilder_;
+ }
+
+ private java.util.List
+ instances_ = java.util.Collections.emptyList();
+
+ private void ensureInstancesIsMutable() {
+ if (!((bitField0_ & 0x00000002) != 0)) {
+ instances_ =
+ new java.util.ArrayList<
+ com.google.cloud.aiplatform.v1beta1.TrajectoryExactMatchInstance>(instances_);
+ bitField0_ |= 0x00000002;
+ }
+ }
+
+ private com.google.protobuf.RepeatedFieldBuilderV3<
+ com.google.cloud.aiplatform.v1beta1.TrajectoryExactMatchInstance,
+ com.google.cloud.aiplatform.v1beta1.TrajectoryExactMatchInstance.Builder,
+ com.google.cloud.aiplatform.v1beta1.TrajectoryExactMatchInstanceOrBuilder>
+ instancesBuilder_;
+
+ /**
+ *
+ *
+ *
+ * Required. Repeated TrajectoryExactMatch instance.
+ *
+ *
+ *
+ * repeated .google.cloud.aiplatform.v1beta1.TrajectoryExactMatchInstance instances = 2 [(.google.api.field_behavior) = REQUIRED];
+ *
+ */
+ public java.util.List
+ getInstancesList() {
+ if (instancesBuilder_ == null) {
+ return java.util.Collections.unmodifiableList(instances_);
+ } else {
+ return instancesBuilder_.getMessageList();
+ }
+ }
+ /**
+ *
+ *
+ *
+ * Required. Repeated TrajectoryExactMatch instance.
+ *
+ *
+ *
+ * repeated .google.cloud.aiplatform.v1beta1.TrajectoryExactMatchInstance instances = 2 [(.google.api.field_behavior) = REQUIRED];
+ *
+ */
+ public int getInstancesCount() {
+ if (instancesBuilder_ == null) {
+ return instances_.size();
+ } else {
+ return instancesBuilder_.getCount();
+ }
+ }
+ /**
+ *
+ *
+ *
+ * Required. Repeated TrajectoryExactMatch instance.
+ *
+ *
+ *
+ * repeated .google.cloud.aiplatform.v1beta1.TrajectoryExactMatchInstance instances = 2 [(.google.api.field_behavior) = REQUIRED];
+ *
+ */
+ public com.google.cloud.aiplatform.v1beta1.TrajectoryExactMatchInstance getInstances(
+ int index) {
+ if (instancesBuilder_ == null) {
+ return instances_.get(index);
+ } else {
+ return instancesBuilder_.getMessage(index);
+ }
+ }
+ /**
+ *
+ *
+ *
+ * Required. Repeated TrajectoryExactMatch instance.
+ *
+ *
+ *
+ * repeated .google.cloud.aiplatform.v1beta1.TrajectoryExactMatchInstance instances = 2 [(.google.api.field_behavior) = REQUIRED];
+ *
+ */
+ public Builder setInstances(
+ int index, com.google.cloud.aiplatform.v1beta1.TrajectoryExactMatchInstance value) {
+ if (instancesBuilder_ == null) {
+ if (value == null) {
+ throw new NullPointerException();
+ }
+ ensureInstancesIsMutable();
+ instances_.set(index, value);
+ onChanged();
+ } else {
+ instancesBuilder_.setMessage(index, value);
+ }
+ return this;
+ }
+ /**
+ *
+ *
+ *
+ * Required. Repeated TrajectoryExactMatch instance.
+ *
+ *
+ *
+ * repeated .google.cloud.aiplatform.v1beta1.TrajectoryExactMatchInstance instances = 2 [(.google.api.field_behavior) = REQUIRED];
+ *
+ */
+ public Builder setInstances(
+ int index,
+ com.google.cloud.aiplatform.v1beta1.TrajectoryExactMatchInstance.Builder builderForValue) {
+ if (instancesBuilder_ == null) {
+ ensureInstancesIsMutable();
+ instances_.set(index, builderForValue.build());
+ onChanged();
+ } else {
+ instancesBuilder_.setMessage(index, builderForValue.build());
+ }
+ return this;
+ }
+ /**
+ *
+ *
+ *
+ * Required. Repeated TrajectoryExactMatch instance.
+ *
+ *
+ *
+ * repeated .google.cloud.aiplatform.v1beta1.TrajectoryExactMatchInstance instances = 2 [(.google.api.field_behavior) = REQUIRED];
+ *
+ */
+ public Builder addInstances(
+ com.google.cloud.aiplatform.v1beta1.TrajectoryExactMatchInstance value) {
+ if (instancesBuilder_ == null) {
+ if (value == null) {
+ throw new NullPointerException();
+ }
+ ensureInstancesIsMutable();
+ instances_.add(value);
+ onChanged();
+ } else {
+ instancesBuilder_.addMessage(value);
+ }
+ return this;
+ }
+ /**
+ *
+ *
+ *
+ * Required. Repeated TrajectoryExactMatch instance.
+ *
+ *
+ *
+ * repeated .google.cloud.aiplatform.v1beta1.TrajectoryExactMatchInstance instances = 2 [(.google.api.field_behavior) = REQUIRED];
+ *
+ */
+ public Builder addInstances(
+ int index, com.google.cloud.aiplatform.v1beta1.TrajectoryExactMatchInstance value) {
+ if (instancesBuilder_ == null) {
+ if (value == null) {
+ throw new NullPointerException();
+ }
+ ensureInstancesIsMutable();
+ instances_.add(index, value);
+ onChanged();
+ } else {
+ instancesBuilder_.addMessage(index, value);
+ }
+ return this;
+ }
+ /**
+ *
+ *
+ *
+ * Required. Repeated TrajectoryExactMatch instance.
+ *
+ *
+ *
+ * repeated .google.cloud.aiplatform.v1beta1.TrajectoryExactMatchInstance instances = 2 [(.google.api.field_behavior) = REQUIRED];
+ *
+ */
+ public Builder addInstances(
+ com.google.cloud.aiplatform.v1beta1.TrajectoryExactMatchInstance.Builder builderForValue) {
+ if (instancesBuilder_ == null) {
+ ensureInstancesIsMutable();
+ instances_.add(builderForValue.build());
+ onChanged();
+ } else {
+ instancesBuilder_.addMessage(builderForValue.build());
+ }
+ return this;
+ }
+ /**
+ *
+ *
+ *
+ * Required. Repeated TrajectoryExactMatch instance.
+ *
+ *
+ *
+ * repeated .google.cloud.aiplatform.v1beta1.TrajectoryExactMatchInstance instances = 2 [(.google.api.field_behavior) = REQUIRED];
+ *
+ */
+ public Builder addInstances(
+ int index,
+ com.google.cloud.aiplatform.v1beta1.TrajectoryExactMatchInstance.Builder builderForValue) {
+ if (instancesBuilder_ == null) {
+ ensureInstancesIsMutable();
+ instances_.add(index, builderForValue.build());
+ onChanged();
+ } else {
+ instancesBuilder_.addMessage(index, builderForValue.build());
+ }
+ return this;
+ }
+ /**
+ *
+ *
+ *
+ * Required. Repeated TrajectoryExactMatch instance.
+ *
+ *
+ *
+ * repeated .google.cloud.aiplatform.v1beta1.TrajectoryExactMatchInstance instances = 2 [(.google.api.field_behavior) = REQUIRED];
+ *
+ */
+ public Builder addAllInstances(
+ java.lang.Iterable<
+ ? extends com.google.cloud.aiplatform.v1beta1.TrajectoryExactMatchInstance>
+ values) {
+ if (instancesBuilder_ == null) {
+ ensureInstancesIsMutable();
+ com.google.protobuf.AbstractMessageLite.Builder.addAll(values, instances_);
+ onChanged();
+ } else {
+ instancesBuilder_.addAllMessages(values);
+ }
+ return this;
+ }
+ /**
+ *
+ *
+ *
+ * Required. Repeated TrajectoryExactMatch instance.
+ *
+ *
+ *
+ * repeated .google.cloud.aiplatform.v1beta1.TrajectoryExactMatchInstance instances = 2 [(.google.api.field_behavior) = REQUIRED];
+ *
+ */
+ public Builder clearInstances() {
+ if (instancesBuilder_ == null) {
+ instances_ = java.util.Collections.emptyList();
+ bitField0_ = (bitField0_ & ~0x00000002);
+ onChanged();
+ } else {
+ instancesBuilder_.clear();
+ }
+ return this;
+ }
+ /**
+ *
+ *
+ *
+ * Required. Repeated TrajectoryExactMatch instance.
+ *
+ *
+ *
+ * repeated .google.cloud.aiplatform.v1beta1.TrajectoryExactMatchInstance instances = 2 [(.google.api.field_behavior) = REQUIRED];
+ *
+ */
+ public Builder removeInstances(int index) {
+ if (instancesBuilder_ == null) {
+ ensureInstancesIsMutable();
+ instances_.remove(index);
+ onChanged();
+ } else {
+ instancesBuilder_.remove(index);
+ }
+ return this;
+ }
+ /**
+ *
+ *
+ *
+ * Required. Repeated TrajectoryExactMatch instance.
+ *
+ *
+ *
+ * repeated .google.cloud.aiplatform.v1beta1.TrajectoryExactMatchInstance instances = 2 [(.google.api.field_behavior) = REQUIRED];
+ *
+ */
+ public com.google.cloud.aiplatform.v1beta1.TrajectoryExactMatchInstance.Builder
+ getInstancesBuilder(int index) {
+ return getInstancesFieldBuilder().getBuilder(index);
+ }
+ /**
+ *
+ *
+ *
+ * Required. Repeated TrajectoryExactMatch instance.
+ *
+ *
+ *
+ * repeated .google.cloud.aiplatform.v1beta1.TrajectoryExactMatchInstance instances = 2 [(.google.api.field_behavior) = REQUIRED];
+ *
+ */
+ public com.google.cloud.aiplatform.v1beta1.TrajectoryExactMatchInstanceOrBuilder
+ getInstancesOrBuilder(int index) {
+ if (instancesBuilder_ == null) {
+ return instances_.get(index);
+ } else {
+ return instancesBuilder_.getMessageOrBuilder(index);
+ }
+ }
+ /**
+ *
+ *
+ *
+ * Required. Repeated TrajectoryExactMatch instance.
+ *
+ *
+ *
+ * repeated .google.cloud.aiplatform.v1beta1.TrajectoryExactMatchInstance instances = 2 [(.google.api.field_behavior) = REQUIRED];
+ *
+ */
+ public java.util.List<
+ ? extends com.google.cloud.aiplatform.v1beta1.TrajectoryExactMatchInstanceOrBuilder>
+ getInstancesOrBuilderList() {
+ if (instancesBuilder_ != null) {
+ return instancesBuilder_.getMessageOrBuilderList();
+ } else {
+ return java.util.Collections.unmodifiableList(instances_);
+ }
+ }
+ /**
+ *
+ *
+ *
+ * Required. Repeated TrajectoryExactMatch instance.
+ *
+ *
+ *
+ * repeated .google.cloud.aiplatform.v1beta1.TrajectoryExactMatchInstance instances = 2 [(.google.api.field_behavior) = REQUIRED];
+ *
+ */
+ public com.google.cloud.aiplatform.v1beta1.TrajectoryExactMatchInstance.Builder
+ addInstancesBuilder() {
+ return getInstancesFieldBuilder()
+ .addBuilder(
+ com.google.cloud.aiplatform.v1beta1.TrajectoryExactMatchInstance
+ .getDefaultInstance());
+ }
+ /**
+ *
+ *
+ *
+ * Required. Repeated TrajectoryExactMatch instance.
+ *
+ *
+ *
+ * repeated .google.cloud.aiplatform.v1beta1.TrajectoryExactMatchInstance instances = 2 [(.google.api.field_behavior) = REQUIRED];
+ *
+ */
+ public com.google.cloud.aiplatform.v1beta1.TrajectoryExactMatchInstance.Builder
+ addInstancesBuilder(int index) {
+ return getInstancesFieldBuilder()
+ .addBuilder(
+ index,
+ com.google.cloud.aiplatform.v1beta1.TrajectoryExactMatchInstance
+ .getDefaultInstance());
+ }
+ /**
+ *
+ *
+ *
+ * Required. Repeated TrajectoryExactMatch instance.
+ *
+ *
+ *
+ * repeated .google.cloud.aiplatform.v1beta1.TrajectoryExactMatchInstance instances = 2 [(.google.api.field_behavior) = REQUIRED];
+ *
+ */
+ public java.util.List
+ getInstancesBuilderList() {
+ return getInstancesFieldBuilder().getBuilderList();
+ }
+
+ private com.google.protobuf.RepeatedFieldBuilderV3<
+ com.google.cloud.aiplatform.v1beta1.TrajectoryExactMatchInstance,
+ com.google.cloud.aiplatform.v1beta1.TrajectoryExactMatchInstance.Builder,
+ com.google.cloud.aiplatform.v1beta1.TrajectoryExactMatchInstanceOrBuilder>
+ getInstancesFieldBuilder() {
+ if (instancesBuilder_ == null) {
+ instancesBuilder_ =
+ new com.google.protobuf.RepeatedFieldBuilderV3<
+ com.google.cloud.aiplatform.v1beta1.TrajectoryExactMatchInstance,
+ com.google.cloud.aiplatform.v1beta1.TrajectoryExactMatchInstance.Builder,
+ com.google.cloud.aiplatform.v1beta1.TrajectoryExactMatchInstanceOrBuilder>(
+ instances_, ((bitField0_ & 0x00000002) != 0), getParentForChildren(), isClean());
+ instances_ = null;
+ }
+ return instancesBuilder_;
+ }
+
+ @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:google.cloud.aiplatform.v1beta1.TrajectoryExactMatchInput)
+ }
+
+ // @@protoc_insertion_point(class_scope:google.cloud.aiplatform.v1beta1.TrajectoryExactMatchInput)
+ private static final com.google.cloud.aiplatform.v1beta1.TrajectoryExactMatchInput
+ DEFAULT_INSTANCE;
+
+ static {
+ DEFAULT_INSTANCE = new com.google.cloud.aiplatform.v1beta1.TrajectoryExactMatchInput();
+ }
+
+ public static com.google.cloud.aiplatform.v1beta1.TrajectoryExactMatchInput getDefaultInstance() {
+ return DEFAULT_INSTANCE;
+ }
+
+ private static final com.google.protobuf.Parser PARSER =
+ new com.google.protobuf.AbstractParser() {
+ @java.lang.Override
+ public TrajectoryExactMatchInput 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 com.google.cloud.aiplatform.v1beta1.TrajectoryExactMatchInput getDefaultInstanceForType() {
+ return DEFAULT_INSTANCE;
+ }
+}
diff --git a/java-aiplatform/proto-google-cloud-aiplatform-v1beta1/src/main/java/com/google/cloud/aiplatform/v1beta1/TrajectoryExactMatchInputOrBuilder.java b/java-aiplatform/proto-google-cloud-aiplatform-v1beta1/src/main/java/com/google/cloud/aiplatform/v1beta1/TrajectoryExactMatchInputOrBuilder.java
new file mode 100644
index 000000000000..f7d7e1e3236b
--- /dev/null
+++ b/java-aiplatform/proto-google-cloud-aiplatform-v1beta1/src/main/java/com/google/cloud/aiplatform/v1beta1/TrajectoryExactMatchInputOrBuilder.java
@@ -0,0 +1,132 @@
+/*
+ * Copyright 2024 Google LLC
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ * https://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+// Generated by the protocol buffer compiler. DO NOT EDIT!
+// source: google/cloud/aiplatform/v1beta1/evaluation_service.proto
+
+// Protobuf Java Version: 3.25.5
+package com.google.cloud.aiplatform.v1beta1;
+
+public interface TrajectoryExactMatchInputOrBuilder
+ extends
+ // @@protoc_insertion_point(interface_extends:google.cloud.aiplatform.v1beta1.TrajectoryExactMatchInput)
+ com.google.protobuf.MessageOrBuilder {
+
+ /**
+ *
+ *
+ *
+ * Required. Spec for TrajectoryExactMatch metric.
+ *
+ *
+ *
+ * .google.cloud.aiplatform.v1beta1.TrajectoryExactMatchSpec metric_spec = 1 [(.google.api.field_behavior) = REQUIRED];
+ *
+ *
+ * @return Whether the metricSpec field is set.
+ */
+ boolean hasMetricSpec();
+ /**
+ *
+ *
+ *
+ * Required. Spec for TrajectoryExactMatch metric.
+ *
+ *
+ *
+ * .google.cloud.aiplatform.v1beta1.TrajectoryExactMatchSpec metric_spec = 1 [(.google.api.field_behavior) = REQUIRED];
+ *
+ *
+ * @return The metricSpec.
+ */
+ com.google.cloud.aiplatform.v1beta1.TrajectoryExactMatchSpec getMetricSpec();
+ /**
+ *
+ *
+ *
+ * Required. Spec for TrajectoryExactMatch metric.
+ *
+ *
+ *
+ * .google.cloud.aiplatform.v1beta1.TrajectoryExactMatchSpec metric_spec = 1 [(.google.api.field_behavior) = REQUIRED];
+ *
+ */
+ com.google.cloud.aiplatform.v1beta1.TrajectoryExactMatchSpecOrBuilder getMetricSpecOrBuilder();
+
+ /**
+ *
+ *
+ *
+ * Required. Repeated TrajectoryExactMatch instance.
+ *
+ *
+ *
+ * repeated .google.cloud.aiplatform.v1beta1.TrajectoryExactMatchInstance instances = 2 [(.google.api.field_behavior) = REQUIRED];
+ *
+ */
+ java.util.List
+ getInstancesList();
+ /**
+ *
+ *
+ *
+ * Required. Repeated TrajectoryExactMatch instance.
+ *
+ *
+ *
+ * repeated .google.cloud.aiplatform.v1beta1.TrajectoryExactMatchInstance instances = 2 [(.google.api.field_behavior) = REQUIRED];
+ *
+ */
+ com.google.cloud.aiplatform.v1beta1.TrajectoryExactMatchInstance getInstances(int index);
+ /**
+ *
+ *
+ *
+ * Required. Repeated TrajectoryExactMatch instance.
+ *
+ *
+ *
+ * repeated .google.cloud.aiplatform.v1beta1.TrajectoryExactMatchInstance instances = 2 [(.google.api.field_behavior) = REQUIRED];
+ *
+ */
+ int getInstancesCount();
+ /**
+ *
+ *
+ *
+ * Required. Repeated TrajectoryExactMatch instance.
+ *
+ *
+ *
+ * repeated .google.cloud.aiplatform.v1beta1.TrajectoryExactMatchInstance instances = 2 [(.google.api.field_behavior) = REQUIRED];
+ *
+ */
+ java.util.List<
+ ? extends com.google.cloud.aiplatform.v1beta1.TrajectoryExactMatchInstanceOrBuilder>
+ getInstancesOrBuilderList();
+ /**
+ *
+ *
+ *
+ * Required. Repeated TrajectoryExactMatch instance.
+ *
+ *
+ *
+ * repeated .google.cloud.aiplatform.v1beta1.TrajectoryExactMatchInstance instances = 2 [(.google.api.field_behavior) = REQUIRED];
+ *
+ */
+ com.google.cloud.aiplatform.v1beta1.TrajectoryExactMatchInstanceOrBuilder getInstancesOrBuilder(
+ int index);
+}
diff --git a/java-aiplatform/proto-google-cloud-aiplatform-v1beta1/src/main/java/com/google/cloud/aiplatform/v1beta1/TrajectoryExactMatchInstance.java b/java-aiplatform/proto-google-cloud-aiplatform-v1beta1/src/main/java/com/google/cloud/aiplatform/v1beta1/TrajectoryExactMatchInstance.java
new file mode 100644
index 000000000000..f687b9fbbdc1
--- /dev/null
+++ b/java-aiplatform/proto-google-cloud-aiplatform-v1beta1/src/main/java/com/google/cloud/aiplatform/v1beta1/TrajectoryExactMatchInstance.java
@@ -0,0 +1,1059 @@
+/*
+ * Copyright 2024 Google LLC
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ * https://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+// Generated by the protocol buffer compiler. DO NOT EDIT!
+// source: google/cloud/aiplatform/v1beta1/evaluation_service.proto
+
+// Protobuf Java Version: 3.25.5
+package com.google.cloud.aiplatform.v1beta1;
+
+/**
+ *
+ *
+ *
+ * Spec for TrajectoryExactMatch instance.
+ *
+ *
+ * Protobuf type {@code google.cloud.aiplatform.v1beta1.TrajectoryExactMatchInstance}
+ */
+public final class TrajectoryExactMatchInstance extends com.google.protobuf.GeneratedMessageV3
+ implements
+ // @@protoc_insertion_point(message_implements:google.cloud.aiplatform.v1beta1.TrajectoryExactMatchInstance)
+ TrajectoryExactMatchInstanceOrBuilder {
+ private static final long serialVersionUID = 0L;
+ // Use TrajectoryExactMatchInstance.newBuilder() to construct.
+ private TrajectoryExactMatchInstance(com.google.protobuf.GeneratedMessageV3.Builder> builder) {
+ super(builder);
+ }
+
+ private TrajectoryExactMatchInstance() {}
+
+ @java.lang.Override
+ @SuppressWarnings({"unused"})
+ protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
+ return new TrajectoryExactMatchInstance();
+ }
+
+ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+ return com.google.cloud.aiplatform.v1beta1.EvaluationServiceProto
+ .internal_static_google_cloud_aiplatform_v1beta1_TrajectoryExactMatchInstance_descriptor;
+ }
+
+ @java.lang.Override
+ protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
+ internalGetFieldAccessorTable() {
+ return com.google.cloud.aiplatform.v1beta1.EvaluationServiceProto
+ .internal_static_google_cloud_aiplatform_v1beta1_TrajectoryExactMatchInstance_fieldAccessorTable
+ .ensureFieldAccessorsInitialized(
+ com.google.cloud.aiplatform.v1beta1.TrajectoryExactMatchInstance.class,
+ com.google.cloud.aiplatform.v1beta1.TrajectoryExactMatchInstance.Builder.class);
+ }
+
+ private int bitField0_;
+ public static final int PREDICTED_TRAJECTORY_FIELD_NUMBER = 1;
+ private com.google.cloud.aiplatform.v1beta1.Trajectory predictedTrajectory_;
+ /**
+ *
+ *
+ *
+ * Required. Spec for predicted tool call trajectory.
+ *
+ *
+ *
+ * optional .google.cloud.aiplatform.v1beta1.Trajectory predicted_trajectory = 1 [(.google.api.field_behavior) = REQUIRED];
+ *
+ *
+ * @return Whether the predictedTrajectory field is set.
+ */
+ @java.lang.Override
+ public boolean hasPredictedTrajectory() {
+ return ((bitField0_ & 0x00000001) != 0);
+ }
+ /**
+ *
+ *
+ *
+ * Required. Spec for predicted tool call trajectory.
+ *
+ *
+ *
+ * optional .google.cloud.aiplatform.v1beta1.Trajectory predicted_trajectory = 1 [(.google.api.field_behavior) = REQUIRED];
+ *
+ *
+ * @return The predictedTrajectory.
+ */
+ @java.lang.Override
+ public com.google.cloud.aiplatform.v1beta1.Trajectory getPredictedTrajectory() {
+ return predictedTrajectory_ == null
+ ? com.google.cloud.aiplatform.v1beta1.Trajectory.getDefaultInstance()
+ : predictedTrajectory_;
+ }
+ /**
+ *
+ *
+ *
+ * Required. Spec for predicted tool call trajectory.
+ *
+ *
+ *
+ * optional .google.cloud.aiplatform.v1beta1.Trajectory predicted_trajectory = 1 [(.google.api.field_behavior) = REQUIRED];
+ *
+ */
+ @java.lang.Override
+ public com.google.cloud.aiplatform.v1beta1.TrajectoryOrBuilder getPredictedTrajectoryOrBuilder() {
+ return predictedTrajectory_ == null
+ ? com.google.cloud.aiplatform.v1beta1.Trajectory.getDefaultInstance()
+ : predictedTrajectory_;
+ }
+
+ public static final int REFERENCE_TRAJECTORY_FIELD_NUMBER = 2;
+ private com.google.cloud.aiplatform.v1beta1.Trajectory referenceTrajectory_;
+ /**
+ *
+ *
+ *
+ * Required. Spec for reference tool call trajectory.
+ *
+ *
+ *
+ * optional .google.cloud.aiplatform.v1beta1.Trajectory reference_trajectory = 2 [(.google.api.field_behavior) = REQUIRED];
+ *
+ *
+ * @return Whether the referenceTrajectory field is set.
+ */
+ @java.lang.Override
+ public boolean hasReferenceTrajectory() {
+ return ((bitField0_ & 0x00000002) != 0);
+ }
+ /**
+ *
+ *
+ *
+ * Required. Spec for reference tool call trajectory.
+ *
+ *
+ *
+ * optional .google.cloud.aiplatform.v1beta1.Trajectory reference_trajectory = 2 [(.google.api.field_behavior) = REQUIRED];
+ *
+ *
+ * @return The referenceTrajectory.
+ */
+ @java.lang.Override
+ public com.google.cloud.aiplatform.v1beta1.Trajectory getReferenceTrajectory() {
+ return referenceTrajectory_ == null
+ ? com.google.cloud.aiplatform.v1beta1.Trajectory.getDefaultInstance()
+ : referenceTrajectory_;
+ }
+ /**
+ *
+ *
+ *
+ * Required. Spec for reference tool call trajectory.
+ *
+ *
+ *
+ * optional .google.cloud.aiplatform.v1beta1.Trajectory reference_trajectory = 2 [(.google.api.field_behavior) = REQUIRED];
+ *
+ */
+ @java.lang.Override
+ public com.google.cloud.aiplatform.v1beta1.TrajectoryOrBuilder getReferenceTrajectoryOrBuilder() {
+ return referenceTrajectory_ == null
+ ? com.google.cloud.aiplatform.v1beta1.Trajectory.getDefaultInstance()
+ : referenceTrajectory_;
+ }
+
+ private byte memoizedIsInitialized = -1;
+
+ @java.lang.Override
+ public final boolean isInitialized() {
+ byte isInitialized = memoizedIsInitialized;
+ if (isInitialized == 1) return true;
+ if (isInitialized == 0) return false;
+
+ memoizedIsInitialized = 1;
+ return true;
+ }
+
+ @java.lang.Override
+ public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException {
+ if (((bitField0_ & 0x00000001) != 0)) {
+ output.writeMessage(1, getPredictedTrajectory());
+ }
+ if (((bitField0_ & 0x00000002) != 0)) {
+ output.writeMessage(2, getReferenceTrajectory());
+ }
+ getUnknownFields().writeTo(output);
+ }
+
+ @java.lang.Override
+ public int getSerializedSize() {
+ int size = memoizedSize;
+ if (size != -1) return size;
+
+ size = 0;
+ if (((bitField0_ & 0x00000001) != 0)) {
+ size += com.google.protobuf.CodedOutputStream.computeMessageSize(1, getPredictedTrajectory());
+ }
+ if (((bitField0_ & 0x00000002) != 0)) {
+ size += com.google.protobuf.CodedOutputStream.computeMessageSize(2, getReferenceTrajectory());
+ }
+ 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 com.google.cloud.aiplatform.v1beta1.TrajectoryExactMatchInstance)) {
+ return super.equals(obj);
+ }
+ com.google.cloud.aiplatform.v1beta1.TrajectoryExactMatchInstance other =
+ (com.google.cloud.aiplatform.v1beta1.TrajectoryExactMatchInstance) obj;
+
+ if (hasPredictedTrajectory() != other.hasPredictedTrajectory()) return false;
+ if (hasPredictedTrajectory()) {
+ if (!getPredictedTrajectory().equals(other.getPredictedTrajectory())) return false;
+ }
+ if (hasReferenceTrajectory() != other.hasReferenceTrajectory()) return false;
+ if (hasReferenceTrajectory()) {
+ if (!getReferenceTrajectory().equals(other.getReferenceTrajectory())) 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 (hasPredictedTrajectory()) {
+ hash = (37 * hash) + PREDICTED_TRAJECTORY_FIELD_NUMBER;
+ hash = (53 * hash) + getPredictedTrajectory().hashCode();
+ }
+ if (hasReferenceTrajectory()) {
+ hash = (37 * hash) + REFERENCE_TRAJECTORY_FIELD_NUMBER;
+ hash = (53 * hash) + getReferenceTrajectory().hashCode();
+ }
+ hash = (29 * hash) + getUnknownFields().hashCode();
+ memoizedHashCode = hash;
+ return hash;
+ }
+
+ public static com.google.cloud.aiplatform.v1beta1.TrajectoryExactMatchInstance parseFrom(
+ java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException {
+ return PARSER.parseFrom(data);
+ }
+
+ public static com.google.cloud.aiplatform.v1beta1.TrajectoryExactMatchInstance parseFrom(
+ java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+ throws com.google.protobuf.InvalidProtocolBufferException {
+ return PARSER.parseFrom(data, extensionRegistry);
+ }
+
+ public static com.google.cloud.aiplatform.v1beta1.TrajectoryExactMatchInstance parseFrom(
+ com.google.protobuf.ByteString data)
+ throws com.google.protobuf.InvalidProtocolBufferException {
+ return PARSER.parseFrom(data);
+ }
+
+ public static com.google.cloud.aiplatform.v1beta1.TrajectoryExactMatchInstance parseFrom(
+ com.google.protobuf.ByteString data,
+ com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+ throws com.google.protobuf.InvalidProtocolBufferException {
+ return PARSER.parseFrom(data, extensionRegistry);
+ }
+
+ public static com.google.cloud.aiplatform.v1beta1.TrajectoryExactMatchInstance parseFrom(
+ byte[] data) throws com.google.protobuf.InvalidProtocolBufferException {
+ return PARSER.parseFrom(data);
+ }
+
+ public static com.google.cloud.aiplatform.v1beta1.TrajectoryExactMatchInstance parseFrom(
+ byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+ throws com.google.protobuf.InvalidProtocolBufferException {
+ return PARSER.parseFrom(data, extensionRegistry);
+ }
+
+ public static com.google.cloud.aiplatform.v1beta1.TrajectoryExactMatchInstance parseFrom(
+ java.io.InputStream input) throws java.io.IOException {
+ return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input);
+ }
+
+ public static com.google.cloud.aiplatform.v1beta1.TrajectoryExactMatchInstance parseFrom(
+ java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+ throws java.io.IOException {
+ return com.google.protobuf.GeneratedMessageV3.parseWithIOException(
+ PARSER, input, extensionRegistry);
+ }
+
+ public static com.google.cloud.aiplatform.v1beta1.TrajectoryExactMatchInstance parseDelimitedFrom(
+ java.io.InputStream input) throws java.io.IOException {
+ return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input);
+ }
+
+ public static com.google.cloud.aiplatform.v1beta1.TrajectoryExactMatchInstance parseDelimitedFrom(
+ java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+ throws java.io.IOException {
+ return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(
+ PARSER, input, extensionRegistry);
+ }
+
+ public static com.google.cloud.aiplatform.v1beta1.TrajectoryExactMatchInstance parseFrom(
+ com.google.protobuf.CodedInputStream input) throws java.io.IOException {
+ return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input);
+ }
+
+ public static com.google.cloud.aiplatform.v1beta1.TrajectoryExactMatchInstance 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(
+ com.google.cloud.aiplatform.v1beta1.TrajectoryExactMatchInstance 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;
+ }
+ /**
+ *
+ *
+ *
+ * Spec for TrajectoryExactMatch instance.
+ *
+ *
+ * Protobuf type {@code google.cloud.aiplatform.v1beta1.TrajectoryExactMatchInstance}
+ */
+ public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder
+ implements
+ // @@protoc_insertion_point(builder_implements:google.cloud.aiplatform.v1beta1.TrajectoryExactMatchInstance)
+ com.google.cloud.aiplatform.v1beta1.TrajectoryExactMatchInstanceOrBuilder {
+ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+ return com.google.cloud.aiplatform.v1beta1.EvaluationServiceProto
+ .internal_static_google_cloud_aiplatform_v1beta1_TrajectoryExactMatchInstance_descriptor;
+ }
+
+ @java.lang.Override
+ protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
+ internalGetFieldAccessorTable() {
+ return com.google.cloud.aiplatform.v1beta1.EvaluationServiceProto
+ .internal_static_google_cloud_aiplatform_v1beta1_TrajectoryExactMatchInstance_fieldAccessorTable
+ .ensureFieldAccessorsInitialized(
+ com.google.cloud.aiplatform.v1beta1.TrajectoryExactMatchInstance.class,
+ com.google.cloud.aiplatform.v1beta1.TrajectoryExactMatchInstance.Builder.class);
+ }
+
+ // Construct using com.google.cloud.aiplatform.v1beta1.TrajectoryExactMatchInstance.newBuilder()
+ private Builder() {
+ maybeForceBuilderInitialization();
+ }
+
+ private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+ super(parent);
+ maybeForceBuilderInitialization();
+ }
+
+ private void maybeForceBuilderInitialization() {
+ if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {
+ getPredictedTrajectoryFieldBuilder();
+ getReferenceTrajectoryFieldBuilder();
+ }
+ }
+
+ @java.lang.Override
+ public Builder clear() {
+ super.clear();
+ bitField0_ = 0;
+ predictedTrajectory_ = null;
+ if (predictedTrajectoryBuilder_ != null) {
+ predictedTrajectoryBuilder_.dispose();
+ predictedTrajectoryBuilder_ = null;
+ }
+ referenceTrajectory_ = null;
+ if (referenceTrajectoryBuilder_ != null) {
+ referenceTrajectoryBuilder_.dispose();
+ referenceTrajectoryBuilder_ = null;
+ }
+ return this;
+ }
+
+ @java.lang.Override
+ public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
+ return com.google.cloud.aiplatform.v1beta1.EvaluationServiceProto
+ .internal_static_google_cloud_aiplatform_v1beta1_TrajectoryExactMatchInstance_descriptor;
+ }
+
+ @java.lang.Override
+ public com.google.cloud.aiplatform.v1beta1.TrajectoryExactMatchInstance
+ getDefaultInstanceForType() {
+ return com.google.cloud.aiplatform.v1beta1.TrajectoryExactMatchInstance.getDefaultInstance();
+ }
+
+ @java.lang.Override
+ public com.google.cloud.aiplatform.v1beta1.TrajectoryExactMatchInstance build() {
+ com.google.cloud.aiplatform.v1beta1.TrajectoryExactMatchInstance result = buildPartial();
+ if (!result.isInitialized()) {
+ throw newUninitializedMessageException(result);
+ }
+ return result;
+ }
+
+ @java.lang.Override
+ public com.google.cloud.aiplatform.v1beta1.TrajectoryExactMatchInstance buildPartial() {
+ com.google.cloud.aiplatform.v1beta1.TrajectoryExactMatchInstance result =
+ new com.google.cloud.aiplatform.v1beta1.TrajectoryExactMatchInstance(this);
+ if (bitField0_ != 0) {
+ buildPartial0(result);
+ }
+ onBuilt();
+ return result;
+ }
+
+ private void buildPartial0(
+ com.google.cloud.aiplatform.v1beta1.TrajectoryExactMatchInstance result) {
+ int from_bitField0_ = bitField0_;
+ int to_bitField0_ = 0;
+ if (((from_bitField0_ & 0x00000001) != 0)) {
+ result.predictedTrajectory_ =
+ predictedTrajectoryBuilder_ == null
+ ? predictedTrajectory_
+ : predictedTrajectoryBuilder_.build();
+ to_bitField0_ |= 0x00000001;
+ }
+ if (((from_bitField0_ & 0x00000002) != 0)) {
+ result.referenceTrajectory_ =
+ referenceTrajectoryBuilder_ == null
+ ? referenceTrajectory_
+ : referenceTrajectoryBuilder_.build();
+ to_bitField0_ |= 0x00000002;
+ }
+ result.bitField0_ |= to_bitField0_;
+ }
+
+ @java.lang.Override
+ public Builder clone() {
+ return super.clone();
+ }
+
+ @java.lang.Override
+ public Builder setField(
+ com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+ return super.setField(field, value);
+ }
+
+ @java.lang.Override
+ public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) {
+ return super.clearField(field);
+ }
+
+ @java.lang.Override
+ public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) {
+ return super.clearOneof(oneof);
+ }
+
+ @java.lang.Override
+ public Builder setRepeatedField(
+ com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) {
+ return super.setRepeatedField(field, index, value);
+ }
+
+ @java.lang.Override
+ public Builder addRepeatedField(
+ com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+ return super.addRepeatedField(field, value);
+ }
+
+ @java.lang.Override
+ public Builder mergeFrom(com.google.protobuf.Message other) {
+ if (other instanceof com.google.cloud.aiplatform.v1beta1.TrajectoryExactMatchInstance) {
+ return mergeFrom((com.google.cloud.aiplatform.v1beta1.TrajectoryExactMatchInstance) other);
+ } else {
+ super.mergeFrom(other);
+ return this;
+ }
+ }
+
+ public Builder mergeFrom(
+ com.google.cloud.aiplatform.v1beta1.TrajectoryExactMatchInstance other) {
+ if (other
+ == com.google.cloud.aiplatform.v1beta1.TrajectoryExactMatchInstance.getDefaultInstance())
+ return this;
+ if (other.hasPredictedTrajectory()) {
+ mergePredictedTrajectory(other.getPredictedTrajectory());
+ }
+ if (other.hasReferenceTrajectory()) {
+ mergeReferenceTrajectory(other.getReferenceTrajectory());
+ }
+ this.mergeUnknownFields(other.getUnknownFields());
+ onChanged();
+ return this;
+ }
+
+ @java.lang.Override
+ public final boolean isInitialized() {
+ return true;
+ }
+
+ @java.lang.Override
+ public Builder mergeFrom(
+ com.google.protobuf.CodedInputStream input,
+ com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+ throws java.io.IOException {
+ if (extensionRegistry == null) {
+ throw new java.lang.NullPointerException();
+ }
+ try {
+ boolean done = false;
+ while (!done) {
+ int tag = input.readTag();
+ switch (tag) {
+ case 0:
+ done = true;
+ break;
+ case 10:
+ {
+ input.readMessage(
+ getPredictedTrajectoryFieldBuilder().getBuilder(), extensionRegistry);
+ bitField0_ |= 0x00000001;
+ break;
+ } // case 10
+ case 18:
+ {
+ input.readMessage(
+ getReferenceTrajectoryFieldBuilder().getBuilder(), extensionRegistry);
+ bitField0_ |= 0x00000002;
+ break;
+ } // case 18
+ default:
+ {
+ if (!super.parseUnknownField(input, extensionRegistry, tag)) {
+ done = true; // was an endgroup tag
+ }
+ break;
+ } // default:
+ } // switch (tag)
+ } // while (!done)
+ } catch (com.google.protobuf.InvalidProtocolBufferException e) {
+ throw e.unwrapIOException();
+ } finally {
+ onChanged();
+ } // finally
+ return this;
+ }
+
+ private int bitField0_;
+
+ private com.google.cloud.aiplatform.v1beta1.Trajectory predictedTrajectory_;
+ private com.google.protobuf.SingleFieldBuilderV3<
+ com.google.cloud.aiplatform.v1beta1.Trajectory,
+ com.google.cloud.aiplatform.v1beta1.Trajectory.Builder,
+ com.google.cloud.aiplatform.v1beta1.TrajectoryOrBuilder>
+ predictedTrajectoryBuilder_;
+ /**
+ *
+ *
+ *
+ * Required. Spec for predicted tool call trajectory.
+ *
+ *
+ *
+ * optional .google.cloud.aiplatform.v1beta1.Trajectory predicted_trajectory = 1 [(.google.api.field_behavior) = REQUIRED];
+ *
+ *
+ * @return Whether the predictedTrajectory field is set.
+ */
+ public boolean hasPredictedTrajectory() {
+ return ((bitField0_ & 0x00000001) != 0);
+ }
+ /**
+ *
+ *
+ *
+ * Required. Spec for predicted tool call trajectory.
+ *
+ *
+ *
+ * optional .google.cloud.aiplatform.v1beta1.Trajectory predicted_trajectory = 1 [(.google.api.field_behavior) = REQUIRED];
+ *
+ *
+ * @return The predictedTrajectory.
+ */
+ public com.google.cloud.aiplatform.v1beta1.Trajectory getPredictedTrajectory() {
+ if (predictedTrajectoryBuilder_ == null) {
+ return predictedTrajectory_ == null
+ ? com.google.cloud.aiplatform.v1beta1.Trajectory.getDefaultInstance()
+ : predictedTrajectory_;
+ } else {
+ return predictedTrajectoryBuilder_.getMessage();
+ }
+ }
+ /**
+ *
+ *
+ *
+ * Required. Spec for predicted tool call trajectory.
+ *
+ *
+ *
+ * optional .google.cloud.aiplatform.v1beta1.Trajectory predicted_trajectory = 1 [(.google.api.field_behavior) = REQUIRED];
+ *
+ */
+ public Builder setPredictedTrajectory(com.google.cloud.aiplatform.v1beta1.Trajectory value) {
+ if (predictedTrajectoryBuilder_ == null) {
+ if (value == null) {
+ throw new NullPointerException();
+ }
+ predictedTrajectory_ = value;
+ } else {
+ predictedTrajectoryBuilder_.setMessage(value);
+ }
+ bitField0_ |= 0x00000001;
+ onChanged();
+ return this;
+ }
+ /**
+ *
+ *
+ *
+ * Required. Spec for predicted tool call trajectory.
+ *
+ *
+ *
+ * optional .google.cloud.aiplatform.v1beta1.Trajectory predicted_trajectory = 1 [(.google.api.field_behavior) = REQUIRED];
+ *
+ */
+ public Builder setPredictedTrajectory(
+ com.google.cloud.aiplatform.v1beta1.Trajectory.Builder builderForValue) {
+ if (predictedTrajectoryBuilder_ == null) {
+ predictedTrajectory_ = builderForValue.build();
+ } else {
+ predictedTrajectoryBuilder_.setMessage(builderForValue.build());
+ }
+ bitField0_ |= 0x00000001;
+ onChanged();
+ return this;
+ }
+ /**
+ *
+ *
+ *
+ * Required. Spec for predicted tool call trajectory.
+ *
+ *
+ *
+ * optional .google.cloud.aiplatform.v1beta1.Trajectory predicted_trajectory = 1 [(.google.api.field_behavior) = REQUIRED];
+ *
+ */
+ public Builder mergePredictedTrajectory(com.google.cloud.aiplatform.v1beta1.Trajectory value) {
+ if (predictedTrajectoryBuilder_ == null) {
+ if (((bitField0_ & 0x00000001) != 0)
+ && predictedTrajectory_ != null
+ && predictedTrajectory_
+ != com.google.cloud.aiplatform.v1beta1.Trajectory.getDefaultInstance()) {
+ getPredictedTrajectoryBuilder().mergeFrom(value);
+ } else {
+ predictedTrajectory_ = value;
+ }
+ } else {
+ predictedTrajectoryBuilder_.mergeFrom(value);
+ }
+ if (predictedTrajectory_ != null) {
+ bitField0_ |= 0x00000001;
+ onChanged();
+ }
+ return this;
+ }
+ /**
+ *
+ *
+ *
+ * Required. Spec for predicted tool call trajectory.
+ *
+ *
+ *
+ * optional .google.cloud.aiplatform.v1beta1.Trajectory predicted_trajectory = 1 [(.google.api.field_behavior) = REQUIRED];
+ *
+ */
+ public Builder clearPredictedTrajectory() {
+ bitField0_ = (bitField0_ & ~0x00000001);
+ predictedTrajectory_ = null;
+ if (predictedTrajectoryBuilder_ != null) {
+ predictedTrajectoryBuilder_.dispose();
+ predictedTrajectoryBuilder_ = null;
+ }
+ onChanged();
+ return this;
+ }
+ /**
+ *
+ *
+ *
+ * Required. Spec for predicted tool call trajectory.
+ *
+ *
+ *
+ * optional .google.cloud.aiplatform.v1beta1.Trajectory predicted_trajectory = 1 [(.google.api.field_behavior) = REQUIRED];
+ *
+ */
+ public com.google.cloud.aiplatform.v1beta1.Trajectory.Builder getPredictedTrajectoryBuilder() {
+ bitField0_ |= 0x00000001;
+ onChanged();
+ return getPredictedTrajectoryFieldBuilder().getBuilder();
+ }
+ /**
+ *
+ *
+ *
+ * Required. Spec for predicted tool call trajectory.
+ *
+ *
+ *
+ * optional .google.cloud.aiplatform.v1beta1.Trajectory predicted_trajectory = 1 [(.google.api.field_behavior) = REQUIRED];
+ *
+ */
+ public com.google.cloud.aiplatform.v1beta1.TrajectoryOrBuilder
+ getPredictedTrajectoryOrBuilder() {
+ if (predictedTrajectoryBuilder_ != null) {
+ return predictedTrajectoryBuilder_.getMessageOrBuilder();
+ } else {
+ return predictedTrajectory_ == null
+ ? com.google.cloud.aiplatform.v1beta1.Trajectory.getDefaultInstance()
+ : predictedTrajectory_;
+ }
+ }
+ /**
+ *
+ *
+ *
+ * Required. Spec for predicted tool call trajectory.
+ *
+ *
+ *
+ * optional .google.cloud.aiplatform.v1beta1.Trajectory predicted_trajectory = 1 [(.google.api.field_behavior) = REQUIRED];
+ *
+ */
+ private com.google.protobuf.SingleFieldBuilderV3<
+ com.google.cloud.aiplatform.v1beta1.Trajectory,
+ com.google.cloud.aiplatform.v1beta1.Trajectory.Builder,
+ com.google.cloud.aiplatform.v1beta1.TrajectoryOrBuilder>
+ getPredictedTrajectoryFieldBuilder() {
+ if (predictedTrajectoryBuilder_ == null) {
+ predictedTrajectoryBuilder_ =
+ new com.google.protobuf.SingleFieldBuilderV3<
+ com.google.cloud.aiplatform.v1beta1.Trajectory,
+ com.google.cloud.aiplatform.v1beta1.Trajectory.Builder,
+ com.google.cloud.aiplatform.v1beta1.TrajectoryOrBuilder>(
+ getPredictedTrajectory(), getParentForChildren(), isClean());
+ predictedTrajectory_ = null;
+ }
+ return predictedTrajectoryBuilder_;
+ }
+
+ private com.google.cloud.aiplatform.v1beta1.Trajectory referenceTrajectory_;
+ private com.google.protobuf.SingleFieldBuilderV3<
+ com.google.cloud.aiplatform.v1beta1.Trajectory,
+ com.google.cloud.aiplatform.v1beta1.Trajectory.Builder,
+ com.google.cloud.aiplatform.v1beta1.TrajectoryOrBuilder>
+ referenceTrajectoryBuilder_;
+ /**
+ *
+ *
+ *
+ * Required. Spec for reference tool call trajectory.
+ *
+ *
+ *
+ * optional .google.cloud.aiplatform.v1beta1.Trajectory reference_trajectory = 2 [(.google.api.field_behavior) = REQUIRED];
+ *
+ *
+ * @return Whether the referenceTrajectory field is set.
+ */
+ public boolean hasReferenceTrajectory() {
+ return ((bitField0_ & 0x00000002) != 0);
+ }
+ /**
+ *
+ *
+ *
+ * Required. Spec for reference tool call trajectory.
+ *
+ *
+ *
+ * optional .google.cloud.aiplatform.v1beta1.Trajectory reference_trajectory = 2 [(.google.api.field_behavior) = REQUIRED];
+ *
+ *
+ * @return The referenceTrajectory.
+ */
+ public com.google.cloud.aiplatform.v1beta1.Trajectory getReferenceTrajectory() {
+ if (referenceTrajectoryBuilder_ == null) {
+ return referenceTrajectory_ == null
+ ? com.google.cloud.aiplatform.v1beta1.Trajectory.getDefaultInstance()
+ : referenceTrajectory_;
+ } else {
+ return referenceTrajectoryBuilder_.getMessage();
+ }
+ }
+ /**
+ *
+ *
+ *
+ * Required. Spec for reference tool call trajectory.
+ *
+ *
+ *
+ * optional .google.cloud.aiplatform.v1beta1.Trajectory reference_trajectory = 2 [(.google.api.field_behavior) = REQUIRED];
+ *
+ */
+ public Builder setReferenceTrajectory(com.google.cloud.aiplatform.v1beta1.Trajectory value) {
+ if (referenceTrajectoryBuilder_ == null) {
+ if (value == null) {
+ throw new NullPointerException();
+ }
+ referenceTrajectory_ = value;
+ } else {
+ referenceTrajectoryBuilder_.setMessage(value);
+ }
+ bitField0_ |= 0x00000002;
+ onChanged();
+ return this;
+ }
+ /**
+ *
+ *
+ *
+ * Required. Spec for reference tool call trajectory.
+ *
+ *
+ *
+ * optional .google.cloud.aiplatform.v1beta1.Trajectory reference_trajectory = 2 [(.google.api.field_behavior) = REQUIRED];
+ *
+ */
+ public Builder setReferenceTrajectory(
+ com.google.cloud.aiplatform.v1beta1.Trajectory.Builder builderForValue) {
+ if (referenceTrajectoryBuilder_ == null) {
+ referenceTrajectory_ = builderForValue.build();
+ } else {
+ referenceTrajectoryBuilder_.setMessage(builderForValue.build());
+ }
+ bitField0_ |= 0x00000002;
+ onChanged();
+ return this;
+ }
+ /**
+ *
+ *
+ *
+ * Required. Spec for reference tool call trajectory.
+ *
+ *
+ *
+ * optional .google.cloud.aiplatform.v1beta1.Trajectory reference_trajectory = 2 [(.google.api.field_behavior) = REQUIRED];
+ *
+ */
+ public Builder mergeReferenceTrajectory(com.google.cloud.aiplatform.v1beta1.Trajectory value) {
+ if (referenceTrajectoryBuilder_ == null) {
+ if (((bitField0_ & 0x00000002) != 0)
+ && referenceTrajectory_ != null
+ && referenceTrajectory_
+ != com.google.cloud.aiplatform.v1beta1.Trajectory.getDefaultInstance()) {
+ getReferenceTrajectoryBuilder().mergeFrom(value);
+ } else {
+ referenceTrajectory_ = value;
+ }
+ } else {
+ referenceTrajectoryBuilder_.mergeFrom(value);
+ }
+ if (referenceTrajectory_ != null) {
+ bitField0_ |= 0x00000002;
+ onChanged();
+ }
+ return this;
+ }
+ /**
+ *
+ *
+ *
+ * Required. Spec for reference tool call trajectory.
+ *
+ *
+ *
+ * optional .google.cloud.aiplatform.v1beta1.Trajectory reference_trajectory = 2 [(.google.api.field_behavior) = REQUIRED];
+ *
+ */
+ public Builder clearReferenceTrajectory() {
+ bitField0_ = (bitField0_ & ~0x00000002);
+ referenceTrajectory_ = null;
+ if (referenceTrajectoryBuilder_ != null) {
+ referenceTrajectoryBuilder_.dispose();
+ referenceTrajectoryBuilder_ = null;
+ }
+ onChanged();
+ return this;
+ }
+ /**
+ *
+ *
+ *
+ * Required. Spec for reference tool call trajectory.
+ *
+ *
+ *
+ * optional .google.cloud.aiplatform.v1beta1.Trajectory reference_trajectory = 2 [(.google.api.field_behavior) = REQUIRED];
+ *
+ */
+ public com.google.cloud.aiplatform.v1beta1.Trajectory.Builder getReferenceTrajectoryBuilder() {
+ bitField0_ |= 0x00000002;
+ onChanged();
+ return getReferenceTrajectoryFieldBuilder().getBuilder();
+ }
+ /**
+ *
+ *
+ *
+ * Required. Spec for reference tool call trajectory.
+ *
+ *
+ *
+ * optional .google.cloud.aiplatform.v1beta1.Trajectory reference_trajectory = 2 [(.google.api.field_behavior) = REQUIRED];
+ *
+ */
+ public com.google.cloud.aiplatform.v1beta1.TrajectoryOrBuilder
+ getReferenceTrajectoryOrBuilder() {
+ if (referenceTrajectoryBuilder_ != null) {
+ return referenceTrajectoryBuilder_.getMessageOrBuilder();
+ } else {
+ return referenceTrajectory_ == null
+ ? com.google.cloud.aiplatform.v1beta1.Trajectory.getDefaultInstance()
+ : referenceTrajectory_;
+ }
+ }
+ /**
+ *
+ *
+ *
+ * Required. Spec for reference tool call trajectory.
+ *
+ *
+ *
+ * optional .google.cloud.aiplatform.v1beta1.Trajectory reference_trajectory = 2 [(.google.api.field_behavior) = REQUIRED];
+ *
+ */
+ private com.google.protobuf.SingleFieldBuilderV3<
+ com.google.cloud.aiplatform.v1beta1.Trajectory,
+ com.google.cloud.aiplatform.v1beta1.Trajectory.Builder,
+ com.google.cloud.aiplatform.v1beta1.TrajectoryOrBuilder>
+ getReferenceTrajectoryFieldBuilder() {
+ if (referenceTrajectoryBuilder_ == null) {
+ referenceTrajectoryBuilder_ =
+ new com.google.protobuf.SingleFieldBuilderV3<
+ com.google.cloud.aiplatform.v1beta1.Trajectory,
+ com.google.cloud.aiplatform.v1beta1.Trajectory.Builder,
+ com.google.cloud.aiplatform.v1beta1.TrajectoryOrBuilder>(
+ getReferenceTrajectory(), getParentForChildren(), isClean());
+ referenceTrajectory_ = null;
+ }
+ return referenceTrajectoryBuilder_;
+ }
+
+ @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:google.cloud.aiplatform.v1beta1.TrajectoryExactMatchInstance)
+ }
+
+ // @@protoc_insertion_point(class_scope:google.cloud.aiplatform.v1beta1.TrajectoryExactMatchInstance)
+ private static final com.google.cloud.aiplatform.v1beta1.TrajectoryExactMatchInstance
+ DEFAULT_INSTANCE;
+
+ static {
+ DEFAULT_INSTANCE = new com.google.cloud.aiplatform.v1beta1.TrajectoryExactMatchInstance();
+ }
+
+ public static com.google.cloud.aiplatform.v1beta1.TrajectoryExactMatchInstance
+ getDefaultInstance() {
+ return DEFAULT_INSTANCE;
+ }
+
+ private static final com.google.protobuf.Parser PARSER =
+ new com.google.protobuf.AbstractParser() {
+ @java.lang.Override
+ public TrajectoryExactMatchInstance 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 com.google.cloud.aiplatform.v1beta1.TrajectoryExactMatchInstance
+ getDefaultInstanceForType() {
+ return DEFAULT_INSTANCE;
+ }
+}
diff --git a/java-aiplatform/proto-google-cloud-aiplatform-v1beta1/src/main/java/com/google/cloud/aiplatform/v1beta1/TrajectoryExactMatchInstanceOrBuilder.java b/java-aiplatform/proto-google-cloud-aiplatform-v1beta1/src/main/java/com/google/cloud/aiplatform/v1beta1/TrajectoryExactMatchInstanceOrBuilder.java
new file mode 100644
index 000000000000..9cc703f2ddc9
--- /dev/null
+++ b/java-aiplatform/proto-google-cloud-aiplatform-v1beta1/src/main/java/com/google/cloud/aiplatform/v1beta1/TrajectoryExactMatchInstanceOrBuilder.java
@@ -0,0 +1,108 @@
+/*
+ * Copyright 2024 Google LLC
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ * https://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+// Generated by the protocol buffer compiler. DO NOT EDIT!
+// source: google/cloud/aiplatform/v1beta1/evaluation_service.proto
+
+// Protobuf Java Version: 3.25.5
+package com.google.cloud.aiplatform.v1beta1;
+
+public interface TrajectoryExactMatchInstanceOrBuilder
+ extends
+ // @@protoc_insertion_point(interface_extends:google.cloud.aiplatform.v1beta1.TrajectoryExactMatchInstance)
+ com.google.protobuf.MessageOrBuilder {
+
+ /**
+ *
+ *
+ *
+ * Required. Spec for predicted tool call trajectory.
+ *
+ *
+ *
+ * optional .google.cloud.aiplatform.v1beta1.Trajectory predicted_trajectory = 1 [(.google.api.field_behavior) = REQUIRED];
+ *
+ *
+ * @return Whether the predictedTrajectory field is set.
+ */
+ boolean hasPredictedTrajectory();
+ /**
+ *
+ *
+ *
+ * Required. Spec for predicted tool call trajectory.
+ *
+ *
+ *
+ * optional .google.cloud.aiplatform.v1beta1.Trajectory predicted_trajectory = 1 [(.google.api.field_behavior) = REQUIRED];
+ *
+ *
+ * @return The predictedTrajectory.
+ */
+ com.google.cloud.aiplatform.v1beta1.Trajectory getPredictedTrajectory();
+ /**
+ *
+ *
+ *
+ * Required. Spec for predicted tool call trajectory.
+ *
+ *
+ *
+ * optional .google.cloud.aiplatform.v1beta1.Trajectory predicted_trajectory = 1 [(.google.api.field_behavior) = REQUIRED];
+ *
+ */
+ com.google.cloud.aiplatform.v1beta1.TrajectoryOrBuilder getPredictedTrajectoryOrBuilder();
+
+ /**
+ *
+ *
+ *
+ * Required. Spec for reference tool call trajectory.
+ *
+ *
+ *
+ * optional .google.cloud.aiplatform.v1beta1.Trajectory reference_trajectory = 2 [(.google.api.field_behavior) = REQUIRED];
+ *
+ *
+ * @return Whether the referenceTrajectory field is set.
+ */
+ boolean hasReferenceTrajectory();
+ /**
+ *
+ *
+ *
+ * Required. Spec for reference tool call trajectory.
+ *
+ *
+ *
+ * optional .google.cloud.aiplatform.v1beta1.Trajectory reference_trajectory = 2 [(.google.api.field_behavior) = REQUIRED];
+ *
+ *
+ * @return The referenceTrajectory.
+ */
+ com.google.cloud.aiplatform.v1beta1.Trajectory getReferenceTrajectory();
+ /**
+ *
+ *
+ *
+ * Required. Spec for reference tool call trajectory.
+ *
+ *
+ *
+ * optional .google.cloud.aiplatform.v1beta1.Trajectory reference_trajectory = 2 [(.google.api.field_behavior) = REQUIRED];
+ *
+ */
+ com.google.cloud.aiplatform.v1beta1.TrajectoryOrBuilder getReferenceTrajectoryOrBuilder();
+}
diff --git a/java-aiplatform/proto-google-cloud-aiplatform-v1beta1/src/main/java/com/google/cloud/aiplatform/v1beta1/TrajectoryExactMatchMetricValue.java b/java-aiplatform/proto-google-cloud-aiplatform-v1beta1/src/main/java/com/google/cloud/aiplatform/v1beta1/TrajectoryExactMatchMetricValue.java
new file mode 100644
index 000000000000..b7b8bdae1aa4
--- /dev/null
+++ b/java-aiplatform/proto-google-cloud-aiplatform-v1beta1/src/main/java/com/google/cloud/aiplatform/v1beta1/TrajectoryExactMatchMetricValue.java
@@ -0,0 +1,588 @@
+/*
+ * Copyright 2024 Google LLC
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ * https://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+// Generated by the protocol buffer compiler. DO NOT EDIT!
+// source: google/cloud/aiplatform/v1beta1/evaluation_service.proto
+
+// Protobuf Java Version: 3.25.5
+package com.google.cloud.aiplatform.v1beta1;
+
+/**
+ *
+ *
+ *
+ * TrajectoryExactMatch metric value for an instance.
+ *
+ *
+ * Protobuf type {@code google.cloud.aiplatform.v1beta1.TrajectoryExactMatchMetricValue}
+ */
+public final class TrajectoryExactMatchMetricValue extends com.google.protobuf.GeneratedMessageV3
+ implements
+ // @@protoc_insertion_point(message_implements:google.cloud.aiplatform.v1beta1.TrajectoryExactMatchMetricValue)
+ TrajectoryExactMatchMetricValueOrBuilder {
+ private static final long serialVersionUID = 0L;
+ // Use TrajectoryExactMatchMetricValue.newBuilder() to construct.
+ private TrajectoryExactMatchMetricValue(
+ com.google.protobuf.GeneratedMessageV3.Builder> builder) {
+ super(builder);
+ }
+
+ private TrajectoryExactMatchMetricValue() {}
+
+ @java.lang.Override
+ @SuppressWarnings({"unused"})
+ protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
+ return new TrajectoryExactMatchMetricValue();
+ }
+
+ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+ return com.google.cloud.aiplatform.v1beta1.EvaluationServiceProto
+ .internal_static_google_cloud_aiplatform_v1beta1_TrajectoryExactMatchMetricValue_descriptor;
+ }
+
+ @java.lang.Override
+ protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
+ internalGetFieldAccessorTable() {
+ return com.google.cloud.aiplatform.v1beta1.EvaluationServiceProto
+ .internal_static_google_cloud_aiplatform_v1beta1_TrajectoryExactMatchMetricValue_fieldAccessorTable
+ .ensureFieldAccessorsInitialized(
+ com.google.cloud.aiplatform.v1beta1.TrajectoryExactMatchMetricValue.class,
+ com.google.cloud.aiplatform.v1beta1.TrajectoryExactMatchMetricValue.Builder.class);
+ }
+
+ private int bitField0_;
+ public static final int SCORE_FIELD_NUMBER = 1;
+ private float score_ = 0F;
+ /**
+ *
+ *
+ *
+ * Output only. TrajectoryExactMatch score.
+ *
+ *
+ * optional float score = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
+ *
+ * @return Whether the score field is set.
+ */
+ @java.lang.Override
+ public boolean hasScore() {
+ return ((bitField0_ & 0x00000001) != 0);
+ }
+ /**
+ *
+ *
+ *
+ * Output only. TrajectoryExactMatch score.
+ *
+ *
+ * optional float score = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
+ *
+ * @return The score.
+ */
+ @java.lang.Override
+ public float getScore() {
+ return score_;
+ }
+
+ private byte memoizedIsInitialized = -1;
+
+ @java.lang.Override
+ public final boolean isInitialized() {
+ byte isInitialized = memoizedIsInitialized;
+ if (isInitialized == 1) return true;
+ if (isInitialized == 0) return false;
+
+ memoizedIsInitialized = 1;
+ return true;
+ }
+
+ @java.lang.Override
+ public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException {
+ if (((bitField0_ & 0x00000001) != 0)) {
+ output.writeFloat(1, score_);
+ }
+ getUnknownFields().writeTo(output);
+ }
+
+ @java.lang.Override
+ public int getSerializedSize() {
+ int size = memoizedSize;
+ if (size != -1) return size;
+
+ size = 0;
+ if (((bitField0_ & 0x00000001) != 0)) {
+ size += com.google.protobuf.CodedOutputStream.computeFloatSize(1, score_);
+ }
+ 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 com.google.cloud.aiplatform.v1beta1.TrajectoryExactMatchMetricValue)) {
+ return super.equals(obj);
+ }
+ com.google.cloud.aiplatform.v1beta1.TrajectoryExactMatchMetricValue other =
+ (com.google.cloud.aiplatform.v1beta1.TrajectoryExactMatchMetricValue) obj;
+
+ if (hasScore() != other.hasScore()) return false;
+ if (hasScore()) {
+ if (java.lang.Float.floatToIntBits(getScore())
+ != java.lang.Float.floatToIntBits(other.getScore())) 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 (hasScore()) {
+ hash = (37 * hash) + SCORE_FIELD_NUMBER;
+ hash = (53 * hash) + java.lang.Float.floatToIntBits(getScore());
+ }
+ hash = (29 * hash) + getUnknownFields().hashCode();
+ memoizedHashCode = hash;
+ return hash;
+ }
+
+ public static com.google.cloud.aiplatform.v1beta1.TrajectoryExactMatchMetricValue parseFrom(
+ java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException {
+ return PARSER.parseFrom(data);
+ }
+
+ public static com.google.cloud.aiplatform.v1beta1.TrajectoryExactMatchMetricValue parseFrom(
+ java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+ throws com.google.protobuf.InvalidProtocolBufferException {
+ return PARSER.parseFrom(data, extensionRegistry);
+ }
+
+ public static com.google.cloud.aiplatform.v1beta1.TrajectoryExactMatchMetricValue parseFrom(
+ com.google.protobuf.ByteString data)
+ throws com.google.protobuf.InvalidProtocolBufferException {
+ return PARSER.parseFrom(data);
+ }
+
+ public static com.google.cloud.aiplatform.v1beta1.TrajectoryExactMatchMetricValue parseFrom(
+ com.google.protobuf.ByteString data,
+ com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+ throws com.google.protobuf.InvalidProtocolBufferException {
+ return PARSER.parseFrom(data, extensionRegistry);
+ }
+
+ public static com.google.cloud.aiplatform.v1beta1.TrajectoryExactMatchMetricValue parseFrom(
+ byte[] data) throws com.google.protobuf.InvalidProtocolBufferException {
+ return PARSER.parseFrom(data);
+ }
+
+ public static com.google.cloud.aiplatform.v1beta1.TrajectoryExactMatchMetricValue parseFrom(
+ byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+ throws com.google.protobuf.InvalidProtocolBufferException {
+ return PARSER.parseFrom(data, extensionRegistry);
+ }
+
+ public static com.google.cloud.aiplatform.v1beta1.TrajectoryExactMatchMetricValue parseFrom(
+ java.io.InputStream input) throws java.io.IOException {
+ return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input);
+ }
+
+ public static com.google.cloud.aiplatform.v1beta1.TrajectoryExactMatchMetricValue parseFrom(
+ java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+ throws java.io.IOException {
+ return com.google.protobuf.GeneratedMessageV3.parseWithIOException(
+ PARSER, input, extensionRegistry);
+ }
+
+ public static com.google.cloud.aiplatform.v1beta1.TrajectoryExactMatchMetricValue
+ parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException {
+ return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input);
+ }
+
+ public static com.google.cloud.aiplatform.v1beta1.TrajectoryExactMatchMetricValue
+ parseDelimitedFrom(
+ java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+ throws java.io.IOException {
+ return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(
+ PARSER, input, extensionRegistry);
+ }
+
+ public static com.google.cloud.aiplatform.v1beta1.TrajectoryExactMatchMetricValue parseFrom(
+ com.google.protobuf.CodedInputStream input) throws java.io.IOException {
+ return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input);
+ }
+
+ public static com.google.cloud.aiplatform.v1beta1.TrajectoryExactMatchMetricValue 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(
+ com.google.cloud.aiplatform.v1beta1.TrajectoryExactMatchMetricValue 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;
+ }
+ /**
+ *
+ *
+ *
+ * TrajectoryExactMatch metric value for an instance.
+ *
+ *
+ * Protobuf type {@code google.cloud.aiplatform.v1beta1.TrajectoryExactMatchMetricValue}
+ */
+ public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder
+ implements
+ // @@protoc_insertion_point(builder_implements:google.cloud.aiplatform.v1beta1.TrajectoryExactMatchMetricValue)
+ com.google.cloud.aiplatform.v1beta1.TrajectoryExactMatchMetricValueOrBuilder {
+ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+ return com.google.cloud.aiplatform.v1beta1.EvaluationServiceProto
+ .internal_static_google_cloud_aiplatform_v1beta1_TrajectoryExactMatchMetricValue_descriptor;
+ }
+
+ @java.lang.Override
+ protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
+ internalGetFieldAccessorTable() {
+ return com.google.cloud.aiplatform.v1beta1.EvaluationServiceProto
+ .internal_static_google_cloud_aiplatform_v1beta1_TrajectoryExactMatchMetricValue_fieldAccessorTable
+ .ensureFieldAccessorsInitialized(
+ com.google.cloud.aiplatform.v1beta1.TrajectoryExactMatchMetricValue.class,
+ com.google.cloud.aiplatform.v1beta1.TrajectoryExactMatchMetricValue.Builder.class);
+ }
+
+ // Construct using
+ // com.google.cloud.aiplatform.v1beta1.TrajectoryExactMatchMetricValue.newBuilder()
+ private Builder() {}
+
+ private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+ super(parent);
+ }
+
+ @java.lang.Override
+ public Builder clear() {
+ super.clear();
+ bitField0_ = 0;
+ score_ = 0F;
+ return this;
+ }
+
+ @java.lang.Override
+ public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
+ return com.google.cloud.aiplatform.v1beta1.EvaluationServiceProto
+ .internal_static_google_cloud_aiplatform_v1beta1_TrajectoryExactMatchMetricValue_descriptor;
+ }
+
+ @java.lang.Override
+ public com.google.cloud.aiplatform.v1beta1.TrajectoryExactMatchMetricValue
+ getDefaultInstanceForType() {
+ return com.google.cloud.aiplatform.v1beta1.TrajectoryExactMatchMetricValue
+ .getDefaultInstance();
+ }
+
+ @java.lang.Override
+ public com.google.cloud.aiplatform.v1beta1.TrajectoryExactMatchMetricValue build() {
+ com.google.cloud.aiplatform.v1beta1.TrajectoryExactMatchMetricValue result = buildPartial();
+ if (!result.isInitialized()) {
+ throw newUninitializedMessageException(result);
+ }
+ return result;
+ }
+
+ @java.lang.Override
+ public com.google.cloud.aiplatform.v1beta1.TrajectoryExactMatchMetricValue buildPartial() {
+ com.google.cloud.aiplatform.v1beta1.TrajectoryExactMatchMetricValue result =
+ new com.google.cloud.aiplatform.v1beta1.TrajectoryExactMatchMetricValue(this);
+ if (bitField0_ != 0) {
+ buildPartial0(result);
+ }
+ onBuilt();
+ return result;
+ }
+
+ private void buildPartial0(
+ com.google.cloud.aiplatform.v1beta1.TrajectoryExactMatchMetricValue result) {
+ int from_bitField0_ = bitField0_;
+ int to_bitField0_ = 0;
+ if (((from_bitField0_ & 0x00000001) != 0)) {
+ result.score_ = score_;
+ to_bitField0_ |= 0x00000001;
+ }
+ result.bitField0_ |= to_bitField0_;
+ }
+
+ @java.lang.Override
+ public Builder clone() {
+ return super.clone();
+ }
+
+ @java.lang.Override
+ public Builder setField(
+ com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+ return super.setField(field, value);
+ }
+
+ @java.lang.Override
+ public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) {
+ return super.clearField(field);
+ }
+
+ @java.lang.Override
+ public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) {
+ return super.clearOneof(oneof);
+ }
+
+ @java.lang.Override
+ public Builder setRepeatedField(
+ com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) {
+ return super.setRepeatedField(field, index, value);
+ }
+
+ @java.lang.Override
+ public Builder addRepeatedField(
+ com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+ return super.addRepeatedField(field, value);
+ }
+
+ @java.lang.Override
+ public Builder mergeFrom(com.google.protobuf.Message other) {
+ if (other instanceof com.google.cloud.aiplatform.v1beta1.TrajectoryExactMatchMetricValue) {
+ return mergeFrom(
+ (com.google.cloud.aiplatform.v1beta1.TrajectoryExactMatchMetricValue) other);
+ } else {
+ super.mergeFrom(other);
+ return this;
+ }
+ }
+
+ public Builder mergeFrom(
+ com.google.cloud.aiplatform.v1beta1.TrajectoryExactMatchMetricValue other) {
+ if (other
+ == com.google.cloud.aiplatform.v1beta1.TrajectoryExactMatchMetricValue
+ .getDefaultInstance()) return this;
+ if (other.hasScore()) {
+ setScore(other.getScore());
+ }
+ 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 13:
+ {
+ score_ = input.readFloat();
+ bitField0_ |= 0x00000001;
+ break;
+ } // case 13
+ default:
+ {
+ if (!super.parseUnknownField(input, extensionRegistry, tag)) {
+ done = true; // was an endgroup tag
+ }
+ break;
+ } // default:
+ } // switch (tag)
+ } // while (!done)
+ } catch (com.google.protobuf.InvalidProtocolBufferException e) {
+ throw e.unwrapIOException();
+ } finally {
+ onChanged();
+ } // finally
+ return this;
+ }
+
+ private int bitField0_;
+
+ private float score_;
+ /**
+ *
+ *
+ *
+ * Output only. TrajectoryExactMatch score.
+ *
+ *
+ * optional float score = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
+ *
+ * @return Whether the score field is set.
+ */
+ @java.lang.Override
+ public boolean hasScore() {
+ return ((bitField0_ & 0x00000001) != 0);
+ }
+ /**
+ *
+ *
+ *
+ * Output only. TrajectoryExactMatch score.
+ *
+ *
+ * optional float score = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
+ *
+ * @return The score.
+ */
+ @java.lang.Override
+ public float getScore() {
+ return score_;
+ }
+ /**
+ *
+ *
+ *
+ * Output only. TrajectoryExactMatch score.
+ *
+ *
+ * optional float score = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
+ *
+ * @param value The score to set.
+ * @return This builder for chaining.
+ */
+ public Builder setScore(float value) {
+
+ score_ = value;
+ bitField0_ |= 0x00000001;
+ onChanged();
+ return this;
+ }
+ /**
+ *
+ *
+ *
+ * Output only. TrajectoryExactMatch score.
+ *
+ *
+ * optional float score = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
+ *
+ * @return This builder for chaining.
+ */
+ public Builder clearScore() {
+ bitField0_ = (bitField0_ & ~0x00000001);
+ score_ = 0F;
+ onChanged();
+ return this;
+ }
+
+ @java.lang.Override
+ public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) {
+ return super.setUnknownFields(unknownFields);
+ }
+
+ @java.lang.Override
+ public final Builder mergeUnknownFields(
+ final com.google.protobuf.UnknownFieldSet unknownFields) {
+ return super.mergeUnknownFields(unknownFields);
+ }
+
+ // @@protoc_insertion_point(builder_scope:google.cloud.aiplatform.v1beta1.TrajectoryExactMatchMetricValue)
+ }
+
+ // @@protoc_insertion_point(class_scope:google.cloud.aiplatform.v1beta1.TrajectoryExactMatchMetricValue)
+ private static final com.google.cloud.aiplatform.v1beta1.TrajectoryExactMatchMetricValue
+ DEFAULT_INSTANCE;
+
+ static {
+ DEFAULT_INSTANCE = new com.google.cloud.aiplatform.v1beta1.TrajectoryExactMatchMetricValue();
+ }
+
+ public static com.google.cloud.aiplatform.v1beta1.TrajectoryExactMatchMetricValue
+ getDefaultInstance() {
+ return DEFAULT_INSTANCE;
+ }
+
+ private static final com.google.protobuf.Parser PARSER =
+ new com.google.protobuf.AbstractParser() {
+ @java.lang.Override
+ public TrajectoryExactMatchMetricValue 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 com.google.cloud.aiplatform.v1beta1.TrajectoryExactMatchMetricValue
+ getDefaultInstanceForType() {
+ return DEFAULT_INSTANCE;
+ }
+}
diff --git a/java-aiplatform/proto-google-cloud-aiplatform-v1beta1/src/main/java/com/google/cloud/aiplatform/v1beta1/TrajectoryExactMatchMetricValueOrBuilder.java b/java-aiplatform/proto-google-cloud-aiplatform-v1beta1/src/main/java/com/google/cloud/aiplatform/v1beta1/TrajectoryExactMatchMetricValueOrBuilder.java
new file mode 100644
index 000000000000..5fc52a11b605
--- /dev/null
+++ b/java-aiplatform/proto-google-cloud-aiplatform-v1beta1/src/main/java/com/google/cloud/aiplatform/v1beta1/TrajectoryExactMatchMetricValueOrBuilder.java
@@ -0,0 +1,51 @@
+/*
+ * Copyright 2024 Google LLC
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ * https://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+// Generated by the protocol buffer compiler. DO NOT EDIT!
+// source: google/cloud/aiplatform/v1beta1/evaluation_service.proto
+
+// Protobuf Java Version: 3.25.5
+package com.google.cloud.aiplatform.v1beta1;
+
+public interface TrajectoryExactMatchMetricValueOrBuilder
+ extends
+ // @@protoc_insertion_point(interface_extends:google.cloud.aiplatform.v1beta1.TrajectoryExactMatchMetricValue)
+ com.google.protobuf.MessageOrBuilder {
+
+ /**
+ *
+ *
+ *
+ * Output only. TrajectoryExactMatch score.
+ *
+ *
+ * optional float score = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
+ *
+ * @return Whether the score field is set.
+ */
+ boolean hasScore();
+ /**
+ *
+ *
+ *
+ * Output only. TrajectoryExactMatch score.
+ *
+ *
+ * optional float score = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
+ *
+ * @return The score.
+ */
+ float getScore();
+}
diff --git a/java-aiplatform/proto-google-cloud-aiplatform-v1beta1/src/main/java/com/google/cloud/aiplatform/v1beta1/TrajectoryExactMatchResults.java b/java-aiplatform/proto-google-cloud-aiplatform-v1beta1/src/main/java/com/google/cloud/aiplatform/v1beta1/TrajectoryExactMatchResults.java
new file mode 100644
index 000000000000..383eec5e1028
--- /dev/null
+++ b/java-aiplatform/proto-google-cloud-aiplatform-v1beta1/src/main/java/com/google/cloud/aiplatform/v1beta1/TrajectoryExactMatchResults.java
@@ -0,0 +1,1033 @@
+/*
+ * Copyright 2024 Google LLC
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ * https://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+// Generated by the protocol buffer compiler. DO NOT EDIT!
+// source: google/cloud/aiplatform/v1beta1/evaluation_service.proto
+
+// Protobuf Java Version: 3.25.5
+package com.google.cloud.aiplatform.v1beta1;
+
+/**
+ *
+ *
+ *
+ * Results for TrajectoryExactMatch metric.
+ *
+ *
+ * Protobuf type {@code google.cloud.aiplatform.v1beta1.TrajectoryExactMatchResults}
+ */
+public final class TrajectoryExactMatchResults extends com.google.protobuf.GeneratedMessageV3
+ implements
+ // @@protoc_insertion_point(message_implements:google.cloud.aiplatform.v1beta1.TrajectoryExactMatchResults)
+ TrajectoryExactMatchResultsOrBuilder {
+ private static final long serialVersionUID = 0L;
+ // Use TrajectoryExactMatchResults.newBuilder() to construct.
+ private TrajectoryExactMatchResults(com.google.protobuf.GeneratedMessageV3.Builder> builder) {
+ super(builder);
+ }
+
+ private TrajectoryExactMatchResults() {
+ trajectoryExactMatchMetricValues_ = java.util.Collections.emptyList();
+ }
+
+ @java.lang.Override
+ @SuppressWarnings({"unused"})
+ protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
+ return new TrajectoryExactMatchResults();
+ }
+
+ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+ return com.google.cloud.aiplatform.v1beta1.EvaluationServiceProto
+ .internal_static_google_cloud_aiplatform_v1beta1_TrajectoryExactMatchResults_descriptor;
+ }
+
+ @java.lang.Override
+ protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
+ internalGetFieldAccessorTable() {
+ return com.google.cloud.aiplatform.v1beta1.EvaluationServiceProto
+ .internal_static_google_cloud_aiplatform_v1beta1_TrajectoryExactMatchResults_fieldAccessorTable
+ .ensureFieldAccessorsInitialized(
+ com.google.cloud.aiplatform.v1beta1.TrajectoryExactMatchResults.class,
+ com.google.cloud.aiplatform.v1beta1.TrajectoryExactMatchResults.Builder.class);
+ }
+
+ public static final int TRAJECTORY_EXACT_MATCH_METRIC_VALUES_FIELD_NUMBER = 1;
+
+ @SuppressWarnings("serial")
+ private java.util.List
+ trajectoryExactMatchMetricValues_;
+ /**
+ *
+ *
+ *
+ * Output only. TrajectoryExactMatch metric values.
+ *
+ *
+ *
+ * repeated .google.cloud.aiplatform.v1beta1.TrajectoryExactMatchMetricValue trajectory_exact_match_metric_values = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
+ *
+ */
+ @java.lang.Override
+ public java.util.List
+ getTrajectoryExactMatchMetricValuesList() {
+ return trajectoryExactMatchMetricValues_;
+ }
+ /**
+ *
+ *
+ *
+ * Output only. TrajectoryExactMatch metric values.
+ *
+ *
+ *
+ * repeated .google.cloud.aiplatform.v1beta1.TrajectoryExactMatchMetricValue trajectory_exact_match_metric_values = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
+ *
+ */
+ @java.lang.Override
+ public java.util.List<
+ ? extends com.google.cloud.aiplatform.v1beta1.TrajectoryExactMatchMetricValueOrBuilder>
+ getTrajectoryExactMatchMetricValuesOrBuilderList() {
+ return trajectoryExactMatchMetricValues_;
+ }
+ /**
+ *
+ *
+ *
+ * Output only. TrajectoryExactMatch metric values.
+ *
+ *
+ *
+ * repeated .google.cloud.aiplatform.v1beta1.TrajectoryExactMatchMetricValue trajectory_exact_match_metric_values = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
+ *
+ */
+ @java.lang.Override
+ public int getTrajectoryExactMatchMetricValuesCount() {
+ return trajectoryExactMatchMetricValues_.size();
+ }
+ /**
+ *
+ *
+ *
+ * Output only. TrajectoryExactMatch metric values.
+ *
+ *
+ *
+ * repeated .google.cloud.aiplatform.v1beta1.TrajectoryExactMatchMetricValue trajectory_exact_match_metric_values = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
+ *
+ */
+ @java.lang.Override
+ public com.google.cloud.aiplatform.v1beta1.TrajectoryExactMatchMetricValue
+ getTrajectoryExactMatchMetricValues(int index) {
+ return trajectoryExactMatchMetricValues_.get(index);
+ }
+ /**
+ *
+ *
+ *
+ * Output only. TrajectoryExactMatch metric values.
+ *
+ *
+ *
+ * repeated .google.cloud.aiplatform.v1beta1.TrajectoryExactMatchMetricValue trajectory_exact_match_metric_values = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
+ *
+ */
+ @java.lang.Override
+ public com.google.cloud.aiplatform.v1beta1.TrajectoryExactMatchMetricValueOrBuilder
+ getTrajectoryExactMatchMetricValuesOrBuilder(int index) {
+ return trajectoryExactMatchMetricValues_.get(index);
+ }
+
+ private byte memoizedIsInitialized = -1;
+
+ @java.lang.Override
+ public final boolean isInitialized() {
+ byte isInitialized = memoizedIsInitialized;
+ if (isInitialized == 1) return true;
+ if (isInitialized == 0) return false;
+
+ memoizedIsInitialized = 1;
+ return true;
+ }
+
+ @java.lang.Override
+ public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException {
+ for (int i = 0; i < trajectoryExactMatchMetricValues_.size(); i++) {
+ output.writeMessage(1, trajectoryExactMatchMetricValues_.get(i));
+ }
+ getUnknownFields().writeTo(output);
+ }
+
+ @java.lang.Override
+ public int getSerializedSize() {
+ int size = memoizedSize;
+ if (size != -1) return size;
+
+ size = 0;
+ for (int i = 0; i < trajectoryExactMatchMetricValues_.size(); i++) {
+ size +=
+ com.google.protobuf.CodedOutputStream.computeMessageSize(
+ 1, trajectoryExactMatchMetricValues_.get(i));
+ }
+ size += getUnknownFields().getSerializedSize();
+ memoizedSize = size;
+ return size;
+ }
+
+ @java.lang.Override
+ public boolean equals(final java.lang.Object obj) {
+ if (obj == this) {
+ return true;
+ }
+ if (!(obj instanceof com.google.cloud.aiplatform.v1beta1.TrajectoryExactMatchResults)) {
+ return super.equals(obj);
+ }
+ com.google.cloud.aiplatform.v1beta1.TrajectoryExactMatchResults other =
+ (com.google.cloud.aiplatform.v1beta1.TrajectoryExactMatchResults) obj;
+
+ if (!getTrajectoryExactMatchMetricValuesList()
+ .equals(other.getTrajectoryExactMatchMetricValuesList())) 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 (getTrajectoryExactMatchMetricValuesCount() > 0) {
+ hash = (37 * hash) + TRAJECTORY_EXACT_MATCH_METRIC_VALUES_FIELD_NUMBER;
+ hash = (53 * hash) + getTrajectoryExactMatchMetricValuesList().hashCode();
+ }
+ hash = (29 * hash) + getUnknownFields().hashCode();
+ memoizedHashCode = hash;
+ return hash;
+ }
+
+ public static com.google.cloud.aiplatform.v1beta1.TrajectoryExactMatchResults parseFrom(
+ java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException {
+ return PARSER.parseFrom(data);
+ }
+
+ public static com.google.cloud.aiplatform.v1beta1.TrajectoryExactMatchResults parseFrom(
+ java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+ throws com.google.protobuf.InvalidProtocolBufferException {
+ return PARSER.parseFrom(data, extensionRegistry);
+ }
+
+ public static com.google.cloud.aiplatform.v1beta1.TrajectoryExactMatchResults parseFrom(
+ com.google.protobuf.ByteString data)
+ throws com.google.protobuf.InvalidProtocolBufferException {
+ return PARSER.parseFrom(data);
+ }
+
+ public static com.google.cloud.aiplatform.v1beta1.TrajectoryExactMatchResults parseFrom(
+ com.google.protobuf.ByteString data,
+ com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+ throws com.google.protobuf.InvalidProtocolBufferException {
+ return PARSER.parseFrom(data, extensionRegistry);
+ }
+
+ public static com.google.cloud.aiplatform.v1beta1.TrajectoryExactMatchResults parseFrom(
+ byte[] data) throws com.google.protobuf.InvalidProtocolBufferException {
+ return PARSER.parseFrom(data);
+ }
+
+ public static com.google.cloud.aiplatform.v1beta1.TrajectoryExactMatchResults parseFrom(
+ byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+ throws com.google.protobuf.InvalidProtocolBufferException {
+ return PARSER.parseFrom(data, extensionRegistry);
+ }
+
+ public static com.google.cloud.aiplatform.v1beta1.TrajectoryExactMatchResults parseFrom(
+ java.io.InputStream input) throws java.io.IOException {
+ return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input);
+ }
+
+ public static com.google.cloud.aiplatform.v1beta1.TrajectoryExactMatchResults parseFrom(
+ java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+ throws java.io.IOException {
+ return com.google.protobuf.GeneratedMessageV3.parseWithIOException(
+ PARSER, input, extensionRegistry);
+ }
+
+ public static com.google.cloud.aiplatform.v1beta1.TrajectoryExactMatchResults parseDelimitedFrom(
+ java.io.InputStream input) throws java.io.IOException {
+ return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input);
+ }
+
+ public static com.google.cloud.aiplatform.v1beta1.TrajectoryExactMatchResults parseDelimitedFrom(
+ java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+ throws java.io.IOException {
+ return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(
+ PARSER, input, extensionRegistry);
+ }
+
+ public static com.google.cloud.aiplatform.v1beta1.TrajectoryExactMatchResults parseFrom(
+ com.google.protobuf.CodedInputStream input) throws java.io.IOException {
+ return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input);
+ }
+
+ public static com.google.cloud.aiplatform.v1beta1.TrajectoryExactMatchResults 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(
+ com.google.cloud.aiplatform.v1beta1.TrajectoryExactMatchResults 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;
+ }
+ /**
+ *
+ *
+ *
+ * Results for TrajectoryExactMatch metric.
+ *
+ *
+ * Protobuf type {@code google.cloud.aiplatform.v1beta1.TrajectoryExactMatchResults}
+ */
+ public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder
+ implements
+ // @@protoc_insertion_point(builder_implements:google.cloud.aiplatform.v1beta1.TrajectoryExactMatchResults)
+ com.google.cloud.aiplatform.v1beta1.TrajectoryExactMatchResultsOrBuilder {
+ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+ return com.google.cloud.aiplatform.v1beta1.EvaluationServiceProto
+ .internal_static_google_cloud_aiplatform_v1beta1_TrajectoryExactMatchResults_descriptor;
+ }
+
+ @java.lang.Override
+ protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
+ internalGetFieldAccessorTable() {
+ return com.google.cloud.aiplatform.v1beta1.EvaluationServiceProto
+ .internal_static_google_cloud_aiplatform_v1beta1_TrajectoryExactMatchResults_fieldAccessorTable
+ .ensureFieldAccessorsInitialized(
+ com.google.cloud.aiplatform.v1beta1.TrajectoryExactMatchResults.class,
+ com.google.cloud.aiplatform.v1beta1.TrajectoryExactMatchResults.Builder.class);
+ }
+
+ // Construct using com.google.cloud.aiplatform.v1beta1.TrajectoryExactMatchResults.newBuilder()
+ private Builder() {}
+
+ private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+ super(parent);
+ }
+
+ @java.lang.Override
+ public Builder clear() {
+ super.clear();
+ bitField0_ = 0;
+ if (trajectoryExactMatchMetricValuesBuilder_ == null) {
+ trajectoryExactMatchMetricValues_ = java.util.Collections.emptyList();
+ } else {
+ trajectoryExactMatchMetricValues_ = null;
+ trajectoryExactMatchMetricValuesBuilder_.clear();
+ }
+ bitField0_ = (bitField0_ & ~0x00000001);
+ return this;
+ }
+
+ @java.lang.Override
+ public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
+ return com.google.cloud.aiplatform.v1beta1.EvaluationServiceProto
+ .internal_static_google_cloud_aiplatform_v1beta1_TrajectoryExactMatchResults_descriptor;
+ }
+
+ @java.lang.Override
+ public com.google.cloud.aiplatform.v1beta1.TrajectoryExactMatchResults
+ getDefaultInstanceForType() {
+ return com.google.cloud.aiplatform.v1beta1.TrajectoryExactMatchResults.getDefaultInstance();
+ }
+
+ @java.lang.Override
+ public com.google.cloud.aiplatform.v1beta1.TrajectoryExactMatchResults build() {
+ com.google.cloud.aiplatform.v1beta1.TrajectoryExactMatchResults result = buildPartial();
+ if (!result.isInitialized()) {
+ throw newUninitializedMessageException(result);
+ }
+ return result;
+ }
+
+ @java.lang.Override
+ public com.google.cloud.aiplatform.v1beta1.TrajectoryExactMatchResults buildPartial() {
+ com.google.cloud.aiplatform.v1beta1.TrajectoryExactMatchResults result =
+ new com.google.cloud.aiplatform.v1beta1.TrajectoryExactMatchResults(this);
+ buildPartialRepeatedFields(result);
+ if (bitField0_ != 0) {
+ buildPartial0(result);
+ }
+ onBuilt();
+ return result;
+ }
+
+ private void buildPartialRepeatedFields(
+ com.google.cloud.aiplatform.v1beta1.TrajectoryExactMatchResults result) {
+ if (trajectoryExactMatchMetricValuesBuilder_ == null) {
+ if (((bitField0_ & 0x00000001) != 0)) {
+ trajectoryExactMatchMetricValues_ =
+ java.util.Collections.unmodifiableList(trajectoryExactMatchMetricValues_);
+ bitField0_ = (bitField0_ & ~0x00000001);
+ }
+ result.trajectoryExactMatchMetricValues_ = trajectoryExactMatchMetricValues_;
+ } else {
+ result.trajectoryExactMatchMetricValues_ = trajectoryExactMatchMetricValuesBuilder_.build();
+ }
+ }
+
+ private void buildPartial0(
+ com.google.cloud.aiplatform.v1beta1.TrajectoryExactMatchResults result) {
+ int from_bitField0_ = bitField0_;
+ }
+
+ @java.lang.Override
+ public Builder clone() {
+ return super.clone();
+ }
+
+ @java.lang.Override
+ public Builder setField(
+ com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+ return super.setField(field, value);
+ }
+
+ @java.lang.Override
+ public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) {
+ return super.clearField(field);
+ }
+
+ @java.lang.Override
+ public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) {
+ return super.clearOneof(oneof);
+ }
+
+ @java.lang.Override
+ public Builder setRepeatedField(
+ com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) {
+ return super.setRepeatedField(field, index, value);
+ }
+
+ @java.lang.Override
+ public Builder addRepeatedField(
+ com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+ return super.addRepeatedField(field, value);
+ }
+
+ @java.lang.Override
+ public Builder mergeFrom(com.google.protobuf.Message other) {
+ if (other instanceof com.google.cloud.aiplatform.v1beta1.TrajectoryExactMatchResults) {
+ return mergeFrom((com.google.cloud.aiplatform.v1beta1.TrajectoryExactMatchResults) other);
+ } else {
+ super.mergeFrom(other);
+ return this;
+ }
+ }
+
+ public Builder mergeFrom(
+ com.google.cloud.aiplatform.v1beta1.TrajectoryExactMatchResults other) {
+ if (other
+ == com.google.cloud.aiplatform.v1beta1.TrajectoryExactMatchResults.getDefaultInstance())
+ return this;
+ if (trajectoryExactMatchMetricValuesBuilder_ == null) {
+ if (!other.trajectoryExactMatchMetricValues_.isEmpty()) {
+ if (trajectoryExactMatchMetricValues_.isEmpty()) {
+ trajectoryExactMatchMetricValues_ = other.trajectoryExactMatchMetricValues_;
+ bitField0_ = (bitField0_ & ~0x00000001);
+ } else {
+ ensureTrajectoryExactMatchMetricValuesIsMutable();
+ trajectoryExactMatchMetricValues_.addAll(other.trajectoryExactMatchMetricValues_);
+ }
+ onChanged();
+ }
+ } else {
+ if (!other.trajectoryExactMatchMetricValues_.isEmpty()) {
+ if (trajectoryExactMatchMetricValuesBuilder_.isEmpty()) {
+ trajectoryExactMatchMetricValuesBuilder_.dispose();
+ trajectoryExactMatchMetricValuesBuilder_ = null;
+ trajectoryExactMatchMetricValues_ = other.trajectoryExactMatchMetricValues_;
+ bitField0_ = (bitField0_ & ~0x00000001);
+ trajectoryExactMatchMetricValuesBuilder_ =
+ com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders
+ ? getTrajectoryExactMatchMetricValuesFieldBuilder()
+ : null;
+ } else {
+ trajectoryExactMatchMetricValuesBuilder_.addAllMessages(
+ other.trajectoryExactMatchMetricValues_);
+ }
+ }
+ }
+ 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.cloud.aiplatform.v1beta1.TrajectoryExactMatchMetricValue m =
+ input.readMessage(
+ com.google.cloud.aiplatform.v1beta1.TrajectoryExactMatchMetricValue
+ .parser(),
+ extensionRegistry);
+ if (trajectoryExactMatchMetricValuesBuilder_ == null) {
+ ensureTrajectoryExactMatchMetricValuesIsMutable();
+ trajectoryExactMatchMetricValues_.add(m);
+ } else {
+ trajectoryExactMatchMetricValuesBuilder_.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
+ trajectoryExactMatchMetricValues_ = java.util.Collections.emptyList();
+
+ private void ensureTrajectoryExactMatchMetricValuesIsMutable() {
+ if (!((bitField0_ & 0x00000001) != 0)) {
+ trajectoryExactMatchMetricValues_ =
+ new java.util.ArrayList<
+ com.google.cloud.aiplatform.v1beta1.TrajectoryExactMatchMetricValue>(
+ trajectoryExactMatchMetricValues_);
+ bitField0_ |= 0x00000001;
+ }
+ }
+
+ private com.google.protobuf.RepeatedFieldBuilderV3<
+ com.google.cloud.aiplatform.v1beta1.TrajectoryExactMatchMetricValue,
+ com.google.cloud.aiplatform.v1beta1.TrajectoryExactMatchMetricValue.Builder,
+ com.google.cloud.aiplatform.v1beta1.TrajectoryExactMatchMetricValueOrBuilder>
+ trajectoryExactMatchMetricValuesBuilder_;
+
+ /**
+ *
+ *
+ *
+ * Output only. TrajectoryExactMatch metric values.
+ *
+ *
+ *
+ * repeated .google.cloud.aiplatform.v1beta1.TrajectoryExactMatchMetricValue trajectory_exact_match_metric_values = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
+ *
+ */
+ public java.util.List
+ getTrajectoryExactMatchMetricValuesList() {
+ if (trajectoryExactMatchMetricValuesBuilder_ == null) {
+ return java.util.Collections.unmodifiableList(trajectoryExactMatchMetricValues_);
+ } else {
+ return trajectoryExactMatchMetricValuesBuilder_.getMessageList();
+ }
+ }
+ /**
+ *
+ *
+ *
+ * Output only. TrajectoryExactMatch metric values.
+ *
+ *
+ *
+ * repeated .google.cloud.aiplatform.v1beta1.TrajectoryExactMatchMetricValue trajectory_exact_match_metric_values = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
+ *
+ */
+ public int getTrajectoryExactMatchMetricValuesCount() {
+ if (trajectoryExactMatchMetricValuesBuilder_ == null) {
+ return trajectoryExactMatchMetricValues_.size();
+ } else {
+ return trajectoryExactMatchMetricValuesBuilder_.getCount();
+ }
+ }
+ /**
+ *
+ *
+ *
+ * Output only. TrajectoryExactMatch metric values.
+ *
+ *
+ *
+ * repeated .google.cloud.aiplatform.v1beta1.TrajectoryExactMatchMetricValue trajectory_exact_match_metric_values = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
+ *
+ */
+ public com.google.cloud.aiplatform.v1beta1.TrajectoryExactMatchMetricValue
+ getTrajectoryExactMatchMetricValues(int index) {
+ if (trajectoryExactMatchMetricValuesBuilder_ == null) {
+ return trajectoryExactMatchMetricValues_.get(index);
+ } else {
+ return trajectoryExactMatchMetricValuesBuilder_.getMessage(index);
+ }
+ }
+ /**
+ *
+ *
+ *
+ * Output only. TrajectoryExactMatch metric values.
+ *
+ *
+ *
+ * repeated .google.cloud.aiplatform.v1beta1.TrajectoryExactMatchMetricValue trajectory_exact_match_metric_values = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
+ *
+ */
+ public Builder setTrajectoryExactMatchMetricValues(
+ int index, com.google.cloud.aiplatform.v1beta1.TrajectoryExactMatchMetricValue value) {
+ if (trajectoryExactMatchMetricValuesBuilder_ == null) {
+ if (value == null) {
+ throw new NullPointerException();
+ }
+ ensureTrajectoryExactMatchMetricValuesIsMutable();
+ trajectoryExactMatchMetricValues_.set(index, value);
+ onChanged();
+ } else {
+ trajectoryExactMatchMetricValuesBuilder_.setMessage(index, value);
+ }
+ return this;
+ }
+ /**
+ *
+ *
+ *
+ * Output only. TrajectoryExactMatch metric values.
+ *
+ *
+ *
+ * repeated .google.cloud.aiplatform.v1beta1.TrajectoryExactMatchMetricValue trajectory_exact_match_metric_values = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
+ *
+ */
+ public Builder setTrajectoryExactMatchMetricValues(
+ int index,
+ com.google.cloud.aiplatform.v1beta1.TrajectoryExactMatchMetricValue.Builder
+ builderForValue) {
+ if (trajectoryExactMatchMetricValuesBuilder_ == null) {
+ ensureTrajectoryExactMatchMetricValuesIsMutable();
+ trajectoryExactMatchMetricValues_.set(index, builderForValue.build());
+ onChanged();
+ } else {
+ trajectoryExactMatchMetricValuesBuilder_.setMessage(index, builderForValue.build());
+ }
+ return this;
+ }
+ /**
+ *
+ *
+ *
+ * Output only. TrajectoryExactMatch metric values.
+ *
+ *
+ *
+ * repeated .google.cloud.aiplatform.v1beta1.TrajectoryExactMatchMetricValue trajectory_exact_match_metric_values = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
+ *
+ */
+ public Builder addTrajectoryExactMatchMetricValues(
+ com.google.cloud.aiplatform.v1beta1.TrajectoryExactMatchMetricValue value) {
+ if (trajectoryExactMatchMetricValuesBuilder_ == null) {
+ if (value == null) {
+ throw new NullPointerException();
+ }
+ ensureTrajectoryExactMatchMetricValuesIsMutable();
+ trajectoryExactMatchMetricValues_.add(value);
+ onChanged();
+ } else {
+ trajectoryExactMatchMetricValuesBuilder_.addMessage(value);
+ }
+ return this;
+ }
+ /**
+ *
+ *
+ *
+ * Output only. TrajectoryExactMatch metric values.
+ *
+ *
+ *
+ * repeated .google.cloud.aiplatform.v1beta1.TrajectoryExactMatchMetricValue trajectory_exact_match_metric_values = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
+ *
+ */
+ public Builder addTrajectoryExactMatchMetricValues(
+ int index, com.google.cloud.aiplatform.v1beta1.TrajectoryExactMatchMetricValue value) {
+ if (trajectoryExactMatchMetricValuesBuilder_ == null) {
+ if (value == null) {
+ throw new NullPointerException();
+ }
+ ensureTrajectoryExactMatchMetricValuesIsMutable();
+ trajectoryExactMatchMetricValues_.add(index, value);
+ onChanged();
+ } else {
+ trajectoryExactMatchMetricValuesBuilder_.addMessage(index, value);
+ }
+ return this;
+ }
+ /**
+ *
+ *
+ *
+ * Output only. TrajectoryExactMatch metric values.
+ *
+ *
+ *
+ * repeated .google.cloud.aiplatform.v1beta1.TrajectoryExactMatchMetricValue trajectory_exact_match_metric_values = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
+ *
+ */
+ public Builder addTrajectoryExactMatchMetricValues(
+ com.google.cloud.aiplatform.v1beta1.TrajectoryExactMatchMetricValue.Builder
+ builderForValue) {
+ if (trajectoryExactMatchMetricValuesBuilder_ == null) {
+ ensureTrajectoryExactMatchMetricValuesIsMutable();
+ trajectoryExactMatchMetricValues_.add(builderForValue.build());
+ onChanged();
+ } else {
+ trajectoryExactMatchMetricValuesBuilder_.addMessage(builderForValue.build());
+ }
+ return this;
+ }
+ /**
+ *
+ *
+ *
+ * Output only. TrajectoryExactMatch metric values.
+ *
+ *
+ *
+ * repeated .google.cloud.aiplatform.v1beta1.TrajectoryExactMatchMetricValue trajectory_exact_match_metric_values = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
+ *
+ */
+ public Builder addTrajectoryExactMatchMetricValues(
+ int index,
+ com.google.cloud.aiplatform.v1beta1.TrajectoryExactMatchMetricValue.Builder
+ builderForValue) {
+ if (trajectoryExactMatchMetricValuesBuilder_ == null) {
+ ensureTrajectoryExactMatchMetricValuesIsMutable();
+ trajectoryExactMatchMetricValues_.add(index, builderForValue.build());
+ onChanged();
+ } else {
+ trajectoryExactMatchMetricValuesBuilder_.addMessage(index, builderForValue.build());
+ }
+ return this;
+ }
+ /**
+ *
+ *
+ *
+ * Output only. TrajectoryExactMatch metric values.
+ *
+ *
+ *
+ * repeated .google.cloud.aiplatform.v1beta1.TrajectoryExactMatchMetricValue trajectory_exact_match_metric_values = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
+ *
+ */
+ public Builder addAllTrajectoryExactMatchMetricValues(
+ java.lang.Iterable<
+ ? extends com.google.cloud.aiplatform.v1beta1.TrajectoryExactMatchMetricValue>
+ values) {
+ if (trajectoryExactMatchMetricValuesBuilder_ == null) {
+ ensureTrajectoryExactMatchMetricValuesIsMutable();
+ com.google.protobuf.AbstractMessageLite.Builder.addAll(
+ values, trajectoryExactMatchMetricValues_);
+ onChanged();
+ } else {
+ trajectoryExactMatchMetricValuesBuilder_.addAllMessages(values);
+ }
+ return this;
+ }
+ /**
+ *
+ *
+ *
+ * Output only. TrajectoryExactMatch metric values.
+ *
+ *
+ *
+ * repeated .google.cloud.aiplatform.v1beta1.TrajectoryExactMatchMetricValue trajectory_exact_match_metric_values = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
+ *
+ */
+ public Builder clearTrajectoryExactMatchMetricValues() {
+ if (trajectoryExactMatchMetricValuesBuilder_ == null) {
+ trajectoryExactMatchMetricValues_ = java.util.Collections.emptyList();
+ bitField0_ = (bitField0_ & ~0x00000001);
+ onChanged();
+ } else {
+ trajectoryExactMatchMetricValuesBuilder_.clear();
+ }
+ return this;
+ }
+ /**
+ *
+ *
+ *
+ * Output only. TrajectoryExactMatch metric values.
+ *
+ *
+ *
+ * repeated .google.cloud.aiplatform.v1beta1.TrajectoryExactMatchMetricValue trajectory_exact_match_metric_values = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
+ *
+ */
+ public Builder removeTrajectoryExactMatchMetricValues(int index) {
+ if (trajectoryExactMatchMetricValuesBuilder_ == null) {
+ ensureTrajectoryExactMatchMetricValuesIsMutable();
+ trajectoryExactMatchMetricValues_.remove(index);
+ onChanged();
+ } else {
+ trajectoryExactMatchMetricValuesBuilder_.remove(index);
+ }
+ return this;
+ }
+ /**
+ *
+ *
+ *
+ * Output only. TrajectoryExactMatch metric values.
+ *
+ *
+ *
+ * repeated .google.cloud.aiplatform.v1beta1.TrajectoryExactMatchMetricValue trajectory_exact_match_metric_values = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
+ *
+ */
+ public com.google.cloud.aiplatform.v1beta1.TrajectoryExactMatchMetricValue.Builder
+ getTrajectoryExactMatchMetricValuesBuilder(int index) {
+ return getTrajectoryExactMatchMetricValuesFieldBuilder().getBuilder(index);
+ }
+ /**
+ *
+ *
+ *
+ * Output only. TrajectoryExactMatch metric values.
+ *
+ *
+ *
+ * repeated .google.cloud.aiplatform.v1beta1.TrajectoryExactMatchMetricValue trajectory_exact_match_metric_values = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
+ *
+ */
+ public com.google.cloud.aiplatform.v1beta1.TrajectoryExactMatchMetricValueOrBuilder
+ getTrajectoryExactMatchMetricValuesOrBuilder(int index) {
+ if (trajectoryExactMatchMetricValuesBuilder_ == null) {
+ return trajectoryExactMatchMetricValues_.get(index);
+ } else {
+ return trajectoryExactMatchMetricValuesBuilder_.getMessageOrBuilder(index);
+ }
+ }
+ /**
+ *
+ *
+ *
+ * Output only. TrajectoryExactMatch metric values.
+ *
+ *
+ *
+ * repeated .google.cloud.aiplatform.v1beta1.TrajectoryExactMatchMetricValue trajectory_exact_match_metric_values = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
+ *
+ */
+ public java.util.List<
+ ? extends com.google.cloud.aiplatform.v1beta1.TrajectoryExactMatchMetricValueOrBuilder>
+ getTrajectoryExactMatchMetricValuesOrBuilderList() {
+ if (trajectoryExactMatchMetricValuesBuilder_ != null) {
+ return trajectoryExactMatchMetricValuesBuilder_.getMessageOrBuilderList();
+ } else {
+ return java.util.Collections.unmodifiableList(trajectoryExactMatchMetricValues_);
+ }
+ }
+ /**
+ *
+ *
+ *
+ * Output only. TrajectoryExactMatch metric values.
+ *
+ *
+ *
+ * repeated .google.cloud.aiplatform.v1beta1.TrajectoryExactMatchMetricValue trajectory_exact_match_metric_values = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
+ *
+ */
+ public com.google.cloud.aiplatform.v1beta1.TrajectoryExactMatchMetricValue.Builder
+ addTrajectoryExactMatchMetricValuesBuilder() {
+ return getTrajectoryExactMatchMetricValuesFieldBuilder()
+ .addBuilder(
+ com.google.cloud.aiplatform.v1beta1.TrajectoryExactMatchMetricValue
+ .getDefaultInstance());
+ }
+ /**
+ *
+ *
+ *
+ * Output only. TrajectoryExactMatch metric values.
+ *
+ *
+ *
+ * repeated .google.cloud.aiplatform.v1beta1.TrajectoryExactMatchMetricValue trajectory_exact_match_metric_values = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
+ *
+ */
+ public com.google.cloud.aiplatform.v1beta1.TrajectoryExactMatchMetricValue.Builder
+ addTrajectoryExactMatchMetricValuesBuilder(int index) {
+ return getTrajectoryExactMatchMetricValuesFieldBuilder()
+ .addBuilder(
+ index,
+ com.google.cloud.aiplatform.v1beta1.TrajectoryExactMatchMetricValue
+ .getDefaultInstance());
+ }
+ /**
+ *
+ *
+ *
+ * Output only. TrajectoryExactMatch metric values.
+ *
+ *
+ *
+ * repeated .google.cloud.aiplatform.v1beta1.TrajectoryExactMatchMetricValue trajectory_exact_match_metric_values = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
+ *
+ */
+ public java.util.List<
+ com.google.cloud.aiplatform.v1beta1.TrajectoryExactMatchMetricValue.Builder>
+ getTrajectoryExactMatchMetricValuesBuilderList() {
+ return getTrajectoryExactMatchMetricValuesFieldBuilder().getBuilderList();
+ }
+
+ private com.google.protobuf.RepeatedFieldBuilderV3<
+ com.google.cloud.aiplatform.v1beta1.TrajectoryExactMatchMetricValue,
+ com.google.cloud.aiplatform.v1beta1.TrajectoryExactMatchMetricValue.Builder,
+ com.google.cloud.aiplatform.v1beta1.TrajectoryExactMatchMetricValueOrBuilder>
+ getTrajectoryExactMatchMetricValuesFieldBuilder() {
+ if (trajectoryExactMatchMetricValuesBuilder_ == null) {
+ trajectoryExactMatchMetricValuesBuilder_ =
+ new com.google.protobuf.RepeatedFieldBuilderV3<
+ com.google.cloud.aiplatform.v1beta1.TrajectoryExactMatchMetricValue,
+ com.google.cloud.aiplatform.v1beta1.TrajectoryExactMatchMetricValue.Builder,
+ com.google.cloud.aiplatform.v1beta1.TrajectoryExactMatchMetricValueOrBuilder>(
+ trajectoryExactMatchMetricValues_,
+ ((bitField0_ & 0x00000001) != 0),
+ getParentForChildren(),
+ isClean());
+ trajectoryExactMatchMetricValues_ = null;
+ }
+ return trajectoryExactMatchMetricValuesBuilder_;
+ }
+
+ @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:google.cloud.aiplatform.v1beta1.TrajectoryExactMatchResults)
+ }
+
+ // @@protoc_insertion_point(class_scope:google.cloud.aiplatform.v1beta1.TrajectoryExactMatchResults)
+ private static final com.google.cloud.aiplatform.v1beta1.TrajectoryExactMatchResults
+ DEFAULT_INSTANCE;
+
+ static {
+ DEFAULT_INSTANCE = new com.google.cloud.aiplatform.v1beta1.TrajectoryExactMatchResults();
+ }
+
+ public static com.google.cloud.aiplatform.v1beta1.TrajectoryExactMatchResults
+ getDefaultInstance() {
+ return DEFAULT_INSTANCE;
+ }
+
+ private static final com.google.protobuf.Parser PARSER =
+ new com.google.protobuf.AbstractParser() {
+ @java.lang.Override
+ public TrajectoryExactMatchResults 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 com.google.cloud.aiplatform.v1beta1.TrajectoryExactMatchResults
+ getDefaultInstanceForType() {
+ return DEFAULT_INSTANCE;
+ }
+}
diff --git a/java-aiplatform/proto-google-cloud-aiplatform-v1beta1/src/main/java/com/google/cloud/aiplatform/v1beta1/TrajectoryExactMatchResultsOrBuilder.java b/java-aiplatform/proto-google-cloud-aiplatform-v1beta1/src/main/java/com/google/cloud/aiplatform/v1beta1/TrajectoryExactMatchResultsOrBuilder.java
new file mode 100644
index 000000000000..15689fddd656
--- /dev/null
+++ b/java-aiplatform/proto-google-cloud-aiplatform-v1beta1/src/main/java/com/google/cloud/aiplatform/v1beta1/TrajectoryExactMatchResultsOrBuilder.java
@@ -0,0 +1,92 @@
+/*
+ * Copyright 2024 Google LLC
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ * https://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+// Generated by the protocol buffer compiler. DO NOT EDIT!
+// source: google/cloud/aiplatform/v1beta1/evaluation_service.proto
+
+// Protobuf Java Version: 3.25.5
+package com.google.cloud.aiplatform.v1beta1;
+
+public interface TrajectoryExactMatchResultsOrBuilder
+ extends
+ // @@protoc_insertion_point(interface_extends:google.cloud.aiplatform.v1beta1.TrajectoryExactMatchResults)
+ com.google.protobuf.MessageOrBuilder {
+
+ /**
+ *
+ *
+ *
+ * Output only. TrajectoryExactMatch metric values.
+ *
+ *
+ *
+ * repeated .google.cloud.aiplatform.v1beta1.TrajectoryExactMatchMetricValue trajectory_exact_match_metric_values = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
+ *
+ */
+ java.util.List
+ getTrajectoryExactMatchMetricValuesList();
+ /**
+ *
+ *
+ *
+ * Output only. TrajectoryExactMatch metric values.
+ *
+ *
+ *
+ * repeated .google.cloud.aiplatform.v1beta1.TrajectoryExactMatchMetricValue trajectory_exact_match_metric_values = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
+ *
+ */
+ com.google.cloud.aiplatform.v1beta1.TrajectoryExactMatchMetricValue
+ getTrajectoryExactMatchMetricValues(int index);
+ /**
+ *
+ *
+ *
+ * Output only. TrajectoryExactMatch metric values.
+ *
+ *
+ *
+ * repeated .google.cloud.aiplatform.v1beta1.TrajectoryExactMatchMetricValue trajectory_exact_match_metric_values = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
+ *
+ */
+ int getTrajectoryExactMatchMetricValuesCount();
+ /**
+ *
+ *
+ *
+ * Output only. TrajectoryExactMatch metric values.
+ *
+ *
+ *
+ * repeated .google.cloud.aiplatform.v1beta1.TrajectoryExactMatchMetricValue trajectory_exact_match_metric_values = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
+ *
+ */
+ java.util.List<
+ ? extends com.google.cloud.aiplatform.v1beta1.TrajectoryExactMatchMetricValueOrBuilder>
+ getTrajectoryExactMatchMetricValuesOrBuilderList();
+ /**
+ *
+ *
+ *
+ * Output only. TrajectoryExactMatch metric values.
+ *
+ *
+ *
+ * repeated .google.cloud.aiplatform.v1beta1.TrajectoryExactMatchMetricValue trajectory_exact_match_metric_values = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
+ *
+ */
+ com.google.cloud.aiplatform.v1beta1.TrajectoryExactMatchMetricValueOrBuilder
+ getTrajectoryExactMatchMetricValuesOrBuilder(int index);
+}
diff --git a/java-aiplatform/proto-google-cloud-aiplatform-v1beta1/src/main/java/com/google/cloud/aiplatform/v1beta1/TrajectoryExactMatchSpec.java b/java-aiplatform/proto-google-cloud-aiplatform-v1beta1/src/main/java/com/google/cloud/aiplatform/v1beta1/TrajectoryExactMatchSpec.java
new file mode 100644
index 000000000000..caa69aed43ff
--- /dev/null
+++ b/java-aiplatform/proto-google-cloud-aiplatform-v1beta1/src/main/java/com/google/cloud/aiplatform/v1beta1/TrajectoryExactMatchSpec.java
@@ -0,0 +1,438 @@
+/*
+ * Copyright 2024 Google LLC
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ * https://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+// Generated by the protocol buffer compiler. DO NOT EDIT!
+// source: google/cloud/aiplatform/v1beta1/evaluation_service.proto
+
+// Protobuf Java Version: 3.25.5
+package com.google.cloud.aiplatform.v1beta1;
+
+/**
+ *
+ *
+ *
+ * Spec for TrajectoryExactMatch metric - returns 1 if tool calls in the
+ * reference trajectory exactly match the predicted trajectory, else 0.
+ *
+ *
+ * Protobuf type {@code google.cloud.aiplatform.v1beta1.TrajectoryExactMatchSpec}
+ */
+public final class TrajectoryExactMatchSpec extends com.google.protobuf.GeneratedMessageV3
+ implements
+ // @@protoc_insertion_point(message_implements:google.cloud.aiplatform.v1beta1.TrajectoryExactMatchSpec)
+ TrajectoryExactMatchSpecOrBuilder {
+ private static final long serialVersionUID = 0L;
+ // Use TrajectoryExactMatchSpec.newBuilder() to construct.
+ private TrajectoryExactMatchSpec(com.google.protobuf.GeneratedMessageV3.Builder> builder) {
+ super(builder);
+ }
+
+ private TrajectoryExactMatchSpec() {}
+
+ @java.lang.Override
+ @SuppressWarnings({"unused"})
+ protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
+ return new TrajectoryExactMatchSpec();
+ }
+
+ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+ return com.google.cloud.aiplatform.v1beta1.EvaluationServiceProto
+ .internal_static_google_cloud_aiplatform_v1beta1_TrajectoryExactMatchSpec_descriptor;
+ }
+
+ @java.lang.Override
+ protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
+ internalGetFieldAccessorTable() {
+ return com.google.cloud.aiplatform.v1beta1.EvaluationServiceProto
+ .internal_static_google_cloud_aiplatform_v1beta1_TrajectoryExactMatchSpec_fieldAccessorTable
+ .ensureFieldAccessorsInitialized(
+ com.google.cloud.aiplatform.v1beta1.TrajectoryExactMatchSpec.class,
+ com.google.cloud.aiplatform.v1beta1.TrajectoryExactMatchSpec.Builder.class);
+ }
+
+ private byte memoizedIsInitialized = -1;
+
+ @java.lang.Override
+ public final boolean isInitialized() {
+ byte isInitialized = memoizedIsInitialized;
+ if (isInitialized == 1) return true;
+ if (isInitialized == 0) return false;
+
+ memoizedIsInitialized = 1;
+ return true;
+ }
+
+ @java.lang.Override
+ public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException {
+ getUnknownFields().writeTo(output);
+ }
+
+ @java.lang.Override
+ public int getSerializedSize() {
+ int size = memoizedSize;
+ if (size != -1) return size;
+
+ size = 0;
+ size += getUnknownFields().getSerializedSize();
+ memoizedSize = size;
+ return size;
+ }
+
+ @java.lang.Override
+ public boolean equals(final java.lang.Object obj) {
+ if (obj == this) {
+ return true;
+ }
+ if (!(obj instanceof com.google.cloud.aiplatform.v1beta1.TrajectoryExactMatchSpec)) {
+ return super.equals(obj);
+ }
+ com.google.cloud.aiplatform.v1beta1.TrajectoryExactMatchSpec other =
+ (com.google.cloud.aiplatform.v1beta1.TrajectoryExactMatchSpec) obj;
+
+ if (!getUnknownFields().equals(other.getUnknownFields())) return false;
+ return true;
+ }
+
+ @java.lang.Override
+ public int hashCode() {
+ if (memoizedHashCode != 0) {
+ return memoizedHashCode;
+ }
+ int hash = 41;
+ hash = (19 * hash) + getDescriptor().hashCode();
+ hash = (29 * hash) + getUnknownFields().hashCode();
+ memoizedHashCode = hash;
+ return hash;
+ }
+
+ public static com.google.cloud.aiplatform.v1beta1.TrajectoryExactMatchSpec parseFrom(
+ java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException {
+ return PARSER.parseFrom(data);
+ }
+
+ public static com.google.cloud.aiplatform.v1beta1.TrajectoryExactMatchSpec parseFrom(
+ java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+ throws com.google.protobuf.InvalidProtocolBufferException {
+ return PARSER.parseFrom(data, extensionRegistry);
+ }
+
+ public static com.google.cloud.aiplatform.v1beta1.TrajectoryExactMatchSpec parseFrom(
+ com.google.protobuf.ByteString data)
+ throws com.google.protobuf.InvalidProtocolBufferException {
+ return PARSER.parseFrom(data);
+ }
+
+ public static com.google.cloud.aiplatform.v1beta1.TrajectoryExactMatchSpec parseFrom(
+ com.google.protobuf.ByteString data,
+ com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+ throws com.google.protobuf.InvalidProtocolBufferException {
+ return PARSER.parseFrom(data, extensionRegistry);
+ }
+
+ public static com.google.cloud.aiplatform.v1beta1.TrajectoryExactMatchSpec parseFrom(byte[] data)
+ throws com.google.protobuf.InvalidProtocolBufferException {
+ return PARSER.parseFrom(data);
+ }
+
+ public static com.google.cloud.aiplatform.v1beta1.TrajectoryExactMatchSpec parseFrom(
+ byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+ throws com.google.protobuf.InvalidProtocolBufferException {
+ return PARSER.parseFrom(data, extensionRegistry);
+ }
+
+ public static com.google.cloud.aiplatform.v1beta1.TrajectoryExactMatchSpec parseFrom(
+ java.io.InputStream input) throws java.io.IOException {
+ return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input);
+ }
+
+ public static com.google.cloud.aiplatform.v1beta1.TrajectoryExactMatchSpec parseFrom(
+ java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+ throws java.io.IOException {
+ return com.google.protobuf.GeneratedMessageV3.parseWithIOException(
+ PARSER, input, extensionRegistry);
+ }
+
+ public static com.google.cloud.aiplatform.v1beta1.TrajectoryExactMatchSpec parseDelimitedFrom(
+ java.io.InputStream input) throws java.io.IOException {
+ return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input);
+ }
+
+ public static com.google.cloud.aiplatform.v1beta1.TrajectoryExactMatchSpec parseDelimitedFrom(
+ java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+ throws java.io.IOException {
+ return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(
+ PARSER, input, extensionRegistry);
+ }
+
+ public static com.google.cloud.aiplatform.v1beta1.TrajectoryExactMatchSpec parseFrom(
+ com.google.protobuf.CodedInputStream input) throws java.io.IOException {
+ return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input);
+ }
+
+ public static com.google.cloud.aiplatform.v1beta1.TrajectoryExactMatchSpec 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(
+ com.google.cloud.aiplatform.v1beta1.TrajectoryExactMatchSpec 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;
+ }
+ /**
+ *
+ *
+ *
+ * Spec for TrajectoryExactMatch metric - returns 1 if tool calls in the
+ * reference trajectory exactly match the predicted trajectory, else 0.
+ *
+ *
+ * Protobuf type {@code google.cloud.aiplatform.v1beta1.TrajectoryExactMatchSpec}
+ */
+ public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder
+ implements
+ // @@protoc_insertion_point(builder_implements:google.cloud.aiplatform.v1beta1.TrajectoryExactMatchSpec)
+ com.google.cloud.aiplatform.v1beta1.TrajectoryExactMatchSpecOrBuilder {
+ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+ return com.google.cloud.aiplatform.v1beta1.EvaluationServiceProto
+ .internal_static_google_cloud_aiplatform_v1beta1_TrajectoryExactMatchSpec_descriptor;
+ }
+
+ @java.lang.Override
+ protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
+ internalGetFieldAccessorTable() {
+ return com.google.cloud.aiplatform.v1beta1.EvaluationServiceProto
+ .internal_static_google_cloud_aiplatform_v1beta1_TrajectoryExactMatchSpec_fieldAccessorTable
+ .ensureFieldAccessorsInitialized(
+ com.google.cloud.aiplatform.v1beta1.TrajectoryExactMatchSpec.class,
+ com.google.cloud.aiplatform.v1beta1.TrajectoryExactMatchSpec.Builder.class);
+ }
+
+ // Construct using com.google.cloud.aiplatform.v1beta1.TrajectoryExactMatchSpec.newBuilder()
+ private Builder() {}
+
+ private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+ super(parent);
+ }
+
+ @java.lang.Override
+ public Builder clear() {
+ super.clear();
+ return this;
+ }
+
+ @java.lang.Override
+ public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
+ return com.google.cloud.aiplatform.v1beta1.EvaluationServiceProto
+ .internal_static_google_cloud_aiplatform_v1beta1_TrajectoryExactMatchSpec_descriptor;
+ }
+
+ @java.lang.Override
+ public com.google.cloud.aiplatform.v1beta1.TrajectoryExactMatchSpec
+ getDefaultInstanceForType() {
+ return com.google.cloud.aiplatform.v1beta1.TrajectoryExactMatchSpec.getDefaultInstance();
+ }
+
+ @java.lang.Override
+ public com.google.cloud.aiplatform.v1beta1.TrajectoryExactMatchSpec build() {
+ com.google.cloud.aiplatform.v1beta1.TrajectoryExactMatchSpec result = buildPartial();
+ if (!result.isInitialized()) {
+ throw newUninitializedMessageException(result);
+ }
+ return result;
+ }
+
+ @java.lang.Override
+ public com.google.cloud.aiplatform.v1beta1.TrajectoryExactMatchSpec buildPartial() {
+ com.google.cloud.aiplatform.v1beta1.TrajectoryExactMatchSpec result =
+ new com.google.cloud.aiplatform.v1beta1.TrajectoryExactMatchSpec(this);
+ onBuilt();
+ return result;
+ }
+
+ @java.lang.Override
+ public Builder clone() {
+ return super.clone();
+ }
+
+ @java.lang.Override
+ public Builder setField(
+ com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+ return super.setField(field, value);
+ }
+
+ @java.lang.Override
+ public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) {
+ return super.clearField(field);
+ }
+
+ @java.lang.Override
+ public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) {
+ return super.clearOneof(oneof);
+ }
+
+ @java.lang.Override
+ public Builder setRepeatedField(
+ com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) {
+ return super.setRepeatedField(field, index, value);
+ }
+
+ @java.lang.Override
+ public Builder addRepeatedField(
+ com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+ return super.addRepeatedField(field, value);
+ }
+
+ @java.lang.Override
+ public Builder mergeFrom(com.google.protobuf.Message other) {
+ if (other instanceof com.google.cloud.aiplatform.v1beta1.TrajectoryExactMatchSpec) {
+ return mergeFrom((com.google.cloud.aiplatform.v1beta1.TrajectoryExactMatchSpec) other);
+ } else {
+ super.mergeFrom(other);
+ return this;
+ }
+ }
+
+ public Builder mergeFrom(com.google.cloud.aiplatform.v1beta1.TrajectoryExactMatchSpec other) {
+ if (other
+ == com.google.cloud.aiplatform.v1beta1.TrajectoryExactMatchSpec.getDefaultInstance())
+ return this;
+ this.mergeUnknownFields(other.getUnknownFields());
+ onChanged();
+ return this;
+ }
+
+ @java.lang.Override
+ public final boolean isInitialized() {
+ return true;
+ }
+
+ @java.lang.Override
+ public Builder mergeFrom(
+ com.google.protobuf.CodedInputStream input,
+ com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+ throws java.io.IOException {
+ if (extensionRegistry == null) {
+ throw new java.lang.NullPointerException();
+ }
+ try {
+ boolean done = false;
+ while (!done) {
+ int tag = input.readTag();
+ switch (tag) {
+ case 0:
+ done = true;
+ break;
+ default:
+ {
+ if (!super.parseUnknownField(input, extensionRegistry, tag)) {
+ done = true; // was an endgroup tag
+ }
+ break;
+ } // default:
+ } // switch (tag)
+ } // while (!done)
+ } catch (com.google.protobuf.InvalidProtocolBufferException e) {
+ throw e.unwrapIOException();
+ } finally {
+ onChanged();
+ } // finally
+ return this;
+ }
+
+ @java.lang.Override
+ public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) {
+ return super.setUnknownFields(unknownFields);
+ }
+
+ @java.lang.Override
+ public final Builder mergeUnknownFields(
+ final com.google.protobuf.UnknownFieldSet unknownFields) {
+ return super.mergeUnknownFields(unknownFields);
+ }
+
+ // @@protoc_insertion_point(builder_scope:google.cloud.aiplatform.v1beta1.TrajectoryExactMatchSpec)
+ }
+
+ // @@protoc_insertion_point(class_scope:google.cloud.aiplatform.v1beta1.TrajectoryExactMatchSpec)
+ private static final com.google.cloud.aiplatform.v1beta1.TrajectoryExactMatchSpec
+ DEFAULT_INSTANCE;
+
+ static {
+ DEFAULT_INSTANCE = new com.google.cloud.aiplatform.v1beta1.TrajectoryExactMatchSpec();
+ }
+
+ public static com.google.cloud.aiplatform.v1beta1.TrajectoryExactMatchSpec getDefaultInstance() {
+ return DEFAULT_INSTANCE;
+ }
+
+ private static final com.google.protobuf.Parser PARSER =
+ new com.google.protobuf.AbstractParser() {
+ @java.lang.Override
+ public TrajectoryExactMatchSpec 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 com.google.cloud.aiplatform.v1beta1.TrajectoryExactMatchSpec getDefaultInstanceForType() {
+ return DEFAULT_INSTANCE;
+ }
+}
diff --git a/java-aiplatform/proto-google-cloud-aiplatform-v1beta1/src/main/java/com/google/cloud/aiplatform/v1beta1/TrajectoryExactMatchSpecOrBuilder.java b/java-aiplatform/proto-google-cloud-aiplatform-v1beta1/src/main/java/com/google/cloud/aiplatform/v1beta1/TrajectoryExactMatchSpecOrBuilder.java
new file mode 100644
index 000000000000..bd6b7b9e045c
--- /dev/null
+++ b/java-aiplatform/proto-google-cloud-aiplatform-v1beta1/src/main/java/com/google/cloud/aiplatform/v1beta1/TrajectoryExactMatchSpecOrBuilder.java
@@ -0,0 +1,25 @@
+/*
+ * Copyright 2024 Google LLC
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ * https://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+// Generated by the protocol buffer compiler. DO NOT EDIT!
+// source: google/cloud/aiplatform/v1beta1/evaluation_service.proto
+
+// Protobuf Java Version: 3.25.5
+package com.google.cloud.aiplatform.v1beta1;
+
+public interface TrajectoryExactMatchSpecOrBuilder
+ extends
+ // @@protoc_insertion_point(interface_extends:google.cloud.aiplatform.v1beta1.TrajectoryExactMatchSpec)
+ com.google.protobuf.MessageOrBuilder {}
diff --git a/java-aiplatform/proto-google-cloud-aiplatform-v1beta1/src/main/java/com/google/cloud/aiplatform/v1beta1/TrajectoryInOrderMatchInput.java b/java-aiplatform/proto-google-cloud-aiplatform-v1beta1/src/main/java/com/google/cloud/aiplatform/v1beta1/TrajectoryInOrderMatchInput.java
new file mode 100644
index 000000000000..f2597a908f6f
--- /dev/null
+++ b/java-aiplatform/proto-google-cloud-aiplatform-v1beta1/src/main/java/com/google/cloud/aiplatform/v1beta1/TrajectoryInOrderMatchInput.java
@@ -0,0 +1,1334 @@
+/*
+ * Copyright 2024 Google LLC
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ * https://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+// Generated by the protocol buffer compiler. DO NOT EDIT!
+// source: google/cloud/aiplatform/v1beta1/evaluation_service.proto
+
+// Protobuf Java Version: 3.25.5
+package com.google.cloud.aiplatform.v1beta1;
+
+/**
+ *
+ *
+ *
+ * Instances and metric spec for TrajectoryInOrderMatch metric.
+ *
+ *
+ * Protobuf type {@code google.cloud.aiplatform.v1beta1.TrajectoryInOrderMatchInput}
+ */
+public final class TrajectoryInOrderMatchInput extends com.google.protobuf.GeneratedMessageV3
+ implements
+ // @@protoc_insertion_point(message_implements:google.cloud.aiplatform.v1beta1.TrajectoryInOrderMatchInput)
+ TrajectoryInOrderMatchInputOrBuilder {
+ private static final long serialVersionUID = 0L;
+ // Use TrajectoryInOrderMatchInput.newBuilder() to construct.
+ private TrajectoryInOrderMatchInput(com.google.protobuf.GeneratedMessageV3.Builder> builder) {
+ super(builder);
+ }
+
+ private TrajectoryInOrderMatchInput() {
+ instances_ = java.util.Collections.emptyList();
+ }
+
+ @java.lang.Override
+ @SuppressWarnings({"unused"})
+ protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
+ return new TrajectoryInOrderMatchInput();
+ }
+
+ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+ return com.google.cloud.aiplatform.v1beta1.EvaluationServiceProto
+ .internal_static_google_cloud_aiplatform_v1beta1_TrajectoryInOrderMatchInput_descriptor;
+ }
+
+ @java.lang.Override
+ protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
+ internalGetFieldAccessorTable() {
+ return com.google.cloud.aiplatform.v1beta1.EvaluationServiceProto
+ .internal_static_google_cloud_aiplatform_v1beta1_TrajectoryInOrderMatchInput_fieldAccessorTable
+ .ensureFieldAccessorsInitialized(
+ com.google.cloud.aiplatform.v1beta1.TrajectoryInOrderMatchInput.class,
+ com.google.cloud.aiplatform.v1beta1.TrajectoryInOrderMatchInput.Builder.class);
+ }
+
+ private int bitField0_;
+ public static final int METRIC_SPEC_FIELD_NUMBER = 1;
+ private com.google.cloud.aiplatform.v1beta1.TrajectoryInOrderMatchSpec metricSpec_;
+ /**
+ *
+ *
+ *
+ * Required. Spec for TrajectoryInOrderMatch metric.
+ *
+ *
+ *
+ * .google.cloud.aiplatform.v1beta1.TrajectoryInOrderMatchSpec metric_spec = 1 [(.google.api.field_behavior) = REQUIRED];
+ *
+ *
+ * @return Whether the metricSpec field is set.
+ */
+ @java.lang.Override
+ public boolean hasMetricSpec() {
+ return ((bitField0_ & 0x00000001) != 0);
+ }
+ /**
+ *
+ *
+ *
+ * Required. Spec for TrajectoryInOrderMatch metric.
+ *
+ *
+ *
+ * .google.cloud.aiplatform.v1beta1.TrajectoryInOrderMatchSpec metric_spec = 1 [(.google.api.field_behavior) = REQUIRED];
+ *
+ *
+ * @return The metricSpec.
+ */
+ @java.lang.Override
+ public com.google.cloud.aiplatform.v1beta1.TrajectoryInOrderMatchSpec getMetricSpec() {
+ return metricSpec_ == null
+ ? com.google.cloud.aiplatform.v1beta1.TrajectoryInOrderMatchSpec.getDefaultInstance()
+ : metricSpec_;
+ }
+ /**
+ *
+ *
+ *
+ * Required. Spec for TrajectoryInOrderMatch metric.
+ *
+ *
+ *
+ * .google.cloud.aiplatform.v1beta1.TrajectoryInOrderMatchSpec metric_spec = 1 [(.google.api.field_behavior) = REQUIRED];
+ *
+ */
+ @java.lang.Override
+ public com.google.cloud.aiplatform.v1beta1.TrajectoryInOrderMatchSpecOrBuilder
+ getMetricSpecOrBuilder() {
+ return metricSpec_ == null
+ ? com.google.cloud.aiplatform.v1beta1.TrajectoryInOrderMatchSpec.getDefaultInstance()
+ : metricSpec_;
+ }
+
+ public static final int INSTANCES_FIELD_NUMBER = 2;
+
+ @SuppressWarnings("serial")
+ private java.util.List
+ instances_;
+ /**
+ *
+ *
+ *
+ * Required. Repeated TrajectoryInOrderMatch instance.
+ *
+ *
+ *
+ * repeated .google.cloud.aiplatform.v1beta1.TrajectoryInOrderMatchInstance instances = 2 [(.google.api.field_behavior) = REQUIRED];
+ *
+ */
+ @java.lang.Override
+ public java.util.List
+ getInstancesList() {
+ return instances_;
+ }
+ /**
+ *
+ *
+ *
+ * Required. Repeated TrajectoryInOrderMatch instance.
+ *
+ *
+ *
+ * repeated .google.cloud.aiplatform.v1beta1.TrajectoryInOrderMatchInstance instances = 2 [(.google.api.field_behavior) = REQUIRED];
+ *
+ */
+ @java.lang.Override
+ public java.util.List<
+ ? extends com.google.cloud.aiplatform.v1beta1.TrajectoryInOrderMatchInstanceOrBuilder>
+ getInstancesOrBuilderList() {
+ return instances_;
+ }
+ /**
+ *
+ *
+ *
+ * Required. Repeated TrajectoryInOrderMatch instance.
+ *
+ *
+ *
+ * repeated .google.cloud.aiplatform.v1beta1.TrajectoryInOrderMatchInstance instances = 2 [(.google.api.field_behavior) = REQUIRED];
+ *
+ */
+ @java.lang.Override
+ public int getInstancesCount() {
+ return instances_.size();
+ }
+ /**
+ *
+ *
+ *
+ * Required. Repeated TrajectoryInOrderMatch instance.
+ *
+ *
+ *
+ * repeated .google.cloud.aiplatform.v1beta1.TrajectoryInOrderMatchInstance instances = 2 [(.google.api.field_behavior) = REQUIRED];
+ *
+ */
+ @java.lang.Override
+ public com.google.cloud.aiplatform.v1beta1.TrajectoryInOrderMatchInstance getInstances(
+ int index) {
+ return instances_.get(index);
+ }
+ /**
+ *
+ *
+ *
+ * Required. Repeated TrajectoryInOrderMatch instance.
+ *
+ *
+ *
+ * repeated .google.cloud.aiplatform.v1beta1.TrajectoryInOrderMatchInstance instances = 2 [(.google.api.field_behavior) = REQUIRED];
+ *
+ */
+ @java.lang.Override
+ public com.google.cloud.aiplatform.v1beta1.TrajectoryInOrderMatchInstanceOrBuilder
+ getInstancesOrBuilder(int index) {
+ return instances_.get(index);
+ }
+
+ private byte memoizedIsInitialized = -1;
+
+ @java.lang.Override
+ public final boolean isInitialized() {
+ byte isInitialized = memoizedIsInitialized;
+ if (isInitialized == 1) return true;
+ if (isInitialized == 0) return false;
+
+ memoizedIsInitialized = 1;
+ return true;
+ }
+
+ @java.lang.Override
+ public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException {
+ if (((bitField0_ & 0x00000001) != 0)) {
+ output.writeMessage(1, getMetricSpec());
+ }
+ for (int i = 0; i < instances_.size(); i++) {
+ output.writeMessage(2, instances_.get(i));
+ }
+ getUnknownFields().writeTo(output);
+ }
+
+ @java.lang.Override
+ public int getSerializedSize() {
+ int size = memoizedSize;
+ if (size != -1) return size;
+
+ size = 0;
+ if (((bitField0_ & 0x00000001) != 0)) {
+ size += com.google.protobuf.CodedOutputStream.computeMessageSize(1, getMetricSpec());
+ }
+ for (int i = 0; i < instances_.size(); i++) {
+ size += com.google.protobuf.CodedOutputStream.computeMessageSize(2, instances_.get(i));
+ }
+ size += getUnknownFields().getSerializedSize();
+ memoizedSize = size;
+ return size;
+ }
+
+ @java.lang.Override
+ public boolean equals(final java.lang.Object obj) {
+ if (obj == this) {
+ return true;
+ }
+ if (!(obj instanceof com.google.cloud.aiplatform.v1beta1.TrajectoryInOrderMatchInput)) {
+ return super.equals(obj);
+ }
+ com.google.cloud.aiplatform.v1beta1.TrajectoryInOrderMatchInput other =
+ (com.google.cloud.aiplatform.v1beta1.TrajectoryInOrderMatchInput) obj;
+
+ if (hasMetricSpec() != other.hasMetricSpec()) return false;
+ if (hasMetricSpec()) {
+ if (!getMetricSpec().equals(other.getMetricSpec())) return false;
+ }
+ if (!getInstancesList().equals(other.getInstancesList())) 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 (hasMetricSpec()) {
+ hash = (37 * hash) + METRIC_SPEC_FIELD_NUMBER;
+ hash = (53 * hash) + getMetricSpec().hashCode();
+ }
+ if (getInstancesCount() > 0) {
+ hash = (37 * hash) + INSTANCES_FIELD_NUMBER;
+ hash = (53 * hash) + getInstancesList().hashCode();
+ }
+ hash = (29 * hash) + getUnknownFields().hashCode();
+ memoizedHashCode = hash;
+ return hash;
+ }
+
+ public static com.google.cloud.aiplatform.v1beta1.TrajectoryInOrderMatchInput parseFrom(
+ java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException {
+ return PARSER.parseFrom(data);
+ }
+
+ public static com.google.cloud.aiplatform.v1beta1.TrajectoryInOrderMatchInput parseFrom(
+ java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+ throws com.google.protobuf.InvalidProtocolBufferException {
+ return PARSER.parseFrom(data, extensionRegistry);
+ }
+
+ public static com.google.cloud.aiplatform.v1beta1.TrajectoryInOrderMatchInput parseFrom(
+ com.google.protobuf.ByteString data)
+ throws com.google.protobuf.InvalidProtocolBufferException {
+ return PARSER.parseFrom(data);
+ }
+
+ public static com.google.cloud.aiplatform.v1beta1.TrajectoryInOrderMatchInput parseFrom(
+ com.google.protobuf.ByteString data,
+ com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+ throws com.google.protobuf.InvalidProtocolBufferException {
+ return PARSER.parseFrom(data, extensionRegistry);
+ }
+
+ public static com.google.cloud.aiplatform.v1beta1.TrajectoryInOrderMatchInput parseFrom(
+ byte[] data) throws com.google.protobuf.InvalidProtocolBufferException {
+ return PARSER.parseFrom(data);
+ }
+
+ public static com.google.cloud.aiplatform.v1beta1.TrajectoryInOrderMatchInput parseFrom(
+ byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+ throws com.google.protobuf.InvalidProtocolBufferException {
+ return PARSER.parseFrom(data, extensionRegistry);
+ }
+
+ public static com.google.cloud.aiplatform.v1beta1.TrajectoryInOrderMatchInput parseFrom(
+ java.io.InputStream input) throws java.io.IOException {
+ return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input);
+ }
+
+ public static com.google.cloud.aiplatform.v1beta1.TrajectoryInOrderMatchInput parseFrom(
+ java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+ throws java.io.IOException {
+ return com.google.protobuf.GeneratedMessageV3.parseWithIOException(
+ PARSER, input, extensionRegistry);
+ }
+
+ public static com.google.cloud.aiplatform.v1beta1.TrajectoryInOrderMatchInput parseDelimitedFrom(
+ java.io.InputStream input) throws java.io.IOException {
+ return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input);
+ }
+
+ public static com.google.cloud.aiplatform.v1beta1.TrajectoryInOrderMatchInput parseDelimitedFrom(
+ java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+ throws java.io.IOException {
+ return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(
+ PARSER, input, extensionRegistry);
+ }
+
+ public static com.google.cloud.aiplatform.v1beta1.TrajectoryInOrderMatchInput parseFrom(
+ com.google.protobuf.CodedInputStream input) throws java.io.IOException {
+ return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input);
+ }
+
+ public static com.google.cloud.aiplatform.v1beta1.TrajectoryInOrderMatchInput 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(
+ com.google.cloud.aiplatform.v1beta1.TrajectoryInOrderMatchInput 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;
+ }
+ /**
+ *
+ *
+ *
+ * Instances and metric spec for TrajectoryInOrderMatch metric.
+ *
+ *
+ * Protobuf type {@code google.cloud.aiplatform.v1beta1.TrajectoryInOrderMatchInput}
+ */
+ public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder
+ implements
+ // @@protoc_insertion_point(builder_implements:google.cloud.aiplatform.v1beta1.TrajectoryInOrderMatchInput)
+ com.google.cloud.aiplatform.v1beta1.TrajectoryInOrderMatchInputOrBuilder {
+ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+ return com.google.cloud.aiplatform.v1beta1.EvaluationServiceProto
+ .internal_static_google_cloud_aiplatform_v1beta1_TrajectoryInOrderMatchInput_descriptor;
+ }
+
+ @java.lang.Override
+ protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
+ internalGetFieldAccessorTable() {
+ return com.google.cloud.aiplatform.v1beta1.EvaluationServiceProto
+ .internal_static_google_cloud_aiplatform_v1beta1_TrajectoryInOrderMatchInput_fieldAccessorTable
+ .ensureFieldAccessorsInitialized(
+ com.google.cloud.aiplatform.v1beta1.TrajectoryInOrderMatchInput.class,
+ com.google.cloud.aiplatform.v1beta1.TrajectoryInOrderMatchInput.Builder.class);
+ }
+
+ // Construct using com.google.cloud.aiplatform.v1beta1.TrajectoryInOrderMatchInput.newBuilder()
+ private Builder() {
+ maybeForceBuilderInitialization();
+ }
+
+ private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+ super(parent);
+ maybeForceBuilderInitialization();
+ }
+
+ private void maybeForceBuilderInitialization() {
+ if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {
+ getMetricSpecFieldBuilder();
+ getInstancesFieldBuilder();
+ }
+ }
+
+ @java.lang.Override
+ public Builder clear() {
+ super.clear();
+ bitField0_ = 0;
+ metricSpec_ = null;
+ if (metricSpecBuilder_ != null) {
+ metricSpecBuilder_.dispose();
+ metricSpecBuilder_ = null;
+ }
+ if (instancesBuilder_ == null) {
+ instances_ = java.util.Collections.emptyList();
+ } else {
+ instances_ = null;
+ instancesBuilder_.clear();
+ }
+ bitField0_ = (bitField0_ & ~0x00000002);
+ return this;
+ }
+
+ @java.lang.Override
+ public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
+ return com.google.cloud.aiplatform.v1beta1.EvaluationServiceProto
+ .internal_static_google_cloud_aiplatform_v1beta1_TrajectoryInOrderMatchInput_descriptor;
+ }
+
+ @java.lang.Override
+ public com.google.cloud.aiplatform.v1beta1.TrajectoryInOrderMatchInput
+ getDefaultInstanceForType() {
+ return com.google.cloud.aiplatform.v1beta1.TrajectoryInOrderMatchInput.getDefaultInstance();
+ }
+
+ @java.lang.Override
+ public com.google.cloud.aiplatform.v1beta1.TrajectoryInOrderMatchInput build() {
+ com.google.cloud.aiplatform.v1beta1.TrajectoryInOrderMatchInput result = buildPartial();
+ if (!result.isInitialized()) {
+ throw newUninitializedMessageException(result);
+ }
+ return result;
+ }
+
+ @java.lang.Override
+ public com.google.cloud.aiplatform.v1beta1.TrajectoryInOrderMatchInput buildPartial() {
+ com.google.cloud.aiplatform.v1beta1.TrajectoryInOrderMatchInput result =
+ new com.google.cloud.aiplatform.v1beta1.TrajectoryInOrderMatchInput(this);
+ buildPartialRepeatedFields(result);
+ if (bitField0_ != 0) {
+ buildPartial0(result);
+ }
+ onBuilt();
+ return result;
+ }
+
+ private void buildPartialRepeatedFields(
+ com.google.cloud.aiplatform.v1beta1.TrajectoryInOrderMatchInput result) {
+ if (instancesBuilder_ == null) {
+ if (((bitField0_ & 0x00000002) != 0)) {
+ instances_ = java.util.Collections.unmodifiableList(instances_);
+ bitField0_ = (bitField0_ & ~0x00000002);
+ }
+ result.instances_ = instances_;
+ } else {
+ result.instances_ = instancesBuilder_.build();
+ }
+ }
+
+ private void buildPartial0(
+ com.google.cloud.aiplatform.v1beta1.TrajectoryInOrderMatchInput result) {
+ int from_bitField0_ = bitField0_;
+ int to_bitField0_ = 0;
+ if (((from_bitField0_ & 0x00000001) != 0)) {
+ result.metricSpec_ = metricSpecBuilder_ == null ? metricSpec_ : metricSpecBuilder_.build();
+ to_bitField0_ |= 0x00000001;
+ }
+ result.bitField0_ |= to_bitField0_;
+ }
+
+ @java.lang.Override
+ public Builder clone() {
+ return super.clone();
+ }
+
+ @java.lang.Override
+ public Builder setField(
+ com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+ return super.setField(field, value);
+ }
+
+ @java.lang.Override
+ public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) {
+ return super.clearField(field);
+ }
+
+ @java.lang.Override
+ public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) {
+ return super.clearOneof(oneof);
+ }
+
+ @java.lang.Override
+ public Builder setRepeatedField(
+ com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) {
+ return super.setRepeatedField(field, index, value);
+ }
+
+ @java.lang.Override
+ public Builder addRepeatedField(
+ com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+ return super.addRepeatedField(field, value);
+ }
+
+ @java.lang.Override
+ public Builder mergeFrom(com.google.protobuf.Message other) {
+ if (other instanceof com.google.cloud.aiplatform.v1beta1.TrajectoryInOrderMatchInput) {
+ return mergeFrom((com.google.cloud.aiplatform.v1beta1.TrajectoryInOrderMatchInput) other);
+ } else {
+ super.mergeFrom(other);
+ return this;
+ }
+ }
+
+ public Builder mergeFrom(
+ com.google.cloud.aiplatform.v1beta1.TrajectoryInOrderMatchInput other) {
+ if (other
+ == com.google.cloud.aiplatform.v1beta1.TrajectoryInOrderMatchInput.getDefaultInstance())
+ return this;
+ if (other.hasMetricSpec()) {
+ mergeMetricSpec(other.getMetricSpec());
+ }
+ if (instancesBuilder_ == null) {
+ if (!other.instances_.isEmpty()) {
+ if (instances_.isEmpty()) {
+ instances_ = other.instances_;
+ bitField0_ = (bitField0_ & ~0x00000002);
+ } else {
+ ensureInstancesIsMutable();
+ instances_.addAll(other.instances_);
+ }
+ onChanged();
+ }
+ } else {
+ if (!other.instances_.isEmpty()) {
+ if (instancesBuilder_.isEmpty()) {
+ instancesBuilder_.dispose();
+ instancesBuilder_ = null;
+ instances_ = other.instances_;
+ bitField0_ = (bitField0_ & ~0x00000002);
+ instancesBuilder_ =
+ com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders
+ ? getInstancesFieldBuilder()
+ : null;
+ } else {
+ instancesBuilder_.addAllMessages(other.instances_);
+ }
+ }
+ }
+ this.mergeUnknownFields(other.getUnknownFields());
+ onChanged();
+ return this;
+ }
+
+ @java.lang.Override
+ public final boolean isInitialized() {
+ return true;
+ }
+
+ @java.lang.Override
+ public Builder mergeFrom(
+ com.google.protobuf.CodedInputStream input,
+ com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+ throws java.io.IOException {
+ if (extensionRegistry == null) {
+ throw new java.lang.NullPointerException();
+ }
+ try {
+ boolean done = false;
+ while (!done) {
+ int tag = input.readTag();
+ switch (tag) {
+ case 0:
+ done = true;
+ break;
+ case 10:
+ {
+ input.readMessage(getMetricSpecFieldBuilder().getBuilder(), extensionRegistry);
+ bitField0_ |= 0x00000001;
+ break;
+ } // case 10
+ case 18:
+ {
+ com.google.cloud.aiplatform.v1beta1.TrajectoryInOrderMatchInstance m =
+ input.readMessage(
+ com.google.cloud.aiplatform.v1beta1.TrajectoryInOrderMatchInstance.parser(),
+ extensionRegistry);
+ if (instancesBuilder_ == null) {
+ ensureInstancesIsMutable();
+ instances_.add(m);
+ } else {
+ instancesBuilder_.addMessage(m);
+ }
+ break;
+ } // case 18
+ default:
+ {
+ if (!super.parseUnknownField(input, extensionRegistry, tag)) {
+ done = true; // was an endgroup tag
+ }
+ break;
+ } // default:
+ } // switch (tag)
+ } // while (!done)
+ } catch (com.google.protobuf.InvalidProtocolBufferException e) {
+ throw e.unwrapIOException();
+ } finally {
+ onChanged();
+ } // finally
+ return this;
+ }
+
+ private int bitField0_;
+
+ private com.google.cloud.aiplatform.v1beta1.TrajectoryInOrderMatchSpec metricSpec_;
+ private com.google.protobuf.SingleFieldBuilderV3<
+ com.google.cloud.aiplatform.v1beta1.TrajectoryInOrderMatchSpec,
+ com.google.cloud.aiplatform.v1beta1.TrajectoryInOrderMatchSpec.Builder,
+ com.google.cloud.aiplatform.v1beta1.TrajectoryInOrderMatchSpecOrBuilder>
+ metricSpecBuilder_;
+ /**
+ *
+ *
+ *
+ * Required. Spec for TrajectoryInOrderMatch metric.
+ *
+ *
+ *
+ * .google.cloud.aiplatform.v1beta1.TrajectoryInOrderMatchSpec metric_spec = 1 [(.google.api.field_behavior) = REQUIRED];
+ *
+ *
+ * @return Whether the metricSpec field is set.
+ */
+ public boolean hasMetricSpec() {
+ return ((bitField0_ & 0x00000001) != 0);
+ }
+ /**
+ *
+ *
+ *
+ * Required. Spec for TrajectoryInOrderMatch metric.
+ *
+ *
+ *
+ * .google.cloud.aiplatform.v1beta1.TrajectoryInOrderMatchSpec metric_spec = 1 [(.google.api.field_behavior) = REQUIRED];
+ *
+ *
+ * @return The metricSpec.
+ */
+ public com.google.cloud.aiplatform.v1beta1.TrajectoryInOrderMatchSpec getMetricSpec() {
+ if (metricSpecBuilder_ == null) {
+ return metricSpec_ == null
+ ? com.google.cloud.aiplatform.v1beta1.TrajectoryInOrderMatchSpec.getDefaultInstance()
+ : metricSpec_;
+ } else {
+ return metricSpecBuilder_.getMessage();
+ }
+ }
+ /**
+ *
+ *
+ *
+ * Required. Spec for TrajectoryInOrderMatch metric.
+ *
+ *
+ *
+ * .google.cloud.aiplatform.v1beta1.TrajectoryInOrderMatchSpec metric_spec = 1 [(.google.api.field_behavior) = REQUIRED];
+ *
+ */
+ public Builder setMetricSpec(
+ com.google.cloud.aiplatform.v1beta1.TrajectoryInOrderMatchSpec value) {
+ if (metricSpecBuilder_ == null) {
+ if (value == null) {
+ throw new NullPointerException();
+ }
+ metricSpec_ = value;
+ } else {
+ metricSpecBuilder_.setMessage(value);
+ }
+ bitField0_ |= 0x00000001;
+ onChanged();
+ return this;
+ }
+ /**
+ *
+ *
+ *
+ * Required. Spec for TrajectoryInOrderMatch metric.
+ *
+ *
+ *
+ * .google.cloud.aiplatform.v1beta1.TrajectoryInOrderMatchSpec metric_spec = 1 [(.google.api.field_behavior) = REQUIRED];
+ *
+ */
+ public Builder setMetricSpec(
+ com.google.cloud.aiplatform.v1beta1.TrajectoryInOrderMatchSpec.Builder builderForValue) {
+ if (metricSpecBuilder_ == null) {
+ metricSpec_ = builderForValue.build();
+ } else {
+ metricSpecBuilder_.setMessage(builderForValue.build());
+ }
+ bitField0_ |= 0x00000001;
+ onChanged();
+ return this;
+ }
+ /**
+ *
+ *
+ *
+ * Required. Spec for TrajectoryInOrderMatch metric.
+ *
+ *
+ *
+ * .google.cloud.aiplatform.v1beta1.TrajectoryInOrderMatchSpec metric_spec = 1 [(.google.api.field_behavior) = REQUIRED];
+ *
+ */
+ public Builder mergeMetricSpec(
+ com.google.cloud.aiplatform.v1beta1.TrajectoryInOrderMatchSpec value) {
+ if (metricSpecBuilder_ == null) {
+ if (((bitField0_ & 0x00000001) != 0)
+ && metricSpec_ != null
+ && metricSpec_
+ != com.google.cloud.aiplatform.v1beta1.TrajectoryInOrderMatchSpec
+ .getDefaultInstance()) {
+ getMetricSpecBuilder().mergeFrom(value);
+ } else {
+ metricSpec_ = value;
+ }
+ } else {
+ metricSpecBuilder_.mergeFrom(value);
+ }
+ if (metricSpec_ != null) {
+ bitField0_ |= 0x00000001;
+ onChanged();
+ }
+ return this;
+ }
+ /**
+ *
+ *
+ *
+ * Required. Spec for TrajectoryInOrderMatch metric.
+ *
+ *
+ *
+ * .google.cloud.aiplatform.v1beta1.TrajectoryInOrderMatchSpec metric_spec = 1 [(.google.api.field_behavior) = REQUIRED];
+ *
+ */
+ public Builder clearMetricSpec() {
+ bitField0_ = (bitField0_ & ~0x00000001);
+ metricSpec_ = null;
+ if (metricSpecBuilder_ != null) {
+ metricSpecBuilder_.dispose();
+ metricSpecBuilder_ = null;
+ }
+ onChanged();
+ return this;
+ }
+ /**
+ *
+ *
+ *
+ * Required. Spec for TrajectoryInOrderMatch metric.
+ *
+ *
+ *
+ * .google.cloud.aiplatform.v1beta1.TrajectoryInOrderMatchSpec metric_spec = 1 [(.google.api.field_behavior) = REQUIRED];
+ *
+ */
+ public com.google.cloud.aiplatform.v1beta1.TrajectoryInOrderMatchSpec.Builder
+ getMetricSpecBuilder() {
+ bitField0_ |= 0x00000001;
+ onChanged();
+ return getMetricSpecFieldBuilder().getBuilder();
+ }
+ /**
+ *
+ *
+ *
+ * Required. Spec for TrajectoryInOrderMatch metric.
+ *
+ *
+ *
+ * .google.cloud.aiplatform.v1beta1.TrajectoryInOrderMatchSpec metric_spec = 1 [(.google.api.field_behavior) = REQUIRED];
+ *
+ */
+ public com.google.cloud.aiplatform.v1beta1.TrajectoryInOrderMatchSpecOrBuilder
+ getMetricSpecOrBuilder() {
+ if (metricSpecBuilder_ != null) {
+ return metricSpecBuilder_.getMessageOrBuilder();
+ } else {
+ return metricSpec_ == null
+ ? com.google.cloud.aiplatform.v1beta1.TrajectoryInOrderMatchSpec.getDefaultInstance()
+ : metricSpec_;
+ }
+ }
+ /**
+ *
+ *
+ *
+ * Required. Spec for TrajectoryInOrderMatch metric.
+ *
+ *
+ *
+ * .google.cloud.aiplatform.v1beta1.TrajectoryInOrderMatchSpec metric_spec = 1 [(.google.api.field_behavior) = REQUIRED];
+ *
+ */
+ private com.google.protobuf.SingleFieldBuilderV3<
+ com.google.cloud.aiplatform.v1beta1.TrajectoryInOrderMatchSpec,
+ com.google.cloud.aiplatform.v1beta1.TrajectoryInOrderMatchSpec.Builder,
+ com.google.cloud.aiplatform.v1beta1.TrajectoryInOrderMatchSpecOrBuilder>
+ getMetricSpecFieldBuilder() {
+ if (metricSpecBuilder_ == null) {
+ metricSpecBuilder_ =
+ new com.google.protobuf.SingleFieldBuilderV3<
+ com.google.cloud.aiplatform.v1beta1.TrajectoryInOrderMatchSpec,
+ com.google.cloud.aiplatform.v1beta1.TrajectoryInOrderMatchSpec.Builder,
+ com.google.cloud.aiplatform.v1beta1.TrajectoryInOrderMatchSpecOrBuilder>(
+ getMetricSpec(), getParentForChildren(), isClean());
+ metricSpec_ = null;
+ }
+ return metricSpecBuilder_;
+ }
+
+ private java.util.List
+ instances_ = java.util.Collections.emptyList();
+
+ private void ensureInstancesIsMutable() {
+ if (!((bitField0_ & 0x00000002) != 0)) {
+ instances_ =
+ new java.util.ArrayList<
+ com.google.cloud.aiplatform.v1beta1.TrajectoryInOrderMatchInstance>(instances_);
+ bitField0_ |= 0x00000002;
+ }
+ }
+
+ private com.google.protobuf.RepeatedFieldBuilderV3<
+ com.google.cloud.aiplatform.v1beta1.TrajectoryInOrderMatchInstance,
+ com.google.cloud.aiplatform.v1beta1.TrajectoryInOrderMatchInstance.Builder,
+ com.google.cloud.aiplatform.v1beta1.TrajectoryInOrderMatchInstanceOrBuilder>
+ instancesBuilder_;
+
+ /**
+ *
+ *
+ *
+ * Required. Repeated TrajectoryInOrderMatch instance.
+ *
+ *
+ *
+ * repeated .google.cloud.aiplatform.v1beta1.TrajectoryInOrderMatchInstance instances = 2 [(.google.api.field_behavior) = REQUIRED];
+ *
+ */
+ public java.util.List
+ getInstancesList() {
+ if (instancesBuilder_ == null) {
+ return java.util.Collections.unmodifiableList(instances_);
+ } else {
+ return instancesBuilder_.getMessageList();
+ }
+ }
+ /**
+ *
+ *
+ *
+ * Required. Repeated TrajectoryInOrderMatch instance.
+ *
+ *
+ *
+ * repeated .google.cloud.aiplatform.v1beta1.TrajectoryInOrderMatchInstance instances = 2 [(.google.api.field_behavior) = REQUIRED];
+ *
+ */
+ public int getInstancesCount() {
+ if (instancesBuilder_ == null) {
+ return instances_.size();
+ } else {
+ return instancesBuilder_.getCount();
+ }
+ }
+ /**
+ *
+ *
+ *
+ * Required. Repeated TrajectoryInOrderMatch instance.
+ *
+ *
+ *
+ * repeated .google.cloud.aiplatform.v1beta1.TrajectoryInOrderMatchInstance instances = 2 [(.google.api.field_behavior) = REQUIRED];
+ *
+ */
+ public com.google.cloud.aiplatform.v1beta1.TrajectoryInOrderMatchInstance getInstances(
+ int index) {
+ if (instancesBuilder_ == null) {
+ return instances_.get(index);
+ } else {
+ return instancesBuilder_.getMessage(index);
+ }
+ }
+ /**
+ *
+ *
+ *
+ * Required. Repeated TrajectoryInOrderMatch instance.
+ *
+ *
+ *
+ * repeated .google.cloud.aiplatform.v1beta1.TrajectoryInOrderMatchInstance instances = 2 [(.google.api.field_behavior) = REQUIRED];
+ *
+ */
+ public Builder setInstances(
+ int index, com.google.cloud.aiplatform.v1beta1.TrajectoryInOrderMatchInstance value) {
+ if (instancesBuilder_ == null) {
+ if (value == null) {
+ throw new NullPointerException();
+ }
+ ensureInstancesIsMutable();
+ instances_.set(index, value);
+ onChanged();
+ } else {
+ instancesBuilder_.setMessage(index, value);
+ }
+ return this;
+ }
+ /**
+ *
+ *
+ *
+ * Required. Repeated TrajectoryInOrderMatch instance.
+ *
+ *
+ *
+ * repeated .google.cloud.aiplatform.v1beta1.TrajectoryInOrderMatchInstance instances = 2 [(.google.api.field_behavior) = REQUIRED];
+ *
+ */
+ public Builder setInstances(
+ int index,
+ com.google.cloud.aiplatform.v1beta1.TrajectoryInOrderMatchInstance.Builder
+ builderForValue) {
+ if (instancesBuilder_ == null) {
+ ensureInstancesIsMutable();
+ instances_.set(index, builderForValue.build());
+ onChanged();
+ } else {
+ instancesBuilder_.setMessage(index, builderForValue.build());
+ }
+ return this;
+ }
+ /**
+ *
+ *
+ *
+ * Required. Repeated TrajectoryInOrderMatch instance.
+ *
+ *
+ *
+ * repeated .google.cloud.aiplatform.v1beta1.TrajectoryInOrderMatchInstance instances = 2 [(.google.api.field_behavior) = REQUIRED];
+ *
+ */
+ public Builder addInstances(
+ com.google.cloud.aiplatform.v1beta1.TrajectoryInOrderMatchInstance value) {
+ if (instancesBuilder_ == null) {
+ if (value == null) {
+ throw new NullPointerException();
+ }
+ ensureInstancesIsMutable();
+ instances_.add(value);
+ onChanged();
+ } else {
+ instancesBuilder_.addMessage(value);
+ }
+ return this;
+ }
+ /**
+ *
+ *
+ *
+ * Required. Repeated TrajectoryInOrderMatch instance.
+ *
+ *
+ *
+ * repeated .google.cloud.aiplatform.v1beta1.TrajectoryInOrderMatchInstance instances = 2 [(.google.api.field_behavior) = REQUIRED];
+ *
+ */
+ public Builder addInstances(
+ int index, com.google.cloud.aiplatform.v1beta1.TrajectoryInOrderMatchInstance value) {
+ if (instancesBuilder_ == null) {
+ if (value == null) {
+ throw new NullPointerException();
+ }
+ ensureInstancesIsMutable();
+ instances_.add(index, value);
+ onChanged();
+ } else {
+ instancesBuilder_.addMessage(index, value);
+ }
+ return this;
+ }
+ /**
+ *
+ *
+ *
+ * Required. Repeated TrajectoryInOrderMatch instance.
+ *
+ *
+ *
+ * repeated .google.cloud.aiplatform.v1beta1.TrajectoryInOrderMatchInstance instances = 2 [(.google.api.field_behavior) = REQUIRED];
+ *
+ */
+ public Builder addInstances(
+ com.google.cloud.aiplatform.v1beta1.TrajectoryInOrderMatchInstance.Builder
+ builderForValue) {
+ if (instancesBuilder_ == null) {
+ ensureInstancesIsMutable();
+ instances_.add(builderForValue.build());
+ onChanged();
+ } else {
+ instancesBuilder_.addMessage(builderForValue.build());
+ }
+ return this;
+ }
+ /**
+ *
+ *
+ *
+ * Required. Repeated TrajectoryInOrderMatch instance.
+ *
+ *
+ *
+ * repeated .google.cloud.aiplatform.v1beta1.TrajectoryInOrderMatchInstance instances = 2 [(.google.api.field_behavior) = REQUIRED];
+ *
+ */
+ public Builder addInstances(
+ int index,
+ com.google.cloud.aiplatform.v1beta1.TrajectoryInOrderMatchInstance.Builder
+ builderForValue) {
+ if (instancesBuilder_ == null) {
+ ensureInstancesIsMutable();
+ instances_.add(index, builderForValue.build());
+ onChanged();
+ } else {
+ instancesBuilder_.addMessage(index, builderForValue.build());
+ }
+ return this;
+ }
+ /**
+ *
+ *
+ *
+ * Required. Repeated TrajectoryInOrderMatch instance.
+ *
+ *
+ *
+ * repeated .google.cloud.aiplatform.v1beta1.TrajectoryInOrderMatchInstance instances = 2 [(.google.api.field_behavior) = REQUIRED];
+ *
+ */
+ public Builder addAllInstances(
+ java.lang.Iterable<
+ ? extends com.google.cloud.aiplatform.v1beta1.TrajectoryInOrderMatchInstance>
+ values) {
+ if (instancesBuilder_ == null) {
+ ensureInstancesIsMutable();
+ com.google.protobuf.AbstractMessageLite.Builder.addAll(values, instances_);
+ onChanged();
+ } else {
+ instancesBuilder_.addAllMessages(values);
+ }
+ return this;
+ }
+ /**
+ *
+ *
+ *
+ * Required. Repeated TrajectoryInOrderMatch instance.
+ *
+ *
+ *
+ * repeated .google.cloud.aiplatform.v1beta1.TrajectoryInOrderMatchInstance instances = 2 [(.google.api.field_behavior) = REQUIRED];
+ *
+ */
+ public Builder clearInstances() {
+ if (instancesBuilder_ == null) {
+ instances_ = java.util.Collections.emptyList();
+ bitField0_ = (bitField0_ & ~0x00000002);
+ onChanged();
+ } else {
+ instancesBuilder_.clear();
+ }
+ return this;
+ }
+ /**
+ *
+ *
+ *
+ * Required. Repeated TrajectoryInOrderMatch instance.
+ *
+ *
+ *
+ * repeated .google.cloud.aiplatform.v1beta1.TrajectoryInOrderMatchInstance instances = 2 [(.google.api.field_behavior) = REQUIRED];
+ *
+ */
+ public Builder removeInstances(int index) {
+ if (instancesBuilder_ == null) {
+ ensureInstancesIsMutable();
+ instances_.remove(index);
+ onChanged();
+ } else {
+ instancesBuilder_.remove(index);
+ }
+ return this;
+ }
+ /**
+ *
+ *
+ *
+ * Required. Repeated TrajectoryInOrderMatch instance.
+ *
+ *
+ *
+ * repeated .google.cloud.aiplatform.v1beta1.TrajectoryInOrderMatchInstance instances = 2 [(.google.api.field_behavior) = REQUIRED];
+ *
+ */
+ public com.google.cloud.aiplatform.v1beta1.TrajectoryInOrderMatchInstance.Builder
+ getInstancesBuilder(int index) {
+ return getInstancesFieldBuilder().getBuilder(index);
+ }
+ /**
+ *
+ *
+ *
+ * Required. Repeated TrajectoryInOrderMatch instance.
+ *
+ *
+ *
+ * repeated .google.cloud.aiplatform.v1beta1.TrajectoryInOrderMatchInstance instances = 2 [(.google.api.field_behavior) = REQUIRED];
+ *
+ */
+ public com.google.cloud.aiplatform.v1beta1.TrajectoryInOrderMatchInstanceOrBuilder
+ getInstancesOrBuilder(int index) {
+ if (instancesBuilder_ == null) {
+ return instances_.get(index);
+ } else {
+ return instancesBuilder_.getMessageOrBuilder(index);
+ }
+ }
+ /**
+ *
+ *
+ *
+ * Required. Repeated TrajectoryInOrderMatch instance.
+ *
+ *
+ *
+ * repeated .google.cloud.aiplatform.v1beta1.TrajectoryInOrderMatchInstance instances = 2 [(.google.api.field_behavior) = REQUIRED];
+ *
+ */
+ public java.util.List<
+ ? extends com.google.cloud.aiplatform.v1beta1.TrajectoryInOrderMatchInstanceOrBuilder>
+ getInstancesOrBuilderList() {
+ if (instancesBuilder_ != null) {
+ return instancesBuilder_.getMessageOrBuilderList();
+ } else {
+ return java.util.Collections.unmodifiableList(instances_);
+ }
+ }
+ /**
+ *
+ *
+ *
+ * Required. Repeated TrajectoryInOrderMatch instance.
+ *
+ *
+ *
+ * repeated .google.cloud.aiplatform.v1beta1.TrajectoryInOrderMatchInstance instances = 2 [(.google.api.field_behavior) = REQUIRED];
+ *
+ */
+ public com.google.cloud.aiplatform.v1beta1.TrajectoryInOrderMatchInstance.Builder
+ addInstancesBuilder() {
+ return getInstancesFieldBuilder()
+ .addBuilder(
+ com.google.cloud.aiplatform.v1beta1.TrajectoryInOrderMatchInstance
+ .getDefaultInstance());
+ }
+ /**
+ *
+ *
+ *
+ * Required. Repeated TrajectoryInOrderMatch instance.
+ *
+ *
+ *
+ * repeated .google.cloud.aiplatform.v1beta1.TrajectoryInOrderMatchInstance instances = 2 [(.google.api.field_behavior) = REQUIRED];
+ *
+ */
+ public com.google.cloud.aiplatform.v1beta1.TrajectoryInOrderMatchInstance.Builder
+ addInstancesBuilder(int index) {
+ return getInstancesFieldBuilder()
+ .addBuilder(
+ index,
+ com.google.cloud.aiplatform.v1beta1.TrajectoryInOrderMatchInstance
+ .getDefaultInstance());
+ }
+ /**
+ *
+ *
+ *
+ * Required. Repeated TrajectoryInOrderMatch instance.
+ *
+ *
+ *
+ * repeated .google.cloud.aiplatform.v1beta1.TrajectoryInOrderMatchInstance instances = 2 [(.google.api.field_behavior) = REQUIRED];
+ *
+ */
+ public java.util.List<
+ com.google.cloud.aiplatform.v1beta1.TrajectoryInOrderMatchInstance.Builder>
+ getInstancesBuilderList() {
+ return getInstancesFieldBuilder().getBuilderList();
+ }
+
+ private com.google.protobuf.RepeatedFieldBuilderV3<
+ com.google.cloud.aiplatform.v1beta1.TrajectoryInOrderMatchInstance,
+ com.google.cloud.aiplatform.v1beta1.TrajectoryInOrderMatchInstance.Builder,
+ com.google.cloud.aiplatform.v1beta1.TrajectoryInOrderMatchInstanceOrBuilder>
+ getInstancesFieldBuilder() {
+ if (instancesBuilder_ == null) {
+ instancesBuilder_ =
+ new com.google.protobuf.RepeatedFieldBuilderV3<
+ com.google.cloud.aiplatform.v1beta1.TrajectoryInOrderMatchInstance,
+ com.google.cloud.aiplatform.v1beta1.TrajectoryInOrderMatchInstance.Builder,
+ com.google.cloud.aiplatform.v1beta1.TrajectoryInOrderMatchInstanceOrBuilder>(
+ instances_, ((bitField0_ & 0x00000002) != 0), getParentForChildren(), isClean());
+ instances_ = null;
+ }
+ return instancesBuilder_;
+ }
+
+ @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:google.cloud.aiplatform.v1beta1.TrajectoryInOrderMatchInput)
+ }
+
+ // @@protoc_insertion_point(class_scope:google.cloud.aiplatform.v1beta1.TrajectoryInOrderMatchInput)
+ private static final com.google.cloud.aiplatform.v1beta1.TrajectoryInOrderMatchInput
+ DEFAULT_INSTANCE;
+
+ static {
+ DEFAULT_INSTANCE = new com.google.cloud.aiplatform.v1beta1.TrajectoryInOrderMatchInput();
+ }
+
+ public static com.google.cloud.aiplatform.v1beta1.TrajectoryInOrderMatchInput
+ getDefaultInstance() {
+ return DEFAULT_INSTANCE;
+ }
+
+ private static final com.google.protobuf.Parser PARSER =
+ new com.google.protobuf.AbstractParser() {
+ @java.lang.Override
+ public TrajectoryInOrderMatchInput 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 com.google.cloud.aiplatform.v1beta1.TrajectoryInOrderMatchInput
+ getDefaultInstanceForType() {
+ return DEFAULT_INSTANCE;
+ }
+}
diff --git a/java-aiplatform/proto-google-cloud-aiplatform-v1beta1/src/main/java/com/google/cloud/aiplatform/v1beta1/TrajectoryInOrderMatchInputOrBuilder.java b/java-aiplatform/proto-google-cloud-aiplatform-v1beta1/src/main/java/com/google/cloud/aiplatform/v1beta1/TrajectoryInOrderMatchInputOrBuilder.java
new file mode 100644
index 000000000000..2ceb32555a90
--- /dev/null
+++ b/java-aiplatform/proto-google-cloud-aiplatform-v1beta1/src/main/java/com/google/cloud/aiplatform/v1beta1/TrajectoryInOrderMatchInputOrBuilder.java
@@ -0,0 +1,132 @@
+/*
+ * Copyright 2024 Google LLC
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ * https://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+// Generated by the protocol buffer compiler. DO NOT EDIT!
+// source: google/cloud/aiplatform/v1beta1/evaluation_service.proto
+
+// Protobuf Java Version: 3.25.5
+package com.google.cloud.aiplatform.v1beta1;
+
+public interface TrajectoryInOrderMatchInputOrBuilder
+ extends
+ // @@protoc_insertion_point(interface_extends:google.cloud.aiplatform.v1beta1.TrajectoryInOrderMatchInput)
+ com.google.protobuf.MessageOrBuilder {
+
+ /**
+ *
+ *
+ *
+ * Required. Spec for TrajectoryInOrderMatch metric.
+ *
+ *
+ *
+ * .google.cloud.aiplatform.v1beta1.TrajectoryInOrderMatchSpec metric_spec = 1 [(.google.api.field_behavior) = REQUIRED];
+ *
+ *
+ * @return Whether the metricSpec field is set.
+ */
+ boolean hasMetricSpec();
+ /**
+ *
+ *
+ *
+ * Required. Spec for TrajectoryInOrderMatch metric.
+ *
+ *
+ *
+ * .google.cloud.aiplatform.v1beta1.TrajectoryInOrderMatchSpec metric_spec = 1 [(.google.api.field_behavior) = REQUIRED];
+ *
+ *
+ * @return The metricSpec.
+ */
+ com.google.cloud.aiplatform.v1beta1.TrajectoryInOrderMatchSpec getMetricSpec();
+ /**
+ *
+ *
+ *
+ * Required. Spec for TrajectoryInOrderMatch metric.
+ *
+ *
+ *
+ * .google.cloud.aiplatform.v1beta1.TrajectoryInOrderMatchSpec metric_spec = 1 [(.google.api.field_behavior) = REQUIRED];
+ *
+ */
+ com.google.cloud.aiplatform.v1beta1.TrajectoryInOrderMatchSpecOrBuilder getMetricSpecOrBuilder();
+
+ /**
+ *
+ *
+ *
+ * Required. Repeated TrajectoryInOrderMatch instance.
+ *
+ *
+ *
+ * repeated .google.cloud.aiplatform.v1beta1.TrajectoryInOrderMatchInstance instances = 2 [(.google.api.field_behavior) = REQUIRED];
+ *
+ */
+ java.util.List
+ getInstancesList();
+ /**
+ *
+ *
+ *
+ * Required. Repeated TrajectoryInOrderMatch instance.
+ *
+ *
+ *
+ * repeated .google.cloud.aiplatform.v1beta1.TrajectoryInOrderMatchInstance instances = 2 [(.google.api.field_behavior) = REQUIRED];
+ *
+ */
+ com.google.cloud.aiplatform.v1beta1.TrajectoryInOrderMatchInstance getInstances(int index);
+ /**
+ *
+ *
+ *
+ * Required. Repeated TrajectoryInOrderMatch instance.
+ *
+ *
+ *
+ * repeated .google.cloud.aiplatform.v1beta1.TrajectoryInOrderMatchInstance instances = 2 [(.google.api.field_behavior) = REQUIRED];
+ *
+ */
+ int getInstancesCount();
+ /**
+ *
+ *
+ *
+ * Required. Repeated TrajectoryInOrderMatch instance.
+ *
+ *
+ *
+ * repeated .google.cloud.aiplatform.v1beta1.TrajectoryInOrderMatchInstance instances = 2 [(.google.api.field_behavior) = REQUIRED];
+ *
+ */
+ java.util.List<
+ ? extends com.google.cloud.aiplatform.v1beta1.TrajectoryInOrderMatchInstanceOrBuilder>
+ getInstancesOrBuilderList();
+ /**
+ *
+ *
+ *
+ * Required. Repeated TrajectoryInOrderMatch instance.
+ *
+ *
+ *
+ * repeated .google.cloud.aiplatform.v1beta1.TrajectoryInOrderMatchInstance instances = 2 [(.google.api.field_behavior) = REQUIRED];
+ *
+ */
+ com.google.cloud.aiplatform.v1beta1.TrajectoryInOrderMatchInstanceOrBuilder getInstancesOrBuilder(
+ int index);
+}
diff --git a/java-aiplatform/proto-google-cloud-aiplatform-v1beta1/src/main/java/com/google/cloud/aiplatform/v1beta1/TrajectoryInOrderMatchInstance.java b/java-aiplatform/proto-google-cloud-aiplatform-v1beta1/src/main/java/com/google/cloud/aiplatform/v1beta1/TrajectoryInOrderMatchInstance.java
new file mode 100644
index 000000000000..a60e21182a14
--- /dev/null
+++ b/java-aiplatform/proto-google-cloud-aiplatform-v1beta1/src/main/java/com/google/cloud/aiplatform/v1beta1/TrajectoryInOrderMatchInstance.java
@@ -0,0 +1,1064 @@
+/*
+ * Copyright 2024 Google LLC
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ * https://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+// Generated by the protocol buffer compiler. DO NOT EDIT!
+// source: google/cloud/aiplatform/v1beta1/evaluation_service.proto
+
+// Protobuf Java Version: 3.25.5
+package com.google.cloud.aiplatform.v1beta1;
+
+/**
+ *
+ *
+ *
+ * Spec for TrajectoryInOrderMatch instance.
+ *
+ *
+ * Protobuf type {@code google.cloud.aiplatform.v1beta1.TrajectoryInOrderMatchInstance}
+ */
+public final class TrajectoryInOrderMatchInstance extends com.google.protobuf.GeneratedMessageV3
+ implements
+ // @@protoc_insertion_point(message_implements:google.cloud.aiplatform.v1beta1.TrajectoryInOrderMatchInstance)
+ TrajectoryInOrderMatchInstanceOrBuilder {
+ private static final long serialVersionUID = 0L;
+ // Use TrajectoryInOrderMatchInstance.newBuilder() to construct.
+ private TrajectoryInOrderMatchInstance(
+ com.google.protobuf.GeneratedMessageV3.Builder> builder) {
+ super(builder);
+ }
+
+ private TrajectoryInOrderMatchInstance() {}
+
+ @java.lang.Override
+ @SuppressWarnings({"unused"})
+ protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
+ return new TrajectoryInOrderMatchInstance();
+ }
+
+ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+ return com.google.cloud.aiplatform.v1beta1.EvaluationServiceProto
+ .internal_static_google_cloud_aiplatform_v1beta1_TrajectoryInOrderMatchInstance_descriptor;
+ }
+
+ @java.lang.Override
+ protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
+ internalGetFieldAccessorTable() {
+ return com.google.cloud.aiplatform.v1beta1.EvaluationServiceProto
+ .internal_static_google_cloud_aiplatform_v1beta1_TrajectoryInOrderMatchInstance_fieldAccessorTable
+ .ensureFieldAccessorsInitialized(
+ com.google.cloud.aiplatform.v1beta1.TrajectoryInOrderMatchInstance.class,
+ com.google.cloud.aiplatform.v1beta1.TrajectoryInOrderMatchInstance.Builder.class);
+ }
+
+ private int bitField0_;
+ public static final int PREDICTED_TRAJECTORY_FIELD_NUMBER = 1;
+ private com.google.cloud.aiplatform.v1beta1.Trajectory predictedTrajectory_;
+ /**
+ *
+ *
+ *
+ * Required. Spec for predicted tool call trajectory.
+ *
+ *
+ *
+ * optional .google.cloud.aiplatform.v1beta1.Trajectory predicted_trajectory = 1 [(.google.api.field_behavior) = REQUIRED];
+ *
+ *
+ * @return Whether the predictedTrajectory field is set.
+ */
+ @java.lang.Override
+ public boolean hasPredictedTrajectory() {
+ return ((bitField0_ & 0x00000001) != 0);
+ }
+ /**
+ *
+ *
+ *
+ * Required. Spec for predicted tool call trajectory.
+ *
+ *
+ *
+ * optional .google.cloud.aiplatform.v1beta1.Trajectory predicted_trajectory = 1 [(.google.api.field_behavior) = REQUIRED];
+ *
+ *
+ * @return The predictedTrajectory.
+ */
+ @java.lang.Override
+ public com.google.cloud.aiplatform.v1beta1.Trajectory getPredictedTrajectory() {
+ return predictedTrajectory_ == null
+ ? com.google.cloud.aiplatform.v1beta1.Trajectory.getDefaultInstance()
+ : predictedTrajectory_;
+ }
+ /**
+ *
+ *
+ *
+ * Required. Spec for predicted tool call trajectory.
+ *
+ *
+ *
+ * optional .google.cloud.aiplatform.v1beta1.Trajectory predicted_trajectory = 1 [(.google.api.field_behavior) = REQUIRED];
+ *
+ */
+ @java.lang.Override
+ public com.google.cloud.aiplatform.v1beta1.TrajectoryOrBuilder getPredictedTrajectoryOrBuilder() {
+ return predictedTrajectory_ == null
+ ? com.google.cloud.aiplatform.v1beta1.Trajectory.getDefaultInstance()
+ : predictedTrajectory_;
+ }
+
+ public static final int REFERENCE_TRAJECTORY_FIELD_NUMBER = 2;
+ private com.google.cloud.aiplatform.v1beta1.Trajectory referenceTrajectory_;
+ /**
+ *
+ *
+ *
+ * Required. Spec for reference tool call trajectory.
+ *
+ *
+ *
+ * optional .google.cloud.aiplatform.v1beta1.Trajectory reference_trajectory = 2 [(.google.api.field_behavior) = REQUIRED];
+ *
+ *
+ * @return Whether the referenceTrajectory field is set.
+ */
+ @java.lang.Override
+ public boolean hasReferenceTrajectory() {
+ return ((bitField0_ & 0x00000002) != 0);
+ }
+ /**
+ *
+ *
+ *
+ * Required. Spec for reference tool call trajectory.
+ *
+ *
+ *
+ * optional .google.cloud.aiplatform.v1beta1.Trajectory reference_trajectory = 2 [(.google.api.field_behavior) = REQUIRED];
+ *
+ *
+ * @return The referenceTrajectory.
+ */
+ @java.lang.Override
+ public com.google.cloud.aiplatform.v1beta1.Trajectory getReferenceTrajectory() {
+ return referenceTrajectory_ == null
+ ? com.google.cloud.aiplatform.v1beta1.Trajectory.getDefaultInstance()
+ : referenceTrajectory_;
+ }
+ /**
+ *
+ *
+ *
+ * Required. Spec for reference tool call trajectory.
+ *
+ *
+ *
+ * optional .google.cloud.aiplatform.v1beta1.Trajectory reference_trajectory = 2 [(.google.api.field_behavior) = REQUIRED];
+ *
+ */
+ @java.lang.Override
+ public com.google.cloud.aiplatform.v1beta1.TrajectoryOrBuilder getReferenceTrajectoryOrBuilder() {
+ return referenceTrajectory_ == null
+ ? com.google.cloud.aiplatform.v1beta1.Trajectory.getDefaultInstance()
+ : referenceTrajectory_;
+ }
+
+ private byte memoizedIsInitialized = -1;
+
+ @java.lang.Override
+ public final boolean isInitialized() {
+ byte isInitialized = memoizedIsInitialized;
+ if (isInitialized == 1) return true;
+ if (isInitialized == 0) return false;
+
+ memoizedIsInitialized = 1;
+ return true;
+ }
+
+ @java.lang.Override
+ public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException {
+ if (((bitField0_ & 0x00000001) != 0)) {
+ output.writeMessage(1, getPredictedTrajectory());
+ }
+ if (((bitField0_ & 0x00000002) != 0)) {
+ output.writeMessage(2, getReferenceTrajectory());
+ }
+ getUnknownFields().writeTo(output);
+ }
+
+ @java.lang.Override
+ public int getSerializedSize() {
+ int size = memoizedSize;
+ if (size != -1) return size;
+
+ size = 0;
+ if (((bitField0_ & 0x00000001) != 0)) {
+ size += com.google.protobuf.CodedOutputStream.computeMessageSize(1, getPredictedTrajectory());
+ }
+ if (((bitField0_ & 0x00000002) != 0)) {
+ size += com.google.protobuf.CodedOutputStream.computeMessageSize(2, getReferenceTrajectory());
+ }
+ 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 com.google.cloud.aiplatform.v1beta1.TrajectoryInOrderMatchInstance)) {
+ return super.equals(obj);
+ }
+ com.google.cloud.aiplatform.v1beta1.TrajectoryInOrderMatchInstance other =
+ (com.google.cloud.aiplatform.v1beta1.TrajectoryInOrderMatchInstance) obj;
+
+ if (hasPredictedTrajectory() != other.hasPredictedTrajectory()) return false;
+ if (hasPredictedTrajectory()) {
+ if (!getPredictedTrajectory().equals(other.getPredictedTrajectory())) return false;
+ }
+ if (hasReferenceTrajectory() != other.hasReferenceTrajectory()) return false;
+ if (hasReferenceTrajectory()) {
+ if (!getReferenceTrajectory().equals(other.getReferenceTrajectory())) 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 (hasPredictedTrajectory()) {
+ hash = (37 * hash) + PREDICTED_TRAJECTORY_FIELD_NUMBER;
+ hash = (53 * hash) + getPredictedTrajectory().hashCode();
+ }
+ if (hasReferenceTrajectory()) {
+ hash = (37 * hash) + REFERENCE_TRAJECTORY_FIELD_NUMBER;
+ hash = (53 * hash) + getReferenceTrajectory().hashCode();
+ }
+ hash = (29 * hash) + getUnknownFields().hashCode();
+ memoizedHashCode = hash;
+ return hash;
+ }
+
+ public static com.google.cloud.aiplatform.v1beta1.TrajectoryInOrderMatchInstance parseFrom(
+ java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException {
+ return PARSER.parseFrom(data);
+ }
+
+ public static com.google.cloud.aiplatform.v1beta1.TrajectoryInOrderMatchInstance parseFrom(
+ java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+ throws com.google.protobuf.InvalidProtocolBufferException {
+ return PARSER.parseFrom(data, extensionRegistry);
+ }
+
+ public static com.google.cloud.aiplatform.v1beta1.TrajectoryInOrderMatchInstance parseFrom(
+ com.google.protobuf.ByteString data)
+ throws com.google.protobuf.InvalidProtocolBufferException {
+ return PARSER.parseFrom(data);
+ }
+
+ public static com.google.cloud.aiplatform.v1beta1.TrajectoryInOrderMatchInstance parseFrom(
+ com.google.protobuf.ByteString data,
+ com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+ throws com.google.protobuf.InvalidProtocolBufferException {
+ return PARSER.parseFrom(data, extensionRegistry);
+ }
+
+ public static com.google.cloud.aiplatform.v1beta1.TrajectoryInOrderMatchInstance parseFrom(
+ byte[] data) throws com.google.protobuf.InvalidProtocolBufferException {
+ return PARSER.parseFrom(data);
+ }
+
+ public static com.google.cloud.aiplatform.v1beta1.TrajectoryInOrderMatchInstance parseFrom(
+ byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+ throws com.google.protobuf.InvalidProtocolBufferException {
+ return PARSER.parseFrom(data, extensionRegistry);
+ }
+
+ public static com.google.cloud.aiplatform.v1beta1.TrajectoryInOrderMatchInstance parseFrom(
+ java.io.InputStream input) throws java.io.IOException {
+ return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input);
+ }
+
+ public static com.google.cloud.aiplatform.v1beta1.TrajectoryInOrderMatchInstance parseFrom(
+ java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+ throws java.io.IOException {
+ return com.google.protobuf.GeneratedMessageV3.parseWithIOException(
+ PARSER, input, extensionRegistry);
+ }
+
+ public static com.google.cloud.aiplatform.v1beta1.TrajectoryInOrderMatchInstance
+ parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException {
+ return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input);
+ }
+
+ public static com.google.cloud.aiplatform.v1beta1.TrajectoryInOrderMatchInstance
+ parseDelimitedFrom(
+ java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+ throws java.io.IOException {
+ return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(
+ PARSER, input, extensionRegistry);
+ }
+
+ public static com.google.cloud.aiplatform.v1beta1.TrajectoryInOrderMatchInstance parseFrom(
+ com.google.protobuf.CodedInputStream input) throws java.io.IOException {
+ return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input);
+ }
+
+ public static com.google.cloud.aiplatform.v1beta1.TrajectoryInOrderMatchInstance 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(
+ com.google.cloud.aiplatform.v1beta1.TrajectoryInOrderMatchInstance 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;
+ }
+ /**
+ *
+ *
+ *
+ * Spec for TrajectoryInOrderMatch instance.
+ *
+ *
+ * Protobuf type {@code google.cloud.aiplatform.v1beta1.TrajectoryInOrderMatchInstance}
+ */
+ public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder
+ implements
+ // @@protoc_insertion_point(builder_implements:google.cloud.aiplatform.v1beta1.TrajectoryInOrderMatchInstance)
+ com.google.cloud.aiplatform.v1beta1.TrajectoryInOrderMatchInstanceOrBuilder {
+ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+ return com.google.cloud.aiplatform.v1beta1.EvaluationServiceProto
+ .internal_static_google_cloud_aiplatform_v1beta1_TrajectoryInOrderMatchInstance_descriptor;
+ }
+
+ @java.lang.Override
+ protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
+ internalGetFieldAccessorTable() {
+ return com.google.cloud.aiplatform.v1beta1.EvaluationServiceProto
+ .internal_static_google_cloud_aiplatform_v1beta1_TrajectoryInOrderMatchInstance_fieldAccessorTable
+ .ensureFieldAccessorsInitialized(
+ com.google.cloud.aiplatform.v1beta1.TrajectoryInOrderMatchInstance.class,
+ com.google.cloud.aiplatform.v1beta1.TrajectoryInOrderMatchInstance.Builder.class);
+ }
+
+ // Construct using
+ // com.google.cloud.aiplatform.v1beta1.TrajectoryInOrderMatchInstance.newBuilder()
+ private Builder() {
+ maybeForceBuilderInitialization();
+ }
+
+ private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+ super(parent);
+ maybeForceBuilderInitialization();
+ }
+
+ private void maybeForceBuilderInitialization() {
+ if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {
+ getPredictedTrajectoryFieldBuilder();
+ getReferenceTrajectoryFieldBuilder();
+ }
+ }
+
+ @java.lang.Override
+ public Builder clear() {
+ super.clear();
+ bitField0_ = 0;
+ predictedTrajectory_ = null;
+ if (predictedTrajectoryBuilder_ != null) {
+ predictedTrajectoryBuilder_.dispose();
+ predictedTrajectoryBuilder_ = null;
+ }
+ referenceTrajectory_ = null;
+ if (referenceTrajectoryBuilder_ != null) {
+ referenceTrajectoryBuilder_.dispose();
+ referenceTrajectoryBuilder_ = null;
+ }
+ return this;
+ }
+
+ @java.lang.Override
+ public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
+ return com.google.cloud.aiplatform.v1beta1.EvaluationServiceProto
+ .internal_static_google_cloud_aiplatform_v1beta1_TrajectoryInOrderMatchInstance_descriptor;
+ }
+
+ @java.lang.Override
+ public com.google.cloud.aiplatform.v1beta1.TrajectoryInOrderMatchInstance
+ getDefaultInstanceForType() {
+ return com.google.cloud.aiplatform.v1beta1.TrajectoryInOrderMatchInstance
+ .getDefaultInstance();
+ }
+
+ @java.lang.Override
+ public com.google.cloud.aiplatform.v1beta1.TrajectoryInOrderMatchInstance build() {
+ com.google.cloud.aiplatform.v1beta1.TrajectoryInOrderMatchInstance result = buildPartial();
+ if (!result.isInitialized()) {
+ throw newUninitializedMessageException(result);
+ }
+ return result;
+ }
+
+ @java.lang.Override
+ public com.google.cloud.aiplatform.v1beta1.TrajectoryInOrderMatchInstance buildPartial() {
+ com.google.cloud.aiplatform.v1beta1.TrajectoryInOrderMatchInstance result =
+ new com.google.cloud.aiplatform.v1beta1.TrajectoryInOrderMatchInstance(this);
+ if (bitField0_ != 0) {
+ buildPartial0(result);
+ }
+ onBuilt();
+ return result;
+ }
+
+ private void buildPartial0(
+ com.google.cloud.aiplatform.v1beta1.TrajectoryInOrderMatchInstance result) {
+ int from_bitField0_ = bitField0_;
+ int to_bitField0_ = 0;
+ if (((from_bitField0_ & 0x00000001) != 0)) {
+ result.predictedTrajectory_ =
+ predictedTrajectoryBuilder_ == null
+ ? predictedTrajectory_
+ : predictedTrajectoryBuilder_.build();
+ to_bitField0_ |= 0x00000001;
+ }
+ if (((from_bitField0_ & 0x00000002) != 0)) {
+ result.referenceTrajectory_ =
+ referenceTrajectoryBuilder_ == null
+ ? referenceTrajectory_
+ : referenceTrajectoryBuilder_.build();
+ to_bitField0_ |= 0x00000002;
+ }
+ result.bitField0_ |= to_bitField0_;
+ }
+
+ @java.lang.Override
+ public Builder clone() {
+ return super.clone();
+ }
+
+ @java.lang.Override
+ public Builder setField(
+ com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+ return super.setField(field, value);
+ }
+
+ @java.lang.Override
+ public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) {
+ return super.clearField(field);
+ }
+
+ @java.lang.Override
+ public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) {
+ return super.clearOneof(oneof);
+ }
+
+ @java.lang.Override
+ public Builder setRepeatedField(
+ com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) {
+ return super.setRepeatedField(field, index, value);
+ }
+
+ @java.lang.Override
+ public Builder addRepeatedField(
+ com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+ return super.addRepeatedField(field, value);
+ }
+
+ @java.lang.Override
+ public Builder mergeFrom(com.google.protobuf.Message other) {
+ if (other instanceof com.google.cloud.aiplatform.v1beta1.TrajectoryInOrderMatchInstance) {
+ return mergeFrom(
+ (com.google.cloud.aiplatform.v1beta1.TrajectoryInOrderMatchInstance) other);
+ } else {
+ super.mergeFrom(other);
+ return this;
+ }
+ }
+
+ public Builder mergeFrom(
+ com.google.cloud.aiplatform.v1beta1.TrajectoryInOrderMatchInstance other) {
+ if (other
+ == com.google.cloud.aiplatform.v1beta1.TrajectoryInOrderMatchInstance
+ .getDefaultInstance()) return this;
+ if (other.hasPredictedTrajectory()) {
+ mergePredictedTrajectory(other.getPredictedTrajectory());
+ }
+ if (other.hasReferenceTrajectory()) {
+ mergeReferenceTrajectory(other.getReferenceTrajectory());
+ }
+ this.mergeUnknownFields(other.getUnknownFields());
+ onChanged();
+ return this;
+ }
+
+ @java.lang.Override
+ public final boolean isInitialized() {
+ return true;
+ }
+
+ @java.lang.Override
+ public Builder mergeFrom(
+ com.google.protobuf.CodedInputStream input,
+ com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+ throws java.io.IOException {
+ if (extensionRegistry == null) {
+ throw new java.lang.NullPointerException();
+ }
+ try {
+ boolean done = false;
+ while (!done) {
+ int tag = input.readTag();
+ switch (tag) {
+ case 0:
+ done = true;
+ break;
+ case 10:
+ {
+ input.readMessage(
+ getPredictedTrajectoryFieldBuilder().getBuilder(), extensionRegistry);
+ bitField0_ |= 0x00000001;
+ break;
+ } // case 10
+ case 18:
+ {
+ input.readMessage(
+ getReferenceTrajectoryFieldBuilder().getBuilder(), extensionRegistry);
+ bitField0_ |= 0x00000002;
+ break;
+ } // case 18
+ default:
+ {
+ if (!super.parseUnknownField(input, extensionRegistry, tag)) {
+ done = true; // was an endgroup tag
+ }
+ break;
+ } // default:
+ } // switch (tag)
+ } // while (!done)
+ } catch (com.google.protobuf.InvalidProtocolBufferException e) {
+ throw e.unwrapIOException();
+ } finally {
+ onChanged();
+ } // finally
+ return this;
+ }
+
+ private int bitField0_;
+
+ private com.google.cloud.aiplatform.v1beta1.Trajectory predictedTrajectory_;
+ private com.google.protobuf.SingleFieldBuilderV3<
+ com.google.cloud.aiplatform.v1beta1.Trajectory,
+ com.google.cloud.aiplatform.v1beta1.Trajectory.Builder,
+ com.google.cloud.aiplatform.v1beta1.TrajectoryOrBuilder>
+ predictedTrajectoryBuilder_;
+ /**
+ *
+ *
+ *
+ * Required. Spec for predicted tool call trajectory.
+ *
+ *
+ *
+ * optional .google.cloud.aiplatform.v1beta1.Trajectory predicted_trajectory = 1 [(.google.api.field_behavior) = REQUIRED];
+ *
+ *
+ * @return Whether the predictedTrajectory field is set.
+ */
+ public boolean hasPredictedTrajectory() {
+ return ((bitField0_ & 0x00000001) != 0);
+ }
+ /**
+ *
+ *
+ *
+ * Required. Spec for predicted tool call trajectory.
+ *
+ *
+ *
+ * optional .google.cloud.aiplatform.v1beta1.Trajectory predicted_trajectory = 1 [(.google.api.field_behavior) = REQUIRED];
+ *
+ *
+ * @return The predictedTrajectory.
+ */
+ public com.google.cloud.aiplatform.v1beta1.Trajectory getPredictedTrajectory() {
+ if (predictedTrajectoryBuilder_ == null) {
+ return predictedTrajectory_ == null
+ ? com.google.cloud.aiplatform.v1beta1.Trajectory.getDefaultInstance()
+ : predictedTrajectory_;
+ } else {
+ return predictedTrajectoryBuilder_.getMessage();
+ }
+ }
+ /**
+ *
+ *
+ *
+ * Required. Spec for predicted tool call trajectory.
+ *
+ *
+ *
+ * optional .google.cloud.aiplatform.v1beta1.Trajectory predicted_trajectory = 1 [(.google.api.field_behavior) = REQUIRED];
+ *
+ */
+ public Builder setPredictedTrajectory(com.google.cloud.aiplatform.v1beta1.Trajectory value) {
+ if (predictedTrajectoryBuilder_ == null) {
+ if (value == null) {
+ throw new NullPointerException();
+ }
+ predictedTrajectory_ = value;
+ } else {
+ predictedTrajectoryBuilder_.setMessage(value);
+ }
+ bitField0_ |= 0x00000001;
+ onChanged();
+ return this;
+ }
+ /**
+ *
+ *
+ *
+ * Required. Spec for predicted tool call trajectory.
+ *
+ *
+ *
+ * optional .google.cloud.aiplatform.v1beta1.Trajectory predicted_trajectory = 1 [(.google.api.field_behavior) = REQUIRED];
+ *
+ */
+ public Builder setPredictedTrajectory(
+ com.google.cloud.aiplatform.v1beta1.Trajectory.Builder builderForValue) {
+ if (predictedTrajectoryBuilder_ == null) {
+ predictedTrajectory_ = builderForValue.build();
+ } else {
+ predictedTrajectoryBuilder_.setMessage(builderForValue.build());
+ }
+ bitField0_ |= 0x00000001;
+ onChanged();
+ return this;
+ }
+ /**
+ *
+ *
+ *
+ * Required. Spec for predicted tool call trajectory.
+ *
+ *
+ *
+ * optional .google.cloud.aiplatform.v1beta1.Trajectory predicted_trajectory = 1 [(.google.api.field_behavior) = REQUIRED];
+ *
+ */
+ public Builder mergePredictedTrajectory(com.google.cloud.aiplatform.v1beta1.Trajectory value) {
+ if (predictedTrajectoryBuilder_ == null) {
+ if (((bitField0_ & 0x00000001) != 0)
+ && predictedTrajectory_ != null
+ && predictedTrajectory_
+ != com.google.cloud.aiplatform.v1beta1.Trajectory.getDefaultInstance()) {
+ getPredictedTrajectoryBuilder().mergeFrom(value);
+ } else {
+ predictedTrajectory_ = value;
+ }
+ } else {
+ predictedTrajectoryBuilder_.mergeFrom(value);
+ }
+ if (predictedTrajectory_ != null) {
+ bitField0_ |= 0x00000001;
+ onChanged();
+ }
+ return this;
+ }
+ /**
+ *
+ *
+ *
+ * Required. Spec for predicted tool call trajectory.
+ *
+ *
+ *
+ * optional .google.cloud.aiplatform.v1beta1.Trajectory predicted_trajectory = 1 [(.google.api.field_behavior) = REQUIRED];
+ *
+ */
+ public Builder clearPredictedTrajectory() {
+ bitField0_ = (bitField0_ & ~0x00000001);
+ predictedTrajectory_ = null;
+ if (predictedTrajectoryBuilder_ != null) {
+ predictedTrajectoryBuilder_.dispose();
+ predictedTrajectoryBuilder_ = null;
+ }
+ onChanged();
+ return this;
+ }
+ /**
+ *
+ *
+ *
+ * Required. Spec for predicted tool call trajectory.
+ *
+ *
+ *
+ * optional .google.cloud.aiplatform.v1beta1.Trajectory predicted_trajectory = 1 [(.google.api.field_behavior) = REQUIRED];
+ *
+ */
+ public com.google.cloud.aiplatform.v1beta1.Trajectory.Builder getPredictedTrajectoryBuilder() {
+ bitField0_ |= 0x00000001;
+ onChanged();
+ return getPredictedTrajectoryFieldBuilder().getBuilder();
+ }
+ /**
+ *
+ *
+ *
+ * Required. Spec for predicted tool call trajectory.
+ *
+ *
+ *
+ * optional .google.cloud.aiplatform.v1beta1.Trajectory predicted_trajectory = 1 [(.google.api.field_behavior) = REQUIRED];
+ *
+ */
+ public com.google.cloud.aiplatform.v1beta1.TrajectoryOrBuilder
+ getPredictedTrajectoryOrBuilder() {
+ if (predictedTrajectoryBuilder_ != null) {
+ return predictedTrajectoryBuilder_.getMessageOrBuilder();
+ } else {
+ return predictedTrajectory_ == null
+ ? com.google.cloud.aiplatform.v1beta1.Trajectory.getDefaultInstance()
+ : predictedTrajectory_;
+ }
+ }
+ /**
+ *
+ *
+ *
+ * Required. Spec for predicted tool call trajectory.
+ *
+ *
+ *
+ * optional .google.cloud.aiplatform.v1beta1.Trajectory predicted_trajectory = 1 [(.google.api.field_behavior) = REQUIRED];
+ *
+ */
+ private com.google.protobuf.SingleFieldBuilderV3<
+ com.google.cloud.aiplatform.v1beta1.Trajectory,
+ com.google.cloud.aiplatform.v1beta1.Trajectory.Builder,
+ com.google.cloud.aiplatform.v1beta1.TrajectoryOrBuilder>
+ getPredictedTrajectoryFieldBuilder() {
+ if (predictedTrajectoryBuilder_ == null) {
+ predictedTrajectoryBuilder_ =
+ new com.google.protobuf.SingleFieldBuilderV3<
+ com.google.cloud.aiplatform.v1beta1.Trajectory,
+ com.google.cloud.aiplatform.v1beta1.Trajectory.Builder,
+ com.google.cloud.aiplatform.v1beta1.TrajectoryOrBuilder>(
+ getPredictedTrajectory(), getParentForChildren(), isClean());
+ predictedTrajectory_ = null;
+ }
+ return predictedTrajectoryBuilder_;
+ }
+
+ private com.google.cloud.aiplatform.v1beta1.Trajectory referenceTrajectory_;
+ private com.google.protobuf.SingleFieldBuilderV3<
+ com.google.cloud.aiplatform.v1beta1.Trajectory,
+ com.google.cloud.aiplatform.v1beta1.Trajectory.Builder,
+ com.google.cloud.aiplatform.v1beta1.TrajectoryOrBuilder>
+ referenceTrajectoryBuilder_;
+ /**
+ *
+ *
+ *
+ * Required. Spec for reference tool call trajectory.
+ *
+ *
+ *
+ * optional .google.cloud.aiplatform.v1beta1.Trajectory reference_trajectory = 2 [(.google.api.field_behavior) = REQUIRED];
+ *
+ *
+ * @return Whether the referenceTrajectory field is set.
+ */
+ public boolean hasReferenceTrajectory() {
+ return ((bitField0_ & 0x00000002) != 0);
+ }
+ /**
+ *
+ *
+ *
+ * Required. Spec for reference tool call trajectory.
+ *
+ *
+ *
+ * optional .google.cloud.aiplatform.v1beta1.Trajectory reference_trajectory = 2 [(.google.api.field_behavior) = REQUIRED];
+ *
+ *
+ * @return The referenceTrajectory.
+ */
+ public com.google.cloud.aiplatform.v1beta1.Trajectory getReferenceTrajectory() {
+ if (referenceTrajectoryBuilder_ == null) {
+ return referenceTrajectory_ == null
+ ? com.google.cloud.aiplatform.v1beta1.Trajectory.getDefaultInstance()
+ : referenceTrajectory_;
+ } else {
+ return referenceTrajectoryBuilder_.getMessage();
+ }
+ }
+ /**
+ *
+ *
+ *
+ * Required. Spec for reference tool call trajectory.
+ *
+ *
+ *
+ * optional .google.cloud.aiplatform.v1beta1.Trajectory reference_trajectory = 2 [(.google.api.field_behavior) = REQUIRED];
+ *
+ */
+ public Builder setReferenceTrajectory(com.google.cloud.aiplatform.v1beta1.Trajectory value) {
+ if (referenceTrajectoryBuilder_ == null) {
+ if (value == null) {
+ throw new NullPointerException();
+ }
+ referenceTrajectory_ = value;
+ } else {
+ referenceTrajectoryBuilder_.setMessage(value);
+ }
+ bitField0_ |= 0x00000002;
+ onChanged();
+ return this;
+ }
+ /**
+ *
+ *
+ *
+ * Required. Spec for reference tool call trajectory.
+ *
+ *
+ *
+ * optional .google.cloud.aiplatform.v1beta1.Trajectory reference_trajectory = 2 [(.google.api.field_behavior) = REQUIRED];
+ *
+ */
+ public Builder setReferenceTrajectory(
+ com.google.cloud.aiplatform.v1beta1.Trajectory.Builder builderForValue) {
+ if (referenceTrajectoryBuilder_ == null) {
+ referenceTrajectory_ = builderForValue.build();
+ } else {
+ referenceTrajectoryBuilder_.setMessage(builderForValue.build());
+ }
+ bitField0_ |= 0x00000002;
+ onChanged();
+ return this;
+ }
+ /**
+ *
+ *
+ *
+ * Required. Spec for reference tool call trajectory.
+ *
+ *
+ *
+ * optional .google.cloud.aiplatform.v1beta1.Trajectory reference_trajectory = 2 [(.google.api.field_behavior) = REQUIRED];
+ *
+ */
+ public Builder mergeReferenceTrajectory(com.google.cloud.aiplatform.v1beta1.Trajectory value) {
+ if (referenceTrajectoryBuilder_ == null) {
+ if (((bitField0_ & 0x00000002) != 0)
+ && referenceTrajectory_ != null
+ && referenceTrajectory_
+ != com.google.cloud.aiplatform.v1beta1.Trajectory.getDefaultInstance()) {
+ getReferenceTrajectoryBuilder().mergeFrom(value);
+ } else {
+ referenceTrajectory_ = value;
+ }
+ } else {
+ referenceTrajectoryBuilder_.mergeFrom(value);
+ }
+ if (referenceTrajectory_ != null) {
+ bitField0_ |= 0x00000002;
+ onChanged();
+ }
+ return this;
+ }
+ /**
+ *
+ *
+ *
+ * Required. Spec for reference tool call trajectory.
+ *
+ *
+ *
+ * optional .google.cloud.aiplatform.v1beta1.Trajectory reference_trajectory = 2 [(.google.api.field_behavior) = REQUIRED];
+ *
+ */
+ public Builder clearReferenceTrajectory() {
+ bitField0_ = (bitField0_ & ~0x00000002);
+ referenceTrajectory_ = null;
+ if (referenceTrajectoryBuilder_ != null) {
+ referenceTrajectoryBuilder_.dispose();
+ referenceTrajectoryBuilder_ = null;
+ }
+ onChanged();
+ return this;
+ }
+ /**
+ *
+ *
+ *
+ * Required. Spec for reference tool call trajectory.
+ *
+ *
+ *
+ * optional .google.cloud.aiplatform.v1beta1.Trajectory reference_trajectory = 2 [(.google.api.field_behavior) = REQUIRED];
+ *
+ */
+ public com.google.cloud.aiplatform.v1beta1.Trajectory.Builder getReferenceTrajectoryBuilder() {
+ bitField0_ |= 0x00000002;
+ onChanged();
+ return getReferenceTrajectoryFieldBuilder().getBuilder();
+ }
+ /**
+ *
+ *
+ *
+ * Required. Spec for reference tool call trajectory.
+ *
+ *
+ *
+ * optional .google.cloud.aiplatform.v1beta1.Trajectory reference_trajectory = 2 [(.google.api.field_behavior) = REQUIRED];
+ *
+ */
+ public com.google.cloud.aiplatform.v1beta1.TrajectoryOrBuilder
+ getReferenceTrajectoryOrBuilder() {
+ if (referenceTrajectoryBuilder_ != null) {
+ return referenceTrajectoryBuilder_.getMessageOrBuilder();
+ } else {
+ return referenceTrajectory_ == null
+ ? com.google.cloud.aiplatform.v1beta1.Trajectory.getDefaultInstance()
+ : referenceTrajectory_;
+ }
+ }
+ /**
+ *
+ *
+ *
+ * Required. Spec for reference tool call trajectory.
+ *
+ *
+ *
+ * optional .google.cloud.aiplatform.v1beta1.Trajectory reference_trajectory = 2 [(.google.api.field_behavior) = REQUIRED];
+ *
+ */
+ private com.google.protobuf.SingleFieldBuilderV3<
+ com.google.cloud.aiplatform.v1beta1.Trajectory,
+ com.google.cloud.aiplatform.v1beta1.Trajectory.Builder,
+ com.google.cloud.aiplatform.v1beta1.TrajectoryOrBuilder>
+ getReferenceTrajectoryFieldBuilder() {
+ if (referenceTrajectoryBuilder_ == null) {
+ referenceTrajectoryBuilder_ =
+ new com.google.protobuf.SingleFieldBuilderV3<
+ com.google.cloud.aiplatform.v1beta1.Trajectory,
+ com.google.cloud.aiplatform.v1beta1.Trajectory.Builder,
+ com.google.cloud.aiplatform.v1beta1.TrajectoryOrBuilder>(
+ getReferenceTrajectory(), getParentForChildren(), isClean());
+ referenceTrajectory_ = null;
+ }
+ return referenceTrajectoryBuilder_;
+ }
+
+ @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:google.cloud.aiplatform.v1beta1.TrajectoryInOrderMatchInstance)
+ }
+
+ // @@protoc_insertion_point(class_scope:google.cloud.aiplatform.v1beta1.TrajectoryInOrderMatchInstance)
+ private static final com.google.cloud.aiplatform.v1beta1.TrajectoryInOrderMatchInstance
+ DEFAULT_INSTANCE;
+
+ static {
+ DEFAULT_INSTANCE = new com.google.cloud.aiplatform.v1beta1.TrajectoryInOrderMatchInstance();
+ }
+
+ public static com.google.cloud.aiplatform.v1beta1.TrajectoryInOrderMatchInstance
+ getDefaultInstance() {
+ return DEFAULT_INSTANCE;
+ }
+
+ private static final com.google.protobuf.Parser PARSER =
+ new com.google.protobuf.AbstractParser() {
+ @java.lang.Override
+ public TrajectoryInOrderMatchInstance 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 com.google.cloud.aiplatform.v1beta1.TrajectoryInOrderMatchInstance
+ getDefaultInstanceForType() {
+ return DEFAULT_INSTANCE;
+ }
+}
diff --git a/java-aiplatform/proto-google-cloud-aiplatform-v1beta1/src/main/java/com/google/cloud/aiplatform/v1beta1/TrajectoryInOrderMatchInstanceOrBuilder.java b/java-aiplatform/proto-google-cloud-aiplatform-v1beta1/src/main/java/com/google/cloud/aiplatform/v1beta1/TrajectoryInOrderMatchInstanceOrBuilder.java
new file mode 100644
index 000000000000..1f6dd360cb45
--- /dev/null
+++ b/java-aiplatform/proto-google-cloud-aiplatform-v1beta1/src/main/java/com/google/cloud/aiplatform/v1beta1/TrajectoryInOrderMatchInstanceOrBuilder.java
@@ -0,0 +1,108 @@
+/*
+ * Copyright 2024 Google LLC
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ * https://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+// Generated by the protocol buffer compiler. DO NOT EDIT!
+// source: google/cloud/aiplatform/v1beta1/evaluation_service.proto
+
+// Protobuf Java Version: 3.25.5
+package com.google.cloud.aiplatform.v1beta1;
+
+public interface TrajectoryInOrderMatchInstanceOrBuilder
+ extends
+ // @@protoc_insertion_point(interface_extends:google.cloud.aiplatform.v1beta1.TrajectoryInOrderMatchInstance)
+ com.google.protobuf.MessageOrBuilder {
+
+ /**
+ *
+ *
+ *
+ * Required. Spec for predicted tool call trajectory.
+ *
+ *
+ *
+ * optional .google.cloud.aiplatform.v1beta1.Trajectory predicted_trajectory = 1 [(.google.api.field_behavior) = REQUIRED];
+ *
+ *
+ * @return Whether the predictedTrajectory field is set.
+ */
+ boolean hasPredictedTrajectory();
+ /**
+ *
+ *
+ *
+ * Required. Spec for predicted tool call trajectory.
+ *
+ *
+ *
+ * optional .google.cloud.aiplatform.v1beta1.Trajectory predicted_trajectory = 1 [(.google.api.field_behavior) = REQUIRED];
+ *
+ *
+ * @return The predictedTrajectory.
+ */
+ com.google.cloud.aiplatform.v1beta1.Trajectory getPredictedTrajectory();
+ /**
+ *
+ *
+ *
+ * Required. Spec for predicted tool call trajectory.
+ *
+ *
+ *
+ * optional .google.cloud.aiplatform.v1beta1.Trajectory predicted_trajectory = 1 [(.google.api.field_behavior) = REQUIRED];
+ *
+ */
+ com.google.cloud.aiplatform.v1beta1.TrajectoryOrBuilder getPredictedTrajectoryOrBuilder();
+
+ /**
+ *
+ *
+ *
+ * Required. Spec for reference tool call trajectory.
+ *
+ *
+ *
+ * optional .google.cloud.aiplatform.v1beta1.Trajectory reference_trajectory = 2 [(.google.api.field_behavior) = REQUIRED];
+ *
+ *
+ * @return Whether the referenceTrajectory field is set.
+ */
+ boolean hasReferenceTrajectory();
+ /**
+ *
+ *
+ *
+ * Required. Spec for reference tool call trajectory.
+ *
+ *
+ *
+ * optional .google.cloud.aiplatform.v1beta1.Trajectory reference_trajectory = 2 [(.google.api.field_behavior) = REQUIRED];
+ *
+ *
+ * @return The referenceTrajectory.
+ */
+ com.google.cloud.aiplatform.v1beta1.Trajectory getReferenceTrajectory();
+ /**
+ *
+ *
+ *
+ * Required. Spec for reference tool call trajectory.
+ *
+ *
+ *
+ * optional .google.cloud.aiplatform.v1beta1.Trajectory reference_trajectory = 2 [(.google.api.field_behavior) = REQUIRED];
+ *
+ */
+ com.google.cloud.aiplatform.v1beta1.TrajectoryOrBuilder getReferenceTrajectoryOrBuilder();
+}
diff --git a/java-aiplatform/proto-google-cloud-aiplatform-v1beta1/src/main/java/com/google/cloud/aiplatform/v1beta1/TrajectoryInOrderMatchMetricValue.java b/java-aiplatform/proto-google-cloud-aiplatform-v1beta1/src/main/java/com/google/cloud/aiplatform/v1beta1/TrajectoryInOrderMatchMetricValue.java
new file mode 100644
index 000000000000..59e89c474aa5
--- /dev/null
+++ b/java-aiplatform/proto-google-cloud-aiplatform-v1beta1/src/main/java/com/google/cloud/aiplatform/v1beta1/TrajectoryInOrderMatchMetricValue.java
@@ -0,0 +1,588 @@
+/*
+ * Copyright 2024 Google LLC
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ * https://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+// Generated by the protocol buffer compiler. DO NOT EDIT!
+// source: google/cloud/aiplatform/v1beta1/evaluation_service.proto
+
+// Protobuf Java Version: 3.25.5
+package com.google.cloud.aiplatform.v1beta1;
+
+/**
+ *
+ *
+ *
+ * TrajectoryInOrderMatch metric value for an instance.
+ *
+ *
+ * Protobuf type {@code google.cloud.aiplatform.v1beta1.TrajectoryInOrderMatchMetricValue}
+ */
+public final class TrajectoryInOrderMatchMetricValue extends com.google.protobuf.GeneratedMessageV3
+ implements
+ // @@protoc_insertion_point(message_implements:google.cloud.aiplatform.v1beta1.TrajectoryInOrderMatchMetricValue)
+ TrajectoryInOrderMatchMetricValueOrBuilder {
+ private static final long serialVersionUID = 0L;
+ // Use TrajectoryInOrderMatchMetricValue.newBuilder() to construct.
+ private TrajectoryInOrderMatchMetricValue(
+ com.google.protobuf.GeneratedMessageV3.Builder> builder) {
+ super(builder);
+ }
+
+ private TrajectoryInOrderMatchMetricValue() {}
+
+ @java.lang.Override
+ @SuppressWarnings({"unused"})
+ protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
+ return new TrajectoryInOrderMatchMetricValue();
+ }
+
+ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+ return com.google.cloud.aiplatform.v1beta1.EvaluationServiceProto
+ .internal_static_google_cloud_aiplatform_v1beta1_TrajectoryInOrderMatchMetricValue_descriptor;
+ }
+
+ @java.lang.Override
+ protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
+ internalGetFieldAccessorTable() {
+ return com.google.cloud.aiplatform.v1beta1.EvaluationServiceProto
+ .internal_static_google_cloud_aiplatform_v1beta1_TrajectoryInOrderMatchMetricValue_fieldAccessorTable
+ .ensureFieldAccessorsInitialized(
+ com.google.cloud.aiplatform.v1beta1.TrajectoryInOrderMatchMetricValue.class,
+ com.google.cloud.aiplatform.v1beta1.TrajectoryInOrderMatchMetricValue.Builder.class);
+ }
+
+ private int bitField0_;
+ public static final int SCORE_FIELD_NUMBER = 1;
+ private float score_ = 0F;
+ /**
+ *
+ *
+ *
+ * Output only. TrajectoryInOrderMatch score.
+ *
+ *
+ * optional float score = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
+ *
+ * @return Whether the score field is set.
+ */
+ @java.lang.Override
+ public boolean hasScore() {
+ return ((bitField0_ & 0x00000001) != 0);
+ }
+ /**
+ *
+ *
+ *
+ * Output only. TrajectoryInOrderMatch score.
+ *
+ *
+ * optional float score = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
+ *
+ * @return The score.
+ */
+ @java.lang.Override
+ public float getScore() {
+ return score_;
+ }
+
+ private byte memoizedIsInitialized = -1;
+
+ @java.lang.Override
+ public final boolean isInitialized() {
+ byte isInitialized = memoizedIsInitialized;
+ if (isInitialized == 1) return true;
+ if (isInitialized == 0) return false;
+
+ memoizedIsInitialized = 1;
+ return true;
+ }
+
+ @java.lang.Override
+ public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException {
+ if (((bitField0_ & 0x00000001) != 0)) {
+ output.writeFloat(1, score_);
+ }
+ getUnknownFields().writeTo(output);
+ }
+
+ @java.lang.Override
+ public int getSerializedSize() {
+ int size = memoizedSize;
+ if (size != -1) return size;
+
+ size = 0;
+ if (((bitField0_ & 0x00000001) != 0)) {
+ size += com.google.protobuf.CodedOutputStream.computeFloatSize(1, score_);
+ }
+ 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 com.google.cloud.aiplatform.v1beta1.TrajectoryInOrderMatchMetricValue)) {
+ return super.equals(obj);
+ }
+ com.google.cloud.aiplatform.v1beta1.TrajectoryInOrderMatchMetricValue other =
+ (com.google.cloud.aiplatform.v1beta1.TrajectoryInOrderMatchMetricValue) obj;
+
+ if (hasScore() != other.hasScore()) return false;
+ if (hasScore()) {
+ if (java.lang.Float.floatToIntBits(getScore())
+ != java.lang.Float.floatToIntBits(other.getScore())) 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 (hasScore()) {
+ hash = (37 * hash) + SCORE_FIELD_NUMBER;
+ hash = (53 * hash) + java.lang.Float.floatToIntBits(getScore());
+ }
+ hash = (29 * hash) + getUnknownFields().hashCode();
+ memoizedHashCode = hash;
+ return hash;
+ }
+
+ public static com.google.cloud.aiplatform.v1beta1.TrajectoryInOrderMatchMetricValue parseFrom(
+ java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException {
+ return PARSER.parseFrom(data);
+ }
+
+ public static com.google.cloud.aiplatform.v1beta1.TrajectoryInOrderMatchMetricValue parseFrom(
+ java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+ throws com.google.protobuf.InvalidProtocolBufferException {
+ return PARSER.parseFrom(data, extensionRegistry);
+ }
+
+ public static com.google.cloud.aiplatform.v1beta1.TrajectoryInOrderMatchMetricValue parseFrom(
+ com.google.protobuf.ByteString data)
+ throws com.google.protobuf.InvalidProtocolBufferException {
+ return PARSER.parseFrom(data);
+ }
+
+ public static com.google.cloud.aiplatform.v1beta1.TrajectoryInOrderMatchMetricValue parseFrom(
+ com.google.protobuf.ByteString data,
+ com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+ throws com.google.protobuf.InvalidProtocolBufferException {
+ return PARSER.parseFrom(data, extensionRegistry);
+ }
+
+ public static com.google.cloud.aiplatform.v1beta1.TrajectoryInOrderMatchMetricValue parseFrom(
+ byte[] data) throws com.google.protobuf.InvalidProtocolBufferException {
+ return PARSER.parseFrom(data);
+ }
+
+ public static com.google.cloud.aiplatform.v1beta1.TrajectoryInOrderMatchMetricValue parseFrom(
+ byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+ throws com.google.protobuf.InvalidProtocolBufferException {
+ return PARSER.parseFrom(data, extensionRegistry);
+ }
+
+ public static com.google.cloud.aiplatform.v1beta1.TrajectoryInOrderMatchMetricValue parseFrom(
+ java.io.InputStream input) throws java.io.IOException {
+ return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input);
+ }
+
+ public static com.google.cloud.aiplatform.v1beta1.TrajectoryInOrderMatchMetricValue parseFrom(
+ java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+ throws java.io.IOException {
+ return com.google.protobuf.GeneratedMessageV3.parseWithIOException(
+ PARSER, input, extensionRegistry);
+ }
+
+ public static com.google.cloud.aiplatform.v1beta1.TrajectoryInOrderMatchMetricValue
+ parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException {
+ return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input);
+ }
+
+ public static com.google.cloud.aiplatform.v1beta1.TrajectoryInOrderMatchMetricValue
+ parseDelimitedFrom(
+ java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+ throws java.io.IOException {
+ return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(
+ PARSER, input, extensionRegistry);
+ }
+
+ public static com.google.cloud.aiplatform.v1beta1.TrajectoryInOrderMatchMetricValue parseFrom(
+ com.google.protobuf.CodedInputStream input) throws java.io.IOException {
+ return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input);
+ }
+
+ public static com.google.cloud.aiplatform.v1beta1.TrajectoryInOrderMatchMetricValue 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(
+ com.google.cloud.aiplatform.v1beta1.TrajectoryInOrderMatchMetricValue 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;
+ }
+ /**
+ *
+ *
+ *
+ * TrajectoryInOrderMatch metric value for an instance.
+ *
+ *
+ * Protobuf type {@code google.cloud.aiplatform.v1beta1.TrajectoryInOrderMatchMetricValue}
+ */
+ public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder
+ implements
+ // @@protoc_insertion_point(builder_implements:google.cloud.aiplatform.v1beta1.TrajectoryInOrderMatchMetricValue)
+ com.google.cloud.aiplatform.v1beta1.TrajectoryInOrderMatchMetricValueOrBuilder {
+ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+ return com.google.cloud.aiplatform.v1beta1.EvaluationServiceProto
+ .internal_static_google_cloud_aiplatform_v1beta1_TrajectoryInOrderMatchMetricValue_descriptor;
+ }
+
+ @java.lang.Override
+ protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
+ internalGetFieldAccessorTable() {
+ return com.google.cloud.aiplatform.v1beta1.EvaluationServiceProto
+ .internal_static_google_cloud_aiplatform_v1beta1_TrajectoryInOrderMatchMetricValue_fieldAccessorTable
+ .ensureFieldAccessorsInitialized(
+ com.google.cloud.aiplatform.v1beta1.TrajectoryInOrderMatchMetricValue.class,
+ com.google.cloud.aiplatform.v1beta1.TrajectoryInOrderMatchMetricValue.Builder.class);
+ }
+
+ // Construct using
+ // com.google.cloud.aiplatform.v1beta1.TrajectoryInOrderMatchMetricValue.newBuilder()
+ private Builder() {}
+
+ private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+ super(parent);
+ }
+
+ @java.lang.Override
+ public Builder clear() {
+ super.clear();
+ bitField0_ = 0;
+ score_ = 0F;
+ return this;
+ }
+
+ @java.lang.Override
+ public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
+ return com.google.cloud.aiplatform.v1beta1.EvaluationServiceProto
+ .internal_static_google_cloud_aiplatform_v1beta1_TrajectoryInOrderMatchMetricValue_descriptor;
+ }
+
+ @java.lang.Override
+ public com.google.cloud.aiplatform.v1beta1.TrajectoryInOrderMatchMetricValue
+ getDefaultInstanceForType() {
+ return com.google.cloud.aiplatform.v1beta1.TrajectoryInOrderMatchMetricValue
+ .getDefaultInstance();
+ }
+
+ @java.lang.Override
+ public com.google.cloud.aiplatform.v1beta1.TrajectoryInOrderMatchMetricValue build() {
+ com.google.cloud.aiplatform.v1beta1.TrajectoryInOrderMatchMetricValue result = buildPartial();
+ if (!result.isInitialized()) {
+ throw newUninitializedMessageException(result);
+ }
+ return result;
+ }
+
+ @java.lang.Override
+ public com.google.cloud.aiplatform.v1beta1.TrajectoryInOrderMatchMetricValue buildPartial() {
+ com.google.cloud.aiplatform.v1beta1.TrajectoryInOrderMatchMetricValue result =
+ new com.google.cloud.aiplatform.v1beta1.TrajectoryInOrderMatchMetricValue(this);
+ if (bitField0_ != 0) {
+ buildPartial0(result);
+ }
+ onBuilt();
+ return result;
+ }
+
+ private void buildPartial0(
+ com.google.cloud.aiplatform.v1beta1.TrajectoryInOrderMatchMetricValue result) {
+ int from_bitField0_ = bitField0_;
+ int to_bitField0_ = 0;
+ if (((from_bitField0_ & 0x00000001) != 0)) {
+ result.score_ = score_;
+ to_bitField0_ |= 0x00000001;
+ }
+ result.bitField0_ |= to_bitField0_;
+ }
+
+ @java.lang.Override
+ public Builder clone() {
+ return super.clone();
+ }
+
+ @java.lang.Override
+ public Builder setField(
+ com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+ return super.setField(field, value);
+ }
+
+ @java.lang.Override
+ public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) {
+ return super.clearField(field);
+ }
+
+ @java.lang.Override
+ public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) {
+ return super.clearOneof(oneof);
+ }
+
+ @java.lang.Override
+ public Builder setRepeatedField(
+ com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) {
+ return super.setRepeatedField(field, index, value);
+ }
+
+ @java.lang.Override
+ public Builder addRepeatedField(
+ com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+ return super.addRepeatedField(field, value);
+ }
+
+ @java.lang.Override
+ public Builder mergeFrom(com.google.protobuf.Message other) {
+ if (other instanceof com.google.cloud.aiplatform.v1beta1.TrajectoryInOrderMatchMetricValue) {
+ return mergeFrom(
+ (com.google.cloud.aiplatform.v1beta1.TrajectoryInOrderMatchMetricValue) other);
+ } else {
+ super.mergeFrom(other);
+ return this;
+ }
+ }
+
+ public Builder mergeFrom(
+ com.google.cloud.aiplatform.v1beta1.TrajectoryInOrderMatchMetricValue other) {
+ if (other
+ == com.google.cloud.aiplatform.v1beta1.TrajectoryInOrderMatchMetricValue
+ .getDefaultInstance()) return this;
+ if (other.hasScore()) {
+ setScore(other.getScore());
+ }
+ 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 13:
+ {
+ score_ = input.readFloat();
+ bitField0_ |= 0x00000001;
+ break;
+ } // case 13
+ default:
+ {
+ if (!super.parseUnknownField(input, extensionRegistry, tag)) {
+ done = true; // was an endgroup tag
+ }
+ break;
+ } // default:
+ } // switch (tag)
+ } // while (!done)
+ } catch (com.google.protobuf.InvalidProtocolBufferException e) {
+ throw e.unwrapIOException();
+ } finally {
+ onChanged();
+ } // finally
+ return this;
+ }
+
+ private int bitField0_;
+
+ private float score_;
+ /**
+ *
+ *
+ *
+ * Output only. TrajectoryInOrderMatch score.
+ *
+ *
+ * optional float score = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
+ *
+ * @return Whether the score field is set.
+ */
+ @java.lang.Override
+ public boolean hasScore() {
+ return ((bitField0_ & 0x00000001) != 0);
+ }
+ /**
+ *
+ *
+ *
+ * Output only. TrajectoryInOrderMatch score.
+ *
+ *
+ * optional float score = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
+ *
+ * @return The score.
+ */
+ @java.lang.Override
+ public float getScore() {
+ return score_;
+ }
+ /**
+ *
+ *
+ *
+ * Output only. TrajectoryInOrderMatch score.
+ *
+ *
+ * optional float score = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
+ *
+ * @param value The score to set.
+ * @return This builder for chaining.
+ */
+ public Builder setScore(float value) {
+
+ score_ = value;
+ bitField0_ |= 0x00000001;
+ onChanged();
+ return this;
+ }
+ /**
+ *
+ *
+ *
+ * Output only. TrajectoryInOrderMatch score.
+ *
+ *
+ * optional float score = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
+ *
+ * @return This builder for chaining.
+ */
+ public Builder clearScore() {
+ bitField0_ = (bitField0_ & ~0x00000001);
+ score_ = 0F;
+ onChanged();
+ return this;
+ }
+
+ @java.lang.Override
+ public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) {
+ return super.setUnknownFields(unknownFields);
+ }
+
+ @java.lang.Override
+ public final Builder mergeUnknownFields(
+ final com.google.protobuf.UnknownFieldSet unknownFields) {
+ return super.mergeUnknownFields(unknownFields);
+ }
+
+ // @@protoc_insertion_point(builder_scope:google.cloud.aiplatform.v1beta1.TrajectoryInOrderMatchMetricValue)
+ }
+
+ // @@protoc_insertion_point(class_scope:google.cloud.aiplatform.v1beta1.TrajectoryInOrderMatchMetricValue)
+ private static final com.google.cloud.aiplatform.v1beta1.TrajectoryInOrderMatchMetricValue
+ DEFAULT_INSTANCE;
+
+ static {
+ DEFAULT_INSTANCE = new com.google.cloud.aiplatform.v1beta1.TrajectoryInOrderMatchMetricValue();
+ }
+
+ public static com.google.cloud.aiplatform.v1beta1.TrajectoryInOrderMatchMetricValue
+ getDefaultInstance() {
+ return DEFAULT_INSTANCE;
+ }
+
+ private static final com.google.protobuf.Parser PARSER =
+ new com.google.protobuf.AbstractParser() {
+ @java.lang.Override
+ public TrajectoryInOrderMatchMetricValue 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 com.google.cloud.aiplatform.v1beta1.TrajectoryInOrderMatchMetricValue
+ getDefaultInstanceForType() {
+ return DEFAULT_INSTANCE;
+ }
+}
diff --git a/java-aiplatform/proto-google-cloud-aiplatform-v1beta1/src/main/java/com/google/cloud/aiplatform/v1beta1/TrajectoryInOrderMatchMetricValueOrBuilder.java b/java-aiplatform/proto-google-cloud-aiplatform-v1beta1/src/main/java/com/google/cloud/aiplatform/v1beta1/TrajectoryInOrderMatchMetricValueOrBuilder.java
new file mode 100644
index 000000000000..75caa24c805d
--- /dev/null
+++ b/java-aiplatform/proto-google-cloud-aiplatform-v1beta1/src/main/java/com/google/cloud/aiplatform/v1beta1/TrajectoryInOrderMatchMetricValueOrBuilder.java
@@ -0,0 +1,51 @@
+/*
+ * Copyright 2024 Google LLC
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ * https://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+// Generated by the protocol buffer compiler. DO NOT EDIT!
+// source: google/cloud/aiplatform/v1beta1/evaluation_service.proto
+
+// Protobuf Java Version: 3.25.5
+package com.google.cloud.aiplatform.v1beta1;
+
+public interface TrajectoryInOrderMatchMetricValueOrBuilder
+ extends
+ // @@protoc_insertion_point(interface_extends:google.cloud.aiplatform.v1beta1.TrajectoryInOrderMatchMetricValue)
+ com.google.protobuf.MessageOrBuilder {
+
+ /**
+ *
+ *
+ *
+ * Output only. TrajectoryInOrderMatch score.
+ *
+ *
+ * optional float score = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
+ *
+ * @return Whether the score field is set.
+ */
+ boolean hasScore();
+ /**
+ *
+ *
+ *
+ * Output only. TrajectoryInOrderMatch score.
+ *
+ *
+ * optional float score = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
+ *
+ * @return The score.
+ */
+ float getScore();
+}
diff --git a/java-aiplatform/proto-google-cloud-aiplatform-v1beta1/src/main/java/com/google/cloud/aiplatform/v1beta1/TrajectoryInOrderMatchResults.java b/java-aiplatform/proto-google-cloud-aiplatform-v1beta1/src/main/java/com/google/cloud/aiplatform/v1beta1/TrajectoryInOrderMatchResults.java
new file mode 100644
index 000000000000..e1ac5640b6e7
--- /dev/null
+++ b/java-aiplatform/proto-google-cloud-aiplatform-v1beta1/src/main/java/com/google/cloud/aiplatform/v1beta1/TrajectoryInOrderMatchResults.java
@@ -0,0 +1,1037 @@
+/*
+ * Copyright 2024 Google LLC
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ * https://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+// Generated by the protocol buffer compiler. DO NOT EDIT!
+// source: google/cloud/aiplatform/v1beta1/evaluation_service.proto
+
+// Protobuf Java Version: 3.25.5
+package com.google.cloud.aiplatform.v1beta1;
+
+/**
+ *
+ *
+ *
+ * Results for TrajectoryInOrderMatch metric.
+ *
+ *
+ * Protobuf type {@code google.cloud.aiplatform.v1beta1.TrajectoryInOrderMatchResults}
+ */
+public final class TrajectoryInOrderMatchResults extends com.google.protobuf.GeneratedMessageV3
+ implements
+ // @@protoc_insertion_point(message_implements:google.cloud.aiplatform.v1beta1.TrajectoryInOrderMatchResults)
+ TrajectoryInOrderMatchResultsOrBuilder {
+ private static final long serialVersionUID = 0L;
+ // Use TrajectoryInOrderMatchResults.newBuilder() to construct.
+ private TrajectoryInOrderMatchResults(com.google.protobuf.GeneratedMessageV3.Builder> builder) {
+ super(builder);
+ }
+
+ private TrajectoryInOrderMatchResults() {
+ trajectoryInOrderMatchMetricValues_ = java.util.Collections.emptyList();
+ }
+
+ @java.lang.Override
+ @SuppressWarnings({"unused"})
+ protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
+ return new TrajectoryInOrderMatchResults();
+ }
+
+ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+ return com.google.cloud.aiplatform.v1beta1.EvaluationServiceProto
+ .internal_static_google_cloud_aiplatform_v1beta1_TrajectoryInOrderMatchResults_descriptor;
+ }
+
+ @java.lang.Override
+ protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
+ internalGetFieldAccessorTable() {
+ return com.google.cloud.aiplatform.v1beta1.EvaluationServiceProto
+ .internal_static_google_cloud_aiplatform_v1beta1_TrajectoryInOrderMatchResults_fieldAccessorTable
+ .ensureFieldAccessorsInitialized(
+ com.google.cloud.aiplatform.v1beta1.TrajectoryInOrderMatchResults.class,
+ com.google.cloud.aiplatform.v1beta1.TrajectoryInOrderMatchResults.Builder.class);
+ }
+
+ public static final int TRAJECTORY_IN_ORDER_MATCH_METRIC_VALUES_FIELD_NUMBER = 1;
+
+ @SuppressWarnings("serial")
+ private java.util.List
+ trajectoryInOrderMatchMetricValues_;
+ /**
+ *
+ *
+ *
+ * Output only. TrajectoryInOrderMatch metric values.
+ *
+ *
+ *
+ * repeated .google.cloud.aiplatform.v1beta1.TrajectoryInOrderMatchMetricValue trajectory_in_order_match_metric_values = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
+ *
+ */
+ @java.lang.Override
+ public java.util.List
+ getTrajectoryInOrderMatchMetricValuesList() {
+ return trajectoryInOrderMatchMetricValues_;
+ }
+ /**
+ *
+ *
+ *
+ * Output only. TrajectoryInOrderMatch metric values.
+ *
+ *
+ *
+ * repeated .google.cloud.aiplatform.v1beta1.TrajectoryInOrderMatchMetricValue trajectory_in_order_match_metric_values = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
+ *
+ */
+ @java.lang.Override
+ public java.util.List<
+ ? extends com.google.cloud.aiplatform.v1beta1.TrajectoryInOrderMatchMetricValueOrBuilder>
+ getTrajectoryInOrderMatchMetricValuesOrBuilderList() {
+ return trajectoryInOrderMatchMetricValues_;
+ }
+ /**
+ *
+ *
+ *
+ * Output only. TrajectoryInOrderMatch metric values.
+ *
+ *
+ *
+ * repeated .google.cloud.aiplatform.v1beta1.TrajectoryInOrderMatchMetricValue trajectory_in_order_match_metric_values = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
+ *
+ */
+ @java.lang.Override
+ public int getTrajectoryInOrderMatchMetricValuesCount() {
+ return trajectoryInOrderMatchMetricValues_.size();
+ }
+ /**
+ *
+ *
+ *
+ * Output only. TrajectoryInOrderMatch metric values.
+ *
+ *
+ *
+ * repeated .google.cloud.aiplatform.v1beta1.TrajectoryInOrderMatchMetricValue trajectory_in_order_match_metric_values = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
+ *
+ */
+ @java.lang.Override
+ public com.google.cloud.aiplatform.v1beta1.TrajectoryInOrderMatchMetricValue
+ getTrajectoryInOrderMatchMetricValues(int index) {
+ return trajectoryInOrderMatchMetricValues_.get(index);
+ }
+ /**
+ *
+ *
+ *
+ * Output only. TrajectoryInOrderMatch metric values.
+ *
+ *
+ *
+ * repeated .google.cloud.aiplatform.v1beta1.TrajectoryInOrderMatchMetricValue trajectory_in_order_match_metric_values = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
+ *
+ */
+ @java.lang.Override
+ public com.google.cloud.aiplatform.v1beta1.TrajectoryInOrderMatchMetricValueOrBuilder
+ getTrajectoryInOrderMatchMetricValuesOrBuilder(int index) {
+ return trajectoryInOrderMatchMetricValues_.get(index);
+ }
+
+ private byte memoizedIsInitialized = -1;
+
+ @java.lang.Override
+ public final boolean isInitialized() {
+ byte isInitialized = memoizedIsInitialized;
+ if (isInitialized == 1) return true;
+ if (isInitialized == 0) return false;
+
+ memoizedIsInitialized = 1;
+ return true;
+ }
+
+ @java.lang.Override
+ public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException {
+ for (int i = 0; i < trajectoryInOrderMatchMetricValues_.size(); i++) {
+ output.writeMessage(1, trajectoryInOrderMatchMetricValues_.get(i));
+ }
+ getUnknownFields().writeTo(output);
+ }
+
+ @java.lang.Override
+ public int getSerializedSize() {
+ int size = memoizedSize;
+ if (size != -1) return size;
+
+ size = 0;
+ for (int i = 0; i < trajectoryInOrderMatchMetricValues_.size(); i++) {
+ size +=
+ com.google.protobuf.CodedOutputStream.computeMessageSize(
+ 1, trajectoryInOrderMatchMetricValues_.get(i));
+ }
+ size += getUnknownFields().getSerializedSize();
+ memoizedSize = size;
+ return size;
+ }
+
+ @java.lang.Override
+ public boolean equals(final java.lang.Object obj) {
+ if (obj == this) {
+ return true;
+ }
+ if (!(obj instanceof com.google.cloud.aiplatform.v1beta1.TrajectoryInOrderMatchResults)) {
+ return super.equals(obj);
+ }
+ com.google.cloud.aiplatform.v1beta1.TrajectoryInOrderMatchResults other =
+ (com.google.cloud.aiplatform.v1beta1.TrajectoryInOrderMatchResults) obj;
+
+ if (!getTrajectoryInOrderMatchMetricValuesList()
+ .equals(other.getTrajectoryInOrderMatchMetricValuesList())) 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 (getTrajectoryInOrderMatchMetricValuesCount() > 0) {
+ hash = (37 * hash) + TRAJECTORY_IN_ORDER_MATCH_METRIC_VALUES_FIELD_NUMBER;
+ hash = (53 * hash) + getTrajectoryInOrderMatchMetricValuesList().hashCode();
+ }
+ hash = (29 * hash) + getUnknownFields().hashCode();
+ memoizedHashCode = hash;
+ return hash;
+ }
+
+ public static com.google.cloud.aiplatform.v1beta1.TrajectoryInOrderMatchResults parseFrom(
+ java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException {
+ return PARSER.parseFrom(data);
+ }
+
+ public static com.google.cloud.aiplatform.v1beta1.TrajectoryInOrderMatchResults parseFrom(
+ java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+ throws com.google.protobuf.InvalidProtocolBufferException {
+ return PARSER.parseFrom(data, extensionRegistry);
+ }
+
+ public static com.google.cloud.aiplatform.v1beta1.TrajectoryInOrderMatchResults parseFrom(
+ com.google.protobuf.ByteString data)
+ throws com.google.protobuf.InvalidProtocolBufferException {
+ return PARSER.parseFrom(data);
+ }
+
+ public static com.google.cloud.aiplatform.v1beta1.TrajectoryInOrderMatchResults parseFrom(
+ com.google.protobuf.ByteString data,
+ com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+ throws com.google.protobuf.InvalidProtocolBufferException {
+ return PARSER.parseFrom(data, extensionRegistry);
+ }
+
+ public static com.google.cloud.aiplatform.v1beta1.TrajectoryInOrderMatchResults parseFrom(
+ byte[] data) throws com.google.protobuf.InvalidProtocolBufferException {
+ return PARSER.parseFrom(data);
+ }
+
+ public static com.google.cloud.aiplatform.v1beta1.TrajectoryInOrderMatchResults parseFrom(
+ byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+ throws com.google.protobuf.InvalidProtocolBufferException {
+ return PARSER.parseFrom(data, extensionRegistry);
+ }
+
+ public static com.google.cloud.aiplatform.v1beta1.TrajectoryInOrderMatchResults parseFrom(
+ java.io.InputStream input) throws java.io.IOException {
+ return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input);
+ }
+
+ public static com.google.cloud.aiplatform.v1beta1.TrajectoryInOrderMatchResults parseFrom(
+ java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+ throws java.io.IOException {
+ return com.google.protobuf.GeneratedMessageV3.parseWithIOException(
+ PARSER, input, extensionRegistry);
+ }
+
+ public static com.google.cloud.aiplatform.v1beta1.TrajectoryInOrderMatchResults
+ parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException {
+ return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input);
+ }
+
+ public static com.google.cloud.aiplatform.v1beta1.TrajectoryInOrderMatchResults
+ parseDelimitedFrom(
+ java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+ throws java.io.IOException {
+ return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(
+ PARSER, input, extensionRegistry);
+ }
+
+ public static com.google.cloud.aiplatform.v1beta1.TrajectoryInOrderMatchResults parseFrom(
+ com.google.protobuf.CodedInputStream input) throws java.io.IOException {
+ return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input);
+ }
+
+ public static com.google.cloud.aiplatform.v1beta1.TrajectoryInOrderMatchResults 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(
+ com.google.cloud.aiplatform.v1beta1.TrajectoryInOrderMatchResults 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;
+ }
+ /**
+ *
+ *
+ *
+ * Results for TrajectoryInOrderMatch metric.
+ *
+ *
+ * Protobuf type {@code google.cloud.aiplatform.v1beta1.TrajectoryInOrderMatchResults}
+ */
+ public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder
+ implements
+ // @@protoc_insertion_point(builder_implements:google.cloud.aiplatform.v1beta1.TrajectoryInOrderMatchResults)
+ com.google.cloud.aiplatform.v1beta1.TrajectoryInOrderMatchResultsOrBuilder {
+ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+ return com.google.cloud.aiplatform.v1beta1.EvaluationServiceProto
+ .internal_static_google_cloud_aiplatform_v1beta1_TrajectoryInOrderMatchResults_descriptor;
+ }
+
+ @java.lang.Override
+ protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
+ internalGetFieldAccessorTable() {
+ return com.google.cloud.aiplatform.v1beta1.EvaluationServiceProto
+ .internal_static_google_cloud_aiplatform_v1beta1_TrajectoryInOrderMatchResults_fieldAccessorTable
+ .ensureFieldAccessorsInitialized(
+ com.google.cloud.aiplatform.v1beta1.TrajectoryInOrderMatchResults.class,
+ com.google.cloud.aiplatform.v1beta1.TrajectoryInOrderMatchResults.Builder.class);
+ }
+
+ // Construct using
+ // com.google.cloud.aiplatform.v1beta1.TrajectoryInOrderMatchResults.newBuilder()
+ private Builder() {}
+
+ private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+ super(parent);
+ }
+
+ @java.lang.Override
+ public Builder clear() {
+ super.clear();
+ bitField0_ = 0;
+ if (trajectoryInOrderMatchMetricValuesBuilder_ == null) {
+ trajectoryInOrderMatchMetricValues_ = java.util.Collections.emptyList();
+ } else {
+ trajectoryInOrderMatchMetricValues_ = null;
+ trajectoryInOrderMatchMetricValuesBuilder_.clear();
+ }
+ bitField0_ = (bitField0_ & ~0x00000001);
+ return this;
+ }
+
+ @java.lang.Override
+ public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
+ return com.google.cloud.aiplatform.v1beta1.EvaluationServiceProto
+ .internal_static_google_cloud_aiplatform_v1beta1_TrajectoryInOrderMatchResults_descriptor;
+ }
+
+ @java.lang.Override
+ public com.google.cloud.aiplatform.v1beta1.TrajectoryInOrderMatchResults
+ getDefaultInstanceForType() {
+ return com.google.cloud.aiplatform.v1beta1.TrajectoryInOrderMatchResults.getDefaultInstance();
+ }
+
+ @java.lang.Override
+ public com.google.cloud.aiplatform.v1beta1.TrajectoryInOrderMatchResults build() {
+ com.google.cloud.aiplatform.v1beta1.TrajectoryInOrderMatchResults result = buildPartial();
+ if (!result.isInitialized()) {
+ throw newUninitializedMessageException(result);
+ }
+ return result;
+ }
+
+ @java.lang.Override
+ public com.google.cloud.aiplatform.v1beta1.TrajectoryInOrderMatchResults buildPartial() {
+ com.google.cloud.aiplatform.v1beta1.TrajectoryInOrderMatchResults result =
+ new com.google.cloud.aiplatform.v1beta1.TrajectoryInOrderMatchResults(this);
+ buildPartialRepeatedFields(result);
+ if (bitField0_ != 0) {
+ buildPartial0(result);
+ }
+ onBuilt();
+ return result;
+ }
+
+ private void buildPartialRepeatedFields(
+ com.google.cloud.aiplatform.v1beta1.TrajectoryInOrderMatchResults result) {
+ if (trajectoryInOrderMatchMetricValuesBuilder_ == null) {
+ if (((bitField0_ & 0x00000001) != 0)) {
+ trajectoryInOrderMatchMetricValues_ =
+ java.util.Collections.unmodifiableList(trajectoryInOrderMatchMetricValues_);
+ bitField0_ = (bitField0_ & ~0x00000001);
+ }
+ result.trajectoryInOrderMatchMetricValues_ = trajectoryInOrderMatchMetricValues_;
+ } else {
+ result.trajectoryInOrderMatchMetricValues_ =
+ trajectoryInOrderMatchMetricValuesBuilder_.build();
+ }
+ }
+
+ private void buildPartial0(
+ com.google.cloud.aiplatform.v1beta1.TrajectoryInOrderMatchResults result) {
+ int from_bitField0_ = bitField0_;
+ }
+
+ @java.lang.Override
+ public Builder clone() {
+ return super.clone();
+ }
+
+ @java.lang.Override
+ public Builder setField(
+ com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+ return super.setField(field, value);
+ }
+
+ @java.lang.Override
+ public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) {
+ return super.clearField(field);
+ }
+
+ @java.lang.Override
+ public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) {
+ return super.clearOneof(oneof);
+ }
+
+ @java.lang.Override
+ public Builder setRepeatedField(
+ com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) {
+ return super.setRepeatedField(field, index, value);
+ }
+
+ @java.lang.Override
+ public Builder addRepeatedField(
+ com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+ return super.addRepeatedField(field, value);
+ }
+
+ @java.lang.Override
+ public Builder mergeFrom(com.google.protobuf.Message other) {
+ if (other instanceof com.google.cloud.aiplatform.v1beta1.TrajectoryInOrderMatchResults) {
+ return mergeFrom((com.google.cloud.aiplatform.v1beta1.TrajectoryInOrderMatchResults) other);
+ } else {
+ super.mergeFrom(other);
+ return this;
+ }
+ }
+
+ public Builder mergeFrom(
+ com.google.cloud.aiplatform.v1beta1.TrajectoryInOrderMatchResults other) {
+ if (other
+ == com.google.cloud.aiplatform.v1beta1.TrajectoryInOrderMatchResults.getDefaultInstance())
+ return this;
+ if (trajectoryInOrderMatchMetricValuesBuilder_ == null) {
+ if (!other.trajectoryInOrderMatchMetricValues_.isEmpty()) {
+ if (trajectoryInOrderMatchMetricValues_.isEmpty()) {
+ trajectoryInOrderMatchMetricValues_ = other.trajectoryInOrderMatchMetricValues_;
+ bitField0_ = (bitField0_ & ~0x00000001);
+ } else {
+ ensureTrajectoryInOrderMatchMetricValuesIsMutable();
+ trajectoryInOrderMatchMetricValues_.addAll(other.trajectoryInOrderMatchMetricValues_);
+ }
+ onChanged();
+ }
+ } else {
+ if (!other.trajectoryInOrderMatchMetricValues_.isEmpty()) {
+ if (trajectoryInOrderMatchMetricValuesBuilder_.isEmpty()) {
+ trajectoryInOrderMatchMetricValuesBuilder_.dispose();
+ trajectoryInOrderMatchMetricValuesBuilder_ = null;
+ trajectoryInOrderMatchMetricValues_ = other.trajectoryInOrderMatchMetricValues_;
+ bitField0_ = (bitField0_ & ~0x00000001);
+ trajectoryInOrderMatchMetricValuesBuilder_ =
+ com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders
+ ? getTrajectoryInOrderMatchMetricValuesFieldBuilder()
+ : null;
+ } else {
+ trajectoryInOrderMatchMetricValuesBuilder_.addAllMessages(
+ other.trajectoryInOrderMatchMetricValues_);
+ }
+ }
+ }
+ 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.cloud.aiplatform.v1beta1.TrajectoryInOrderMatchMetricValue m =
+ input.readMessage(
+ com.google.cloud.aiplatform.v1beta1.TrajectoryInOrderMatchMetricValue
+ .parser(),
+ extensionRegistry);
+ if (trajectoryInOrderMatchMetricValuesBuilder_ == null) {
+ ensureTrajectoryInOrderMatchMetricValuesIsMutable();
+ trajectoryInOrderMatchMetricValues_.add(m);
+ } else {
+ trajectoryInOrderMatchMetricValuesBuilder_.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
+ trajectoryInOrderMatchMetricValues_ = java.util.Collections.emptyList();
+
+ private void ensureTrajectoryInOrderMatchMetricValuesIsMutable() {
+ if (!((bitField0_ & 0x00000001) != 0)) {
+ trajectoryInOrderMatchMetricValues_ =
+ new java.util.ArrayList<
+ com.google.cloud.aiplatform.v1beta1.TrajectoryInOrderMatchMetricValue>(
+ trajectoryInOrderMatchMetricValues_);
+ bitField0_ |= 0x00000001;
+ }
+ }
+
+ private com.google.protobuf.RepeatedFieldBuilderV3<
+ com.google.cloud.aiplatform.v1beta1.TrajectoryInOrderMatchMetricValue,
+ com.google.cloud.aiplatform.v1beta1.TrajectoryInOrderMatchMetricValue.Builder,
+ com.google.cloud.aiplatform.v1beta1.TrajectoryInOrderMatchMetricValueOrBuilder>
+ trajectoryInOrderMatchMetricValuesBuilder_;
+
+ /**
+ *
+ *
+ *
+ * Output only. TrajectoryInOrderMatch metric values.
+ *
+ *
+ *
+ * repeated .google.cloud.aiplatform.v1beta1.TrajectoryInOrderMatchMetricValue trajectory_in_order_match_metric_values = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
+ *
+ */
+ public java.util.List
+ getTrajectoryInOrderMatchMetricValuesList() {
+ if (trajectoryInOrderMatchMetricValuesBuilder_ == null) {
+ return java.util.Collections.unmodifiableList(trajectoryInOrderMatchMetricValues_);
+ } else {
+ return trajectoryInOrderMatchMetricValuesBuilder_.getMessageList();
+ }
+ }
+ /**
+ *
+ *
+ *
+ * Output only. TrajectoryInOrderMatch metric values.
+ *
+ *
+ *
+ * repeated .google.cloud.aiplatform.v1beta1.TrajectoryInOrderMatchMetricValue trajectory_in_order_match_metric_values = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
+ *
+ */
+ public int getTrajectoryInOrderMatchMetricValuesCount() {
+ if (trajectoryInOrderMatchMetricValuesBuilder_ == null) {
+ return trajectoryInOrderMatchMetricValues_.size();
+ } else {
+ return trajectoryInOrderMatchMetricValuesBuilder_.getCount();
+ }
+ }
+ /**
+ *
+ *
+ *
+ * Output only. TrajectoryInOrderMatch metric values.
+ *
+ *
+ *
+ * repeated .google.cloud.aiplatform.v1beta1.TrajectoryInOrderMatchMetricValue trajectory_in_order_match_metric_values = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
+ *
+ */
+ public com.google.cloud.aiplatform.v1beta1.TrajectoryInOrderMatchMetricValue
+ getTrajectoryInOrderMatchMetricValues(int index) {
+ if (trajectoryInOrderMatchMetricValuesBuilder_ == null) {
+ return trajectoryInOrderMatchMetricValues_.get(index);
+ } else {
+ return trajectoryInOrderMatchMetricValuesBuilder_.getMessage(index);
+ }
+ }
+ /**
+ *
+ *
+ *
+ * Output only. TrajectoryInOrderMatch metric values.
+ *
+ *
+ *
+ * repeated .google.cloud.aiplatform.v1beta1.TrajectoryInOrderMatchMetricValue trajectory_in_order_match_metric_values = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
+ *
+ */
+ public Builder setTrajectoryInOrderMatchMetricValues(
+ int index, com.google.cloud.aiplatform.v1beta1.TrajectoryInOrderMatchMetricValue value) {
+ if (trajectoryInOrderMatchMetricValuesBuilder_ == null) {
+ if (value == null) {
+ throw new NullPointerException();
+ }
+ ensureTrajectoryInOrderMatchMetricValuesIsMutable();
+ trajectoryInOrderMatchMetricValues_.set(index, value);
+ onChanged();
+ } else {
+ trajectoryInOrderMatchMetricValuesBuilder_.setMessage(index, value);
+ }
+ return this;
+ }
+ /**
+ *
+ *
+ *
+ * Output only. TrajectoryInOrderMatch metric values.
+ *
+ *
+ *
+ * repeated .google.cloud.aiplatform.v1beta1.TrajectoryInOrderMatchMetricValue trajectory_in_order_match_metric_values = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
+ *
+ */
+ public Builder setTrajectoryInOrderMatchMetricValues(
+ int index,
+ com.google.cloud.aiplatform.v1beta1.TrajectoryInOrderMatchMetricValue.Builder
+ builderForValue) {
+ if (trajectoryInOrderMatchMetricValuesBuilder_ == null) {
+ ensureTrajectoryInOrderMatchMetricValuesIsMutable();
+ trajectoryInOrderMatchMetricValues_.set(index, builderForValue.build());
+ onChanged();
+ } else {
+ trajectoryInOrderMatchMetricValuesBuilder_.setMessage(index, builderForValue.build());
+ }
+ return this;
+ }
+ /**
+ *
+ *
+ *
+ * Output only. TrajectoryInOrderMatch metric values.
+ *
+ *
+ *
+ * repeated .google.cloud.aiplatform.v1beta1.TrajectoryInOrderMatchMetricValue trajectory_in_order_match_metric_values = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
+ *
+ */
+ public Builder addTrajectoryInOrderMatchMetricValues(
+ com.google.cloud.aiplatform.v1beta1.TrajectoryInOrderMatchMetricValue value) {
+ if (trajectoryInOrderMatchMetricValuesBuilder_ == null) {
+ if (value == null) {
+ throw new NullPointerException();
+ }
+ ensureTrajectoryInOrderMatchMetricValuesIsMutable();
+ trajectoryInOrderMatchMetricValues_.add(value);
+ onChanged();
+ } else {
+ trajectoryInOrderMatchMetricValuesBuilder_.addMessage(value);
+ }
+ return this;
+ }
+ /**
+ *
+ *
+ *
+ * Output only. TrajectoryInOrderMatch metric values.
+ *
+ *
+ *
+ * repeated .google.cloud.aiplatform.v1beta1.TrajectoryInOrderMatchMetricValue trajectory_in_order_match_metric_values = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
+ *
+ */
+ public Builder addTrajectoryInOrderMatchMetricValues(
+ int index, com.google.cloud.aiplatform.v1beta1.TrajectoryInOrderMatchMetricValue value) {
+ if (trajectoryInOrderMatchMetricValuesBuilder_ == null) {
+ if (value == null) {
+ throw new NullPointerException();
+ }
+ ensureTrajectoryInOrderMatchMetricValuesIsMutable();
+ trajectoryInOrderMatchMetricValues_.add(index, value);
+ onChanged();
+ } else {
+ trajectoryInOrderMatchMetricValuesBuilder_.addMessage(index, value);
+ }
+ return this;
+ }
+ /**
+ *
+ *
+ *
+ * Output only. TrajectoryInOrderMatch metric values.
+ *
+ *
+ *
+ * repeated .google.cloud.aiplatform.v1beta1.TrajectoryInOrderMatchMetricValue trajectory_in_order_match_metric_values = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
+ *
+ */
+ public Builder addTrajectoryInOrderMatchMetricValues(
+ com.google.cloud.aiplatform.v1beta1.TrajectoryInOrderMatchMetricValue.Builder
+ builderForValue) {
+ if (trajectoryInOrderMatchMetricValuesBuilder_ == null) {
+ ensureTrajectoryInOrderMatchMetricValuesIsMutable();
+ trajectoryInOrderMatchMetricValues_.add(builderForValue.build());
+ onChanged();
+ } else {
+ trajectoryInOrderMatchMetricValuesBuilder_.addMessage(builderForValue.build());
+ }
+ return this;
+ }
+ /**
+ *
+ *
+ *
+ * Output only. TrajectoryInOrderMatch metric values.
+ *
+ *
+ *
+ * repeated .google.cloud.aiplatform.v1beta1.TrajectoryInOrderMatchMetricValue trajectory_in_order_match_metric_values = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
+ *
+ */
+ public Builder addTrajectoryInOrderMatchMetricValues(
+ int index,
+ com.google.cloud.aiplatform.v1beta1.TrajectoryInOrderMatchMetricValue.Builder
+ builderForValue) {
+ if (trajectoryInOrderMatchMetricValuesBuilder_ == null) {
+ ensureTrajectoryInOrderMatchMetricValuesIsMutable();
+ trajectoryInOrderMatchMetricValues_.add(index, builderForValue.build());
+ onChanged();
+ } else {
+ trajectoryInOrderMatchMetricValuesBuilder_.addMessage(index, builderForValue.build());
+ }
+ return this;
+ }
+ /**
+ *
+ *
+ *
+ * Output only. TrajectoryInOrderMatch metric values.
+ *
+ *
+ *
+ * repeated .google.cloud.aiplatform.v1beta1.TrajectoryInOrderMatchMetricValue trajectory_in_order_match_metric_values = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
+ *
+ */
+ public Builder addAllTrajectoryInOrderMatchMetricValues(
+ java.lang.Iterable<
+ ? extends com.google.cloud.aiplatform.v1beta1.TrajectoryInOrderMatchMetricValue>
+ values) {
+ if (trajectoryInOrderMatchMetricValuesBuilder_ == null) {
+ ensureTrajectoryInOrderMatchMetricValuesIsMutable();
+ com.google.protobuf.AbstractMessageLite.Builder.addAll(
+ values, trajectoryInOrderMatchMetricValues_);
+ onChanged();
+ } else {
+ trajectoryInOrderMatchMetricValuesBuilder_.addAllMessages(values);
+ }
+ return this;
+ }
+ /**
+ *
+ *
+ *
+ * Output only. TrajectoryInOrderMatch metric values.
+ *
+ *
+ *
+ * repeated .google.cloud.aiplatform.v1beta1.TrajectoryInOrderMatchMetricValue trajectory_in_order_match_metric_values = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
+ *
+ */
+ public Builder clearTrajectoryInOrderMatchMetricValues() {
+ if (trajectoryInOrderMatchMetricValuesBuilder_ == null) {
+ trajectoryInOrderMatchMetricValues_ = java.util.Collections.emptyList();
+ bitField0_ = (bitField0_ & ~0x00000001);
+ onChanged();
+ } else {
+ trajectoryInOrderMatchMetricValuesBuilder_.clear();
+ }
+ return this;
+ }
+ /**
+ *
+ *
+ *
+ * Output only. TrajectoryInOrderMatch metric values.
+ *
+ *
+ *
+ * repeated .google.cloud.aiplatform.v1beta1.TrajectoryInOrderMatchMetricValue trajectory_in_order_match_metric_values = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
+ *
+ */
+ public Builder removeTrajectoryInOrderMatchMetricValues(int index) {
+ if (trajectoryInOrderMatchMetricValuesBuilder_ == null) {
+ ensureTrajectoryInOrderMatchMetricValuesIsMutable();
+ trajectoryInOrderMatchMetricValues_.remove(index);
+ onChanged();
+ } else {
+ trajectoryInOrderMatchMetricValuesBuilder_.remove(index);
+ }
+ return this;
+ }
+ /**
+ *
+ *
+ *
+ * Output only. TrajectoryInOrderMatch metric values.
+ *
+ *
+ *
+ * repeated .google.cloud.aiplatform.v1beta1.TrajectoryInOrderMatchMetricValue trajectory_in_order_match_metric_values = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
+ *
+ */
+ public com.google.cloud.aiplatform.v1beta1.TrajectoryInOrderMatchMetricValue.Builder
+ getTrajectoryInOrderMatchMetricValuesBuilder(int index) {
+ return getTrajectoryInOrderMatchMetricValuesFieldBuilder().getBuilder(index);
+ }
+ /**
+ *
+ *
+ *
+ * Output only. TrajectoryInOrderMatch metric values.
+ *
+ *
+ *
+ * repeated .google.cloud.aiplatform.v1beta1.TrajectoryInOrderMatchMetricValue trajectory_in_order_match_metric_values = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
+ *
+ */
+ public com.google.cloud.aiplatform.v1beta1.TrajectoryInOrderMatchMetricValueOrBuilder
+ getTrajectoryInOrderMatchMetricValuesOrBuilder(int index) {
+ if (trajectoryInOrderMatchMetricValuesBuilder_ == null) {
+ return trajectoryInOrderMatchMetricValues_.get(index);
+ } else {
+ return trajectoryInOrderMatchMetricValuesBuilder_.getMessageOrBuilder(index);
+ }
+ }
+ /**
+ *
+ *
+ *
+ * Output only. TrajectoryInOrderMatch metric values.
+ *
+ *
+ *
+ * repeated .google.cloud.aiplatform.v1beta1.TrajectoryInOrderMatchMetricValue trajectory_in_order_match_metric_values = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
+ *
+ */
+ public java.util.List<
+ ? extends
+ com.google.cloud.aiplatform.v1beta1.TrajectoryInOrderMatchMetricValueOrBuilder>
+ getTrajectoryInOrderMatchMetricValuesOrBuilderList() {
+ if (trajectoryInOrderMatchMetricValuesBuilder_ != null) {
+ return trajectoryInOrderMatchMetricValuesBuilder_.getMessageOrBuilderList();
+ } else {
+ return java.util.Collections.unmodifiableList(trajectoryInOrderMatchMetricValues_);
+ }
+ }
+ /**
+ *
+ *
+ *
+ * Output only. TrajectoryInOrderMatch metric values.
+ *
+ *
+ *
+ * repeated .google.cloud.aiplatform.v1beta1.TrajectoryInOrderMatchMetricValue trajectory_in_order_match_metric_values = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
+ *
+ */
+ public com.google.cloud.aiplatform.v1beta1.TrajectoryInOrderMatchMetricValue.Builder
+ addTrajectoryInOrderMatchMetricValuesBuilder() {
+ return getTrajectoryInOrderMatchMetricValuesFieldBuilder()
+ .addBuilder(
+ com.google.cloud.aiplatform.v1beta1.TrajectoryInOrderMatchMetricValue
+ .getDefaultInstance());
+ }
+ /**
+ *
+ *
+ *
+ * Output only. TrajectoryInOrderMatch metric values.
+ *
+ *
+ *
+ * repeated .google.cloud.aiplatform.v1beta1.TrajectoryInOrderMatchMetricValue trajectory_in_order_match_metric_values = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
+ *
+ */
+ public com.google.cloud.aiplatform.v1beta1.TrajectoryInOrderMatchMetricValue.Builder
+ addTrajectoryInOrderMatchMetricValuesBuilder(int index) {
+ return getTrajectoryInOrderMatchMetricValuesFieldBuilder()
+ .addBuilder(
+ index,
+ com.google.cloud.aiplatform.v1beta1.TrajectoryInOrderMatchMetricValue
+ .getDefaultInstance());
+ }
+ /**
+ *
+ *
+ *
+ * Output only. TrajectoryInOrderMatch metric values.
+ *
+ *
+ *
+ * repeated .google.cloud.aiplatform.v1beta1.TrajectoryInOrderMatchMetricValue trajectory_in_order_match_metric_values = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
+ *
+ */
+ public java.util.List<
+ com.google.cloud.aiplatform.v1beta1.TrajectoryInOrderMatchMetricValue.Builder>
+ getTrajectoryInOrderMatchMetricValuesBuilderList() {
+ return getTrajectoryInOrderMatchMetricValuesFieldBuilder().getBuilderList();
+ }
+
+ private com.google.protobuf.RepeatedFieldBuilderV3<
+ com.google.cloud.aiplatform.v1beta1.TrajectoryInOrderMatchMetricValue,
+ com.google.cloud.aiplatform.v1beta1.TrajectoryInOrderMatchMetricValue.Builder,
+ com.google.cloud.aiplatform.v1beta1.TrajectoryInOrderMatchMetricValueOrBuilder>
+ getTrajectoryInOrderMatchMetricValuesFieldBuilder() {
+ if (trajectoryInOrderMatchMetricValuesBuilder_ == null) {
+ trajectoryInOrderMatchMetricValuesBuilder_ =
+ new com.google.protobuf.RepeatedFieldBuilderV3<
+ com.google.cloud.aiplatform.v1beta1.TrajectoryInOrderMatchMetricValue,
+ com.google.cloud.aiplatform.v1beta1.TrajectoryInOrderMatchMetricValue.Builder,
+ com.google.cloud.aiplatform.v1beta1.TrajectoryInOrderMatchMetricValueOrBuilder>(
+ trajectoryInOrderMatchMetricValues_,
+ ((bitField0_ & 0x00000001) != 0),
+ getParentForChildren(),
+ isClean());
+ trajectoryInOrderMatchMetricValues_ = null;
+ }
+ return trajectoryInOrderMatchMetricValuesBuilder_;
+ }
+
+ @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:google.cloud.aiplatform.v1beta1.TrajectoryInOrderMatchResults)
+ }
+
+ // @@protoc_insertion_point(class_scope:google.cloud.aiplatform.v1beta1.TrajectoryInOrderMatchResults)
+ private static final com.google.cloud.aiplatform.v1beta1.TrajectoryInOrderMatchResults
+ DEFAULT_INSTANCE;
+
+ static {
+ DEFAULT_INSTANCE = new com.google.cloud.aiplatform.v1beta1.TrajectoryInOrderMatchResults();
+ }
+
+ public static com.google.cloud.aiplatform.v1beta1.TrajectoryInOrderMatchResults
+ getDefaultInstance() {
+ return DEFAULT_INSTANCE;
+ }
+
+ private static final com.google.protobuf.Parser PARSER =
+ new com.google.protobuf.AbstractParser() {
+ @java.lang.Override
+ public TrajectoryInOrderMatchResults 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 com.google.cloud.aiplatform.v1beta1.TrajectoryInOrderMatchResults
+ getDefaultInstanceForType() {
+ return DEFAULT_INSTANCE;
+ }
+}
diff --git a/java-aiplatform/proto-google-cloud-aiplatform-v1beta1/src/main/java/com/google/cloud/aiplatform/v1beta1/TrajectoryInOrderMatchResultsOrBuilder.java b/java-aiplatform/proto-google-cloud-aiplatform-v1beta1/src/main/java/com/google/cloud/aiplatform/v1beta1/TrajectoryInOrderMatchResultsOrBuilder.java
new file mode 100644
index 000000000000..8571329d9207
--- /dev/null
+++ b/java-aiplatform/proto-google-cloud-aiplatform-v1beta1/src/main/java/com/google/cloud/aiplatform/v1beta1/TrajectoryInOrderMatchResultsOrBuilder.java
@@ -0,0 +1,92 @@
+/*
+ * Copyright 2024 Google LLC
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ * https://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+// Generated by the protocol buffer compiler. DO NOT EDIT!
+// source: google/cloud/aiplatform/v1beta1/evaluation_service.proto
+
+// Protobuf Java Version: 3.25.5
+package com.google.cloud.aiplatform.v1beta1;
+
+public interface TrajectoryInOrderMatchResultsOrBuilder
+ extends
+ // @@protoc_insertion_point(interface_extends:google.cloud.aiplatform.v1beta1.TrajectoryInOrderMatchResults)
+ com.google.protobuf.MessageOrBuilder {
+
+ /**
+ *
+ *
+ *
+ * Output only. TrajectoryInOrderMatch metric values.
+ *
+ *
+ *
+ * repeated .google.cloud.aiplatform.v1beta1.TrajectoryInOrderMatchMetricValue trajectory_in_order_match_metric_values = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
+ *
+ */
+ java.util.List
+ getTrajectoryInOrderMatchMetricValuesList();
+ /**
+ *
+ *
+ *
+ * Output only. TrajectoryInOrderMatch metric values.
+ *
+ *
+ *
+ * repeated .google.cloud.aiplatform.v1beta1.TrajectoryInOrderMatchMetricValue trajectory_in_order_match_metric_values = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
+ *
+ */
+ com.google.cloud.aiplatform.v1beta1.TrajectoryInOrderMatchMetricValue
+ getTrajectoryInOrderMatchMetricValues(int index);
+ /**
+ *
+ *
+ *
+ * Output only. TrajectoryInOrderMatch metric values.
+ *
+ *
+ *
+ * repeated .google.cloud.aiplatform.v1beta1.TrajectoryInOrderMatchMetricValue trajectory_in_order_match_metric_values = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
+ *
+ */
+ int getTrajectoryInOrderMatchMetricValuesCount();
+ /**
+ *
+ *
+ *
+ * Output only. TrajectoryInOrderMatch metric values.
+ *
+ *
+ *
+ * repeated .google.cloud.aiplatform.v1beta1.TrajectoryInOrderMatchMetricValue trajectory_in_order_match_metric_values = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
+ *
+ */
+ java.util.List<
+ ? extends com.google.cloud.aiplatform.v1beta1.TrajectoryInOrderMatchMetricValueOrBuilder>
+ getTrajectoryInOrderMatchMetricValuesOrBuilderList();
+ /**
+ *
+ *
+ *
+ * Output only. TrajectoryInOrderMatch metric values.
+ *
+ *
+ *
+ * repeated .google.cloud.aiplatform.v1beta1.TrajectoryInOrderMatchMetricValue trajectory_in_order_match_metric_values = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
+ *
+ */
+ com.google.cloud.aiplatform.v1beta1.TrajectoryInOrderMatchMetricValueOrBuilder
+ getTrajectoryInOrderMatchMetricValuesOrBuilder(int index);
+}
diff --git a/java-aiplatform/proto-google-cloud-aiplatform-v1beta1/src/main/java/com/google/cloud/aiplatform/v1beta1/TrajectoryInOrderMatchSpec.java b/java-aiplatform/proto-google-cloud-aiplatform-v1beta1/src/main/java/com/google/cloud/aiplatform/v1beta1/TrajectoryInOrderMatchSpec.java
new file mode 100644
index 000000000000..e5b3bb0a9763
--- /dev/null
+++ b/java-aiplatform/proto-google-cloud-aiplatform-v1beta1/src/main/java/com/google/cloud/aiplatform/v1beta1/TrajectoryInOrderMatchSpec.java
@@ -0,0 +1,442 @@
+/*
+ * Copyright 2024 Google LLC
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ * https://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+// Generated by the protocol buffer compiler. DO NOT EDIT!
+// source: google/cloud/aiplatform/v1beta1/evaluation_service.proto
+
+// Protobuf Java Version: 3.25.5
+package com.google.cloud.aiplatform.v1beta1;
+
+/**
+ *
+ *
+ *
+ * Spec for TrajectoryInOrderMatch metric - returns 1 if tool calls in the
+ * reference trajectory appear in the predicted trajectory in the same order,
+ * else 0.
+ *
+ *
+ * Protobuf type {@code google.cloud.aiplatform.v1beta1.TrajectoryInOrderMatchSpec}
+ */
+public final class TrajectoryInOrderMatchSpec extends com.google.protobuf.GeneratedMessageV3
+ implements
+ // @@protoc_insertion_point(message_implements:google.cloud.aiplatform.v1beta1.TrajectoryInOrderMatchSpec)
+ TrajectoryInOrderMatchSpecOrBuilder {
+ private static final long serialVersionUID = 0L;
+ // Use TrajectoryInOrderMatchSpec.newBuilder() to construct.
+ private TrajectoryInOrderMatchSpec(com.google.protobuf.GeneratedMessageV3.Builder> builder) {
+ super(builder);
+ }
+
+ private TrajectoryInOrderMatchSpec() {}
+
+ @java.lang.Override
+ @SuppressWarnings({"unused"})
+ protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
+ return new TrajectoryInOrderMatchSpec();
+ }
+
+ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+ return com.google.cloud.aiplatform.v1beta1.EvaluationServiceProto
+ .internal_static_google_cloud_aiplatform_v1beta1_TrajectoryInOrderMatchSpec_descriptor;
+ }
+
+ @java.lang.Override
+ protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
+ internalGetFieldAccessorTable() {
+ return com.google.cloud.aiplatform.v1beta1.EvaluationServiceProto
+ .internal_static_google_cloud_aiplatform_v1beta1_TrajectoryInOrderMatchSpec_fieldAccessorTable
+ .ensureFieldAccessorsInitialized(
+ com.google.cloud.aiplatform.v1beta1.TrajectoryInOrderMatchSpec.class,
+ com.google.cloud.aiplatform.v1beta1.TrajectoryInOrderMatchSpec.Builder.class);
+ }
+
+ private byte memoizedIsInitialized = -1;
+
+ @java.lang.Override
+ public final boolean isInitialized() {
+ byte isInitialized = memoizedIsInitialized;
+ if (isInitialized == 1) return true;
+ if (isInitialized == 0) return false;
+
+ memoizedIsInitialized = 1;
+ return true;
+ }
+
+ @java.lang.Override
+ public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException {
+ getUnknownFields().writeTo(output);
+ }
+
+ @java.lang.Override
+ public int getSerializedSize() {
+ int size = memoizedSize;
+ if (size != -1) return size;
+
+ size = 0;
+ size += getUnknownFields().getSerializedSize();
+ memoizedSize = size;
+ return size;
+ }
+
+ @java.lang.Override
+ public boolean equals(final java.lang.Object obj) {
+ if (obj == this) {
+ return true;
+ }
+ if (!(obj instanceof com.google.cloud.aiplatform.v1beta1.TrajectoryInOrderMatchSpec)) {
+ return super.equals(obj);
+ }
+ com.google.cloud.aiplatform.v1beta1.TrajectoryInOrderMatchSpec other =
+ (com.google.cloud.aiplatform.v1beta1.TrajectoryInOrderMatchSpec) obj;
+
+ if (!getUnknownFields().equals(other.getUnknownFields())) return false;
+ return true;
+ }
+
+ @java.lang.Override
+ public int hashCode() {
+ if (memoizedHashCode != 0) {
+ return memoizedHashCode;
+ }
+ int hash = 41;
+ hash = (19 * hash) + getDescriptor().hashCode();
+ hash = (29 * hash) + getUnknownFields().hashCode();
+ memoizedHashCode = hash;
+ return hash;
+ }
+
+ public static com.google.cloud.aiplatform.v1beta1.TrajectoryInOrderMatchSpec parseFrom(
+ java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException {
+ return PARSER.parseFrom(data);
+ }
+
+ public static com.google.cloud.aiplatform.v1beta1.TrajectoryInOrderMatchSpec parseFrom(
+ java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+ throws com.google.protobuf.InvalidProtocolBufferException {
+ return PARSER.parseFrom(data, extensionRegistry);
+ }
+
+ public static com.google.cloud.aiplatform.v1beta1.TrajectoryInOrderMatchSpec parseFrom(
+ com.google.protobuf.ByteString data)
+ throws com.google.protobuf.InvalidProtocolBufferException {
+ return PARSER.parseFrom(data);
+ }
+
+ public static com.google.cloud.aiplatform.v1beta1.TrajectoryInOrderMatchSpec parseFrom(
+ com.google.protobuf.ByteString data,
+ com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+ throws com.google.protobuf.InvalidProtocolBufferException {
+ return PARSER.parseFrom(data, extensionRegistry);
+ }
+
+ public static com.google.cloud.aiplatform.v1beta1.TrajectoryInOrderMatchSpec parseFrom(
+ byte[] data) throws com.google.protobuf.InvalidProtocolBufferException {
+ return PARSER.parseFrom(data);
+ }
+
+ public static com.google.cloud.aiplatform.v1beta1.TrajectoryInOrderMatchSpec parseFrom(
+ byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+ throws com.google.protobuf.InvalidProtocolBufferException {
+ return PARSER.parseFrom(data, extensionRegistry);
+ }
+
+ public static com.google.cloud.aiplatform.v1beta1.TrajectoryInOrderMatchSpec parseFrom(
+ java.io.InputStream input) throws java.io.IOException {
+ return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input);
+ }
+
+ public static com.google.cloud.aiplatform.v1beta1.TrajectoryInOrderMatchSpec parseFrom(
+ java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+ throws java.io.IOException {
+ return com.google.protobuf.GeneratedMessageV3.parseWithIOException(
+ PARSER, input, extensionRegistry);
+ }
+
+ public static com.google.cloud.aiplatform.v1beta1.TrajectoryInOrderMatchSpec parseDelimitedFrom(
+ java.io.InputStream input) throws java.io.IOException {
+ return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input);
+ }
+
+ public static com.google.cloud.aiplatform.v1beta1.TrajectoryInOrderMatchSpec parseDelimitedFrom(
+ java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+ throws java.io.IOException {
+ return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(
+ PARSER, input, extensionRegistry);
+ }
+
+ public static com.google.cloud.aiplatform.v1beta1.TrajectoryInOrderMatchSpec parseFrom(
+ com.google.protobuf.CodedInputStream input) throws java.io.IOException {
+ return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input);
+ }
+
+ public static com.google.cloud.aiplatform.v1beta1.TrajectoryInOrderMatchSpec 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(
+ com.google.cloud.aiplatform.v1beta1.TrajectoryInOrderMatchSpec 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;
+ }
+ /**
+ *
+ *
+ *
+ * Spec for TrajectoryInOrderMatch metric - returns 1 if tool calls in the
+ * reference trajectory appear in the predicted trajectory in the same order,
+ * else 0.
+ *
+ *
+ * Protobuf type {@code google.cloud.aiplatform.v1beta1.TrajectoryInOrderMatchSpec}
+ */
+ public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder
+ implements
+ // @@protoc_insertion_point(builder_implements:google.cloud.aiplatform.v1beta1.TrajectoryInOrderMatchSpec)
+ com.google.cloud.aiplatform.v1beta1.TrajectoryInOrderMatchSpecOrBuilder {
+ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+ return com.google.cloud.aiplatform.v1beta1.EvaluationServiceProto
+ .internal_static_google_cloud_aiplatform_v1beta1_TrajectoryInOrderMatchSpec_descriptor;
+ }
+
+ @java.lang.Override
+ protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
+ internalGetFieldAccessorTable() {
+ return com.google.cloud.aiplatform.v1beta1.EvaluationServiceProto
+ .internal_static_google_cloud_aiplatform_v1beta1_TrajectoryInOrderMatchSpec_fieldAccessorTable
+ .ensureFieldAccessorsInitialized(
+ com.google.cloud.aiplatform.v1beta1.TrajectoryInOrderMatchSpec.class,
+ com.google.cloud.aiplatform.v1beta1.TrajectoryInOrderMatchSpec.Builder.class);
+ }
+
+ // Construct using com.google.cloud.aiplatform.v1beta1.TrajectoryInOrderMatchSpec.newBuilder()
+ private Builder() {}
+
+ private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+ super(parent);
+ }
+
+ @java.lang.Override
+ public Builder clear() {
+ super.clear();
+ return this;
+ }
+
+ @java.lang.Override
+ public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
+ return com.google.cloud.aiplatform.v1beta1.EvaluationServiceProto
+ .internal_static_google_cloud_aiplatform_v1beta1_TrajectoryInOrderMatchSpec_descriptor;
+ }
+
+ @java.lang.Override
+ public com.google.cloud.aiplatform.v1beta1.TrajectoryInOrderMatchSpec
+ getDefaultInstanceForType() {
+ return com.google.cloud.aiplatform.v1beta1.TrajectoryInOrderMatchSpec.getDefaultInstance();
+ }
+
+ @java.lang.Override
+ public com.google.cloud.aiplatform.v1beta1.TrajectoryInOrderMatchSpec build() {
+ com.google.cloud.aiplatform.v1beta1.TrajectoryInOrderMatchSpec result = buildPartial();
+ if (!result.isInitialized()) {
+ throw newUninitializedMessageException(result);
+ }
+ return result;
+ }
+
+ @java.lang.Override
+ public com.google.cloud.aiplatform.v1beta1.TrajectoryInOrderMatchSpec buildPartial() {
+ com.google.cloud.aiplatform.v1beta1.TrajectoryInOrderMatchSpec result =
+ new com.google.cloud.aiplatform.v1beta1.TrajectoryInOrderMatchSpec(this);
+ onBuilt();
+ return result;
+ }
+
+ @java.lang.Override
+ public Builder clone() {
+ return super.clone();
+ }
+
+ @java.lang.Override
+ public Builder setField(
+ com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+ return super.setField(field, value);
+ }
+
+ @java.lang.Override
+ public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) {
+ return super.clearField(field);
+ }
+
+ @java.lang.Override
+ public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) {
+ return super.clearOneof(oneof);
+ }
+
+ @java.lang.Override
+ public Builder setRepeatedField(
+ com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) {
+ return super.setRepeatedField(field, index, value);
+ }
+
+ @java.lang.Override
+ public Builder addRepeatedField(
+ com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+ return super.addRepeatedField(field, value);
+ }
+
+ @java.lang.Override
+ public Builder mergeFrom(com.google.protobuf.Message other) {
+ if (other instanceof com.google.cloud.aiplatform.v1beta1.TrajectoryInOrderMatchSpec) {
+ return mergeFrom((com.google.cloud.aiplatform.v1beta1.TrajectoryInOrderMatchSpec) other);
+ } else {
+ super.mergeFrom(other);
+ return this;
+ }
+ }
+
+ public Builder mergeFrom(com.google.cloud.aiplatform.v1beta1.TrajectoryInOrderMatchSpec other) {
+ if (other
+ == com.google.cloud.aiplatform.v1beta1.TrajectoryInOrderMatchSpec.getDefaultInstance())
+ return this;
+ this.mergeUnknownFields(other.getUnknownFields());
+ onChanged();
+ return this;
+ }
+
+ @java.lang.Override
+ public final boolean isInitialized() {
+ return true;
+ }
+
+ @java.lang.Override
+ public Builder mergeFrom(
+ com.google.protobuf.CodedInputStream input,
+ com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+ throws java.io.IOException {
+ if (extensionRegistry == null) {
+ throw new java.lang.NullPointerException();
+ }
+ try {
+ boolean done = false;
+ while (!done) {
+ int tag = input.readTag();
+ switch (tag) {
+ case 0:
+ done = true;
+ break;
+ default:
+ {
+ if (!super.parseUnknownField(input, extensionRegistry, tag)) {
+ done = true; // was an endgroup tag
+ }
+ break;
+ } // default:
+ } // switch (tag)
+ } // while (!done)
+ } catch (com.google.protobuf.InvalidProtocolBufferException e) {
+ throw e.unwrapIOException();
+ } finally {
+ onChanged();
+ } // finally
+ return this;
+ }
+
+ @java.lang.Override
+ public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) {
+ return super.setUnknownFields(unknownFields);
+ }
+
+ @java.lang.Override
+ public final Builder mergeUnknownFields(
+ final com.google.protobuf.UnknownFieldSet unknownFields) {
+ return super.mergeUnknownFields(unknownFields);
+ }
+
+ // @@protoc_insertion_point(builder_scope:google.cloud.aiplatform.v1beta1.TrajectoryInOrderMatchSpec)
+ }
+
+ // @@protoc_insertion_point(class_scope:google.cloud.aiplatform.v1beta1.TrajectoryInOrderMatchSpec)
+ private static final com.google.cloud.aiplatform.v1beta1.TrajectoryInOrderMatchSpec
+ DEFAULT_INSTANCE;
+
+ static {
+ DEFAULT_INSTANCE = new com.google.cloud.aiplatform.v1beta1.TrajectoryInOrderMatchSpec();
+ }
+
+ public static com.google.cloud.aiplatform.v1beta1.TrajectoryInOrderMatchSpec
+ getDefaultInstance() {
+ return DEFAULT_INSTANCE;
+ }
+
+ private static final com.google.protobuf.Parser PARSER =
+ new com.google.protobuf.AbstractParser() {
+ @java.lang.Override
+ public TrajectoryInOrderMatchSpec 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 com.google.cloud.aiplatform.v1beta1.TrajectoryInOrderMatchSpec
+ getDefaultInstanceForType() {
+ return DEFAULT_INSTANCE;
+ }
+}
diff --git a/java-aiplatform/proto-google-cloud-aiplatform-v1beta1/src/main/java/com/google/cloud/aiplatform/v1beta1/TrajectoryInOrderMatchSpecOrBuilder.java b/java-aiplatform/proto-google-cloud-aiplatform-v1beta1/src/main/java/com/google/cloud/aiplatform/v1beta1/TrajectoryInOrderMatchSpecOrBuilder.java
new file mode 100644
index 000000000000..2db6cfa72633
--- /dev/null
+++ b/java-aiplatform/proto-google-cloud-aiplatform-v1beta1/src/main/java/com/google/cloud/aiplatform/v1beta1/TrajectoryInOrderMatchSpecOrBuilder.java
@@ -0,0 +1,25 @@
+/*
+ * Copyright 2024 Google LLC
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ * https://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+// Generated by the protocol buffer compiler. DO NOT EDIT!
+// source: google/cloud/aiplatform/v1beta1/evaluation_service.proto
+
+// Protobuf Java Version: 3.25.5
+package com.google.cloud.aiplatform.v1beta1;
+
+public interface TrajectoryInOrderMatchSpecOrBuilder
+ extends
+ // @@protoc_insertion_point(interface_extends:google.cloud.aiplatform.v1beta1.TrajectoryInOrderMatchSpec)
+ com.google.protobuf.MessageOrBuilder {}
diff --git a/java-aiplatform/proto-google-cloud-aiplatform-v1beta1/src/main/java/com/google/cloud/aiplatform/v1beta1/TrajectoryOrBuilder.java b/java-aiplatform/proto-google-cloud-aiplatform-v1beta1/src/main/java/com/google/cloud/aiplatform/v1beta1/TrajectoryOrBuilder.java
new file mode 100644
index 000000000000..76cf4ded33de
--- /dev/null
+++ b/java-aiplatform/proto-google-cloud-aiplatform-v1beta1/src/main/java/com/google/cloud/aiplatform/v1beta1/TrajectoryOrBuilder.java
@@ -0,0 +1,88 @@
+/*
+ * Copyright 2024 Google LLC
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ * https://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+// Generated by the protocol buffer compiler. DO NOT EDIT!
+// source: google/cloud/aiplatform/v1beta1/evaluation_service.proto
+
+// Protobuf Java Version: 3.25.5
+package com.google.cloud.aiplatform.v1beta1;
+
+public interface TrajectoryOrBuilder
+ extends
+ // @@protoc_insertion_point(interface_extends:google.cloud.aiplatform.v1beta1.Trajectory)
+ com.google.protobuf.MessageOrBuilder {
+
+ /**
+ *
+ *
+ *
+ * Required. Tool calls in the trajectory.
+ *
+ *
+ *
+ * repeated .google.cloud.aiplatform.v1beta1.ToolCall tool_calls = 1 [(.google.api.field_behavior) = REQUIRED];
+ *
+ */
+ java.util.List getToolCallsList();
+ /**
+ *
+ *
+ *
+ * Required. Tool calls in the trajectory.
+ *
+ *
+ *
+ * repeated .google.cloud.aiplatform.v1beta1.ToolCall tool_calls = 1 [(.google.api.field_behavior) = REQUIRED];
+ *
+ */
+ com.google.cloud.aiplatform.v1beta1.ToolCall getToolCalls(int index);
+ /**
+ *
+ *
+ *
+ * Required. Tool calls in the trajectory.
+ *
+ *
+ *
+ * repeated .google.cloud.aiplatform.v1beta1.ToolCall tool_calls = 1 [(.google.api.field_behavior) = REQUIRED];
+ *
+ */
+ int getToolCallsCount();
+ /**
+ *
+ *
+ *
+ * Required. Tool calls in the trajectory.
+ *
+ *
+ *
+ * repeated .google.cloud.aiplatform.v1beta1.ToolCall tool_calls = 1 [(.google.api.field_behavior) = REQUIRED];
+ *
+ */
+ java.util.List extends com.google.cloud.aiplatform.v1beta1.ToolCallOrBuilder>
+ getToolCallsOrBuilderList();
+ /**
+ *
+ *
+ *
+ * Required. Tool calls in the trajectory.
+ *
+ *
+ *
+ * repeated .google.cloud.aiplatform.v1beta1.ToolCall tool_calls = 1 [(.google.api.field_behavior) = REQUIRED];
+ *
+ */
+ com.google.cloud.aiplatform.v1beta1.ToolCallOrBuilder getToolCallsOrBuilder(int index);
+}
diff --git a/java-aiplatform/proto-google-cloud-aiplatform-v1beta1/src/main/java/com/google/cloud/aiplatform/v1beta1/TrajectoryPrecisionInput.java b/java-aiplatform/proto-google-cloud-aiplatform-v1beta1/src/main/java/com/google/cloud/aiplatform/v1beta1/TrajectoryPrecisionInput.java
new file mode 100644
index 000000000000..21f09ce3fab2
--- /dev/null
+++ b/java-aiplatform/proto-google-cloud-aiplatform-v1beta1/src/main/java/com/google/cloud/aiplatform/v1beta1/TrajectoryPrecisionInput.java
@@ -0,0 +1,1323 @@
+/*
+ * Copyright 2024 Google LLC
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ * https://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+// Generated by the protocol buffer compiler. DO NOT EDIT!
+// source: google/cloud/aiplatform/v1beta1/evaluation_service.proto
+
+// Protobuf Java Version: 3.25.5
+package com.google.cloud.aiplatform.v1beta1;
+
+/**
+ *
+ *
+ *
+ * Instances and metric spec for TrajectoryPrecision metric.
+ *
+ *
+ * Protobuf type {@code google.cloud.aiplatform.v1beta1.TrajectoryPrecisionInput}
+ */
+public final class TrajectoryPrecisionInput extends com.google.protobuf.GeneratedMessageV3
+ implements
+ // @@protoc_insertion_point(message_implements:google.cloud.aiplatform.v1beta1.TrajectoryPrecisionInput)
+ TrajectoryPrecisionInputOrBuilder {
+ private static final long serialVersionUID = 0L;
+ // Use TrajectoryPrecisionInput.newBuilder() to construct.
+ private TrajectoryPrecisionInput(com.google.protobuf.GeneratedMessageV3.Builder> builder) {
+ super(builder);
+ }
+
+ private TrajectoryPrecisionInput() {
+ instances_ = java.util.Collections.emptyList();
+ }
+
+ @java.lang.Override
+ @SuppressWarnings({"unused"})
+ protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
+ return new TrajectoryPrecisionInput();
+ }
+
+ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+ return com.google.cloud.aiplatform.v1beta1.EvaluationServiceProto
+ .internal_static_google_cloud_aiplatform_v1beta1_TrajectoryPrecisionInput_descriptor;
+ }
+
+ @java.lang.Override
+ protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
+ internalGetFieldAccessorTable() {
+ return com.google.cloud.aiplatform.v1beta1.EvaluationServiceProto
+ .internal_static_google_cloud_aiplatform_v1beta1_TrajectoryPrecisionInput_fieldAccessorTable
+ .ensureFieldAccessorsInitialized(
+ com.google.cloud.aiplatform.v1beta1.TrajectoryPrecisionInput.class,
+ com.google.cloud.aiplatform.v1beta1.TrajectoryPrecisionInput.Builder.class);
+ }
+
+ private int bitField0_;
+ public static final int METRIC_SPEC_FIELD_NUMBER = 1;
+ private com.google.cloud.aiplatform.v1beta1.TrajectoryPrecisionSpec metricSpec_;
+ /**
+ *
+ *
+ *
+ * Required. Spec for TrajectoryPrecision metric.
+ *
+ *
+ *
+ * .google.cloud.aiplatform.v1beta1.TrajectoryPrecisionSpec metric_spec = 1 [(.google.api.field_behavior) = REQUIRED];
+ *
+ *
+ * @return Whether the metricSpec field is set.
+ */
+ @java.lang.Override
+ public boolean hasMetricSpec() {
+ return ((bitField0_ & 0x00000001) != 0);
+ }
+ /**
+ *
+ *
+ *
+ * Required. Spec for TrajectoryPrecision metric.
+ *
+ *
+ *
+ * .google.cloud.aiplatform.v1beta1.TrajectoryPrecisionSpec metric_spec = 1 [(.google.api.field_behavior) = REQUIRED];
+ *
+ *
+ * @return The metricSpec.
+ */
+ @java.lang.Override
+ public com.google.cloud.aiplatform.v1beta1.TrajectoryPrecisionSpec getMetricSpec() {
+ return metricSpec_ == null
+ ? com.google.cloud.aiplatform.v1beta1.TrajectoryPrecisionSpec.getDefaultInstance()
+ : metricSpec_;
+ }
+ /**
+ *
+ *
+ *
+ * Required. Spec for TrajectoryPrecision metric.
+ *
+ *
+ *
+ * .google.cloud.aiplatform.v1beta1.TrajectoryPrecisionSpec metric_spec = 1 [(.google.api.field_behavior) = REQUIRED];
+ *
+ */
+ @java.lang.Override
+ public com.google.cloud.aiplatform.v1beta1.TrajectoryPrecisionSpecOrBuilder
+ getMetricSpecOrBuilder() {
+ return metricSpec_ == null
+ ? com.google.cloud.aiplatform.v1beta1.TrajectoryPrecisionSpec.getDefaultInstance()
+ : metricSpec_;
+ }
+
+ public static final int INSTANCES_FIELD_NUMBER = 2;
+
+ @SuppressWarnings("serial")
+ private java.util.List
+ instances_;
+ /**
+ *
+ *
+ *
+ * Required. Repeated TrajectoryPrecision instance.
+ *
+ *
+ *
+ * repeated .google.cloud.aiplatform.v1beta1.TrajectoryPrecisionInstance instances = 2 [(.google.api.field_behavior) = REQUIRED];
+ *
+ */
+ @java.lang.Override
+ public java.util.List
+ getInstancesList() {
+ return instances_;
+ }
+ /**
+ *
+ *
+ *
+ * Required. Repeated TrajectoryPrecision instance.
+ *
+ *
+ *
+ * repeated .google.cloud.aiplatform.v1beta1.TrajectoryPrecisionInstance instances = 2 [(.google.api.field_behavior) = REQUIRED];
+ *
+ */
+ @java.lang.Override
+ public java.util.List<
+ ? extends com.google.cloud.aiplatform.v1beta1.TrajectoryPrecisionInstanceOrBuilder>
+ getInstancesOrBuilderList() {
+ return instances_;
+ }
+ /**
+ *
+ *
+ *
+ * Required. Repeated TrajectoryPrecision instance.
+ *
+ *
+ *
+ * repeated .google.cloud.aiplatform.v1beta1.TrajectoryPrecisionInstance instances = 2 [(.google.api.field_behavior) = REQUIRED];
+ *
+ */
+ @java.lang.Override
+ public int getInstancesCount() {
+ return instances_.size();
+ }
+ /**
+ *
+ *
+ *
+ * Required. Repeated TrajectoryPrecision instance.
+ *
+ *
+ *
+ * repeated .google.cloud.aiplatform.v1beta1.TrajectoryPrecisionInstance instances = 2 [(.google.api.field_behavior) = REQUIRED];
+ *
+ */
+ @java.lang.Override
+ public com.google.cloud.aiplatform.v1beta1.TrajectoryPrecisionInstance getInstances(int index) {
+ return instances_.get(index);
+ }
+ /**
+ *
+ *
+ *
+ * Required. Repeated TrajectoryPrecision instance.
+ *
+ *
+ *
+ * repeated .google.cloud.aiplatform.v1beta1.TrajectoryPrecisionInstance instances = 2 [(.google.api.field_behavior) = REQUIRED];
+ *
+ */
+ @java.lang.Override
+ public com.google.cloud.aiplatform.v1beta1.TrajectoryPrecisionInstanceOrBuilder
+ getInstancesOrBuilder(int index) {
+ return instances_.get(index);
+ }
+
+ private byte memoizedIsInitialized = -1;
+
+ @java.lang.Override
+ public final boolean isInitialized() {
+ byte isInitialized = memoizedIsInitialized;
+ if (isInitialized == 1) return true;
+ if (isInitialized == 0) return false;
+
+ memoizedIsInitialized = 1;
+ return true;
+ }
+
+ @java.lang.Override
+ public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException {
+ if (((bitField0_ & 0x00000001) != 0)) {
+ output.writeMessage(1, getMetricSpec());
+ }
+ for (int i = 0; i < instances_.size(); i++) {
+ output.writeMessage(2, instances_.get(i));
+ }
+ getUnknownFields().writeTo(output);
+ }
+
+ @java.lang.Override
+ public int getSerializedSize() {
+ int size = memoizedSize;
+ if (size != -1) return size;
+
+ size = 0;
+ if (((bitField0_ & 0x00000001) != 0)) {
+ size += com.google.protobuf.CodedOutputStream.computeMessageSize(1, getMetricSpec());
+ }
+ for (int i = 0; i < instances_.size(); i++) {
+ size += com.google.protobuf.CodedOutputStream.computeMessageSize(2, instances_.get(i));
+ }
+ size += getUnknownFields().getSerializedSize();
+ memoizedSize = size;
+ return size;
+ }
+
+ @java.lang.Override
+ public boolean equals(final java.lang.Object obj) {
+ if (obj == this) {
+ return true;
+ }
+ if (!(obj instanceof com.google.cloud.aiplatform.v1beta1.TrajectoryPrecisionInput)) {
+ return super.equals(obj);
+ }
+ com.google.cloud.aiplatform.v1beta1.TrajectoryPrecisionInput other =
+ (com.google.cloud.aiplatform.v1beta1.TrajectoryPrecisionInput) obj;
+
+ if (hasMetricSpec() != other.hasMetricSpec()) return false;
+ if (hasMetricSpec()) {
+ if (!getMetricSpec().equals(other.getMetricSpec())) return false;
+ }
+ if (!getInstancesList().equals(other.getInstancesList())) 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 (hasMetricSpec()) {
+ hash = (37 * hash) + METRIC_SPEC_FIELD_NUMBER;
+ hash = (53 * hash) + getMetricSpec().hashCode();
+ }
+ if (getInstancesCount() > 0) {
+ hash = (37 * hash) + INSTANCES_FIELD_NUMBER;
+ hash = (53 * hash) + getInstancesList().hashCode();
+ }
+ hash = (29 * hash) + getUnknownFields().hashCode();
+ memoizedHashCode = hash;
+ return hash;
+ }
+
+ public static com.google.cloud.aiplatform.v1beta1.TrajectoryPrecisionInput parseFrom(
+ java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException {
+ return PARSER.parseFrom(data);
+ }
+
+ public static com.google.cloud.aiplatform.v1beta1.TrajectoryPrecisionInput parseFrom(
+ java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+ throws com.google.protobuf.InvalidProtocolBufferException {
+ return PARSER.parseFrom(data, extensionRegistry);
+ }
+
+ public static com.google.cloud.aiplatform.v1beta1.TrajectoryPrecisionInput parseFrom(
+ com.google.protobuf.ByteString data)
+ throws com.google.protobuf.InvalidProtocolBufferException {
+ return PARSER.parseFrom(data);
+ }
+
+ public static com.google.cloud.aiplatform.v1beta1.TrajectoryPrecisionInput parseFrom(
+ com.google.protobuf.ByteString data,
+ com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+ throws com.google.protobuf.InvalidProtocolBufferException {
+ return PARSER.parseFrom(data, extensionRegistry);
+ }
+
+ public static com.google.cloud.aiplatform.v1beta1.TrajectoryPrecisionInput parseFrom(byte[] data)
+ throws com.google.protobuf.InvalidProtocolBufferException {
+ return PARSER.parseFrom(data);
+ }
+
+ public static com.google.cloud.aiplatform.v1beta1.TrajectoryPrecisionInput parseFrom(
+ byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+ throws com.google.protobuf.InvalidProtocolBufferException {
+ return PARSER.parseFrom(data, extensionRegistry);
+ }
+
+ public static com.google.cloud.aiplatform.v1beta1.TrajectoryPrecisionInput parseFrom(
+ java.io.InputStream input) throws java.io.IOException {
+ return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input);
+ }
+
+ public static com.google.cloud.aiplatform.v1beta1.TrajectoryPrecisionInput parseFrom(
+ java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+ throws java.io.IOException {
+ return com.google.protobuf.GeneratedMessageV3.parseWithIOException(
+ PARSER, input, extensionRegistry);
+ }
+
+ public static com.google.cloud.aiplatform.v1beta1.TrajectoryPrecisionInput parseDelimitedFrom(
+ java.io.InputStream input) throws java.io.IOException {
+ return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input);
+ }
+
+ public static com.google.cloud.aiplatform.v1beta1.TrajectoryPrecisionInput parseDelimitedFrom(
+ java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+ throws java.io.IOException {
+ return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(
+ PARSER, input, extensionRegistry);
+ }
+
+ public static com.google.cloud.aiplatform.v1beta1.TrajectoryPrecisionInput parseFrom(
+ com.google.protobuf.CodedInputStream input) throws java.io.IOException {
+ return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input);
+ }
+
+ public static com.google.cloud.aiplatform.v1beta1.TrajectoryPrecisionInput 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(
+ com.google.cloud.aiplatform.v1beta1.TrajectoryPrecisionInput 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;
+ }
+ /**
+ *
+ *
+ *
+ * Instances and metric spec for TrajectoryPrecision metric.
+ *
+ *
+ * Protobuf type {@code google.cloud.aiplatform.v1beta1.TrajectoryPrecisionInput}
+ */
+ public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder
+ implements
+ // @@protoc_insertion_point(builder_implements:google.cloud.aiplatform.v1beta1.TrajectoryPrecisionInput)
+ com.google.cloud.aiplatform.v1beta1.TrajectoryPrecisionInputOrBuilder {
+ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+ return com.google.cloud.aiplatform.v1beta1.EvaluationServiceProto
+ .internal_static_google_cloud_aiplatform_v1beta1_TrajectoryPrecisionInput_descriptor;
+ }
+
+ @java.lang.Override
+ protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
+ internalGetFieldAccessorTable() {
+ return com.google.cloud.aiplatform.v1beta1.EvaluationServiceProto
+ .internal_static_google_cloud_aiplatform_v1beta1_TrajectoryPrecisionInput_fieldAccessorTable
+ .ensureFieldAccessorsInitialized(
+ com.google.cloud.aiplatform.v1beta1.TrajectoryPrecisionInput.class,
+ com.google.cloud.aiplatform.v1beta1.TrajectoryPrecisionInput.Builder.class);
+ }
+
+ // Construct using com.google.cloud.aiplatform.v1beta1.TrajectoryPrecisionInput.newBuilder()
+ private Builder() {
+ maybeForceBuilderInitialization();
+ }
+
+ private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+ super(parent);
+ maybeForceBuilderInitialization();
+ }
+
+ private void maybeForceBuilderInitialization() {
+ if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {
+ getMetricSpecFieldBuilder();
+ getInstancesFieldBuilder();
+ }
+ }
+
+ @java.lang.Override
+ public Builder clear() {
+ super.clear();
+ bitField0_ = 0;
+ metricSpec_ = null;
+ if (metricSpecBuilder_ != null) {
+ metricSpecBuilder_.dispose();
+ metricSpecBuilder_ = null;
+ }
+ if (instancesBuilder_ == null) {
+ instances_ = java.util.Collections.emptyList();
+ } else {
+ instances_ = null;
+ instancesBuilder_.clear();
+ }
+ bitField0_ = (bitField0_ & ~0x00000002);
+ return this;
+ }
+
+ @java.lang.Override
+ public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
+ return com.google.cloud.aiplatform.v1beta1.EvaluationServiceProto
+ .internal_static_google_cloud_aiplatform_v1beta1_TrajectoryPrecisionInput_descriptor;
+ }
+
+ @java.lang.Override
+ public com.google.cloud.aiplatform.v1beta1.TrajectoryPrecisionInput
+ getDefaultInstanceForType() {
+ return com.google.cloud.aiplatform.v1beta1.TrajectoryPrecisionInput.getDefaultInstance();
+ }
+
+ @java.lang.Override
+ public com.google.cloud.aiplatform.v1beta1.TrajectoryPrecisionInput build() {
+ com.google.cloud.aiplatform.v1beta1.TrajectoryPrecisionInput result = buildPartial();
+ if (!result.isInitialized()) {
+ throw newUninitializedMessageException(result);
+ }
+ return result;
+ }
+
+ @java.lang.Override
+ public com.google.cloud.aiplatform.v1beta1.TrajectoryPrecisionInput buildPartial() {
+ com.google.cloud.aiplatform.v1beta1.TrajectoryPrecisionInput result =
+ new com.google.cloud.aiplatform.v1beta1.TrajectoryPrecisionInput(this);
+ buildPartialRepeatedFields(result);
+ if (bitField0_ != 0) {
+ buildPartial0(result);
+ }
+ onBuilt();
+ return result;
+ }
+
+ private void buildPartialRepeatedFields(
+ com.google.cloud.aiplatform.v1beta1.TrajectoryPrecisionInput result) {
+ if (instancesBuilder_ == null) {
+ if (((bitField0_ & 0x00000002) != 0)) {
+ instances_ = java.util.Collections.unmodifiableList(instances_);
+ bitField0_ = (bitField0_ & ~0x00000002);
+ }
+ result.instances_ = instances_;
+ } else {
+ result.instances_ = instancesBuilder_.build();
+ }
+ }
+
+ private void buildPartial0(
+ com.google.cloud.aiplatform.v1beta1.TrajectoryPrecisionInput result) {
+ int from_bitField0_ = bitField0_;
+ int to_bitField0_ = 0;
+ if (((from_bitField0_ & 0x00000001) != 0)) {
+ result.metricSpec_ = metricSpecBuilder_ == null ? metricSpec_ : metricSpecBuilder_.build();
+ to_bitField0_ |= 0x00000001;
+ }
+ result.bitField0_ |= to_bitField0_;
+ }
+
+ @java.lang.Override
+ public Builder clone() {
+ return super.clone();
+ }
+
+ @java.lang.Override
+ public Builder setField(
+ com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+ return super.setField(field, value);
+ }
+
+ @java.lang.Override
+ public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) {
+ return super.clearField(field);
+ }
+
+ @java.lang.Override
+ public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) {
+ return super.clearOneof(oneof);
+ }
+
+ @java.lang.Override
+ public Builder setRepeatedField(
+ com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) {
+ return super.setRepeatedField(field, index, value);
+ }
+
+ @java.lang.Override
+ public Builder addRepeatedField(
+ com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+ return super.addRepeatedField(field, value);
+ }
+
+ @java.lang.Override
+ public Builder mergeFrom(com.google.protobuf.Message other) {
+ if (other instanceof com.google.cloud.aiplatform.v1beta1.TrajectoryPrecisionInput) {
+ return mergeFrom((com.google.cloud.aiplatform.v1beta1.TrajectoryPrecisionInput) other);
+ } else {
+ super.mergeFrom(other);
+ return this;
+ }
+ }
+
+ public Builder mergeFrom(com.google.cloud.aiplatform.v1beta1.TrajectoryPrecisionInput other) {
+ if (other
+ == com.google.cloud.aiplatform.v1beta1.TrajectoryPrecisionInput.getDefaultInstance())
+ return this;
+ if (other.hasMetricSpec()) {
+ mergeMetricSpec(other.getMetricSpec());
+ }
+ if (instancesBuilder_ == null) {
+ if (!other.instances_.isEmpty()) {
+ if (instances_.isEmpty()) {
+ instances_ = other.instances_;
+ bitField0_ = (bitField0_ & ~0x00000002);
+ } else {
+ ensureInstancesIsMutable();
+ instances_.addAll(other.instances_);
+ }
+ onChanged();
+ }
+ } else {
+ if (!other.instances_.isEmpty()) {
+ if (instancesBuilder_.isEmpty()) {
+ instancesBuilder_.dispose();
+ instancesBuilder_ = null;
+ instances_ = other.instances_;
+ bitField0_ = (bitField0_ & ~0x00000002);
+ instancesBuilder_ =
+ com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders
+ ? getInstancesFieldBuilder()
+ : null;
+ } else {
+ instancesBuilder_.addAllMessages(other.instances_);
+ }
+ }
+ }
+ this.mergeUnknownFields(other.getUnknownFields());
+ onChanged();
+ return this;
+ }
+
+ @java.lang.Override
+ public final boolean isInitialized() {
+ return true;
+ }
+
+ @java.lang.Override
+ public Builder mergeFrom(
+ com.google.protobuf.CodedInputStream input,
+ com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+ throws java.io.IOException {
+ if (extensionRegistry == null) {
+ throw new java.lang.NullPointerException();
+ }
+ try {
+ boolean done = false;
+ while (!done) {
+ int tag = input.readTag();
+ switch (tag) {
+ case 0:
+ done = true;
+ break;
+ case 10:
+ {
+ input.readMessage(getMetricSpecFieldBuilder().getBuilder(), extensionRegistry);
+ bitField0_ |= 0x00000001;
+ break;
+ } // case 10
+ case 18:
+ {
+ com.google.cloud.aiplatform.v1beta1.TrajectoryPrecisionInstance m =
+ input.readMessage(
+ com.google.cloud.aiplatform.v1beta1.TrajectoryPrecisionInstance.parser(),
+ extensionRegistry);
+ if (instancesBuilder_ == null) {
+ ensureInstancesIsMutable();
+ instances_.add(m);
+ } else {
+ instancesBuilder_.addMessage(m);
+ }
+ break;
+ } // case 18
+ default:
+ {
+ if (!super.parseUnknownField(input, extensionRegistry, tag)) {
+ done = true; // was an endgroup tag
+ }
+ break;
+ } // default:
+ } // switch (tag)
+ } // while (!done)
+ } catch (com.google.protobuf.InvalidProtocolBufferException e) {
+ throw e.unwrapIOException();
+ } finally {
+ onChanged();
+ } // finally
+ return this;
+ }
+
+ private int bitField0_;
+
+ private com.google.cloud.aiplatform.v1beta1.TrajectoryPrecisionSpec metricSpec_;
+ private com.google.protobuf.SingleFieldBuilderV3<
+ com.google.cloud.aiplatform.v1beta1.TrajectoryPrecisionSpec,
+ com.google.cloud.aiplatform.v1beta1.TrajectoryPrecisionSpec.Builder,
+ com.google.cloud.aiplatform.v1beta1.TrajectoryPrecisionSpecOrBuilder>
+ metricSpecBuilder_;
+ /**
+ *
+ *
+ *
+ * Required. Spec for TrajectoryPrecision metric.
+ *
+ *
+ *
+ * .google.cloud.aiplatform.v1beta1.TrajectoryPrecisionSpec metric_spec = 1 [(.google.api.field_behavior) = REQUIRED];
+ *
+ *
+ * @return Whether the metricSpec field is set.
+ */
+ public boolean hasMetricSpec() {
+ return ((bitField0_ & 0x00000001) != 0);
+ }
+ /**
+ *
+ *
+ *
+ * Required. Spec for TrajectoryPrecision metric.
+ *
+ *
+ *
+ * .google.cloud.aiplatform.v1beta1.TrajectoryPrecisionSpec metric_spec = 1 [(.google.api.field_behavior) = REQUIRED];
+ *
+ *
+ * @return The metricSpec.
+ */
+ public com.google.cloud.aiplatform.v1beta1.TrajectoryPrecisionSpec getMetricSpec() {
+ if (metricSpecBuilder_ == null) {
+ return metricSpec_ == null
+ ? com.google.cloud.aiplatform.v1beta1.TrajectoryPrecisionSpec.getDefaultInstance()
+ : metricSpec_;
+ } else {
+ return metricSpecBuilder_.getMessage();
+ }
+ }
+ /**
+ *
+ *
+ *
+ * Required. Spec for TrajectoryPrecision metric.
+ *
+ *
+ *
+ * .google.cloud.aiplatform.v1beta1.TrajectoryPrecisionSpec metric_spec = 1 [(.google.api.field_behavior) = REQUIRED];
+ *
+ */
+ public Builder setMetricSpec(
+ com.google.cloud.aiplatform.v1beta1.TrajectoryPrecisionSpec value) {
+ if (metricSpecBuilder_ == null) {
+ if (value == null) {
+ throw new NullPointerException();
+ }
+ metricSpec_ = value;
+ } else {
+ metricSpecBuilder_.setMessage(value);
+ }
+ bitField0_ |= 0x00000001;
+ onChanged();
+ return this;
+ }
+ /**
+ *
+ *
+ *
+ * Required. Spec for TrajectoryPrecision metric.
+ *
+ *
+ *
+ * .google.cloud.aiplatform.v1beta1.TrajectoryPrecisionSpec metric_spec = 1 [(.google.api.field_behavior) = REQUIRED];
+ *
+ */
+ public Builder setMetricSpec(
+ com.google.cloud.aiplatform.v1beta1.TrajectoryPrecisionSpec.Builder builderForValue) {
+ if (metricSpecBuilder_ == null) {
+ metricSpec_ = builderForValue.build();
+ } else {
+ metricSpecBuilder_.setMessage(builderForValue.build());
+ }
+ bitField0_ |= 0x00000001;
+ onChanged();
+ return this;
+ }
+ /**
+ *
+ *
+ *
+ * Required. Spec for TrajectoryPrecision metric.
+ *
+ *
+ *
+ * .google.cloud.aiplatform.v1beta1.TrajectoryPrecisionSpec metric_spec = 1 [(.google.api.field_behavior) = REQUIRED];
+ *
+ */
+ public Builder mergeMetricSpec(
+ com.google.cloud.aiplatform.v1beta1.TrajectoryPrecisionSpec value) {
+ if (metricSpecBuilder_ == null) {
+ if (((bitField0_ & 0x00000001) != 0)
+ && metricSpec_ != null
+ && metricSpec_
+ != com.google.cloud.aiplatform.v1beta1.TrajectoryPrecisionSpec
+ .getDefaultInstance()) {
+ getMetricSpecBuilder().mergeFrom(value);
+ } else {
+ metricSpec_ = value;
+ }
+ } else {
+ metricSpecBuilder_.mergeFrom(value);
+ }
+ if (metricSpec_ != null) {
+ bitField0_ |= 0x00000001;
+ onChanged();
+ }
+ return this;
+ }
+ /**
+ *
+ *
+ *
+ * Required. Spec for TrajectoryPrecision metric.
+ *
+ *
+ *
+ * .google.cloud.aiplatform.v1beta1.TrajectoryPrecisionSpec metric_spec = 1 [(.google.api.field_behavior) = REQUIRED];
+ *
+ */
+ public Builder clearMetricSpec() {
+ bitField0_ = (bitField0_ & ~0x00000001);
+ metricSpec_ = null;
+ if (metricSpecBuilder_ != null) {
+ metricSpecBuilder_.dispose();
+ metricSpecBuilder_ = null;
+ }
+ onChanged();
+ return this;
+ }
+ /**
+ *
+ *
+ *
+ * Required. Spec for TrajectoryPrecision metric.
+ *
+ *
+ *
+ * .google.cloud.aiplatform.v1beta1.TrajectoryPrecisionSpec metric_spec = 1 [(.google.api.field_behavior) = REQUIRED];
+ *
+ */
+ public com.google.cloud.aiplatform.v1beta1.TrajectoryPrecisionSpec.Builder
+ getMetricSpecBuilder() {
+ bitField0_ |= 0x00000001;
+ onChanged();
+ return getMetricSpecFieldBuilder().getBuilder();
+ }
+ /**
+ *
+ *
+ *
+ * Required. Spec for TrajectoryPrecision metric.
+ *
+ *
+ *
+ * .google.cloud.aiplatform.v1beta1.TrajectoryPrecisionSpec metric_spec = 1 [(.google.api.field_behavior) = REQUIRED];
+ *
+ */
+ public com.google.cloud.aiplatform.v1beta1.TrajectoryPrecisionSpecOrBuilder
+ getMetricSpecOrBuilder() {
+ if (metricSpecBuilder_ != null) {
+ return metricSpecBuilder_.getMessageOrBuilder();
+ } else {
+ return metricSpec_ == null
+ ? com.google.cloud.aiplatform.v1beta1.TrajectoryPrecisionSpec.getDefaultInstance()
+ : metricSpec_;
+ }
+ }
+ /**
+ *
+ *
+ *
+ * Required. Spec for TrajectoryPrecision metric.
+ *
+ *
+ *
+ * .google.cloud.aiplatform.v1beta1.TrajectoryPrecisionSpec metric_spec = 1 [(.google.api.field_behavior) = REQUIRED];
+ *
+ */
+ private com.google.protobuf.SingleFieldBuilderV3<
+ com.google.cloud.aiplatform.v1beta1.TrajectoryPrecisionSpec,
+ com.google.cloud.aiplatform.v1beta1.TrajectoryPrecisionSpec.Builder,
+ com.google.cloud.aiplatform.v1beta1.TrajectoryPrecisionSpecOrBuilder>
+ getMetricSpecFieldBuilder() {
+ if (metricSpecBuilder_ == null) {
+ metricSpecBuilder_ =
+ new com.google.protobuf.SingleFieldBuilderV3<
+ com.google.cloud.aiplatform.v1beta1.TrajectoryPrecisionSpec,
+ com.google.cloud.aiplatform.v1beta1.TrajectoryPrecisionSpec.Builder,
+ com.google.cloud.aiplatform.v1beta1.TrajectoryPrecisionSpecOrBuilder>(
+ getMetricSpec(), getParentForChildren(), isClean());
+ metricSpec_ = null;
+ }
+ return metricSpecBuilder_;
+ }
+
+ private java.util.List
+ instances_ = java.util.Collections.emptyList();
+
+ private void ensureInstancesIsMutable() {
+ if (!((bitField0_ & 0x00000002) != 0)) {
+ instances_ =
+ new java.util.ArrayList<
+ com.google.cloud.aiplatform.v1beta1.TrajectoryPrecisionInstance>(instances_);
+ bitField0_ |= 0x00000002;
+ }
+ }
+
+ private com.google.protobuf.RepeatedFieldBuilderV3<
+ com.google.cloud.aiplatform.v1beta1.TrajectoryPrecisionInstance,
+ com.google.cloud.aiplatform.v1beta1.TrajectoryPrecisionInstance.Builder,
+ com.google.cloud.aiplatform.v1beta1.TrajectoryPrecisionInstanceOrBuilder>
+ instancesBuilder_;
+
+ /**
+ *
+ *
+ *
+ * Required. Repeated TrajectoryPrecision instance.
+ *
+ *
+ *
+ * repeated .google.cloud.aiplatform.v1beta1.TrajectoryPrecisionInstance instances = 2 [(.google.api.field_behavior) = REQUIRED];
+ *
+ */
+ public java.util.List
+ getInstancesList() {
+ if (instancesBuilder_ == null) {
+ return java.util.Collections.unmodifiableList(instances_);
+ } else {
+ return instancesBuilder_.getMessageList();
+ }
+ }
+ /**
+ *
+ *
+ *
+ * Required. Repeated TrajectoryPrecision instance.
+ *
+ *
+ *
+ * repeated .google.cloud.aiplatform.v1beta1.TrajectoryPrecisionInstance instances = 2 [(.google.api.field_behavior) = REQUIRED];
+ *
+ */
+ public int getInstancesCount() {
+ if (instancesBuilder_ == null) {
+ return instances_.size();
+ } else {
+ return instancesBuilder_.getCount();
+ }
+ }
+ /**
+ *
+ *
+ *
+ * Required. Repeated TrajectoryPrecision instance.
+ *
+ *
+ *
+ * repeated .google.cloud.aiplatform.v1beta1.TrajectoryPrecisionInstance instances = 2 [(.google.api.field_behavior) = REQUIRED];
+ *
+ */
+ public com.google.cloud.aiplatform.v1beta1.TrajectoryPrecisionInstance getInstances(int index) {
+ if (instancesBuilder_ == null) {
+ return instances_.get(index);
+ } else {
+ return instancesBuilder_.getMessage(index);
+ }
+ }
+ /**
+ *
+ *
+ *
+ * Required. Repeated TrajectoryPrecision instance.
+ *
+ *
+ *
+ * repeated .google.cloud.aiplatform.v1beta1.TrajectoryPrecisionInstance instances = 2 [(.google.api.field_behavior) = REQUIRED];
+ *
+ */
+ public Builder setInstances(
+ int index, com.google.cloud.aiplatform.v1beta1.TrajectoryPrecisionInstance value) {
+ if (instancesBuilder_ == null) {
+ if (value == null) {
+ throw new NullPointerException();
+ }
+ ensureInstancesIsMutable();
+ instances_.set(index, value);
+ onChanged();
+ } else {
+ instancesBuilder_.setMessage(index, value);
+ }
+ return this;
+ }
+ /**
+ *
+ *
+ *
+ * Required. Repeated TrajectoryPrecision instance.
+ *
+ *
+ *
+ * repeated .google.cloud.aiplatform.v1beta1.TrajectoryPrecisionInstance instances = 2 [(.google.api.field_behavior) = REQUIRED];
+ *
+ */
+ public Builder setInstances(
+ int index,
+ com.google.cloud.aiplatform.v1beta1.TrajectoryPrecisionInstance.Builder builderForValue) {
+ if (instancesBuilder_ == null) {
+ ensureInstancesIsMutable();
+ instances_.set(index, builderForValue.build());
+ onChanged();
+ } else {
+ instancesBuilder_.setMessage(index, builderForValue.build());
+ }
+ return this;
+ }
+ /**
+ *
+ *
+ *
+ * Required. Repeated TrajectoryPrecision instance.
+ *
+ *
+ *
+ * repeated .google.cloud.aiplatform.v1beta1.TrajectoryPrecisionInstance instances = 2 [(.google.api.field_behavior) = REQUIRED];
+ *
+ */
+ public Builder addInstances(
+ com.google.cloud.aiplatform.v1beta1.TrajectoryPrecisionInstance value) {
+ if (instancesBuilder_ == null) {
+ if (value == null) {
+ throw new NullPointerException();
+ }
+ ensureInstancesIsMutable();
+ instances_.add(value);
+ onChanged();
+ } else {
+ instancesBuilder_.addMessage(value);
+ }
+ return this;
+ }
+ /**
+ *
+ *
+ *
+ * Required. Repeated TrajectoryPrecision instance.
+ *
+ *
+ *
+ * repeated .google.cloud.aiplatform.v1beta1.TrajectoryPrecisionInstance instances = 2 [(.google.api.field_behavior) = REQUIRED];
+ *
+ */
+ public Builder addInstances(
+ int index, com.google.cloud.aiplatform.v1beta1.TrajectoryPrecisionInstance value) {
+ if (instancesBuilder_ == null) {
+ if (value == null) {
+ throw new NullPointerException();
+ }
+ ensureInstancesIsMutable();
+ instances_.add(index, value);
+ onChanged();
+ } else {
+ instancesBuilder_.addMessage(index, value);
+ }
+ return this;
+ }
+ /**
+ *
+ *
+ *
+ * Required. Repeated TrajectoryPrecision instance.
+ *
+ *
+ *
+ * repeated .google.cloud.aiplatform.v1beta1.TrajectoryPrecisionInstance instances = 2 [(.google.api.field_behavior) = REQUIRED];
+ *
+ */
+ public Builder addInstances(
+ com.google.cloud.aiplatform.v1beta1.TrajectoryPrecisionInstance.Builder builderForValue) {
+ if (instancesBuilder_ == null) {
+ ensureInstancesIsMutable();
+ instances_.add(builderForValue.build());
+ onChanged();
+ } else {
+ instancesBuilder_.addMessage(builderForValue.build());
+ }
+ return this;
+ }
+ /**
+ *
+ *
+ *
+ * Required. Repeated TrajectoryPrecision instance.
+ *
+ *
+ *
+ * repeated .google.cloud.aiplatform.v1beta1.TrajectoryPrecisionInstance instances = 2 [(.google.api.field_behavior) = REQUIRED];
+ *
+ */
+ public Builder addInstances(
+ int index,
+ com.google.cloud.aiplatform.v1beta1.TrajectoryPrecisionInstance.Builder builderForValue) {
+ if (instancesBuilder_ == null) {
+ ensureInstancesIsMutable();
+ instances_.add(index, builderForValue.build());
+ onChanged();
+ } else {
+ instancesBuilder_.addMessage(index, builderForValue.build());
+ }
+ return this;
+ }
+ /**
+ *
+ *
+ *
+ * Required. Repeated TrajectoryPrecision instance.
+ *
+ *
+ *
+ * repeated .google.cloud.aiplatform.v1beta1.TrajectoryPrecisionInstance instances = 2 [(.google.api.field_behavior) = REQUIRED];
+ *
+ */
+ public Builder addAllInstances(
+ java.lang.Iterable<
+ ? extends com.google.cloud.aiplatform.v1beta1.TrajectoryPrecisionInstance>
+ values) {
+ if (instancesBuilder_ == null) {
+ ensureInstancesIsMutable();
+ com.google.protobuf.AbstractMessageLite.Builder.addAll(values, instances_);
+ onChanged();
+ } else {
+ instancesBuilder_.addAllMessages(values);
+ }
+ return this;
+ }
+ /**
+ *
+ *
+ *
+ * Required. Repeated TrajectoryPrecision instance.
+ *
+ *
+ *
+ * repeated .google.cloud.aiplatform.v1beta1.TrajectoryPrecisionInstance instances = 2 [(.google.api.field_behavior) = REQUIRED];
+ *
+ */
+ public Builder clearInstances() {
+ if (instancesBuilder_ == null) {
+ instances_ = java.util.Collections.emptyList();
+ bitField0_ = (bitField0_ & ~0x00000002);
+ onChanged();
+ } else {
+ instancesBuilder_.clear();
+ }
+ return this;
+ }
+ /**
+ *
+ *
+ *
+ * Required. Repeated TrajectoryPrecision instance.
+ *
+ *
+ *
+ * repeated .google.cloud.aiplatform.v1beta1.TrajectoryPrecisionInstance instances = 2 [(.google.api.field_behavior) = REQUIRED];
+ *
+ */
+ public Builder removeInstances(int index) {
+ if (instancesBuilder_ == null) {
+ ensureInstancesIsMutable();
+ instances_.remove(index);
+ onChanged();
+ } else {
+ instancesBuilder_.remove(index);
+ }
+ return this;
+ }
+ /**
+ *
+ *
+ *
+ * Required. Repeated TrajectoryPrecision instance.
+ *
+ *
+ *
+ * repeated .google.cloud.aiplatform.v1beta1.TrajectoryPrecisionInstance instances = 2 [(.google.api.field_behavior) = REQUIRED];
+ *
+ */
+ public com.google.cloud.aiplatform.v1beta1.TrajectoryPrecisionInstance.Builder
+ getInstancesBuilder(int index) {
+ return getInstancesFieldBuilder().getBuilder(index);
+ }
+ /**
+ *
+ *
+ *
+ * Required. Repeated TrajectoryPrecision instance.
+ *
+ *
+ *
+ * repeated .google.cloud.aiplatform.v1beta1.TrajectoryPrecisionInstance instances = 2 [(.google.api.field_behavior) = REQUIRED];
+ *
+ */
+ public com.google.cloud.aiplatform.v1beta1.TrajectoryPrecisionInstanceOrBuilder
+ getInstancesOrBuilder(int index) {
+ if (instancesBuilder_ == null) {
+ return instances_.get(index);
+ } else {
+ return instancesBuilder_.getMessageOrBuilder(index);
+ }
+ }
+ /**
+ *
+ *
+ *
+ * Required. Repeated TrajectoryPrecision instance.
+ *
+ *
+ *
+ * repeated .google.cloud.aiplatform.v1beta1.TrajectoryPrecisionInstance instances = 2 [(.google.api.field_behavior) = REQUIRED];
+ *
+ */
+ public java.util.List<
+ ? extends com.google.cloud.aiplatform.v1beta1.TrajectoryPrecisionInstanceOrBuilder>
+ getInstancesOrBuilderList() {
+ if (instancesBuilder_ != null) {
+ return instancesBuilder_.getMessageOrBuilderList();
+ } else {
+ return java.util.Collections.unmodifiableList(instances_);
+ }
+ }
+ /**
+ *
+ *
+ *
+ * Required. Repeated TrajectoryPrecision instance.
+ *
+ *
+ *
+ * repeated .google.cloud.aiplatform.v1beta1.TrajectoryPrecisionInstance instances = 2 [(.google.api.field_behavior) = REQUIRED];
+ *
+ */
+ public com.google.cloud.aiplatform.v1beta1.TrajectoryPrecisionInstance.Builder
+ addInstancesBuilder() {
+ return getInstancesFieldBuilder()
+ .addBuilder(
+ com.google.cloud.aiplatform.v1beta1.TrajectoryPrecisionInstance.getDefaultInstance());
+ }
+ /**
+ *
+ *
+ *
+ * Required. Repeated TrajectoryPrecision instance.
+ *
+ *
+ *
+ * repeated .google.cloud.aiplatform.v1beta1.TrajectoryPrecisionInstance instances = 2 [(.google.api.field_behavior) = REQUIRED];
+ *
+ */
+ public com.google.cloud.aiplatform.v1beta1.TrajectoryPrecisionInstance.Builder
+ addInstancesBuilder(int index) {
+ return getInstancesFieldBuilder()
+ .addBuilder(
+ index,
+ com.google.cloud.aiplatform.v1beta1.TrajectoryPrecisionInstance.getDefaultInstance());
+ }
+ /**
+ *
+ *
+ *
+ * Required. Repeated TrajectoryPrecision instance.
+ *
+ *
+ *
+ * repeated .google.cloud.aiplatform.v1beta1.TrajectoryPrecisionInstance instances = 2 [(.google.api.field_behavior) = REQUIRED];
+ *
+ */
+ public java.util.List
+ getInstancesBuilderList() {
+ return getInstancesFieldBuilder().getBuilderList();
+ }
+
+ private com.google.protobuf.RepeatedFieldBuilderV3<
+ com.google.cloud.aiplatform.v1beta1.TrajectoryPrecisionInstance,
+ com.google.cloud.aiplatform.v1beta1.TrajectoryPrecisionInstance.Builder,
+ com.google.cloud.aiplatform.v1beta1.TrajectoryPrecisionInstanceOrBuilder>
+ getInstancesFieldBuilder() {
+ if (instancesBuilder_ == null) {
+ instancesBuilder_ =
+ new com.google.protobuf.RepeatedFieldBuilderV3<
+ com.google.cloud.aiplatform.v1beta1.TrajectoryPrecisionInstance,
+ com.google.cloud.aiplatform.v1beta1.TrajectoryPrecisionInstance.Builder,
+ com.google.cloud.aiplatform.v1beta1.TrajectoryPrecisionInstanceOrBuilder>(
+ instances_, ((bitField0_ & 0x00000002) != 0), getParentForChildren(), isClean());
+ instances_ = null;
+ }
+ return instancesBuilder_;
+ }
+
+ @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:google.cloud.aiplatform.v1beta1.TrajectoryPrecisionInput)
+ }
+
+ // @@protoc_insertion_point(class_scope:google.cloud.aiplatform.v1beta1.TrajectoryPrecisionInput)
+ private static final com.google.cloud.aiplatform.v1beta1.TrajectoryPrecisionInput
+ DEFAULT_INSTANCE;
+
+ static {
+ DEFAULT_INSTANCE = new com.google.cloud.aiplatform.v1beta1.TrajectoryPrecisionInput();
+ }
+
+ public static com.google.cloud.aiplatform.v1beta1.TrajectoryPrecisionInput getDefaultInstance() {
+ return DEFAULT_INSTANCE;
+ }
+
+ private static final com.google.protobuf.Parser PARSER =
+ new com.google.protobuf.AbstractParser