From cc0e248a9ee4658dbd3b2649d01381df218b4419 Mon Sep 17 00:00:00 2001 From: "gcf-owl-bot[bot]" <78513119+gcf-owl-bot[bot]@users.noreply.github.com> Date: Sat, 4 Nov 2023 09:00:23 -0400 Subject: [PATCH] feat: [aiplatform] add Optimized to FeatureOnlineStore (#10040) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit * feat: add Optimized to FeatureOnlineStore PiperOrigin-RevId: 579291287 Source-Link: https://github.com/googleapis/googleapis/commit/90a53d6d1c1c1854e73f390a7701069dc6da8146 Source-Link: https://github.com/googleapis/googleapis-gen/commit/94f8d8b2207ecf9882a88c305590bcea9ec01d6e Copy-Tag: eyJwIjoiamF2YS1haXBsYXRmb3JtLy5Pd2xCb3QueWFtbCIsImgiOiI5NGY4ZDhiMjIwN2VjZjk4ODJhODhjMzA1NTkwYmNlYTllYzAxZDZlIn0= * 🦉 Updates from OwlBot post-processor See https://github.com/googleapis/repo-automation-bots/blob/main/packages/owl-bot/README.md * 🦉 Updates from OwlBot post-processor See https://github.com/googleapis/repo-automation-bots/blob/main/packages/owl-bot/README.md --------- Co-authored-by: Owl Bot --- .../reflect-config.json | 18 + .../v1beta1/FeatureOnlineStore.java | 1545 ++++++++++++++++- .../v1beta1/FeatureOnlineStoreOrBuilder.java | 47 + .../v1beta1/FeatureOnlineStoreProto.java | 110 +- .../v1beta1/feature_online_store.proto | 27 +- 5 files changed, 1639 insertions(+), 108 deletions(-) diff --git a/java-aiplatform/google-cloud-aiplatform/src/main/resources/META-INF/native-image/com.google.cloud.aiplatform.v1beta1/reflect-config.json b/java-aiplatform/google-cloud-aiplatform/src/main/resources/META-INF/native-image/com.google.cloud.aiplatform.v1beta1/reflect-config.json index 131468663847..2cc3c82a9ace 100644 --- a/java-aiplatform/google-cloud-aiplatform/src/main/resources/META-INF/native-image/com.google.cloud.aiplatform.v1beta1/reflect-config.json +++ b/java-aiplatform/google-cloud-aiplatform/src/main/resources/META-INF/native-image/com.google.cloud.aiplatform.v1beta1/reflect-config.json @@ -4958,6 +4958,24 @@ "allDeclaredClasses": true, "allPublicClasses": true }, + { + "name": "com.google.cloud.aiplatform.v1beta1.FeatureOnlineStore$Optimized", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.cloud.aiplatform.v1beta1.FeatureOnlineStore$Optimized$Builder", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, { "name": "com.google.cloud.aiplatform.v1beta1.FeatureOnlineStore$State", "queryAllDeclaredConstructors": true, diff --git a/java-aiplatform/proto-google-cloud-aiplatform-v1beta1/src/main/java/com/google/cloud/aiplatform/v1beta1/FeatureOnlineStore.java b/java-aiplatform/proto-google-cloud-aiplatform-v1beta1/src/main/java/com/google/cloud/aiplatform/v1beta1/FeatureOnlineStore.java index 1effb33e8a32..9092169cd5a7 100644 --- a/java-aiplatform/proto-google-cloud-aiplatform-v1beta1/src/main/java/com/google/cloud/aiplatform/v1beta1/FeatureOnlineStore.java +++ b/java-aiplatform/proto-google-cloud-aiplatform-v1beta1/src/main/java/com/google/cloud/aiplatform/v1beta1/FeatureOnlineStore.java @@ -1827,6 +1827,439 @@ public com.google.protobuf.Parser getParserForType() { } } + public interface OptimizedOrBuilder + extends + // @@protoc_insertion_point(interface_extends:google.cloud.aiplatform.v1beta1.FeatureOnlineStore.Optimized) + com.google.protobuf.MessageOrBuilder {} + /** + * + * + *
+   * Optimized storage type to replace lightning
+   * 
+ * + * Protobuf type {@code google.cloud.aiplatform.v1beta1.FeatureOnlineStore.Optimized} + */ + public static final class Optimized extends com.google.protobuf.GeneratedMessageV3 + implements + // @@protoc_insertion_point(message_implements:google.cloud.aiplatform.v1beta1.FeatureOnlineStore.Optimized) + OptimizedOrBuilder { + private static final long serialVersionUID = 0L; + // Use Optimized.newBuilder() to construct. + private Optimized(com.google.protobuf.GeneratedMessageV3.Builder builder) { + super(builder); + } + + private Optimized() {} + + @java.lang.Override + @SuppressWarnings({"unused"}) + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + return new Optimized(); + } + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.aiplatform.v1beta1.FeatureOnlineStoreProto + .internal_static_google_cloud_aiplatform_v1beta1_FeatureOnlineStore_Optimized_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return com.google.cloud.aiplatform.v1beta1.FeatureOnlineStoreProto + .internal_static_google_cloud_aiplatform_v1beta1_FeatureOnlineStore_Optimized_fieldAccessorTable + .ensureFieldAccessorsInitialized( + com.google.cloud.aiplatform.v1beta1.FeatureOnlineStore.Optimized.class, + com.google.cloud.aiplatform.v1beta1.FeatureOnlineStore.Optimized.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.FeatureOnlineStore.Optimized)) { + return super.equals(obj); + } + com.google.cloud.aiplatform.v1beta1.FeatureOnlineStore.Optimized other = + (com.google.cloud.aiplatform.v1beta1.FeatureOnlineStore.Optimized) 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.FeatureOnlineStore.Optimized parseFrom( + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + + public static com.google.cloud.aiplatform.v1beta1.FeatureOnlineStore.Optimized 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.FeatureOnlineStore.Optimized parseFrom( + com.google.protobuf.ByteString data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + + public static com.google.cloud.aiplatform.v1beta1.FeatureOnlineStore.Optimized 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.FeatureOnlineStore.Optimized parseFrom( + byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + + public static com.google.cloud.aiplatform.v1beta1.FeatureOnlineStore.Optimized 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.FeatureOnlineStore.Optimized parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + } + + public static com.google.cloud.aiplatform.v1beta1.FeatureOnlineStore.Optimized 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.FeatureOnlineStore.Optimized + parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + } + + public static com.google.cloud.aiplatform.v1beta1.FeatureOnlineStore.Optimized + 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.FeatureOnlineStore.Optimized 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.FeatureOnlineStore.Optimized 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.FeatureOnlineStore.Optimized 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; + } + /** + * + * + *
+     * Optimized storage type to replace lightning
+     * 
+ * + * Protobuf type {@code google.cloud.aiplatform.v1beta1.FeatureOnlineStore.Optimized} + */ + public static final class Builder + extends com.google.protobuf.GeneratedMessageV3.Builder + implements + // @@protoc_insertion_point(builder_implements:google.cloud.aiplatform.v1beta1.FeatureOnlineStore.Optimized) + com.google.cloud.aiplatform.v1beta1.FeatureOnlineStore.OptimizedOrBuilder { + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.aiplatform.v1beta1.FeatureOnlineStoreProto + .internal_static_google_cloud_aiplatform_v1beta1_FeatureOnlineStore_Optimized_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return com.google.cloud.aiplatform.v1beta1.FeatureOnlineStoreProto + .internal_static_google_cloud_aiplatform_v1beta1_FeatureOnlineStore_Optimized_fieldAccessorTable + .ensureFieldAccessorsInitialized( + com.google.cloud.aiplatform.v1beta1.FeatureOnlineStore.Optimized.class, + com.google.cloud.aiplatform.v1beta1.FeatureOnlineStore.Optimized.Builder.class); + } + + // Construct using + // com.google.cloud.aiplatform.v1beta1.FeatureOnlineStore.Optimized.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.FeatureOnlineStoreProto + .internal_static_google_cloud_aiplatform_v1beta1_FeatureOnlineStore_Optimized_descriptor; + } + + @java.lang.Override + public com.google.cloud.aiplatform.v1beta1.FeatureOnlineStore.Optimized + getDefaultInstanceForType() { + return com.google.cloud.aiplatform.v1beta1.FeatureOnlineStore.Optimized + .getDefaultInstance(); + } + + @java.lang.Override + public com.google.cloud.aiplatform.v1beta1.FeatureOnlineStore.Optimized build() { + com.google.cloud.aiplatform.v1beta1.FeatureOnlineStore.Optimized result = buildPartial(); + if (!result.isInitialized()) { + throw newUninitializedMessageException(result); + } + return result; + } + + @java.lang.Override + public com.google.cloud.aiplatform.v1beta1.FeatureOnlineStore.Optimized buildPartial() { + com.google.cloud.aiplatform.v1beta1.FeatureOnlineStore.Optimized result = + new com.google.cloud.aiplatform.v1beta1.FeatureOnlineStore.Optimized(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.FeatureOnlineStore.Optimized) { + return mergeFrom( + (com.google.cloud.aiplatform.v1beta1.FeatureOnlineStore.Optimized) other); + } else { + super.mergeFrom(other); + return this; + } + } + + public Builder mergeFrom( + com.google.cloud.aiplatform.v1beta1.FeatureOnlineStore.Optimized other) { + if (other + == com.google.cloud.aiplatform.v1beta1.FeatureOnlineStore.Optimized + .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.FeatureOnlineStore.Optimized) + } + + // @@protoc_insertion_point(class_scope:google.cloud.aiplatform.v1beta1.FeatureOnlineStore.Optimized) + private static final com.google.cloud.aiplatform.v1beta1.FeatureOnlineStore.Optimized + DEFAULT_INSTANCE; + + static { + DEFAULT_INSTANCE = new com.google.cloud.aiplatform.v1beta1.FeatureOnlineStore.Optimized(); + } + + public static com.google.cloud.aiplatform.v1beta1.FeatureOnlineStore.Optimized + getDefaultInstance() { + return DEFAULT_INSTANCE; + } + + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public Optimized 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.FeatureOnlineStore.Optimized + getDefaultInstanceForType() { + return DEFAULT_INSTANCE; + } + } + public interface DedicatedServingEndpointOrBuilder extends // @@protoc_insertion_point(interface_extends:google.cloud.aiplatform.v1beta1.FeatureOnlineStore.DedicatedServingEndpoint) @@ -1860,12 +2293,96 @@ public interface DedicatedServingEndpointOrBuilder * @return The bytes for publicEndpointDomainName. */ com.google.protobuf.ByteString getPublicEndpointDomainNameBytes(); + + /** + * + * + *
+     * Optional. Private service connect config.
+     * If
+     * [PrivateServiceConnectConfig.enable_private_service_connect][google.cloud.aiplatform.v1beta1.PrivateServiceConnectConfig.enable_private_service_connect]
+     * set to true, customers will use private service connection to send
+     * request. Otherwise, the connection will set to public endpoint.
+     * 
+ * + * + * .google.cloud.aiplatform.v1beta1.PrivateServiceConnectConfig private_service_connect_config = 3 [(.google.api.field_behavior) = OPTIONAL]; + * + * + * @return Whether the privateServiceConnectConfig field is set. + */ + boolean hasPrivateServiceConnectConfig(); + /** + * + * + *
+     * Optional. Private service connect config.
+     * If
+     * [PrivateServiceConnectConfig.enable_private_service_connect][google.cloud.aiplatform.v1beta1.PrivateServiceConnectConfig.enable_private_service_connect]
+     * set to true, customers will use private service connection to send
+     * request. Otherwise, the connection will set to public endpoint.
+     * 
+ * + * + * .google.cloud.aiplatform.v1beta1.PrivateServiceConnectConfig private_service_connect_config = 3 [(.google.api.field_behavior) = OPTIONAL]; + * + * + * @return The privateServiceConnectConfig. + */ + com.google.cloud.aiplatform.v1beta1.PrivateServiceConnectConfig + getPrivateServiceConnectConfig(); + /** + * + * + *
+     * Optional. Private service connect config.
+     * If
+     * [PrivateServiceConnectConfig.enable_private_service_connect][google.cloud.aiplatform.v1beta1.PrivateServiceConnectConfig.enable_private_service_connect]
+     * set to true, customers will use private service connection to send
+     * request. Otherwise, the connection will set to public endpoint.
+     * 
+ * + * + * .google.cloud.aiplatform.v1beta1.PrivateServiceConnectConfig private_service_connect_config = 3 [(.google.api.field_behavior) = OPTIONAL]; + * + */ + com.google.cloud.aiplatform.v1beta1.PrivateServiceConnectConfigOrBuilder + getPrivateServiceConnectConfigOrBuilder(); + + /** + * + * + *
+     * Output only. The name of the service attachment resource. Populated if
+     * private service connect is enabled and after FeatureViewSync is created.
+     * 
+ * + * string service_attachment = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * @return The serviceAttachment. + */ + java.lang.String getServiceAttachment(); + /** + * + * + *
+     * Output only. The name of the service attachment resource. Populated if
+     * private service connect is enabled and after FeatureViewSync is created.
+     * 
+ * + * string service_attachment = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * @return The bytes for serviceAttachment. + */ + com.google.protobuf.ByteString getServiceAttachmentBytes(); } /** * * *
-   * The dedicated serving endpoint for this FeatureOnlineStore.
+   * The dedicated serving endpoint for this FeatureOnlineStore. Only need to
+   * set when you choose Optimized storage type or enable EmbeddingManagement.
+   * Will use public endpoint by default.
    * 
* * Protobuf type {@code @@ -1883,6 +2400,7 @@ private DedicatedServingEndpoint(com.google.protobuf.GeneratedMessageV3.Builder< private DedicatedServingEndpoint() { publicEndpointDomainName_ = ""; + serviceAttachment_ = ""; } @java.lang.Override @@ -1962,6 +2480,130 @@ public com.google.protobuf.ByteString getPublicEndpointDomainNameBytes() { } } + public static final int PRIVATE_SERVICE_CONNECT_CONFIG_FIELD_NUMBER = 3; + private com.google.cloud.aiplatform.v1beta1.PrivateServiceConnectConfig + privateServiceConnectConfig_; + /** + * + * + *
+     * Optional. Private service connect config.
+     * If
+     * [PrivateServiceConnectConfig.enable_private_service_connect][google.cloud.aiplatform.v1beta1.PrivateServiceConnectConfig.enable_private_service_connect]
+     * set to true, customers will use private service connection to send
+     * request. Otherwise, the connection will set to public endpoint.
+     * 
+ * + * + * .google.cloud.aiplatform.v1beta1.PrivateServiceConnectConfig private_service_connect_config = 3 [(.google.api.field_behavior) = OPTIONAL]; + * + * + * @return Whether the privateServiceConnectConfig field is set. + */ + @java.lang.Override + public boolean hasPrivateServiceConnectConfig() { + return privateServiceConnectConfig_ != null; + } + /** + * + * + *
+     * Optional. Private service connect config.
+     * If
+     * [PrivateServiceConnectConfig.enable_private_service_connect][google.cloud.aiplatform.v1beta1.PrivateServiceConnectConfig.enable_private_service_connect]
+     * set to true, customers will use private service connection to send
+     * request. Otherwise, the connection will set to public endpoint.
+     * 
+ * + * + * .google.cloud.aiplatform.v1beta1.PrivateServiceConnectConfig private_service_connect_config = 3 [(.google.api.field_behavior) = OPTIONAL]; + * + * + * @return The privateServiceConnectConfig. + */ + @java.lang.Override + public com.google.cloud.aiplatform.v1beta1.PrivateServiceConnectConfig + getPrivateServiceConnectConfig() { + return privateServiceConnectConfig_ == null + ? com.google.cloud.aiplatform.v1beta1.PrivateServiceConnectConfig.getDefaultInstance() + : privateServiceConnectConfig_; + } + /** + * + * + *
+     * Optional. Private service connect config.
+     * If
+     * [PrivateServiceConnectConfig.enable_private_service_connect][google.cloud.aiplatform.v1beta1.PrivateServiceConnectConfig.enable_private_service_connect]
+     * set to true, customers will use private service connection to send
+     * request. Otherwise, the connection will set to public endpoint.
+     * 
+ * + * + * .google.cloud.aiplatform.v1beta1.PrivateServiceConnectConfig private_service_connect_config = 3 [(.google.api.field_behavior) = OPTIONAL]; + * + */ + @java.lang.Override + public com.google.cloud.aiplatform.v1beta1.PrivateServiceConnectConfigOrBuilder + getPrivateServiceConnectConfigOrBuilder() { + return privateServiceConnectConfig_ == null + ? com.google.cloud.aiplatform.v1beta1.PrivateServiceConnectConfig.getDefaultInstance() + : privateServiceConnectConfig_; + } + + public static final int SERVICE_ATTACHMENT_FIELD_NUMBER = 4; + + @SuppressWarnings("serial") + private volatile java.lang.Object serviceAttachment_ = ""; + /** + * + * + *
+     * Output only. The name of the service attachment resource. Populated if
+     * private service connect is enabled and after FeatureViewSync is created.
+     * 
+ * + * string service_attachment = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * @return The serviceAttachment. + */ + @java.lang.Override + public java.lang.String getServiceAttachment() { + java.lang.Object ref = serviceAttachment_; + 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(); + serviceAttachment_ = s; + return s; + } + } + /** + * + * + *
+     * Output only. The name of the service attachment resource. Populated if
+     * private service connect is enabled and after FeatureViewSync is created.
+     * 
+ * + * string service_attachment = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * @return The bytes for serviceAttachment. + */ + @java.lang.Override + public com.google.protobuf.ByteString getServiceAttachmentBytes() { + java.lang.Object ref = serviceAttachment_; + if (ref instanceof java.lang.String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + serviceAttachment_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + private byte memoizedIsInitialized = -1; @java.lang.Override @@ -1979,6 +2621,12 @@ public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(publicEndpointDomainName_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 2, publicEndpointDomainName_); } + if (privateServiceConnectConfig_ != null) { + output.writeMessage(3, getPrivateServiceConnectConfig()); + } + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(serviceAttachment_)) { + com.google.protobuf.GeneratedMessageV3.writeString(output, 4, serviceAttachment_); + } getUnknownFields().writeTo(output); } @@ -1992,6 +2640,14 @@ public int getSerializedSize() { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, publicEndpointDomainName_); } + if (privateServiceConnectConfig_ != null) { + size += + com.google.protobuf.CodedOutputStream.computeMessageSize( + 3, getPrivateServiceConnectConfig()); + } + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(serviceAttachment_)) { + size += com.google.protobuf.GeneratedMessageV3.computeStringSize(4, serviceAttachment_); + } size += getUnknownFields().getSerializedSize(); memoizedSize = size; return size; @@ -2011,6 +2667,12 @@ public boolean equals(final java.lang.Object obj) { (com.google.cloud.aiplatform.v1beta1.FeatureOnlineStore.DedicatedServingEndpoint) obj; if (!getPublicEndpointDomainName().equals(other.getPublicEndpointDomainName())) return false; + if (hasPrivateServiceConnectConfig() != other.hasPrivateServiceConnectConfig()) return false; + if (hasPrivateServiceConnectConfig()) { + if (!getPrivateServiceConnectConfig().equals(other.getPrivateServiceConnectConfig())) + return false; + } + if (!getServiceAttachment().equals(other.getServiceAttachment())) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -2024,6 +2686,12 @@ public int hashCode() { hash = (19 * hash) + getDescriptor().hashCode(); hash = (37 * hash) + PUBLIC_ENDPOINT_DOMAIN_NAME_FIELD_NUMBER; hash = (53 * hash) + getPublicEndpointDomainName().hashCode(); + if (hasPrivateServiceConnectConfig()) { + hash = (37 * hash) + PRIVATE_SERVICE_CONNECT_CONFIG_FIELD_NUMBER; + hash = (53 * hash) + getPrivateServiceConnectConfig().hashCode(); + } + hash = (37 * hash) + SERVICE_ATTACHMENT_FIELD_NUMBER; + hash = (53 * hash) + getServiceAttachment().hashCode(); hash = (29 * hash) + getUnknownFields().hashCode(); memoizedHashCode = hash; return hash; @@ -2136,7 +2804,9 @@ protected Builder newBuilderForType( * * *
-     * The dedicated serving endpoint for this FeatureOnlineStore.
+     * The dedicated serving endpoint for this FeatureOnlineStore. Only need to
+     * set when you choose Optimized storage type or enable EmbeddingManagement.
+     * Will use public endpoint by default.
      * 
* * Protobuf type {@code @@ -2177,6 +2847,12 @@ public Builder clear() { super.clear(); bitField0_ = 0; publicEndpointDomainName_ = ""; + privateServiceConnectConfig_ = null; + if (privateServiceConnectConfigBuilder_ != null) { + privateServiceConnectConfigBuilder_.dispose(); + privateServiceConnectConfigBuilder_ = null; + } + serviceAttachment_ = ""; return this; } @@ -2223,6 +2899,15 @@ private void buildPartial0( if (((from_bitField0_ & 0x00000001) != 0)) { result.publicEndpointDomainName_ = publicEndpointDomainName_; } + if (((from_bitField0_ & 0x00000002) != 0)) { + result.privateServiceConnectConfig_ = + privateServiceConnectConfigBuilder_ == null + ? privateServiceConnectConfig_ + : privateServiceConnectConfigBuilder_.build(); + } + if (((from_bitField0_ & 0x00000004) != 0)) { + result.serviceAttachment_ = serviceAttachment_; + } } @java.lang.Override @@ -2284,6 +2969,14 @@ public Builder mergeFrom( bitField0_ |= 0x00000001; onChanged(); } + if (other.hasPrivateServiceConnectConfig()) { + mergePrivateServiceConnectConfig(other.getPrivateServiceConnectConfig()); + } + if (!other.getServiceAttachment().isEmpty()) { + serviceAttachment_ = other.serviceAttachment_; + bitField0_ |= 0x00000004; + onChanged(); + } this.mergeUnknownFields(other.getUnknownFields()); onChanged(); return this; @@ -2316,6 +3009,19 @@ public Builder mergeFrom( bitField0_ |= 0x00000001; break; } // case 18 + case 26: + { + input.readMessage( + getPrivateServiceConnectConfigFieldBuilder().getBuilder(), extensionRegistry); + bitField0_ |= 0x00000002; + break; + } // case 26 + case 34: + { + serviceAttachment_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000004; + break; + } // case 34 default: { if (!super.parseUnknownField(input, extensionRegistry, tag)) { @@ -2451,6 +3157,363 @@ public Builder setPublicEndpointDomainNameBytes(com.google.protobuf.ByteString v return this; } + private com.google.cloud.aiplatform.v1beta1.PrivateServiceConnectConfig + privateServiceConnectConfig_; + private com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.aiplatform.v1beta1.PrivateServiceConnectConfig, + com.google.cloud.aiplatform.v1beta1.PrivateServiceConnectConfig.Builder, + com.google.cloud.aiplatform.v1beta1.PrivateServiceConnectConfigOrBuilder> + privateServiceConnectConfigBuilder_; + /** + * + * + *
+       * Optional. Private service connect config.
+       * If
+       * [PrivateServiceConnectConfig.enable_private_service_connect][google.cloud.aiplatform.v1beta1.PrivateServiceConnectConfig.enable_private_service_connect]
+       * set to true, customers will use private service connection to send
+       * request. Otherwise, the connection will set to public endpoint.
+       * 
+ * + * + * .google.cloud.aiplatform.v1beta1.PrivateServiceConnectConfig private_service_connect_config = 3 [(.google.api.field_behavior) = OPTIONAL]; + * + * + * @return Whether the privateServiceConnectConfig field is set. + */ + public boolean hasPrivateServiceConnectConfig() { + return ((bitField0_ & 0x00000002) != 0); + } + /** + * + * + *
+       * Optional. Private service connect config.
+       * If
+       * [PrivateServiceConnectConfig.enable_private_service_connect][google.cloud.aiplatform.v1beta1.PrivateServiceConnectConfig.enable_private_service_connect]
+       * set to true, customers will use private service connection to send
+       * request. Otherwise, the connection will set to public endpoint.
+       * 
+ * + * + * .google.cloud.aiplatform.v1beta1.PrivateServiceConnectConfig private_service_connect_config = 3 [(.google.api.field_behavior) = OPTIONAL]; + * + * + * @return The privateServiceConnectConfig. + */ + public com.google.cloud.aiplatform.v1beta1.PrivateServiceConnectConfig + getPrivateServiceConnectConfig() { + if (privateServiceConnectConfigBuilder_ == null) { + return privateServiceConnectConfig_ == null + ? com.google.cloud.aiplatform.v1beta1.PrivateServiceConnectConfig.getDefaultInstance() + : privateServiceConnectConfig_; + } else { + return privateServiceConnectConfigBuilder_.getMessage(); + } + } + /** + * + * + *
+       * Optional. Private service connect config.
+       * If
+       * [PrivateServiceConnectConfig.enable_private_service_connect][google.cloud.aiplatform.v1beta1.PrivateServiceConnectConfig.enable_private_service_connect]
+       * set to true, customers will use private service connection to send
+       * request. Otherwise, the connection will set to public endpoint.
+       * 
+ * + * + * .google.cloud.aiplatform.v1beta1.PrivateServiceConnectConfig private_service_connect_config = 3 [(.google.api.field_behavior) = OPTIONAL]; + * + */ + public Builder setPrivateServiceConnectConfig( + com.google.cloud.aiplatform.v1beta1.PrivateServiceConnectConfig value) { + if (privateServiceConnectConfigBuilder_ == null) { + if (value == null) { + throw new NullPointerException(); + } + privateServiceConnectConfig_ = value; + } else { + privateServiceConnectConfigBuilder_.setMessage(value); + } + bitField0_ |= 0x00000002; + onChanged(); + return this; + } + /** + * + * + *
+       * Optional. Private service connect config.
+       * If
+       * [PrivateServiceConnectConfig.enable_private_service_connect][google.cloud.aiplatform.v1beta1.PrivateServiceConnectConfig.enable_private_service_connect]
+       * set to true, customers will use private service connection to send
+       * request. Otherwise, the connection will set to public endpoint.
+       * 
+ * + * + * .google.cloud.aiplatform.v1beta1.PrivateServiceConnectConfig private_service_connect_config = 3 [(.google.api.field_behavior) = OPTIONAL]; + * + */ + public Builder setPrivateServiceConnectConfig( + com.google.cloud.aiplatform.v1beta1.PrivateServiceConnectConfig.Builder builderForValue) { + if (privateServiceConnectConfigBuilder_ == null) { + privateServiceConnectConfig_ = builderForValue.build(); + } else { + privateServiceConnectConfigBuilder_.setMessage(builderForValue.build()); + } + bitField0_ |= 0x00000002; + onChanged(); + return this; + } + /** + * + * + *
+       * Optional. Private service connect config.
+       * If
+       * [PrivateServiceConnectConfig.enable_private_service_connect][google.cloud.aiplatform.v1beta1.PrivateServiceConnectConfig.enable_private_service_connect]
+       * set to true, customers will use private service connection to send
+       * request. Otherwise, the connection will set to public endpoint.
+       * 
+ * + * + * .google.cloud.aiplatform.v1beta1.PrivateServiceConnectConfig private_service_connect_config = 3 [(.google.api.field_behavior) = OPTIONAL]; + * + */ + public Builder mergePrivateServiceConnectConfig( + com.google.cloud.aiplatform.v1beta1.PrivateServiceConnectConfig value) { + if (privateServiceConnectConfigBuilder_ == null) { + if (((bitField0_ & 0x00000002) != 0) + && privateServiceConnectConfig_ != null + && privateServiceConnectConfig_ + != com.google.cloud.aiplatform.v1beta1.PrivateServiceConnectConfig + .getDefaultInstance()) { + getPrivateServiceConnectConfigBuilder().mergeFrom(value); + } else { + privateServiceConnectConfig_ = value; + } + } else { + privateServiceConnectConfigBuilder_.mergeFrom(value); + } + bitField0_ |= 0x00000002; + onChanged(); + return this; + } + /** + * + * + *
+       * Optional. Private service connect config.
+       * If
+       * [PrivateServiceConnectConfig.enable_private_service_connect][google.cloud.aiplatform.v1beta1.PrivateServiceConnectConfig.enable_private_service_connect]
+       * set to true, customers will use private service connection to send
+       * request. Otherwise, the connection will set to public endpoint.
+       * 
+ * + * + * .google.cloud.aiplatform.v1beta1.PrivateServiceConnectConfig private_service_connect_config = 3 [(.google.api.field_behavior) = OPTIONAL]; + * + */ + public Builder clearPrivateServiceConnectConfig() { + bitField0_ = (bitField0_ & ~0x00000002); + privateServiceConnectConfig_ = null; + if (privateServiceConnectConfigBuilder_ != null) { + privateServiceConnectConfigBuilder_.dispose(); + privateServiceConnectConfigBuilder_ = null; + } + onChanged(); + return this; + } + /** + * + * + *
+       * Optional. Private service connect config.
+       * If
+       * [PrivateServiceConnectConfig.enable_private_service_connect][google.cloud.aiplatform.v1beta1.PrivateServiceConnectConfig.enable_private_service_connect]
+       * set to true, customers will use private service connection to send
+       * request. Otherwise, the connection will set to public endpoint.
+       * 
+ * + * + * .google.cloud.aiplatform.v1beta1.PrivateServiceConnectConfig private_service_connect_config = 3 [(.google.api.field_behavior) = OPTIONAL]; + * + */ + public com.google.cloud.aiplatform.v1beta1.PrivateServiceConnectConfig.Builder + getPrivateServiceConnectConfigBuilder() { + bitField0_ |= 0x00000002; + onChanged(); + return getPrivateServiceConnectConfigFieldBuilder().getBuilder(); + } + /** + * + * + *
+       * Optional. Private service connect config.
+       * If
+       * [PrivateServiceConnectConfig.enable_private_service_connect][google.cloud.aiplatform.v1beta1.PrivateServiceConnectConfig.enable_private_service_connect]
+       * set to true, customers will use private service connection to send
+       * request. Otherwise, the connection will set to public endpoint.
+       * 
+ * + * + * .google.cloud.aiplatform.v1beta1.PrivateServiceConnectConfig private_service_connect_config = 3 [(.google.api.field_behavior) = OPTIONAL]; + * + */ + public com.google.cloud.aiplatform.v1beta1.PrivateServiceConnectConfigOrBuilder + getPrivateServiceConnectConfigOrBuilder() { + if (privateServiceConnectConfigBuilder_ != null) { + return privateServiceConnectConfigBuilder_.getMessageOrBuilder(); + } else { + return privateServiceConnectConfig_ == null + ? com.google.cloud.aiplatform.v1beta1.PrivateServiceConnectConfig.getDefaultInstance() + : privateServiceConnectConfig_; + } + } + /** + * + * + *
+       * Optional. Private service connect config.
+       * If
+       * [PrivateServiceConnectConfig.enable_private_service_connect][google.cloud.aiplatform.v1beta1.PrivateServiceConnectConfig.enable_private_service_connect]
+       * set to true, customers will use private service connection to send
+       * request. Otherwise, the connection will set to public endpoint.
+       * 
+ * + * + * .google.cloud.aiplatform.v1beta1.PrivateServiceConnectConfig private_service_connect_config = 3 [(.google.api.field_behavior) = OPTIONAL]; + * + */ + private com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.aiplatform.v1beta1.PrivateServiceConnectConfig, + com.google.cloud.aiplatform.v1beta1.PrivateServiceConnectConfig.Builder, + com.google.cloud.aiplatform.v1beta1.PrivateServiceConnectConfigOrBuilder> + getPrivateServiceConnectConfigFieldBuilder() { + if (privateServiceConnectConfigBuilder_ == null) { + privateServiceConnectConfigBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.aiplatform.v1beta1.PrivateServiceConnectConfig, + com.google.cloud.aiplatform.v1beta1.PrivateServiceConnectConfig.Builder, + com.google.cloud.aiplatform.v1beta1.PrivateServiceConnectConfigOrBuilder>( + getPrivateServiceConnectConfig(), getParentForChildren(), isClean()); + privateServiceConnectConfig_ = null; + } + return privateServiceConnectConfigBuilder_; + } + + private java.lang.Object serviceAttachment_ = ""; + /** + * + * + *
+       * Output only. The name of the service attachment resource. Populated if
+       * private service connect is enabled and after FeatureViewSync is created.
+       * 
+ * + * string service_attachment = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * @return The serviceAttachment. + */ + public java.lang.String getServiceAttachment() { + java.lang.Object ref = serviceAttachment_; + if (!(ref instanceof java.lang.String)) { + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + serviceAttachment_ = s; + return s; + } else { + return (java.lang.String) ref; + } + } + /** + * + * + *
+       * Output only. The name of the service attachment resource. Populated if
+       * private service connect is enabled and after FeatureViewSync is created.
+       * 
+ * + * string service_attachment = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * @return The bytes for serviceAttachment. + */ + public com.google.protobuf.ByteString getServiceAttachmentBytes() { + java.lang.Object ref = serviceAttachment_; + if (ref instanceof String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + serviceAttachment_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + /** + * + * + *
+       * Output only. The name of the service attachment resource. Populated if
+       * private service connect is enabled and after FeatureViewSync is created.
+       * 
+ * + * string service_attachment = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * @param value The serviceAttachment to set. + * @return This builder for chaining. + */ + public Builder setServiceAttachment(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } + serviceAttachment_ = value; + bitField0_ |= 0x00000004; + onChanged(); + return this; + } + /** + * + * + *
+       * Output only. The name of the service attachment resource. Populated if
+       * private service connect is enabled and after FeatureViewSync is created.
+       * 
+ * + * string service_attachment = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * @return This builder for chaining. + */ + public Builder clearServiceAttachment() { + serviceAttachment_ = getDefaultInstance().getServiceAttachment(); + bitField0_ = (bitField0_ & ~0x00000004); + onChanged(); + return this; + } + /** + * + * + *
+       * Output only. The name of the service attachment resource. Populated if
+       * private service connect is enabled and after FeatureViewSync is created.
+       * 
+ * + * string service_attachment = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * @param value The bytes for serviceAttachment to set. + * @return This builder for chaining. + */ + public Builder setServiceAttachmentBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + serviceAttachment_ = value; + bitField0_ |= 0x00000004; + onChanged(); + return this; + } + @java.lang.Override public final Builder setUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { @@ -3113,6 +4176,7 @@ public enum StorageTypeCase com.google.protobuf.Internal.EnumLite, com.google.protobuf.AbstractMessage.InternalOneOfEnum { BIGTABLE(8), + OPTIMIZED(12), STORAGETYPE_NOT_SET(0); private final int value; @@ -3133,6 +4197,8 @@ public static StorageTypeCase forNumber(int value) { switch (value) { case 8: return BIGTABLE; + case 12: + return OPTIMIZED; case 0: return STORAGETYPE_NOT_SET; default: @@ -3207,6 +4273,70 @@ public com.google.cloud.aiplatform.v1beta1.FeatureOnlineStore.Bigtable getBigtab return com.google.cloud.aiplatform.v1beta1.FeatureOnlineStore.Bigtable.getDefaultInstance(); } + public static final int OPTIMIZED_FIELD_NUMBER = 12; + /** + * + * + *
+   * Contains settings for the Optimized store that will be created
+   * to serve featureValues for all FeatureViews under this
+   * FeatureOnlineStore. When choose Optimized storage type, need to set
+   * [PrivateServiceConnectConfig.enable_private_service_connect][google.cloud.aiplatform.v1beta1.PrivateServiceConnectConfig.enable_private_service_connect]
+   * to use private endpoint. Otherwise will use public endpoint by default.
+   * 
+ * + * .google.cloud.aiplatform.v1beta1.FeatureOnlineStore.Optimized optimized = 12; + * + * @return Whether the optimized field is set. + */ + @java.lang.Override + public boolean hasOptimized() { + return storageTypeCase_ == 12; + } + /** + * + * + *
+   * Contains settings for the Optimized store that will be created
+   * to serve featureValues for all FeatureViews under this
+   * FeatureOnlineStore. When choose Optimized storage type, need to set
+   * [PrivateServiceConnectConfig.enable_private_service_connect][google.cloud.aiplatform.v1beta1.PrivateServiceConnectConfig.enable_private_service_connect]
+   * to use private endpoint. Otherwise will use public endpoint by default.
+   * 
+ * + * .google.cloud.aiplatform.v1beta1.FeatureOnlineStore.Optimized optimized = 12; + * + * @return The optimized. + */ + @java.lang.Override + public com.google.cloud.aiplatform.v1beta1.FeatureOnlineStore.Optimized getOptimized() { + if (storageTypeCase_ == 12) { + return (com.google.cloud.aiplatform.v1beta1.FeatureOnlineStore.Optimized) storageType_; + } + return com.google.cloud.aiplatform.v1beta1.FeatureOnlineStore.Optimized.getDefaultInstance(); + } + /** + * + * + *
+   * Contains settings for the Optimized store that will be created
+   * to serve featureValues for all FeatureViews under this
+   * FeatureOnlineStore. When choose Optimized storage type, need to set
+   * [PrivateServiceConnectConfig.enable_private_service_connect][google.cloud.aiplatform.v1beta1.PrivateServiceConnectConfig.enable_private_service_connect]
+   * to use private endpoint. Otherwise will use public endpoint by default.
+   * 
+ * + * .google.cloud.aiplatform.v1beta1.FeatureOnlineStore.Optimized optimized = 12; + */ + @java.lang.Override + public com.google.cloud.aiplatform.v1beta1.FeatureOnlineStore.OptimizedOrBuilder + getOptimizedOrBuilder() { + if (storageTypeCase_ == 12) { + return (com.google.cloud.aiplatform.v1beta1.FeatureOnlineStore.Optimized) storageType_; + } + return com.google.cloud.aiplatform.v1beta1.FeatureOnlineStore.Optimized.getDefaultInstance(); + } + public static final int NAME_FIELD_NUMBER = 1; @SuppressWarnings("serial") @@ -3762,6 +4892,10 @@ public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io if (embeddingManagement_ != null) { output.writeMessage(11, getEmbeddingManagement()); } + if (storageTypeCase_ == 12) { + output.writeMessage( + 12, (com.google.cloud.aiplatform.v1beta1.FeatureOnlineStore.Optimized) storageType_); + } getUnknownFields().writeTo(output); } @@ -3812,6 +4946,11 @@ public int getSerializedSize() { size += com.google.protobuf.CodedOutputStream.computeMessageSize(11, getEmbeddingManagement()); } + if (storageTypeCase_ == 12) { + size += + com.google.protobuf.CodedOutputStream.computeMessageSize( + 12, (com.google.cloud.aiplatform.v1beta1.FeatureOnlineStore.Optimized) storageType_); + } size += getUnknownFields().getSerializedSize(); memoizedSize = size; return size; @@ -3853,6 +4992,9 @@ public boolean equals(final java.lang.Object obj) { case 8: if (!getBigtable().equals(other.getBigtable())) return false; break; + case 12: + if (!getOptimized().equals(other.getOptimized())) return false; + break; case 0: default: } @@ -3898,6 +5040,10 @@ public int hashCode() { hash = (37 * hash) + BIGTABLE_FIELD_NUMBER; hash = (53 * hash) + getBigtable().hashCode(); break; + case 12: + hash = (37 * hash) + OPTIMIZED_FIELD_NUMBER; + hash = (53 * hash) + getOptimized().hashCode(); + break; case 0: default: } @@ -4066,6 +5212,9 @@ public Builder clear() { if (bigtableBuilder_ != null) { bigtableBuilder_.clear(); } + if (optimizedBuilder_ != null) { + optimizedBuilder_.clear(); + } name_ = ""; createTime_ = null; if (createTimeBuilder_ != null) { @@ -4129,32 +5278,32 @@ public com.google.cloud.aiplatform.v1beta1.FeatureOnlineStore buildPartial() { private void buildPartial0(com.google.cloud.aiplatform.v1beta1.FeatureOnlineStore result) { int from_bitField0_ = bitField0_; - if (((from_bitField0_ & 0x00000002) != 0)) { + if (((from_bitField0_ & 0x00000004) != 0)) { result.name_ = name_; } - if (((from_bitField0_ & 0x00000004) != 0)) { + if (((from_bitField0_ & 0x00000008) != 0)) { result.createTime_ = createTimeBuilder_ == null ? createTime_ : createTimeBuilder_.build(); } - if (((from_bitField0_ & 0x00000008) != 0)) { + if (((from_bitField0_ & 0x00000010) != 0)) { result.updateTime_ = updateTimeBuilder_ == null ? updateTime_ : updateTimeBuilder_.build(); } - if (((from_bitField0_ & 0x00000010) != 0)) { + if (((from_bitField0_ & 0x00000020) != 0)) { result.etag_ = etag_; } - if (((from_bitField0_ & 0x00000020) != 0)) { + if (((from_bitField0_ & 0x00000040) != 0)) { result.labels_ = internalGetLabels(); result.labels_.makeImmutable(); } - if (((from_bitField0_ & 0x00000040) != 0)) { + if (((from_bitField0_ & 0x00000080) != 0)) { result.state_ = state_; } - if (((from_bitField0_ & 0x00000080) != 0)) { + if (((from_bitField0_ & 0x00000100) != 0)) { result.dedicatedServingEndpoint_ = dedicatedServingEndpointBuilder_ == null ? dedicatedServingEndpoint_ : dedicatedServingEndpointBuilder_.build(); } - if (((from_bitField0_ & 0x00000100) != 0)) { + if (((from_bitField0_ & 0x00000200) != 0)) { result.embeddingManagement_ = embeddingManagementBuilder_ == null ? embeddingManagement_ @@ -4168,6 +5317,9 @@ private void buildPartialOneofs(com.google.cloud.aiplatform.v1beta1.FeatureOnlin if (storageTypeCase_ == 8 && bigtableBuilder_ != null) { result.storageType_ = bigtableBuilder_.build(); } + if (storageTypeCase_ == 12 && optimizedBuilder_ != null) { + result.storageType_ = optimizedBuilder_.build(); + } } @java.lang.Override @@ -4218,7 +5370,7 @@ public Builder mergeFrom(com.google.cloud.aiplatform.v1beta1.FeatureOnlineStore return this; if (!other.getName().isEmpty()) { name_ = other.name_; - bitField0_ |= 0x00000002; + bitField0_ |= 0x00000004; onChanged(); } if (other.hasCreateTime()) { @@ -4229,11 +5381,11 @@ public Builder mergeFrom(com.google.cloud.aiplatform.v1beta1.FeatureOnlineStore } if (!other.getEtag().isEmpty()) { etag_ = other.etag_; - bitField0_ |= 0x00000010; + bitField0_ |= 0x00000020; onChanged(); } internalGetMutableLabels().mergeFrom(other.internalGetLabels()); - bitField0_ |= 0x00000020; + bitField0_ |= 0x00000040; if (other.state_ != 0) { setStateValue(other.getStateValue()); } @@ -4249,6 +5401,11 @@ public Builder mergeFrom(com.google.cloud.aiplatform.v1beta1.FeatureOnlineStore mergeBigtable(other.getBigtable()); break; } + case OPTIMIZED: + { + mergeOptimized(other.getOptimized()); + break; + } case STORAGETYPE_NOT_SET: { break; @@ -4283,25 +5440,25 @@ public Builder mergeFrom( case 10: { name_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000002; + bitField0_ |= 0x00000004; break; } // case 10 case 26: { input.readMessage(getCreateTimeFieldBuilder().getBuilder(), extensionRegistry); - bitField0_ |= 0x00000004; + bitField0_ |= 0x00000008; break; } // case 26 case 34: { input.readMessage(getUpdateTimeFieldBuilder().getBuilder(), extensionRegistry); - bitField0_ |= 0x00000008; + bitField0_ |= 0x00000010; break; } // case 34 case 42: { etag_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000010; + bitField0_ |= 0x00000020; break; } // case 42 case 50: @@ -4313,13 +5470,13 @@ public Builder mergeFrom( internalGetMutableLabels() .getMutableMap() .put(labels__.getKey(), labels__.getValue()); - bitField0_ |= 0x00000020; + bitField0_ |= 0x00000040; break; } // case 50 case 56: { state_ = input.readEnum(); - bitField0_ |= 0x00000040; + bitField0_ |= 0x00000080; break; } // case 56 case 66: @@ -4332,16 +5489,22 @@ public Builder mergeFrom( { input.readMessage( getDedicatedServingEndpointFieldBuilder().getBuilder(), extensionRegistry); - bitField0_ |= 0x00000080; + bitField0_ |= 0x00000100; break; } // case 82 case 90: { input.readMessage( getEmbeddingManagementFieldBuilder().getBuilder(), extensionRegistry); - bitField0_ |= 0x00000100; + bitField0_ |= 0x00000200; break; } // case 90 + case 98: + { + input.readMessage(getOptimizedFieldBuilder().getBuilder(), extensionRegistry); + storageTypeCase_ = 12; + break; + } // case 98 default: { if (!super.parseUnknownField(input, extensionRegistry, tag)) { @@ -4610,6 +5773,262 @@ public Builder clearBigtable() { return bigtableBuilder_; } + private com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.aiplatform.v1beta1.FeatureOnlineStore.Optimized, + com.google.cloud.aiplatform.v1beta1.FeatureOnlineStore.Optimized.Builder, + com.google.cloud.aiplatform.v1beta1.FeatureOnlineStore.OptimizedOrBuilder> + optimizedBuilder_; + /** + * + * + *
+     * Contains settings for the Optimized store that will be created
+     * to serve featureValues for all FeatureViews under this
+     * FeatureOnlineStore. When choose Optimized storage type, need to set
+     * [PrivateServiceConnectConfig.enable_private_service_connect][google.cloud.aiplatform.v1beta1.PrivateServiceConnectConfig.enable_private_service_connect]
+     * to use private endpoint. Otherwise will use public endpoint by default.
+     * 
+ * + * .google.cloud.aiplatform.v1beta1.FeatureOnlineStore.Optimized optimized = 12; + * + * @return Whether the optimized field is set. + */ + @java.lang.Override + public boolean hasOptimized() { + return storageTypeCase_ == 12; + } + /** + * + * + *
+     * Contains settings for the Optimized store that will be created
+     * to serve featureValues for all FeatureViews under this
+     * FeatureOnlineStore. When choose Optimized storage type, need to set
+     * [PrivateServiceConnectConfig.enable_private_service_connect][google.cloud.aiplatform.v1beta1.PrivateServiceConnectConfig.enable_private_service_connect]
+     * to use private endpoint. Otherwise will use public endpoint by default.
+     * 
+ * + * .google.cloud.aiplatform.v1beta1.FeatureOnlineStore.Optimized optimized = 12; + * + * @return The optimized. + */ + @java.lang.Override + public com.google.cloud.aiplatform.v1beta1.FeatureOnlineStore.Optimized getOptimized() { + if (optimizedBuilder_ == null) { + if (storageTypeCase_ == 12) { + return (com.google.cloud.aiplatform.v1beta1.FeatureOnlineStore.Optimized) storageType_; + } + return com.google.cloud.aiplatform.v1beta1.FeatureOnlineStore.Optimized + .getDefaultInstance(); + } else { + if (storageTypeCase_ == 12) { + return optimizedBuilder_.getMessage(); + } + return com.google.cloud.aiplatform.v1beta1.FeatureOnlineStore.Optimized + .getDefaultInstance(); + } + } + /** + * + * + *
+     * Contains settings for the Optimized store that will be created
+     * to serve featureValues for all FeatureViews under this
+     * FeatureOnlineStore. When choose Optimized storage type, need to set
+     * [PrivateServiceConnectConfig.enable_private_service_connect][google.cloud.aiplatform.v1beta1.PrivateServiceConnectConfig.enable_private_service_connect]
+     * to use private endpoint. Otherwise will use public endpoint by default.
+     * 
+ * + * .google.cloud.aiplatform.v1beta1.FeatureOnlineStore.Optimized optimized = 12; + */ + public Builder setOptimized( + com.google.cloud.aiplatform.v1beta1.FeatureOnlineStore.Optimized value) { + if (optimizedBuilder_ == null) { + if (value == null) { + throw new NullPointerException(); + } + storageType_ = value; + onChanged(); + } else { + optimizedBuilder_.setMessage(value); + } + storageTypeCase_ = 12; + return this; + } + /** + * + * + *
+     * Contains settings for the Optimized store that will be created
+     * to serve featureValues for all FeatureViews under this
+     * FeatureOnlineStore. When choose Optimized storage type, need to set
+     * [PrivateServiceConnectConfig.enable_private_service_connect][google.cloud.aiplatform.v1beta1.PrivateServiceConnectConfig.enable_private_service_connect]
+     * to use private endpoint. Otherwise will use public endpoint by default.
+     * 
+ * + * .google.cloud.aiplatform.v1beta1.FeatureOnlineStore.Optimized optimized = 12; + */ + public Builder setOptimized( + com.google.cloud.aiplatform.v1beta1.FeatureOnlineStore.Optimized.Builder builderForValue) { + if (optimizedBuilder_ == null) { + storageType_ = builderForValue.build(); + onChanged(); + } else { + optimizedBuilder_.setMessage(builderForValue.build()); + } + storageTypeCase_ = 12; + return this; + } + /** + * + * + *
+     * Contains settings for the Optimized store that will be created
+     * to serve featureValues for all FeatureViews under this
+     * FeatureOnlineStore. When choose Optimized storage type, need to set
+     * [PrivateServiceConnectConfig.enable_private_service_connect][google.cloud.aiplatform.v1beta1.PrivateServiceConnectConfig.enable_private_service_connect]
+     * to use private endpoint. Otherwise will use public endpoint by default.
+     * 
+ * + * .google.cloud.aiplatform.v1beta1.FeatureOnlineStore.Optimized optimized = 12; + */ + public Builder mergeOptimized( + com.google.cloud.aiplatform.v1beta1.FeatureOnlineStore.Optimized value) { + if (optimizedBuilder_ == null) { + if (storageTypeCase_ == 12 + && storageType_ + != com.google.cloud.aiplatform.v1beta1.FeatureOnlineStore.Optimized + .getDefaultInstance()) { + storageType_ = + com.google.cloud.aiplatform.v1beta1.FeatureOnlineStore.Optimized.newBuilder( + (com.google.cloud.aiplatform.v1beta1.FeatureOnlineStore.Optimized) + storageType_) + .mergeFrom(value) + .buildPartial(); + } else { + storageType_ = value; + } + onChanged(); + } else { + if (storageTypeCase_ == 12) { + optimizedBuilder_.mergeFrom(value); + } else { + optimizedBuilder_.setMessage(value); + } + } + storageTypeCase_ = 12; + return this; + } + /** + * + * + *
+     * Contains settings for the Optimized store that will be created
+     * to serve featureValues for all FeatureViews under this
+     * FeatureOnlineStore. When choose Optimized storage type, need to set
+     * [PrivateServiceConnectConfig.enable_private_service_connect][google.cloud.aiplatform.v1beta1.PrivateServiceConnectConfig.enable_private_service_connect]
+     * to use private endpoint. Otherwise will use public endpoint by default.
+     * 
+ * + * .google.cloud.aiplatform.v1beta1.FeatureOnlineStore.Optimized optimized = 12; + */ + public Builder clearOptimized() { + if (optimizedBuilder_ == null) { + if (storageTypeCase_ == 12) { + storageTypeCase_ = 0; + storageType_ = null; + onChanged(); + } + } else { + if (storageTypeCase_ == 12) { + storageTypeCase_ = 0; + storageType_ = null; + } + optimizedBuilder_.clear(); + } + return this; + } + /** + * + * + *
+     * Contains settings for the Optimized store that will be created
+     * to serve featureValues for all FeatureViews under this
+     * FeatureOnlineStore. When choose Optimized storage type, need to set
+     * [PrivateServiceConnectConfig.enable_private_service_connect][google.cloud.aiplatform.v1beta1.PrivateServiceConnectConfig.enable_private_service_connect]
+     * to use private endpoint. Otherwise will use public endpoint by default.
+     * 
+ * + * .google.cloud.aiplatform.v1beta1.FeatureOnlineStore.Optimized optimized = 12; + */ + public com.google.cloud.aiplatform.v1beta1.FeatureOnlineStore.Optimized.Builder + getOptimizedBuilder() { + return getOptimizedFieldBuilder().getBuilder(); + } + /** + * + * + *
+     * Contains settings for the Optimized store that will be created
+     * to serve featureValues for all FeatureViews under this
+     * FeatureOnlineStore. When choose Optimized storage type, need to set
+     * [PrivateServiceConnectConfig.enable_private_service_connect][google.cloud.aiplatform.v1beta1.PrivateServiceConnectConfig.enable_private_service_connect]
+     * to use private endpoint. Otherwise will use public endpoint by default.
+     * 
+ * + * .google.cloud.aiplatform.v1beta1.FeatureOnlineStore.Optimized optimized = 12; + */ + @java.lang.Override + public com.google.cloud.aiplatform.v1beta1.FeatureOnlineStore.OptimizedOrBuilder + getOptimizedOrBuilder() { + if ((storageTypeCase_ == 12) && (optimizedBuilder_ != null)) { + return optimizedBuilder_.getMessageOrBuilder(); + } else { + if (storageTypeCase_ == 12) { + return (com.google.cloud.aiplatform.v1beta1.FeatureOnlineStore.Optimized) storageType_; + } + return com.google.cloud.aiplatform.v1beta1.FeatureOnlineStore.Optimized + .getDefaultInstance(); + } + } + /** + * + * + *
+     * Contains settings for the Optimized store that will be created
+     * to serve featureValues for all FeatureViews under this
+     * FeatureOnlineStore. When choose Optimized storage type, need to set
+     * [PrivateServiceConnectConfig.enable_private_service_connect][google.cloud.aiplatform.v1beta1.PrivateServiceConnectConfig.enable_private_service_connect]
+     * to use private endpoint. Otherwise will use public endpoint by default.
+     * 
+ * + * .google.cloud.aiplatform.v1beta1.FeatureOnlineStore.Optimized optimized = 12; + */ + private com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.aiplatform.v1beta1.FeatureOnlineStore.Optimized, + com.google.cloud.aiplatform.v1beta1.FeatureOnlineStore.Optimized.Builder, + com.google.cloud.aiplatform.v1beta1.FeatureOnlineStore.OptimizedOrBuilder> + getOptimizedFieldBuilder() { + if (optimizedBuilder_ == null) { + if (!(storageTypeCase_ == 12)) { + storageType_ = + com.google.cloud.aiplatform.v1beta1.FeatureOnlineStore.Optimized.getDefaultInstance(); + } + optimizedBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.aiplatform.v1beta1.FeatureOnlineStore.Optimized, + com.google.cloud.aiplatform.v1beta1.FeatureOnlineStore.Optimized.Builder, + com.google.cloud.aiplatform.v1beta1.FeatureOnlineStore.OptimizedOrBuilder>( + (com.google.cloud.aiplatform.v1beta1.FeatureOnlineStore.Optimized) storageType_, + getParentForChildren(), + isClean()); + storageType_ = null; + } + storageTypeCase_ = 12; + onChanged(); + return optimizedBuilder_; + } + private java.lang.Object name_ = ""; /** * @@ -4675,7 +6094,7 @@ public Builder setName(java.lang.String value) { throw new NullPointerException(); } name_ = value; - bitField0_ |= 0x00000002; + bitField0_ |= 0x00000004; onChanged(); return this; } @@ -4693,7 +6112,7 @@ public Builder setName(java.lang.String value) { */ public Builder clearName() { name_ = getDefaultInstance().getName(); - bitField0_ = (bitField0_ & ~0x00000002); + bitField0_ = (bitField0_ & ~0x00000004); onChanged(); return this; } @@ -4716,7 +6135,7 @@ public Builder setNameBytes(com.google.protobuf.ByteString value) { } checkByteStringIsUtf8(value); name_ = value; - bitField0_ |= 0x00000002; + bitField0_ |= 0x00000004; onChanged(); return this; } @@ -4741,7 +6160,7 @@ public Builder setNameBytes(com.google.protobuf.ByteString value) { * @return Whether the createTime field is set. */ public boolean hasCreateTime() { - return ((bitField0_ & 0x00000004) != 0); + return ((bitField0_ & 0x00000008) != 0); } /** * @@ -4785,7 +6204,7 @@ public Builder setCreateTime(com.google.protobuf.Timestamp value) { } else { createTimeBuilder_.setMessage(value); } - bitField0_ |= 0x00000004; + bitField0_ |= 0x00000008; onChanged(); return this; } @@ -4806,7 +6225,7 @@ public Builder setCreateTime(com.google.protobuf.Timestamp.Builder builderForVal } else { createTimeBuilder_.setMessage(builderForValue.build()); } - bitField0_ |= 0x00000004; + bitField0_ |= 0x00000008; onChanged(); return this; } @@ -4823,7 +6242,7 @@ public Builder setCreateTime(com.google.protobuf.Timestamp.Builder builderForVal */ public Builder mergeCreateTime(com.google.protobuf.Timestamp value) { if (createTimeBuilder_ == null) { - if (((bitField0_ & 0x00000004) != 0) + if (((bitField0_ & 0x00000008) != 0) && createTime_ != null && createTime_ != com.google.protobuf.Timestamp.getDefaultInstance()) { getCreateTimeBuilder().mergeFrom(value); @@ -4833,7 +6252,7 @@ public Builder mergeCreateTime(com.google.protobuf.Timestamp value) { } else { createTimeBuilder_.mergeFrom(value); } - bitField0_ |= 0x00000004; + bitField0_ |= 0x00000008; onChanged(); return this; } @@ -4849,7 +6268,7 @@ public Builder mergeCreateTime(com.google.protobuf.Timestamp value) { * */ public Builder clearCreateTime() { - bitField0_ = (bitField0_ & ~0x00000004); + bitField0_ = (bitField0_ & ~0x00000008); createTime_ = null; if (createTimeBuilder_ != null) { createTimeBuilder_.dispose(); @@ -4870,7 +6289,7 @@ public Builder clearCreateTime() { * */ public com.google.protobuf.Timestamp.Builder getCreateTimeBuilder() { - bitField0_ |= 0x00000004; + bitField0_ |= 0x00000008; onChanged(); return getCreateTimeFieldBuilder().getBuilder(); } @@ -4942,7 +6361,7 @@ public com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder() { * @return Whether the updateTime field is set. */ public boolean hasUpdateTime() { - return ((bitField0_ & 0x00000008) != 0); + return ((bitField0_ & 0x00000010) != 0); } /** * @@ -4986,7 +6405,7 @@ public Builder setUpdateTime(com.google.protobuf.Timestamp value) { } else { updateTimeBuilder_.setMessage(value); } - bitField0_ |= 0x00000008; + bitField0_ |= 0x00000010; onChanged(); return this; } @@ -5007,7 +6426,7 @@ public Builder setUpdateTime(com.google.protobuf.Timestamp.Builder builderForVal } else { updateTimeBuilder_.setMessage(builderForValue.build()); } - bitField0_ |= 0x00000008; + bitField0_ |= 0x00000010; onChanged(); return this; } @@ -5024,7 +6443,7 @@ public Builder setUpdateTime(com.google.protobuf.Timestamp.Builder builderForVal */ public Builder mergeUpdateTime(com.google.protobuf.Timestamp value) { if (updateTimeBuilder_ == null) { - if (((bitField0_ & 0x00000008) != 0) + if (((bitField0_ & 0x00000010) != 0) && updateTime_ != null && updateTime_ != com.google.protobuf.Timestamp.getDefaultInstance()) { getUpdateTimeBuilder().mergeFrom(value); @@ -5034,7 +6453,7 @@ public Builder mergeUpdateTime(com.google.protobuf.Timestamp value) { } else { updateTimeBuilder_.mergeFrom(value); } - bitField0_ |= 0x00000008; + bitField0_ |= 0x00000010; onChanged(); return this; } @@ -5050,7 +6469,7 @@ public Builder mergeUpdateTime(com.google.protobuf.Timestamp value) { * */ public Builder clearUpdateTime() { - bitField0_ = (bitField0_ & ~0x00000008); + bitField0_ = (bitField0_ & ~0x00000010); updateTime_ = null; if (updateTimeBuilder_ != null) { updateTimeBuilder_.dispose(); @@ -5071,7 +6490,7 @@ public Builder clearUpdateTime() { * */ public com.google.protobuf.Timestamp.Builder getUpdateTimeBuilder() { - bitField0_ |= 0x00000008; + bitField0_ |= 0x00000010; onChanged(); return getUpdateTimeFieldBuilder().getBuilder(); } @@ -5188,7 +6607,7 @@ public Builder setEtag(java.lang.String value) { throw new NullPointerException(); } etag_ = value; - bitField0_ |= 0x00000010; + bitField0_ |= 0x00000020; onChanged(); return this; } @@ -5206,7 +6625,7 @@ public Builder setEtag(java.lang.String value) { */ public Builder clearEtag() { etag_ = getDefaultInstance().getEtag(); - bitField0_ = (bitField0_ & ~0x00000010); + bitField0_ = (bitField0_ & ~0x00000020); onChanged(); return this; } @@ -5229,7 +6648,7 @@ public Builder setEtagBytes(com.google.protobuf.ByteString value) { } checkByteStringIsUtf8(value); etag_ = value; - bitField0_ |= 0x00000010; + bitField0_ |= 0x00000020; onChanged(); return this; } @@ -5251,7 +6670,7 @@ private com.google.protobuf.MapField interna if (!labels_.isMutable()) { labels_ = labels_.copy(); } - bitField0_ |= 0x00000020; + bitField0_ |= 0x00000040; onChanged(); return labels_; } @@ -5376,7 +6795,7 @@ public java.lang.String getLabelsOrThrow(java.lang.String key) { } public Builder clearLabels() { - bitField0_ = (bitField0_ & ~0x00000020); + bitField0_ = (bitField0_ & ~0x00000040); internalGetMutableLabels().getMutableMap().clear(); return this; } @@ -5409,7 +6828,7 @@ public Builder removeLabels(java.lang.String key) { /** Use alternate mutation accessors instead. */ @java.lang.Deprecated public java.util.Map getMutableLabels() { - bitField0_ |= 0x00000020; + bitField0_ |= 0x00000040; return internalGetMutableLabels().getMutableMap(); } /** @@ -5439,7 +6858,7 @@ public Builder putLabels(java.lang.String key, java.lang.String value) { throw new NullPointerException("map value"); } internalGetMutableLabels().getMutableMap().put(key, value); - bitField0_ |= 0x00000020; + bitField0_ |= 0x00000040; return this; } /** @@ -5463,7 +6882,7 @@ public Builder putLabels(java.lang.String key, java.lang.String value) { */ public Builder putAllLabels(java.util.Map values) { internalGetMutableLabels().getMutableMap().putAll(values); - bitField0_ |= 0x00000020; + bitField0_ |= 0x00000040; return this; } @@ -5501,7 +6920,7 @@ public int getStateValue() { */ public Builder setStateValue(int value) { state_ = value; - bitField0_ |= 0x00000040; + bitField0_ |= 0x00000080; onChanged(); return this; } @@ -5544,7 +6963,7 @@ public Builder setState(com.google.cloud.aiplatform.v1beta1.FeatureOnlineStore.S if (value == null) { throw new NullPointerException(); } - bitField0_ |= 0x00000040; + bitField0_ |= 0x00000080; state_ = value.getNumber(); onChanged(); return this; @@ -5563,7 +6982,7 @@ public Builder setState(com.google.cloud.aiplatform.v1beta1.FeatureOnlineStore.S * @return This builder for chaining. */ public Builder clearState() { - bitField0_ = (bitField0_ & ~0x00000040); + bitField0_ = (bitField0_ & ~0x00000080); state_ = 0; onChanged(); return this; @@ -5592,7 +7011,7 @@ public Builder clearState() { * @return Whether the dedicatedServingEndpoint field is set. */ public boolean hasDedicatedServingEndpoint() { - return ((bitField0_ & 0x00000080) != 0); + return ((bitField0_ & 0x00000100) != 0); } /** * @@ -5641,7 +7060,7 @@ public Builder setDedicatedServingEndpoint( } else { dedicatedServingEndpointBuilder_.setMessage(value); } - bitField0_ |= 0x00000080; + bitField0_ |= 0x00000100; onChanged(); return this; } @@ -5665,7 +7084,7 @@ public Builder setDedicatedServingEndpoint( } else { dedicatedServingEndpointBuilder_.setMessage(builderForValue.build()); } - bitField0_ |= 0x00000080; + bitField0_ |= 0x00000100; onChanged(); return this; } @@ -5684,7 +7103,7 @@ public Builder setDedicatedServingEndpoint( public Builder mergeDedicatedServingEndpoint( com.google.cloud.aiplatform.v1beta1.FeatureOnlineStore.DedicatedServingEndpoint value) { if (dedicatedServingEndpointBuilder_ == null) { - if (((bitField0_ & 0x00000080) != 0) + if (((bitField0_ & 0x00000100) != 0) && dedicatedServingEndpoint_ != null && dedicatedServingEndpoint_ != com.google.cloud.aiplatform.v1beta1.FeatureOnlineStore.DedicatedServingEndpoint @@ -5696,7 +7115,7 @@ public Builder mergeDedicatedServingEndpoint( } else { dedicatedServingEndpointBuilder_.mergeFrom(value); } - bitField0_ |= 0x00000080; + bitField0_ |= 0x00000100; onChanged(); return this; } @@ -5713,7 +7132,7 @@ public Builder mergeDedicatedServingEndpoint( * */ public Builder clearDedicatedServingEndpoint() { - bitField0_ = (bitField0_ & ~0x00000080); + bitField0_ = (bitField0_ & ~0x00000100); dedicatedServingEndpoint_ = null; if (dedicatedServingEndpointBuilder_ != null) { dedicatedServingEndpointBuilder_.dispose(); @@ -5736,7 +7155,7 @@ public Builder clearDedicatedServingEndpoint() { */ public com.google.cloud.aiplatform.v1beta1.FeatureOnlineStore.DedicatedServingEndpoint.Builder getDedicatedServingEndpointBuilder() { - bitField0_ |= 0x00000080; + bitField0_ |= 0x00000100; onChanged(); return getDedicatedServingEndpointFieldBuilder().getBuilder(); } @@ -5816,7 +7235,7 @@ public Builder clearDedicatedServingEndpoint() { * @return Whether the embeddingManagement field is set. */ public boolean hasEmbeddingManagement() { - return ((bitField0_ & 0x00000100) != 0); + return ((bitField0_ & 0x00000200) != 0); } /** * @@ -5863,7 +7282,7 @@ public Builder setEmbeddingManagement( } else { embeddingManagementBuilder_.setMessage(value); } - bitField0_ |= 0x00000100; + bitField0_ |= 0x00000200; onChanged(); return this; } @@ -5886,7 +7305,7 @@ public Builder setEmbeddingManagement( } else { embeddingManagementBuilder_.setMessage(builderForValue.build()); } - bitField0_ |= 0x00000100; + bitField0_ |= 0x00000200; onChanged(); return this; } @@ -5904,7 +7323,7 @@ public Builder setEmbeddingManagement( public Builder mergeEmbeddingManagement( com.google.cloud.aiplatform.v1beta1.FeatureOnlineStore.EmbeddingManagement value) { if (embeddingManagementBuilder_ == null) { - if (((bitField0_ & 0x00000100) != 0) + if (((bitField0_ & 0x00000200) != 0) && embeddingManagement_ != null && embeddingManagement_ != com.google.cloud.aiplatform.v1beta1.FeatureOnlineStore.EmbeddingManagement @@ -5916,7 +7335,7 @@ public Builder mergeEmbeddingManagement( } else { embeddingManagementBuilder_.mergeFrom(value); } - bitField0_ |= 0x00000100; + bitField0_ |= 0x00000200; onChanged(); return this; } @@ -5932,7 +7351,7 @@ public Builder mergeEmbeddingManagement( * */ public Builder clearEmbeddingManagement() { - bitField0_ = (bitField0_ & ~0x00000100); + bitField0_ = (bitField0_ & ~0x00000200); embeddingManagement_ = null; if (embeddingManagementBuilder_ != null) { embeddingManagementBuilder_.dispose(); @@ -5954,7 +7373,7 @@ public Builder clearEmbeddingManagement() { */ public com.google.cloud.aiplatform.v1beta1.FeatureOnlineStore.EmbeddingManagement.Builder getEmbeddingManagementBuilder() { - bitField0_ |= 0x00000100; + bitField0_ |= 0x00000200; onChanged(); return getEmbeddingManagementFieldBuilder().getBuilder(); } diff --git a/java-aiplatform/proto-google-cloud-aiplatform-v1beta1/src/main/java/com/google/cloud/aiplatform/v1beta1/FeatureOnlineStoreOrBuilder.java b/java-aiplatform/proto-google-cloud-aiplatform-v1beta1/src/main/java/com/google/cloud/aiplatform/v1beta1/FeatureOnlineStoreOrBuilder.java index 03c094470851..3629eff89495 100644 --- a/java-aiplatform/proto-google-cloud-aiplatform-v1beta1/src/main/java/com/google/cloud/aiplatform/v1beta1/FeatureOnlineStoreOrBuilder.java +++ b/java-aiplatform/proto-google-cloud-aiplatform-v1beta1/src/main/java/com/google/cloud/aiplatform/v1beta1/FeatureOnlineStoreOrBuilder.java @@ -64,6 +64,53 @@ public interface FeatureOnlineStoreOrBuilder */ com.google.cloud.aiplatform.v1beta1.FeatureOnlineStore.BigtableOrBuilder getBigtableOrBuilder(); + /** + * + * + *
+   * Contains settings for the Optimized store that will be created
+   * to serve featureValues for all FeatureViews under this
+   * FeatureOnlineStore. When choose Optimized storage type, need to set
+   * [PrivateServiceConnectConfig.enable_private_service_connect][google.cloud.aiplatform.v1beta1.PrivateServiceConnectConfig.enable_private_service_connect]
+   * to use private endpoint. Otherwise will use public endpoint by default.
+   * 
+ * + * .google.cloud.aiplatform.v1beta1.FeatureOnlineStore.Optimized optimized = 12; + * + * @return Whether the optimized field is set. + */ + boolean hasOptimized(); + /** + * + * + *
+   * Contains settings for the Optimized store that will be created
+   * to serve featureValues for all FeatureViews under this
+   * FeatureOnlineStore. When choose Optimized storage type, need to set
+   * [PrivateServiceConnectConfig.enable_private_service_connect][google.cloud.aiplatform.v1beta1.PrivateServiceConnectConfig.enable_private_service_connect]
+   * to use private endpoint. Otherwise will use public endpoint by default.
+   * 
+ * + * .google.cloud.aiplatform.v1beta1.FeatureOnlineStore.Optimized optimized = 12; + * + * @return The optimized. + */ + com.google.cloud.aiplatform.v1beta1.FeatureOnlineStore.Optimized getOptimized(); + /** + * + * + *
+   * Contains settings for the Optimized store that will be created
+   * to serve featureValues for all FeatureViews under this
+   * FeatureOnlineStore. When choose Optimized storage type, need to set
+   * [PrivateServiceConnectConfig.enable_private_service_connect][google.cloud.aiplatform.v1beta1.PrivateServiceConnectConfig.enable_private_service_connect]
+   * to use private endpoint. Otherwise will use public endpoint by default.
+   * 
+ * + * .google.cloud.aiplatform.v1beta1.FeatureOnlineStore.Optimized optimized = 12; + */ + com.google.cloud.aiplatform.v1beta1.FeatureOnlineStore.OptimizedOrBuilder getOptimizedOrBuilder(); + /** * * diff --git a/java-aiplatform/proto-google-cloud-aiplatform-v1beta1/src/main/java/com/google/cloud/aiplatform/v1beta1/FeatureOnlineStoreProto.java b/java-aiplatform/proto-google-cloud-aiplatform-v1beta1/src/main/java/com/google/cloud/aiplatform/v1beta1/FeatureOnlineStoreProto.java index 52d142a272ba..aa798f0c2f37 100644 --- a/java-aiplatform/proto-google-cloud-aiplatform-v1beta1/src/main/java/com/google/cloud/aiplatform/v1beta1/FeatureOnlineStoreProto.java +++ b/java-aiplatform/proto-google-cloud-aiplatform-v1beta1/src/main/java/com/google/cloud/aiplatform/v1beta1/FeatureOnlineStoreProto.java @@ -39,6 +39,10 @@ public static void registerAllExtensions(com.google.protobuf.ExtensionRegistry r internal_static_google_cloud_aiplatform_v1beta1_FeatureOnlineStore_Bigtable_AutoScaling_descriptor; static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internal_static_google_cloud_aiplatform_v1beta1_FeatureOnlineStore_Bigtable_AutoScaling_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_aiplatform_v1beta1_FeatureOnlineStore_Optimized_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_aiplatform_v1beta1_FeatureOnlineStore_Optimized_fieldAccessorTable; static final com.google.protobuf.Descriptors.Descriptor internal_static_google_cloud_aiplatform_v1beta1_FeatureOnlineStore_DedicatedServingEndpoint_descriptor; static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable @@ -63,46 +67,53 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { "\n:google/cloud/aiplatform/v1beta1/featur" + "e_online_store.proto\022\037google.cloud.aipla" + "tform.v1beta1\032\037google/api/field_behavior" - + ".proto\032\031google/api/resource.proto\032\037googl" - + "e/protobuf/timestamp.proto\"\344\t\n\022FeatureOn" - + "lineStore\022P\n\010bigtable\030\010 \001(\0132<.google.clo" - + "ud.aiplatform.v1beta1.FeatureOnlineStore" - + ".BigtableH\000\022\022\n\004name\030\001 \001(\tB\004\342A\001\003\0225\n\013creat" - + "e_time\030\003 \001(\0132\032.google.protobuf.Timestamp" - + "B\004\342A\001\003\0225\n\013update_time\030\004 \001(\0132\032.google.pro" - + "tobuf.TimestampB\004\342A\001\003\022\022\n\004etag\030\005 \001(\tB\004\342A\001" - + "\001\022U\n\006labels\030\006 \003(\0132?.google.cloud.aiplatf" - + "orm.v1beta1.FeatureOnlineStore.LabelsEnt" - + "ryB\004\342A\001\001\022N\n\005state\030\007 \001(\01629.google.cloud.a" - + "iplatform.v1beta1.FeatureOnlineStore.Sta" - + "teB\004\342A\001\003\022v\n\032dedicated_serving_endpoint\030\n" - + " \001(\0132L.google.cloud.aiplatform.v1beta1.F" - + "eatureOnlineStore.DedicatedServingEndpoi" - + "ntB\004\342A\001\001\022k\n\024embedding_management\030\013 \001(\0132G" - + ".google.cloud.aiplatform.v1beta1.Feature" - + "OnlineStore.EmbeddingManagementB\004\342A\001\001\032\341\001" - + "\n\010Bigtable\022d\n\014auto_scaling\030\001 \001(\0132H.googl" - + "e.cloud.aiplatform.v1beta1.FeatureOnline" - + "Store.Bigtable.AutoScalingB\004\342A\001\002\032o\n\013Auto" - + "Scaling\022\034\n\016min_node_count\030\001 \001(\005B\004\342A\001\002\022\034\n" - + "\016max_node_count\030\002 \001(\005B\004\342A\001\002\022$\n\026cpu_utili" - + "zation_target\030\003 \001(\005B\004\342A\001\001\032E\n\030DedicatedSe" - + "rvingEndpoint\022)\n\033public_endpoint_domain_" - + "name\030\002 \001(\tB\004\342A\001\003\032-\n\023EmbeddingManagement\022" - + "\026\n\007enabled\030\001 \001(\010B\005\342A\002\001\005\032-\n\013LabelsEntry\022\013" - + "\n\003key\030\001 \001(\t\022\r\n\005value\030\002 \001(\t:\0028\001\"8\n\005State\022" - + "\025\n\021STATE_UNSPECIFIED\020\000\022\n\n\006STABLE\020\001\022\014\n\010UP" - + "DATING\020\002:\206\001\352A\202\001\n,aiplatform.googleapis.c" - + "om/FeatureOnlineStore\022Rprojects/{project" - + "}/locations/{location}/featureOnlineStor" - + "es/{feature_online_store}B\016\n\014storage_typ" - + "eB\356\001\n#com.google.cloud.aiplatform.v1beta" - + "1B\027FeatureOnlineStoreProtoP\001ZCcloud.goog" - + "le.com/go/aiplatform/apiv1beta1/aiplatfo" - + "rmpb;aiplatformpb\252\002\037Google.Cloud.AIPlatf" - + "orm.V1Beta1\312\002\037Google\\Cloud\\AIPlatform\\V1" - + "beta1\352\002\"Google::Cloud::AIPlatform::V1bet" - + "a1b\006proto3" + + ".proto\032\031google/api/resource.proto\0328googl" + + "e/cloud/aiplatform/v1beta1/service_netwo" + + "rking.proto\032\037google/protobuf/timestamp.p" + + "roto\"\324\013\n\022FeatureOnlineStore\022P\n\010bigtable\030" + + "\010 \001(\0132<.google.cloud.aiplatform.v1beta1." + + "FeatureOnlineStore.BigtableH\000\022R\n\toptimiz" + + "ed\030\014 \001(\0132=.google.cloud.aiplatform.v1bet" + + "a1.FeatureOnlineStore.OptimizedH\000\022\022\n\004nam" + + "e\030\001 \001(\tB\004\342A\001\003\0225\n\013create_time\030\003 \001(\0132\032.goo" + + "gle.protobuf.TimestampB\004\342A\001\003\0225\n\013update_t" + + "ime\030\004 \001(\0132\032.google.protobuf.TimestampB\004\342" + + "A\001\003\022\022\n\004etag\030\005 \001(\tB\004\342A\001\001\022U\n\006labels\030\006 \003(\0132" + + "?.google.cloud.aiplatform.v1beta1.Featur" + + "eOnlineStore.LabelsEntryB\004\342A\001\001\022N\n\005state\030" + + "\007 \001(\01629.google.cloud.aiplatform.v1beta1." + + "FeatureOnlineStore.StateB\004\342A\001\003\022v\n\032dedica" + + "ted_serving_endpoint\030\n \001(\0132L.google.clou" + + "d.aiplatform.v1beta1.FeatureOnlineStore." + + "DedicatedServingEndpointB\004\342A\001\001\022k\n\024embedd" + + "ing_management\030\013 \001(\0132G.google.cloud.aipl" + + "atform.v1beta1.FeatureOnlineStore.Embedd" + + "ingManagementB\004\342A\001\001\032\341\001\n\010Bigtable\022d\n\014auto" + + "_scaling\030\001 \001(\0132H.google.cloud.aiplatform" + + ".v1beta1.FeatureOnlineStore.Bigtable.Aut" + + "oScalingB\004\342A\001\002\032o\n\013AutoScaling\022\034\n\016min_nod" + + "e_count\030\001 \001(\005B\004\342A\001\002\022\034\n\016max_node_count\030\002 " + + "\001(\005B\004\342A\001\002\022$\n\026cpu_utilization_target\030\003 \001(" + + "\005B\004\342A\001\001\032\013\n\tOptimized\032\323\001\n\030DedicatedServin" + + "gEndpoint\022)\n\033public_endpoint_domain_name" + + "\030\002 \001(\tB\004\342A\001\003\022j\n\036private_service_connect_" + + "config\030\003 \001(\0132<.google.cloud.aiplatform.v" + + "1beta1.PrivateServiceConnectConfigB\004\342A\001\001" + + "\022 \n\022service_attachment\030\004 \001(\tB\004\342A\001\003\032-\n\023Em" + + "beddingManagement\022\026\n\007enabled\030\001 \001(\010B\005\342A\002\001" + + "\005\032-\n\013LabelsEntry\022\013\n\003key\030\001 \001(\t\022\r\n\005value\030\002" + + " \001(\t:\0028\001\"8\n\005State\022\025\n\021STATE_UNSPECIFIED\020\000" + + "\022\n\n\006STABLE\020\001\022\014\n\010UPDATING\020\002:\206\001\352A\202\001\n,aipla" + + "tform.googleapis.com/FeatureOnlineStore\022" + + "Rprojects/{project}/locations/{location}" + + "/featureOnlineStores/{feature_online_sto" + + "re}B\016\n\014storage_typeB\356\001\n#com.google.cloud" + + ".aiplatform.v1beta1B\027FeatureOnlineStoreP" + + "rotoP\001ZCcloud.google.com/go/aiplatform/a" + + "piv1beta1/aiplatformpb;aiplatformpb\252\002\037Go" + + "ogle.Cloud.AIPlatform.V1Beta1\312\002\037Google\\C" + + "loud\\AIPlatform\\V1beta1\352\002\"Google::Cloud:" + + ":AIPlatform::V1beta1b\006proto3" }; descriptor = com.google.protobuf.Descriptors.FileDescriptor.internalBuildGeneratedFileFrom( @@ -110,6 +121,7 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { new com.google.protobuf.Descriptors.FileDescriptor[] { com.google.api.FieldBehaviorProto.getDescriptor(), com.google.api.ResourceProto.getDescriptor(), + com.google.cloud.aiplatform.v1beta1.ServiceNetworkingProto.getDescriptor(), com.google.protobuf.TimestampProto.getDescriptor(), }); internal_static_google_cloud_aiplatform_v1beta1_FeatureOnlineStore_descriptor = @@ -119,6 +131,7 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { internal_static_google_cloud_aiplatform_v1beta1_FeatureOnlineStore_descriptor, new java.lang.String[] { "Bigtable", + "Optimized", "Name", "CreateTime", "UpdateTime", @@ -149,20 +162,28 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { new java.lang.String[] { "MinNodeCount", "MaxNodeCount", "CpuUtilizationTarget", }); - internal_static_google_cloud_aiplatform_v1beta1_FeatureOnlineStore_DedicatedServingEndpoint_descriptor = + internal_static_google_cloud_aiplatform_v1beta1_FeatureOnlineStore_Optimized_descriptor = internal_static_google_cloud_aiplatform_v1beta1_FeatureOnlineStore_descriptor .getNestedTypes() .get(1); + internal_static_google_cloud_aiplatform_v1beta1_FeatureOnlineStore_Optimized_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_aiplatform_v1beta1_FeatureOnlineStore_Optimized_descriptor, + new java.lang.String[] {}); + internal_static_google_cloud_aiplatform_v1beta1_FeatureOnlineStore_DedicatedServingEndpoint_descriptor = + internal_static_google_cloud_aiplatform_v1beta1_FeatureOnlineStore_descriptor + .getNestedTypes() + .get(2); internal_static_google_cloud_aiplatform_v1beta1_FeatureOnlineStore_DedicatedServingEndpoint_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_aiplatform_v1beta1_FeatureOnlineStore_DedicatedServingEndpoint_descriptor, new java.lang.String[] { - "PublicEndpointDomainName", + "PublicEndpointDomainName", "PrivateServiceConnectConfig", "ServiceAttachment", }); internal_static_google_cloud_aiplatform_v1beta1_FeatureOnlineStore_EmbeddingManagement_descriptor = internal_static_google_cloud_aiplatform_v1beta1_FeatureOnlineStore_descriptor .getNestedTypes() - .get(2); + .get(3); internal_static_google_cloud_aiplatform_v1beta1_FeatureOnlineStore_EmbeddingManagement_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_aiplatform_v1beta1_FeatureOnlineStore_EmbeddingManagement_descriptor, @@ -172,7 +193,7 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { internal_static_google_cloud_aiplatform_v1beta1_FeatureOnlineStore_LabelsEntry_descriptor = internal_static_google_cloud_aiplatform_v1beta1_FeatureOnlineStore_descriptor .getNestedTypes() - .get(3); + .get(4); internal_static_google_cloud_aiplatform_v1beta1_FeatureOnlineStore_LabelsEntry_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_aiplatform_v1beta1_FeatureOnlineStore_LabelsEntry_descriptor, @@ -187,6 +208,7 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { descriptor, registry); com.google.api.FieldBehaviorProto.getDescriptor(); com.google.api.ResourceProto.getDescriptor(); + com.google.cloud.aiplatform.v1beta1.ServiceNetworkingProto.getDescriptor(); com.google.protobuf.TimestampProto.getDescriptor(); } diff --git a/java-aiplatform/proto-google-cloud-aiplatform-v1beta1/src/main/proto/google/cloud/aiplatform/v1beta1/feature_online_store.proto b/java-aiplatform/proto-google-cloud-aiplatform-v1beta1/src/main/proto/google/cloud/aiplatform/v1beta1/feature_online_store.proto index b8b45a25b9b7..c1609aabc7a7 100644 --- a/java-aiplatform/proto-google-cloud-aiplatform-v1beta1/src/main/proto/google/cloud/aiplatform/v1beta1/feature_online_store.proto +++ b/java-aiplatform/proto-google-cloud-aiplatform-v1beta1/src/main/proto/google/cloud/aiplatform/v1beta1/feature_online_store.proto @@ -18,6 +18,7 @@ package google.cloud.aiplatform.v1beta1; import "google/api/field_behavior.proto"; import "google/api/resource.proto"; +import "google/cloud/aiplatform/v1beta1/service_networking.proto"; import "google/protobuf/timestamp.proto"; option csharp_namespace = "Google.Cloud.AIPlatform.V1Beta1"; @@ -60,12 +61,29 @@ message FeatureOnlineStore { AutoScaling auto_scaling = 1 [(google.api.field_behavior) = REQUIRED]; } - // The dedicated serving endpoint for this FeatureOnlineStore. + // Optimized storage type to replace lightning + message Optimized {} + + // The dedicated serving endpoint for this FeatureOnlineStore. Only need to + // set when you choose Optimized storage type or enable EmbeddingManagement. + // Will use public endpoint by default. message DedicatedServingEndpoint { // Output only. This field will be populated with the domain name to use for // this FeatureOnlineStore string public_endpoint_domain_name = 2 [(google.api.field_behavior) = OUTPUT_ONLY]; + + // Optional. Private service connect config. + // If + // [PrivateServiceConnectConfig.enable_private_service_connect][google.cloud.aiplatform.v1beta1.PrivateServiceConnectConfig.enable_private_service_connect] + // set to true, customers will use private service connection to send + // request. Otherwise, the connection will set to public endpoint. + PrivateServiceConnectConfig private_service_connect_config = 3 + [(google.api.field_behavior) = OPTIONAL]; + + // Output only. The name of the service attachment resource. Populated if + // private service connect is enabled and after FeatureViewSync is created. + string service_attachment = 4 [(google.api.field_behavior) = OUTPUT_ONLY]; } // Contains settings for embedding management. @@ -101,6 +119,13 @@ message FeatureOnlineStore { // to serve featureValues for all FeatureViews under this // FeatureOnlineStore. Bigtable bigtable = 8; + + // Contains settings for the Optimized store that will be created + // to serve featureValues for all FeatureViews under this + // FeatureOnlineStore. When choose Optimized storage type, need to set + // [PrivateServiceConnectConfig.enable_private_service_connect][google.cloud.aiplatform.v1beta1.PrivateServiceConnectConfig.enable_private_service_connect] + // to use private endpoint. Otherwise will use public endpoint by default. + Optimized optimized = 12; } // Output only. Name of the FeatureOnlineStore. Format: