diff --git a/README.md b/README.md index 62e7a01ee..2b85af9b6 100644 --- a/README.md +++ b/README.md @@ -45,13 +45,13 @@ implementation 'com.google.cloud:google-cloud-aiplatform' If you are using Gradle without BOM, add this to your dependencies: ```Groovy -implementation 'com.google.cloud:google-cloud-aiplatform:3.1.0' +implementation 'com.google.cloud:google-cloud-aiplatform:3.2.0' ``` If you are using SBT, add this to your dependencies: ```Scala -libraryDependencies += "com.google.cloud" % "google-cloud-aiplatform" % "3.1.0" +libraryDependencies += "com.google.cloud" % "google-cloud-aiplatform" % "3.2.0" ``` ## Authentication diff --git a/google-cloud-aiplatform/src/main/java/com/google/cloud/aiplatform/v1beta1/FeaturestoreOnlineServingServiceClient.java b/google-cloud-aiplatform/src/main/java/com/google/cloud/aiplatform/v1beta1/FeaturestoreOnlineServingServiceClient.java index 19208a11a..0135bb4b3 100644 --- a/google-cloud-aiplatform/src/main/java/com/google/cloud/aiplatform/v1beta1/FeaturestoreOnlineServingServiceClient.java +++ b/google-cloud-aiplatform/src/main/java/com/google/cloud/aiplatform/v1beta1/FeaturestoreOnlineServingServiceClient.java @@ -335,6 +335,153 @@ public final ReadFeatureValuesResponse readFeatureValues(ReadFeatureValuesReques return stub.streamingReadFeatureValuesCallable(); } + // AUTO-GENERATED DOCUMENTATION AND METHOD. + /** + * Writes Feature values of one or more entities of an EntityType. + * + *
The Feature values are merged into existing entities if any. The Feature values to be + * written must have timestamp within the online storage retention. + * + *
Sample code: + * + *
{@code + * // This snippet has been automatically generated for illustrative purposes only. + * // It may require modifications to work in your environment. + * try (FeaturestoreOnlineServingServiceClient featurestoreOnlineServingServiceClient = + * FeaturestoreOnlineServingServiceClient.create()) { + * EntityTypeName entityType = + * EntityTypeName.of("[PROJECT]", "[LOCATION]", "[FEATURESTORE]", "[ENTITY_TYPE]"); + * List+ * + * @param entityType Required. The resource name of the EntityType for the entities being written. + * Value format: `projects/{project}/locations/{location}/featurestores/ + * {featurestore}/entityTypes/{entityType}`. For example, for a machine learning model + * predicting user clicks on a website, an EntityType ID could be `user`. + * @param payloads Required. The entities to be written. Up to 100,000 feature values can be + * written across all `payloads`. + * @throws com.google.api.gax.rpc.ApiException if the remote call fails + */ + public final WriteFeatureValuesResponse writeFeatureValues( + EntityTypeName entityType, Listpayloads = new ArrayList<>(); + * WriteFeatureValuesResponse response = + * featurestoreOnlineServingServiceClient.writeFeatureValues(entityType, payloads); + * } + * }
The Feature values are merged into existing entities if any. The Feature values to be + * written must have timestamp within the online storage retention. + * + *
Sample code: + * + *
{@code + * // This snippet has been automatically generated for illustrative purposes only. + * // It may require modifications to work in your environment. + * try (FeaturestoreOnlineServingServiceClient featurestoreOnlineServingServiceClient = + * FeaturestoreOnlineServingServiceClient.create()) { + * String entityType = + * EntityTypeName.of("[PROJECT]", "[LOCATION]", "[FEATURESTORE]", "[ENTITY_TYPE]") + * .toString(); + * List+ * + * @param entityType Required. The resource name of the EntityType for the entities being written. + * Value format: `projects/{project}/locations/{location}/featurestores/ + * {featurestore}/entityTypes/{entityType}`. For example, for a machine learning model + * predicting user clicks on a website, an EntityType ID could be `user`. + * @param payloads Required. The entities to be written. Up to 100,000 feature values can be + * written across all `payloads`. + * @throws com.google.api.gax.rpc.ApiException if the remote call fails + */ + public final WriteFeatureValuesResponse writeFeatureValues( + String entityType, Listpayloads = new ArrayList<>(); + * WriteFeatureValuesResponse response = + * featurestoreOnlineServingServiceClient.writeFeatureValues(entityType, payloads); + * } + * }
The Feature values are merged into existing entities if any. The Feature values to be + * written must have timestamp within the online storage retention. + * + *
Sample code: + * + *
{@code + * // This snippet has been automatically generated for illustrative purposes only. + * // It may require modifications to work in your environment. + * try (FeaturestoreOnlineServingServiceClient featurestoreOnlineServingServiceClient = + * FeaturestoreOnlineServingServiceClient.create()) { + * WriteFeatureValuesRequest request = + * WriteFeatureValuesRequest.newBuilder() + * .setEntityType( + * EntityTypeName.of("[PROJECT]", "[LOCATION]", "[FEATURESTORE]", "[ENTITY_TYPE]") + * .toString()) + * .addAllPayloads(new ArrayList+ * + * @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 WriteFeatureValuesResponse writeFeatureValues(WriteFeatureValuesRequest request) { + return writeFeatureValuesCallable().call(request); + } + + // AUTO-GENERATED DOCUMENTATION AND METHOD. + /** + * Writes Feature values of one or more entities of an EntityType. + * + *()) + * .build(); + * WriteFeatureValuesResponse response = + * featurestoreOnlineServingServiceClient.writeFeatureValues(request); + * } + * }
The Feature values are merged into existing entities if any. The Feature values to be + * written must have timestamp within the online storage retention. + * + *
Sample code: + * + *
{@code + * // This snippet has been automatically generated for illustrative purposes only. + * // It may require modifications to work in your environment. + * try (FeaturestoreOnlineServingServiceClient featurestoreOnlineServingServiceClient = + * FeaturestoreOnlineServingServiceClient.create()) { + * WriteFeatureValuesRequest request = + * WriteFeatureValuesRequest.newBuilder() + * .setEntityType( + * EntityTypeName.of("[PROJECT]", "[LOCATION]", "[FEATURESTORE]", "[ENTITY_TYPE]") + * .toString()) + * .addAllPayloads(new ArrayList+ */ + public final UnaryCallable()) + * .build(); + * ApiFuture future = + * featurestoreOnlineServingServiceClient.writeFeatureValuesCallable().futureCall(request); + * // Do something. + * WriteFeatureValuesResponse response = future.get(); + * } + * }
+ * Writes Feature values of one or more entities of an EntityType. + * The Feature values are merged into existing entities if any. The Feature + * values to be written must have timestamp within the online storage + * retention. + *+ */ + public void writeFeatureValues( + com.google.cloud.aiplatform.v1beta1.WriteFeatureValuesRequest request, + io.grpc.stub.StreamObserver
+ * Writes Feature values of one or more entities of an EntityType. + * The Feature values are merged into existing entities if any. The Feature + * values to be written must have timestamp within the online storage + * retention. + *+ */ + public void writeFeatureValues( + com.google.cloud.aiplatform.v1beta1.WriteFeatureValuesRequest request, + io.grpc.stub.StreamObserver
+ * Writes Feature values of one or more entities of an EntityType. + * The Feature values are merged into existing entities if any. The Feature + * values to be written must have timestamp within the online storage + * retention. + *+ */ + public com.google.cloud.aiplatform.v1beta1.WriteFeatureValuesResponse writeFeatureValues( + com.google.cloud.aiplatform.v1beta1.WriteFeatureValuesRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getWriteFeatureValuesMethod(), getCallOptions(), request); + } } /** @@ -394,10 +507,28 @@ protected FeaturestoreOnlineServingServiceFutureStub build( return io.grpc.stub.ClientCalls.futureUnaryCall( getChannel().newCall(getReadFeatureValuesMethod(), getCallOptions()), request); } + + /** + * + * + *
+ * Writes Feature values of one or more entities of an EntityType. + * The Feature values are merged into existing entities if any. The Feature + * values to be written must have timestamp within the online storage + * retention. + *+ */ + public com.google.common.util.concurrent.ListenableFuture< + com.google.cloud.aiplatform.v1beta1.WriteFeatureValuesResponse> + writeFeatureValues(com.google.cloud.aiplatform.v1beta1.WriteFeatureValuesRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getWriteFeatureValuesMethod(), getCallOptions()), request); + } } private static final int METHODID_READ_FEATURE_VALUES = 0; private static final int METHODID_STREAMING_READ_FEATURE_VALUES = 1; + private static final int METHODID_WRITE_FEATURE_VALUES = 2; private static final class MethodHandlers
+ * Contains Feature values to be written for a specific entity. + *+ * + * Protobuf type {@code google.cloud.aiplatform.v1beta1.WriteFeatureValuesPayload} + */ +public final class WriteFeatureValuesPayload extends com.google.protobuf.GeneratedMessageV3 + implements + // @@protoc_insertion_point(message_implements:google.cloud.aiplatform.v1beta1.WriteFeatureValuesPayload) + WriteFeatureValuesPayloadOrBuilder { + private static final long serialVersionUID = 0L; + // Use WriteFeatureValuesPayload.newBuilder() to construct. + private WriteFeatureValuesPayload(com.google.protobuf.GeneratedMessageV3.Builder> builder) { + super(builder); + } + + private WriteFeatureValuesPayload() { + entityId_ = ""; + } + + @java.lang.Override + @SuppressWarnings({"unused"}) + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + return new WriteFeatureValuesPayload(); + } + + @java.lang.Override + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + return this.unknownFields; + } + + private WriteFeatureValuesPayload( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + this(); + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } + int mutable_bitField0_ = 0; + com.google.protobuf.UnknownFieldSet.Builder unknownFields = + com.google.protobuf.UnknownFieldSet.newBuilder(); + try { + boolean done = false; + while (!done) { + int tag = input.readTag(); + switch (tag) { + case 0: + done = true; + break; + case 10: + { + java.lang.String s = input.readStringRequireUtf8(); + + entityId_ = s; + break; + } + case 18: + { + if (!((mutable_bitField0_ & 0x00000001) != 0)) { + featureValues_ = + com.google.protobuf.MapField.newMapField( + FeatureValuesDefaultEntryHolder.defaultEntry); + mutable_bitField0_ |= 0x00000001; + } + com.google.protobuf.MapEntry< + java.lang.String, com.google.cloud.aiplatform.v1beta1.FeatureValue> + featureValues__ = + input.readMessage( + FeatureValuesDefaultEntryHolder.defaultEntry.getParserForType(), + extensionRegistry); + featureValues_ + .getMutableMap() + .put(featureValues__.getKey(), featureValues__.getValue()); + break; + } + default: + { + if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; + } + } + } + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(this); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); + } finally { + this.unknownFields = unknownFields.build(); + makeExtensionsImmutable(); + } + } + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.aiplatform.v1beta1.FeaturestoreOnlineServiceProto + .internal_static_google_cloud_aiplatform_v1beta1_WriteFeatureValuesPayload_descriptor; + } + + @SuppressWarnings({"rawtypes"}) + @java.lang.Override + protected com.google.protobuf.MapField internalGetMapField(int number) { + switch (number) { + case 2: + return internalGetFeatureValues(); + default: + throw new RuntimeException("Invalid map field number: " + number); + } + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return com.google.cloud.aiplatform.v1beta1.FeaturestoreOnlineServiceProto + .internal_static_google_cloud_aiplatform_v1beta1_WriteFeatureValuesPayload_fieldAccessorTable + .ensureFieldAccessorsInitialized( + com.google.cloud.aiplatform.v1beta1.WriteFeatureValuesPayload.class, + com.google.cloud.aiplatform.v1beta1.WriteFeatureValuesPayload.Builder.class); + } + + public static final int ENTITY_ID_FIELD_NUMBER = 1; + private volatile java.lang.Object entityId_; + /** + * + * + *
+ * Required. The ID of the entity. + *+ * + *
string entity_id = 1 [(.google.api.field_behavior) = REQUIRED];
+ *
+ * @return The entityId.
+ */
+ @java.lang.Override
+ public java.lang.String getEntityId() {
+ java.lang.Object ref = entityId_;
+ 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();
+ entityId_ = s;
+ return s;
+ }
+ }
+ /**
+ *
+ *
+ * + * Required. The ID of the entity. + *+ * + *
string entity_id = 1 [(.google.api.field_behavior) = REQUIRED];
+ *
+ * @return The bytes for entityId.
+ */
+ @java.lang.Override
+ public com.google.protobuf.ByteString getEntityIdBytes() {
+ java.lang.Object ref = entityId_;
+ if (ref instanceof java.lang.String) {
+ com.google.protobuf.ByteString b =
+ com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref);
+ entityId_ = b;
+ return b;
+ } else {
+ return (com.google.protobuf.ByteString) ref;
+ }
+ }
+
+ public static final int FEATURE_VALUES_FIELD_NUMBER = 2;
+
+ private static final class FeatureValuesDefaultEntryHolder {
+ static final com.google.protobuf.MapEntry<
+ java.lang.String, com.google.cloud.aiplatform.v1beta1.FeatureValue>
+ defaultEntry =
+ com.google.protobuf.MapEntry
+ .+ * Required. Feature values to be written, mapping from Feature ID to value. Up to + * 100,000 `feature_values` entries may be written across all payloads. The + * feature generation time, aligned by days, must be no older than five + * years (1825 days) and no later than one year (366 days) in the future. + *+ * + *
+ * map<string, .google.cloud.aiplatform.v1beta1.FeatureValue> feature_values = 2 [(.google.api.field_behavior) = REQUIRED];
+ *
+ */
+ @java.lang.Override
+ public boolean containsFeatureValues(java.lang.String key) {
+ if (key == null) {
+ throw new NullPointerException("map key");
+ }
+ return internalGetFeatureValues().getMap().containsKey(key);
+ }
+ /** Use {@link #getFeatureValuesMap()} instead. */
+ @java.lang.Override
+ @java.lang.Deprecated
+ public java.util.Map+ * Required. Feature values to be written, mapping from Feature ID to value. Up to + * 100,000 `feature_values` entries may be written across all payloads. The + * feature generation time, aligned by days, must be no older than five + * years (1825 days) and no later than one year (366 days) in the future. + *+ * + *
+ * map<string, .google.cloud.aiplatform.v1beta1.FeatureValue> feature_values = 2 [(.google.api.field_behavior) = REQUIRED];
+ *
+ */
+ @java.lang.Override
+ public java.util.Map+ * Required. Feature values to be written, mapping from Feature ID to value. Up to + * 100,000 `feature_values` entries may be written across all payloads. The + * feature generation time, aligned by days, must be no older than five + * years (1825 days) and no later than one year (366 days) in the future. + *+ * + *
+ * map<string, .google.cloud.aiplatform.v1beta1.FeatureValue> feature_values = 2 [(.google.api.field_behavior) = REQUIRED];
+ *
+ */
+ @java.lang.Override
+ public com.google.cloud.aiplatform.v1beta1.FeatureValue getFeatureValuesOrDefault(
+ java.lang.String key, com.google.cloud.aiplatform.v1beta1.FeatureValue defaultValue) {
+ if (key == null) {
+ throw new NullPointerException("map key");
+ }
+ java.util.Map+ * Required. Feature values to be written, mapping from Feature ID to value. Up to + * 100,000 `feature_values` entries may be written across all payloads. The + * feature generation time, aligned by days, must be no older than five + * years (1825 days) and no later than one year (366 days) in the future. + *+ * + *
+ * map<string, .google.cloud.aiplatform.v1beta1.FeatureValue> feature_values = 2 [(.google.api.field_behavior) = REQUIRED];
+ *
+ */
+ @java.lang.Override
+ public com.google.cloud.aiplatform.v1beta1.FeatureValue getFeatureValuesOrThrow(
+ java.lang.String key) {
+ if (key == null) {
+ throw new NullPointerException("map key");
+ }
+ java.util.Map+ * Contains Feature values to be written for a specific entity. + *+ * + * Protobuf type {@code google.cloud.aiplatform.v1beta1.WriteFeatureValuesPayload} + */ + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder
+ * Required. The ID of the entity. + *+ * + *
string entity_id = 1 [(.google.api.field_behavior) = REQUIRED];
+ *
+ * @return The entityId.
+ */
+ public java.lang.String getEntityId() {
+ java.lang.Object ref = entityId_;
+ if (!(ref instanceof java.lang.String)) {
+ com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref;
+ java.lang.String s = bs.toStringUtf8();
+ entityId_ = s;
+ return s;
+ } else {
+ return (java.lang.String) ref;
+ }
+ }
+ /**
+ *
+ *
+ * + * Required. The ID of the entity. + *+ * + *
string entity_id = 1 [(.google.api.field_behavior) = REQUIRED];
+ *
+ * @return The bytes for entityId.
+ */
+ public com.google.protobuf.ByteString getEntityIdBytes() {
+ java.lang.Object ref = entityId_;
+ if (ref instanceof String) {
+ com.google.protobuf.ByteString b =
+ com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref);
+ entityId_ = b;
+ return b;
+ } else {
+ return (com.google.protobuf.ByteString) ref;
+ }
+ }
+ /**
+ *
+ *
+ * + * Required. The ID of the entity. + *+ * + *
string entity_id = 1 [(.google.api.field_behavior) = REQUIRED];
+ *
+ * @param value The entityId to set.
+ * @return This builder for chaining.
+ */
+ public Builder setEntityId(java.lang.String value) {
+ if (value == null) {
+ throw new NullPointerException();
+ }
+
+ entityId_ = value;
+ onChanged();
+ return this;
+ }
+ /**
+ *
+ *
+ * + * Required. The ID of the entity. + *+ * + *
string entity_id = 1 [(.google.api.field_behavior) = REQUIRED];
+ *
+ * @return This builder for chaining.
+ */
+ public Builder clearEntityId() {
+
+ entityId_ = getDefaultInstance().getEntityId();
+ onChanged();
+ return this;
+ }
+ /**
+ *
+ *
+ * + * Required. The ID of the entity. + *+ * + *
string entity_id = 1 [(.google.api.field_behavior) = REQUIRED];
+ *
+ * @param value The bytes for entityId to set.
+ * @return This builder for chaining.
+ */
+ public Builder setEntityIdBytes(com.google.protobuf.ByteString value) {
+ if (value == null) {
+ throw new NullPointerException();
+ }
+ checkByteStringIsUtf8(value);
+
+ entityId_ = value;
+ onChanged();
+ return this;
+ }
+
+ private com.google.protobuf.MapField<
+ java.lang.String, com.google.cloud.aiplatform.v1beta1.FeatureValue>
+ featureValues_;
+
+ private com.google.protobuf.MapField<
+ java.lang.String, com.google.cloud.aiplatform.v1beta1.FeatureValue>
+ internalGetFeatureValues() {
+ if (featureValues_ == null) {
+ return com.google.protobuf.MapField.emptyMapField(
+ FeatureValuesDefaultEntryHolder.defaultEntry);
+ }
+ return featureValues_;
+ }
+
+ private com.google.protobuf.MapField<
+ java.lang.String, com.google.cloud.aiplatform.v1beta1.FeatureValue>
+ internalGetMutableFeatureValues() {
+ onChanged();
+ ;
+ if (featureValues_ == null) {
+ featureValues_ =
+ com.google.protobuf.MapField.newMapField(FeatureValuesDefaultEntryHolder.defaultEntry);
+ }
+ if (!featureValues_.isMutable()) {
+ featureValues_ = featureValues_.copy();
+ }
+ return featureValues_;
+ }
+
+ public int getFeatureValuesCount() {
+ return internalGetFeatureValues().getMap().size();
+ }
+ /**
+ *
+ *
+ * + * Required. Feature values to be written, mapping from Feature ID to value. Up to + * 100,000 `feature_values` entries may be written across all payloads. The + * feature generation time, aligned by days, must be no older than five + * years (1825 days) and no later than one year (366 days) in the future. + *+ * + *
+ * map<string, .google.cloud.aiplatform.v1beta1.FeatureValue> feature_values = 2 [(.google.api.field_behavior) = REQUIRED];
+ *
+ */
+ @java.lang.Override
+ public boolean containsFeatureValues(java.lang.String key) {
+ if (key == null) {
+ throw new NullPointerException("map key");
+ }
+ return internalGetFeatureValues().getMap().containsKey(key);
+ }
+ /** Use {@link #getFeatureValuesMap()} instead. */
+ @java.lang.Override
+ @java.lang.Deprecated
+ public java.util.Map+ * Required. Feature values to be written, mapping from Feature ID to value. Up to + * 100,000 `feature_values` entries may be written across all payloads. The + * feature generation time, aligned by days, must be no older than five + * years (1825 days) and no later than one year (366 days) in the future. + *+ * + *
+ * map<string, .google.cloud.aiplatform.v1beta1.FeatureValue> feature_values = 2 [(.google.api.field_behavior) = REQUIRED];
+ *
+ */
+ @java.lang.Override
+ public java.util.Map+ * Required. Feature values to be written, mapping from Feature ID to value. Up to + * 100,000 `feature_values` entries may be written across all payloads. The + * feature generation time, aligned by days, must be no older than five + * years (1825 days) and no later than one year (366 days) in the future. + *+ * + *
+ * map<string, .google.cloud.aiplatform.v1beta1.FeatureValue> feature_values = 2 [(.google.api.field_behavior) = REQUIRED];
+ *
+ */
+ @java.lang.Override
+ public com.google.cloud.aiplatform.v1beta1.FeatureValue getFeatureValuesOrDefault(
+ java.lang.String key, com.google.cloud.aiplatform.v1beta1.FeatureValue defaultValue) {
+ if (key == null) {
+ throw new NullPointerException("map key");
+ }
+ java.util.Map+ * Required. Feature values to be written, mapping from Feature ID to value. Up to + * 100,000 `feature_values` entries may be written across all payloads. The + * feature generation time, aligned by days, must be no older than five + * years (1825 days) and no later than one year (366 days) in the future. + *+ * + *
+ * map<string, .google.cloud.aiplatform.v1beta1.FeatureValue> feature_values = 2 [(.google.api.field_behavior) = REQUIRED];
+ *
+ */
+ @java.lang.Override
+ public com.google.cloud.aiplatform.v1beta1.FeatureValue getFeatureValuesOrThrow(
+ java.lang.String key) {
+ if (key == null) {
+ throw new NullPointerException("map key");
+ }
+ java.util.Map+ * Required. Feature values to be written, mapping from Feature ID to value. Up to + * 100,000 `feature_values` entries may be written across all payloads. The + * feature generation time, aligned by days, must be no older than five + * years (1825 days) and no later than one year (366 days) in the future. + *+ * + *
+ * map<string, .google.cloud.aiplatform.v1beta1.FeatureValue> feature_values = 2 [(.google.api.field_behavior) = REQUIRED];
+ *
+ */
+ public Builder removeFeatureValues(java.lang.String key) {
+ if (key == null) {
+ throw new NullPointerException("map key");
+ }
+ internalGetMutableFeatureValues().getMutableMap().remove(key);
+ return this;
+ }
+ /** Use alternate mutation accessors instead. */
+ @java.lang.Deprecated
+ public java.util.Map+ * Required. Feature values to be written, mapping from Feature ID to value. Up to + * 100,000 `feature_values` entries may be written across all payloads. The + * feature generation time, aligned by days, must be no older than five + * years (1825 days) and no later than one year (366 days) in the future. + *+ * + *
+ * map<string, .google.cloud.aiplatform.v1beta1.FeatureValue> feature_values = 2 [(.google.api.field_behavior) = REQUIRED];
+ *
+ */
+ public Builder putFeatureValues(
+ java.lang.String key, com.google.cloud.aiplatform.v1beta1.FeatureValue value) {
+ if (key == null) {
+ throw new NullPointerException("map key");
+ }
+ if (value == null) {
+ throw new NullPointerException("map value");
+ }
+
+ internalGetMutableFeatureValues().getMutableMap().put(key, value);
+ return this;
+ }
+ /**
+ *
+ *
+ * + * Required. Feature values to be written, mapping from Feature ID to value. Up to + * 100,000 `feature_values` entries may be written across all payloads. The + * feature generation time, aligned by days, must be no older than five + * years (1825 days) and no later than one year (366 days) in the future. + *+ * + *
+ * map<string, .google.cloud.aiplatform.v1beta1.FeatureValue> feature_values = 2 [(.google.api.field_behavior) = REQUIRED];
+ *
+ */
+ public Builder putAllFeatureValues(
+ java.util.Map+ * Required. The ID of the entity. + *+ * + *
string entity_id = 1 [(.google.api.field_behavior) = REQUIRED];
+ *
+ * @return The entityId.
+ */
+ java.lang.String getEntityId();
+ /**
+ *
+ *
+ * + * Required. The ID of the entity. + *+ * + *
string entity_id = 1 [(.google.api.field_behavior) = REQUIRED];
+ *
+ * @return The bytes for entityId.
+ */
+ com.google.protobuf.ByteString getEntityIdBytes();
+
+ /**
+ *
+ *
+ * + * Required. Feature values to be written, mapping from Feature ID to value. Up to + * 100,000 `feature_values` entries may be written across all payloads. The + * feature generation time, aligned by days, must be no older than five + * years (1825 days) and no later than one year (366 days) in the future. + *+ * + *
+ * map<string, .google.cloud.aiplatform.v1beta1.FeatureValue> feature_values = 2 [(.google.api.field_behavior) = REQUIRED];
+ *
+ */
+ int getFeatureValuesCount();
+ /**
+ *
+ *
+ * + * Required. Feature values to be written, mapping from Feature ID to value. Up to + * 100,000 `feature_values` entries may be written across all payloads. The + * feature generation time, aligned by days, must be no older than five + * years (1825 days) and no later than one year (366 days) in the future. + *+ * + *
+ * map<string, .google.cloud.aiplatform.v1beta1.FeatureValue> feature_values = 2 [(.google.api.field_behavior) = REQUIRED];
+ *
+ */
+ boolean containsFeatureValues(java.lang.String key);
+ /** Use {@link #getFeatureValuesMap()} instead. */
+ @java.lang.Deprecated
+ java.util.Map+ * Required. Feature values to be written, mapping from Feature ID to value. Up to + * 100,000 `feature_values` entries may be written across all payloads. The + * feature generation time, aligned by days, must be no older than five + * years (1825 days) and no later than one year (366 days) in the future. + *+ * + *
+ * map<string, .google.cloud.aiplatform.v1beta1.FeatureValue> feature_values = 2 [(.google.api.field_behavior) = REQUIRED];
+ *
+ */
+ java.util.Map+ * Required. Feature values to be written, mapping from Feature ID to value. Up to + * 100,000 `feature_values` entries may be written across all payloads. The + * feature generation time, aligned by days, must be no older than five + * years (1825 days) and no later than one year (366 days) in the future. + *+ * + *
+ * map<string, .google.cloud.aiplatform.v1beta1.FeatureValue> feature_values = 2 [(.google.api.field_behavior) = REQUIRED];
+ *
+ */
+
+ /* nullable */
+ com.google.cloud.aiplatform.v1beta1.FeatureValue getFeatureValuesOrDefault(
+ java.lang.String key,
+ /* nullable */
+ com.google.cloud.aiplatform.v1beta1.FeatureValue defaultValue);
+ /**
+ *
+ *
+ * + * Required. Feature values to be written, mapping from Feature ID to value. Up to + * 100,000 `feature_values` entries may be written across all payloads. The + * feature generation time, aligned by days, must be no older than five + * years (1825 days) and no later than one year (366 days) in the future. + *+ * + *
+ * map<string, .google.cloud.aiplatform.v1beta1.FeatureValue> feature_values = 2 [(.google.api.field_behavior) = REQUIRED];
+ *
+ */
+ com.google.cloud.aiplatform.v1beta1.FeatureValue getFeatureValuesOrThrow(java.lang.String key);
+}
diff --git a/proto-google-cloud-aiplatform-v1beta1/src/main/java/com/google/cloud/aiplatform/v1beta1/WriteFeatureValuesRequest.java b/proto-google-cloud-aiplatform-v1beta1/src/main/java/com/google/cloud/aiplatform/v1beta1/WriteFeatureValuesRequest.java
new file mode 100644
index 000000000..6d4dd1417
--- /dev/null
+++ b/proto-google-cloud-aiplatform-v1beta1/src/main/java/com/google/cloud/aiplatform/v1beta1/WriteFeatureValuesRequest.java
@@ -0,0 +1,1270 @@
+/*
+ * Copyright 2020 Google LLC
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ * https://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+// Generated by the protocol buffer compiler. DO NOT EDIT!
+// source: google/cloud/aiplatform/v1beta1/featurestore_online_service.proto
+
+package com.google.cloud.aiplatform.v1beta1;
+
+/**
+ *
+ *
+ * + * Request message for [FeaturestoreOnlineServingService.WriteFeatureValues][google.cloud.aiplatform.v1beta1.FeaturestoreOnlineServingService.WriteFeatureValues]. + *+ * + * Protobuf type {@code google.cloud.aiplatform.v1beta1.WriteFeatureValuesRequest} + */ +public final class WriteFeatureValuesRequest extends com.google.protobuf.GeneratedMessageV3 + implements + // @@protoc_insertion_point(message_implements:google.cloud.aiplatform.v1beta1.WriteFeatureValuesRequest) + WriteFeatureValuesRequestOrBuilder { + private static final long serialVersionUID = 0L; + // Use WriteFeatureValuesRequest.newBuilder() to construct. + private WriteFeatureValuesRequest(com.google.protobuf.GeneratedMessageV3.Builder> builder) { + super(builder); + } + + private WriteFeatureValuesRequest() { + entityType_ = ""; + payloads_ = java.util.Collections.emptyList(); + } + + @java.lang.Override + @SuppressWarnings({"unused"}) + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + return new WriteFeatureValuesRequest(); + } + + @java.lang.Override + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + return this.unknownFields; + } + + private WriteFeatureValuesRequest( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + this(); + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } + int mutable_bitField0_ = 0; + com.google.protobuf.UnknownFieldSet.Builder unknownFields = + com.google.protobuf.UnknownFieldSet.newBuilder(); + try { + boolean done = false; + while (!done) { + int tag = input.readTag(); + switch (tag) { + case 0: + done = true; + break; + case 10: + { + java.lang.String s = input.readStringRequireUtf8(); + + entityType_ = s; + break; + } + case 18: + { + if (!((mutable_bitField0_ & 0x00000001) != 0)) { + payloads_ = + new java.util.ArrayList< + com.google.cloud.aiplatform.v1beta1.WriteFeatureValuesPayload>(); + mutable_bitField0_ |= 0x00000001; + } + payloads_.add( + input.readMessage( + com.google.cloud.aiplatform.v1beta1.WriteFeatureValuesPayload.parser(), + extensionRegistry)); + break; + } + default: + { + if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; + } + } + } + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(this); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); + } finally { + if (((mutable_bitField0_ & 0x00000001) != 0)) { + payloads_ = java.util.Collections.unmodifiableList(payloads_); + } + this.unknownFields = unknownFields.build(); + makeExtensionsImmutable(); + } + } + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.aiplatform.v1beta1.FeaturestoreOnlineServiceProto + .internal_static_google_cloud_aiplatform_v1beta1_WriteFeatureValuesRequest_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return com.google.cloud.aiplatform.v1beta1.FeaturestoreOnlineServiceProto + .internal_static_google_cloud_aiplatform_v1beta1_WriteFeatureValuesRequest_fieldAccessorTable + .ensureFieldAccessorsInitialized( + com.google.cloud.aiplatform.v1beta1.WriteFeatureValuesRequest.class, + com.google.cloud.aiplatform.v1beta1.WriteFeatureValuesRequest.Builder.class); + } + + public static final int ENTITY_TYPE_FIELD_NUMBER = 1; + private volatile java.lang.Object entityType_; + /** + * + * + *
+ * Required. The resource name of the EntityType for the entities being written. + * Value format: `projects/{project}/locations/{location}/featurestores/ + * {featurestore}/entityTypes/{entityType}`. For example, + * for a machine learning model predicting user clicks on a website, an + * EntityType ID could be `user`. + *+ * + *
+ * string entity_type = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
+ *
+ *
+ * @return The entityType.
+ */
+ @java.lang.Override
+ public java.lang.String getEntityType() {
+ java.lang.Object ref = entityType_;
+ 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();
+ entityType_ = s;
+ return s;
+ }
+ }
+ /**
+ *
+ *
+ * + * Required. The resource name of the EntityType for the entities being written. + * Value format: `projects/{project}/locations/{location}/featurestores/ + * {featurestore}/entityTypes/{entityType}`. For example, + * for a machine learning model predicting user clicks on a website, an + * EntityType ID could be `user`. + *+ * + *
+ * string entity_type = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
+ *
+ *
+ * @return The bytes for entityType.
+ */
+ @java.lang.Override
+ public com.google.protobuf.ByteString getEntityTypeBytes() {
+ java.lang.Object ref = entityType_;
+ if (ref instanceof java.lang.String) {
+ com.google.protobuf.ByteString b =
+ com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref);
+ entityType_ = b;
+ return b;
+ } else {
+ return (com.google.protobuf.ByteString) ref;
+ }
+ }
+
+ public static final int PAYLOADS_FIELD_NUMBER = 2;
+ private java.util.List+ * Required. The entities to be written. Up to 100,000 feature values can be written + * across all `payloads`. + *+ * + *
+ * repeated .google.cloud.aiplatform.v1beta1.WriteFeatureValuesPayload payloads = 2 [(.google.api.field_behavior) = REQUIRED];
+ *
+ */
+ @java.lang.Override
+ public java.util.List+ * Required. The entities to be written. Up to 100,000 feature values can be written + * across all `payloads`. + *+ * + *
+ * repeated .google.cloud.aiplatform.v1beta1.WriteFeatureValuesPayload payloads = 2 [(.google.api.field_behavior) = REQUIRED];
+ *
+ */
+ @java.lang.Override
+ public java.util.List<
+ ? extends com.google.cloud.aiplatform.v1beta1.WriteFeatureValuesPayloadOrBuilder>
+ getPayloadsOrBuilderList() {
+ return payloads_;
+ }
+ /**
+ *
+ *
+ * + * Required. The entities to be written. Up to 100,000 feature values can be written + * across all `payloads`. + *+ * + *
+ * repeated .google.cloud.aiplatform.v1beta1.WriteFeatureValuesPayload payloads = 2 [(.google.api.field_behavior) = REQUIRED];
+ *
+ */
+ @java.lang.Override
+ public int getPayloadsCount() {
+ return payloads_.size();
+ }
+ /**
+ *
+ *
+ * + * Required. The entities to be written. Up to 100,000 feature values can be written + * across all `payloads`. + *+ * + *
+ * repeated .google.cloud.aiplatform.v1beta1.WriteFeatureValuesPayload payloads = 2 [(.google.api.field_behavior) = REQUIRED];
+ *
+ */
+ @java.lang.Override
+ public com.google.cloud.aiplatform.v1beta1.WriteFeatureValuesPayload getPayloads(int index) {
+ return payloads_.get(index);
+ }
+ /**
+ *
+ *
+ * + * Required. The entities to be written. Up to 100,000 feature values can be written + * across all `payloads`. + *+ * + *
+ * repeated .google.cloud.aiplatform.v1beta1.WriteFeatureValuesPayload payloads = 2 [(.google.api.field_behavior) = REQUIRED];
+ *
+ */
+ @java.lang.Override
+ public com.google.cloud.aiplatform.v1beta1.WriteFeatureValuesPayloadOrBuilder
+ getPayloadsOrBuilder(int index) {
+ return payloads_.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 (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(entityType_)) {
+ com.google.protobuf.GeneratedMessageV3.writeString(output, 1, entityType_);
+ }
+ for (int i = 0; i < payloads_.size(); i++) {
+ output.writeMessage(2, payloads_.get(i));
+ }
+ unknownFields.writeTo(output);
+ }
+
+ @java.lang.Override
+ public int getSerializedSize() {
+ int size = memoizedSize;
+ if (size != -1) return size;
+
+ size = 0;
+ if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(entityType_)) {
+ size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, entityType_);
+ }
+ for (int i = 0; i < payloads_.size(); i++) {
+ size += com.google.protobuf.CodedOutputStream.computeMessageSize(2, payloads_.get(i));
+ }
+ size += unknownFields.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.WriteFeatureValuesRequest)) {
+ return super.equals(obj);
+ }
+ com.google.cloud.aiplatform.v1beta1.WriteFeatureValuesRequest other =
+ (com.google.cloud.aiplatform.v1beta1.WriteFeatureValuesRequest) obj;
+
+ if (!getEntityType().equals(other.getEntityType())) return false;
+ if (!getPayloadsList().equals(other.getPayloadsList())) return false;
+ if (!unknownFields.equals(other.unknownFields)) return false;
+ return true;
+ }
+
+ @java.lang.Override
+ public int hashCode() {
+ if (memoizedHashCode != 0) {
+ return memoizedHashCode;
+ }
+ int hash = 41;
+ hash = (19 * hash) + getDescriptor().hashCode();
+ hash = (37 * hash) + ENTITY_TYPE_FIELD_NUMBER;
+ hash = (53 * hash) + getEntityType().hashCode();
+ if (getPayloadsCount() > 0) {
+ hash = (37 * hash) + PAYLOADS_FIELD_NUMBER;
+ hash = (53 * hash) + getPayloadsList().hashCode();
+ }
+ hash = (29 * hash) + unknownFields.hashCode();
+ memoizedHashCode = hash;
+ return hash;
+ }
+
+ public static com.google.cloud.aiplatform.v1beta1.WriteFeatureValuesRequest parseFrom(
+ java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException {
+ return PARSER.parseFrom(data);
+ }
+
+ public static com.google.cloud.aiplatform.v1beta1.WriteFeatureValuesRequest 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.WriteFeatureValuesRequest parseFrom(
+ com.google.protobuf.ByteString data)
+ throws com.google.protobuf.InvalidProtocolBufferException {
+ return PARSER.parseFrom(data);
+ }
+
+ public static com.google.cloud.aiplatform.v1beta1.WriteFeatureValuesRequest 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.WriteFeatureValuesRequest parseFrom(byte[] data)
+ throws com.google.protobuf.InvalidProtocolBufferException {
+ return PARSER.parseFrom(data);
+ }
+
+ public static com.google.cloud.aiplatform.v1beta1.WriteFeatureValuesRequest 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.WriteFeatureValuesRequest parseFrom(
+ java.io.InputStream input) throws java.io.IOException {
+ return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input);
+ }
+
+ public static com.google.cloud.aiplatform.v1beta1.WriteFeatureValuesRequest 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.WriteFeatureValuesRequest parseDelimitedFrom(
+ java.io.InputStream input) throws java.io.IOException {
+ return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input);
+ }
+
+ public static com.google.cloud.aiplatform.v1beta1.WriteFeatureValuesRequest 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.WriteFeatureValuesRequest 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.WriteFeatureValuesRequest 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.WriteFeatureValuesRequest 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 [FeaturestoreOnlineServingService.WriteFeatureValues][google.cloud.aiplatform.v1beta1.FeaturestoreOnlineServingService.WriteFeatureValues]. + *+ * + * Protobuf type {@code google.cloud.aiplatform.v1beta1.WriteFeatureValuesRequest} + */ + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder
+ * Required. The resource name of the EntityType for the entities being written. + * Value format: `projects/{project}/locations/{location}/featurestores/ + * {featurestore}/entityTypes/{entityType}`. For example, + * for a machine learning model predicting user clicks on a website, an + * EntityType ID could be `user`. + *+ * + *
+ * string entity_type = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
+ *
+ *
+ * @return The entityType.
+ */
+ public java.lang.String getEntityType() {
+ java.lang.Object ref = entityType_;
+ if (!(ref instanceof java.lang.String)) {
+ com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref;
+ java.lang.String s = bs.toStringUtf8();
+ entityType_ = s;
+ return s;
+ } else {
+ return (java.lang.String) ref;
+ }
+ }
+ /**
+ *
+ *
+ * + * Required. The resource name of the EntityType for the entities being written. + * Value format: `projects/{project}/locations/{location}/featurestores/ + * {featurestore}/entityTypes/{entityType}`. For example, + * for a machine learning model predicting user clicks on a website, an + * EntityType ID could be `user`. + *+ * + *
+ * string entity_type = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
+ *
+ *
+ * @return The bytes for entityType.
+ */
+ public com.google.protobuf.ByteString getEntityTypeBytes() {
+ java.lang.Object ref = entityType_;
+ if (ref instanceof String) {
+ com.google.protobuf.ByteString b =
+ com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref);
+ entityType_ = b;
+ return b;
+ } else {
+ return (com.google.protobuf.ByteString) ref;
+ }
+ }
+ /**
+ *
+ *
+ * + * Required. The resource name of the EntityType for the entities being written. + * Value format: `projects/{project}/locations/{location}/featurestores/ + * {featurestore}/entityTypes/{entityType}`. For example, + * for a machine learning model predicting user clicks on a website, an + * EntityType ID could be `user`. + *+ * + *
+ * string entity_type = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
+ *
+ *
+ * @param value The entityType to set.
+ * @return This builder for chaining.
+ */
+ public Builder setEntityType(java.lang.String value) {
+ if (value == null) {
+ throw new NullPointerException();
+ }
+
+ entityType_ = value;
+ onChanged();
+ return this;
+ }
+ /**
+ *
+ *
+ * + * Required. The resource name of the EntityType for the entities being written. + * Value format: `projects/{project}/locations/{location}/featurestores/ + * {featurestore}/entityTypes/{entityType}`. For example, + * for a machine learning model predicting user clicks on a website, an + * EntityType ID could be `user`. + *+ * + *
+ * string entity_type = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
+ *
+ *
+ * @return This builder for chaining.
+ */
+ public Builder clearEntityType() {
+
+ entityType_ = getDefaultInstance().getEntityType();
+ onChanged();
+ return this;
+ }
+ /**
+ *
+ *
+ * + * Required. The resource name of the EntityType for the entities being written. + * Value format: `projects/{project}/locations/{location}/featurestores/ + * {featurestore}/entityTypes/{entityType}`. For example, + * for a machine learning model predicting user clicks on a website, an + * EntityType ID could be `user`. + *+ * + *
+ * string entity_type = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
+ *
+ *
+ * @param value The bytes for entityType to set.
+ * @return This builder for chaining.
+ */
+ public Builder setEntityTypeBytes(com.google.protobuf.ByteString value) {
+ if (value == null) {
+ throw new NullPointerException();
+ }
+ checkByteStringIsUtf8(value);
+
+ entityType_ = value;
+ onChanged();
+ return this;
+ }
+
+ private java.util.List+ * Required. The entities to be written. Up to 100,000 feature values can be written + * across all `payloads`. + *+ * + *
+ * repeated .google.cloud.aiplatform.v1beta1.WriteFeatureValuesPayload payloads = 2 [(.google.api.field_behavior) = REQUIRED];
+ *
+ */
+ public java.util.List+ * Required. The entities to be written. Up to 100,000 feature values can be written + * across all `payloads`. + *+ * + *
+ * repeated .google.cloud.aiplatform.v1beta1.WriteFeatureValuesPayload payloads = 2 [(.google.api.field_behavior) = REQUIRED];
+ *
+ */
+ public int getPayloadsCount() {
+ if (payloadsBuilder_ == null) {
+ return payloads_.size();
+ } else {
+ return payloadsBuilder_.getCount();
+ }
+ }
+ /**
+ *
+ *
+ * + * Required. The entities to be written. Up to 100,000 feature values can be written + * across all `payloads`. + *+ * + *
+ * repeated .google.cloud.aiplatform.v1beta1.WriteFeatureValuesPayload payloads = 2 [(.google.api.field_behavior) = REQUIRED];
+ *
+ */
+ public com.google.cloud.aiplatform.v1beta1.WriteFeatureValuesPayload getPayloads(int index) {
+ if (payloadsBuilder_ == null) {
+ return payloads_.get(index);
+ } else {
+ return payloadsBuilder_.getMessage(index);
+ }
+ }
+ /**
+ *
+ *
+ * + * Required. The entities to be written. Up to 100,000 feature values can be written + * across all `payloads`. + *+ * + *
+ * repeated .google.cloud.aiplatform.v1beta1.WriteFeatureValuesPayload payloads = 2 [(.google.api.field_behavior) = REQUIRED];
+ *
+ */
+ public Builder setPayloads(
+ int index, com.google.cloud.aiplatform.v1beta1.WriteFeatureValuesPayload value) {
+ if (payloadsBuilder_ == null) {
+ if (value == null) {
+ throw new NullPointerException();
+ }
+ ensurePayloadsIsMutable();
+ payloads_.set(index, value);
+ onChanged();
+ } else {
+ payloadsBuilder_.setMessage(index, value);
+ }
+ return this;
+ }
+ /**
+ *
+ *
+ * + * Required. The entities to be written. Up to 100,000 feature values can be written + * across all `payloads`. + *+ * + *
+ * repeated .google.cloud.aiplatform.v1beta1.WriteFeatureValuesPayload payloads = 2 [(.google.api.field_behavior) = REQUIRED];
+ *
+ */
+ public Builder setPayloads(
+ int index,
+ com.google.cloud.aiplatform.v1beta1.WriteFeatureValuesPayload.Builder builderForValue) {
+ if (payloadsBuilder_ == null) {
+ ensurePayloadsIsMutable();
+ payloads_.set(index, builderForValue.build());
+ onChanged();
+ } else {
+ payloadsBuilder_.setMessage(index, builderForValue.build());
+ }
+ return this;
+ }
+ /**
+ *
+ *
+ * + * Required. The entities to be written. Up to 100,000 feature values can be written + * across all `payloads`. + *+ * + *
+ * repeated .google.cloud.aiplatform.v1beta1.WriteFeatureValuesPayload payloads = 2 [(.google.api.field_behavior) = REQUIRED];
+ *
+ */
+ public Builder addPayloads(
+ com.google.cloud.aiplatform.v1beta1.WriteFeatureValuesPayload value) {
+ if (payloadsBuilder_ == null) {
+ if (value == null) {
+ throw new NullPointerException();
+ }
+ ensurePayloadsIsMutable();
+ payloads_.add(value);
+ onChanged();
+ } else {
+ payloadsBuilder_.addMessage(value);
+ }
+ return this;
+ }
+ /**
+ *
+ *
+ * + * Required. The entities to be written. Up to 100,000 feature values can be written + * across all `payloads`. + *+ * + *
+ * repeated .google.cloud.aiplatform.v1beta1.WriteFeatureValuesPayload payloads = 2 [(.google.api.field_behavior) = REQUIRED];
+ *
+ */
+ public Builder addPayloads(
+ int index, com.google.cloud.aiplatform.v1beta1.WriteFeatureValuesPayload value) {
+ if (payloadsBuilder_ == null) {
+ if (value == null) {
+ throw new NullPointerException();
+ }
+ ensurePayloadsIsMutable();
+ payloads_.add(index, value);
+ onChanged();
+ } else {
+ payloadsBuilder_.addMessage(index, value);
+ }
+ return this;
+ }
+ /**
+ *
+ *
+ * + * Required. The entities to be written. Up to 100,000 feature values can be written + * across all `payloads`. + *+ * + *
+ * repeated .google.cloud.aiplatform.v1beta1.WriteFeatureValuesPayload payloads = 2 [(.google.api.field_behavior) = REQUIRED];
+ *
+ */
+ public Builder addPayloads(
+ com.google.cloud.aiplatform.v1beta1.WriteFeatureValuesPayload.Builder builderForValue) {
+ if (payloadsBuilder_ == null) {
+ ensurePayloadsIsMutable();
+ payloads_.add(builderForValue.build());
+ onChanged();
+ } else {
+ payloadsBuilder_.addMessage(builderForValue.build());
+ }
+ return this;
+ }
+ /**
+ *
+ *
+ * + * Required. The entities to be written. Up to 100,000 feature values can be written + * across all `payloads`. + *+ * + *
+ * repeated .google.cloud.aiplatform.v1beta1.WriteFeatureValuesPayload payloads = 2 [(.google.api.field_behavior) = REQUIRED];
+ *
+ */
+ public Builder addPayloads(
+ int index,
+ com.google.cloud.aiplatform.v1beta1.WriteFeatureValuesPayload.Builder builderForValue) {
+ if (payloadsBuilder_ == null) {
+ ensurePayloadsIsMutable();
+ payloads_.add(index, builderForValue.build());
+ onChanged();
+ } else {
+ payloadsBuilder_.addMessage(index, builderForValue.build());
+ }
+ return this;
+ }
+ /**
+ *
+ *
+ * + * Required. The entities to be written. Up to 100,000 feature values can be written + * across all `payloads`. + *+ * + *
+ * repeated .google.cloud.aiplatform.v1beta1.WriteFeatureValuesPayload payloads = 2 [(.google.api.field_behavior) = REQUIRED];
+ *
+ */
+ public Builder addAllPayloads(
+ java.lang.Iterable extends com.google.cloud.aiplatform.v1beta1.WriteFeatureValuesPayload>
+ values) {
+ if (payloadsBuilder_ == null) {
+ ensurePayloadsIsMutable();
+ com.google.protobuf.AbstractMessageLite.Builder.addAll(values, payloads_);
+ onChanged();
+ } else {
+ payloadsBuilder_.addAllMessages(values);
+ }
+ return this;
+ }
+ /**
+ *
+ *
+ * + * Required. The entities to be written. Up to 100,000 feature values can be written + * across all `payloads`. + *+ * + *
+ * repeated .google.cloud.aiplatform.v1beta1.WriteFeatureValuesPayload payloads = 2 [(.google.api.field_behavior) = REQUIRED];
+ *
+ */
+ public Builder clearPayloads() {
+ if (payloadsBuilder_ == null) {
+ payloads_ = java.util.Collections.emptyList();
+ bitField0_ = (bitField0_ & ~0x00000001);
+ onChanged();
+ } else {
+ payloadsBuilder_.clear();
+ }
+ return this;
+ }
+ /**
+ *
+ *
+ * + * Required. The entities to be written. Up to 100,000 feature values can be written + * across all `payloads`. + *+ * + *
+ * repeated .google.cloud.aiplatform.v1beta1.WriteFeatureValuesPayload payloads = 2 [(.google.api.field_behavior) = REQUIRED];
+ *
+ */
+ public Builder removePayloads(int index) {
+ if (payloadsBuilder_ == null) {
+ ensurePayloadsIsMutable();
+ payloads_.remove(index);
+ onChanged();
+ } else {
+ payloadsBuilder_.remove(index);
+ }
+ return this;
+ }
+ /**
+ *
+ *
+ * + * Required. The entities to be written. Up to 100,000 feature values can be written + * across all `payloads`. + *+ * + *
+ * repeated .google.cloud.aiplatform.v1beta1.WriteFeatureValuesPayload payloads = 2 [(.google.api.field_behavior) = REQUIRED];
+ *
+ */
+ public com.google.cloud.aiplatform.v1beta1.WriteFeatureValuesPayload.Builder getPayloadsBuilder(
+ int index) {
+ return getPayloadsFieldBuilder().getBuilder(index);
+ }
+ /**
+ *
+ *
+ * + * Required. The entities to be written. Up to 100,000 feature values can be written + * across all `payloads`. + *+ * + *
+ * repeated .google.cloud.aiplatform.v1beta1.WriteFeatureValuesPayload payloads = 2 [(.google.api.field_behavior) = REQUIRED];
+ *
+ */
+ public com.google.cloud.aiplatform.v1beta1.WriteFeatureValuesPayloadOrBuilder
+ getPayloadsOrBuilder(int index) {
+ if (payloadsBuilder_ == null) {
+ return payloads_.get(index);
+ } else {
+ return payloadsBuilder_.getMessageOrBuilder(index);
+ }
+ }
+ /**
+ *
+ *
+ * + * Required. The entities to be written. Up to 100,000 feature values can be written + * across all `payloads`. + *+ * + *
+ * repeated .google.cloud.aiplatform.v1beta1.WriteFeatureValuesPayload payloads = 2 [(.google.api.field_behavior) = REQUIRED];
+ *
+ */
+ public java.util.List<
+ ? extends com.google.cloud.aiplatform.v1beta1.WriteFeatureValuesPayloadOrBuilder>
+ getPayloadsOrBuilderList() {
+ if (payloadsBuilder_ != null) {
+ return payloadsBuilder_.getMessageOrBuilderList();
+ } else {
+ return java.util.Collections.unmodifiableList(payloads_);
+ }
+ }
+ /**
+ *
+ *
+ * + * Required. The entities to be written. Up to 100,000 feature values can be written + * across all `payloads`. + *+ * + *
+ * repeated .google.cloud.aiplatform.v1beta1.WriteFeatureValuesPayload payloads = 2 [(.google.api.field_behavior) = REQUIRED];
+ *
+ */
+ public com.google.cloud.aiplatform.v1beta1.WriteFeatureValuesPayload.Builder
+ addPayloadsBuilder() {
+ return getPayloadsFieldBuilder()
+ .addBuilder(
+ com.google.cloud.aiplatform.v1beta1.WriteFeatureValuesPayload.getDefaultInstance());
+ }
+ /**
+ *
+ *
+ * + * Required. The entities to be written. Up to 100,000 feature values can be written + * across all `payloads`. + *+ * + *
+ * repeated .google.cloud.aiplatform.v1beta1.WriteFeatureValuesPayload payloads = 2 [(.google.api.field_behavior) = REQUIRED];
+ *
+ */
+ public com.google.cloud.aiplatform.v1beta1.WriteFeatureValuesPayload.Builder addPayloadsBuilder(
+ int index) {
+ return getPayloadsFieldBuilder()
+ .addBuilder(
+ index,
+ com.google.cloud.aiplatform.v1beta1.WriteFeatureValuesPayload.getDefaultInstance());
+ }
+ /**
+ *
+ *
+ * + * Required. The entities to be written. Up to 100,000 feature values can be written + * across all `payloads`. + *+ * + *
+ * repeated .google.cloud.aiplatform.v1beta1.WriteFeatureValuesPayload payloads = 2 [(.google.api.field_behavior) = REQUIRED];
+ *
+ */
+ public java.util.List+ * Required. The resource name of the EntityType for the entities being written. + * Value format: `projects/{project}/locations/{location}/featurestores/ + * {featurestore}/entityTypes/{entityType}`. For example, + * for a machine learning model predicting user clicks on a website, an + * EntityType ID could be `user`. + *+ * + *
+ * string entity_type = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
+ *
+ *
+ * @return The entityType.
+ */
+ java.lang.String getEntityType();
+ /**
+ *
+ *
+ * + * Required. The resource name of the EntityType for the entities being written. + * Value format: `projects/{project}/locations/{location}/featurestores/ + * {featurestore}/entityTypes/{entityType}`. For example, + * for a machine learning model predicting user clicks on a website, an + * EntityType ID could be `user`. + *+ * + *
+ * string entity_type = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
+ *
+ *
+ * @return The bytes for entityType.
+ */
+ com.google.protobuf.ByteString getEntityTypeBytes();
+
+ /**
+ *
+ *
+ * + * Required. The entities to be written. Up to 100,000 feature values can be written + * across all `payloads`. + *+ * + *
+ * repeated .google.cloud.aiplatform.v1beta1.WriteFeatureValuesPayload payloads = 2 [(.google.api.field_behavior) = REQUIRED];
+ *
+ */
+ java.util.List+ * Required. The entities to be written. Up to 100,000 feature values can be written + * across all `payloads`. + *+ * + *
+ * repeated .google.cloud.aiplatform.v1beta1.WriteFeatureValuesPayload payloads = 2 [(.google.api.field_behavior) = REQUIRED];
+ *
+ */
+ com.google.cloud.aiplatform.v1beta1.WriteFeatureValuesPayload getPayloads(int index);
+ /**
+ *
+ *
+ * + * Required. The entities to be written. Up to 100,000 feature values can be written + * across all `payloads`. + *+ * + *
+ * repeated .google.cloud.aiplatform.v1beta1.WriteFeatureValuesPayload payloads = 2 [(.google.api.field_behavior) = REQUIRED];
+ *
+ */
+ int getPayloadsCount();
+ /**
+ *
+ *
+ * + * Required. The entities to be written. Up to 100,000 feature values can be written + * across all `payloads`. + *+ * + *
+ * repeated .google.cloud.aiplatform.v1beta1.WriteFeatureValuesPayload payloads = 2 [(.google.api.field_behavior) = REQUIRED];
+ *
+ */
+ java.util.List extends com.google.cloud.aiplatform.v1beta1.WriteFeatureValuesPayloadOrBuilder>
+ getPayloadsOrBuilderList();
+ /**
+ *
+ *
+ * + * Required. The entities to be written. Up to 100,000 feature values can be written + * across all `payloads`. + *+ * + *
+ * repeated .google.cloud.aiplatform.v1beta1.WriteFeatureValuesPayload payloads = 2 [(.google.api.field_behavior) = REQUIRED];
+ *
+ */
+ com.google.cloud.aiplatform.v1beta1.WriteFeatureValuesPayloadOrBuilder getPayloadsOrBuilder(
+ int index);
+}
diff --git a/proto-google-cloud-aiplatform-v1beta1/src/main/java/com/google/cloud/aiplatform/v1beta1/WriteFeatureValuesResponse.java b/proto-google-cloud-aiplatform-v1beta1/src/main/java/com/google/cloud/aiplatform/v1beta1/WriteFeatureValuesResponse.java
new file mode 100644
index 000000000..f4fd2d6b4
--- /dev/null
+++ b/proto-google-cloud-aiplatform-v1beta1/src/main/java/com/google/cloud/aiplatform/v1beta1/WriteFeatureValuesResponse.java
@@ -0,0 +1,465 @@
+/*
+ * Copyright 2020 Google LLC
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ * https://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+// Generated by the protocol buffer compiler. DO NOT EDIT!
+// source: google/cloud/aiplatform/v1beta1/featurestore_online_service.proto
+
+package com.google.cloud.aiplatform.v1beta1;
+
+/**
+ *
+ *
+ * + * Response message for [FeaturestoreOnlineServingService.WriteFeatureValues][google.cloud.aiplatform.v1beta1.FeaturestoreOnlineServingService.WriteFeatureValues]. + *+ * + * Protobuf type {@code google.cloud.aiplatform.v1beta1.WriteFeatureValuesResponse} + */ +public final class WriteFeatureValuesResponse extends com.google.protobuf.GeneratedMessageV3 + implements + // @@protoc_insertion_point(message_implements:google.cloud.aiplatform.v1beta1.WriteFeatureValuesResponse) + WriteFeatureValuesResponseOrBuilder { + private static final long serialVersionUID = 0L; + // Use WriteFeatureValuesResponse.newBuilder() to construct. + private WriteFeatureValuesResponse(com.google.protobuf.GeneratedMessageV3.Builder> builder) { + super(builder); + } + + private WriteFeatureValuesResponse() {} + + @java.lang.Override + @SuppressWarnings({"unused"}) + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + return new WriteFeatureValuesResponse(); + } + + @java.lang.Override + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + return this.unknownFields; + } + + private WriteFeatureValuesResponse( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + this(); + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } + com.google.protobuf.UnknownFieldSet.Builder unknownFields = + com.google.protobuf.UnknownFieldSet.newBuilder(); + try { + boolean done = false; + while (!done) { + int tag = input.readTag(); + switch (tag) { + case 0: + done = true; + break; + default: + { + if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; + } + } + } + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(this); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); + } finally { + this.unknownFields = unknownFields.build(); + makeExtensionsImmutable(); + } + } + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.aiplatform.v1beta1.FeaturestoreOnlineServiceProto + .internal_static_google_cloud_aiplatform_v1beta1_WriteFeatureValuesResponse_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return com.google.cloud.aiplatform.v1beta1.FeaturestoreOnlineServiceProto + .internal_static_google_cloud_aiplatform_v1beta1_WriteFeatureValuesResponse_fieldAccessorTable + .ensureFieldAccessorsInitialized( + com.google.cloud.aiplatform.v1beta1.WriteFeatureValuesResponse.class, + com.google.cloud.aiplatform.v1beta1.WriteFeatureValuesResponse.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 { + unknownFields.writeTo(output); + } + + @java.lang.Override + public int getSerializedSize() { + int size = memoizedSize; + if (size != -1) return size; + + size = 0; + size += unknownFields.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.WriteFeatureValuesResponse)) { + return super.equals(obj); + } + com.google.cloud.aiplatform.v1beta1.WriteFeatureValuesResponse other = + (com.google.cloud.aiplatform.v1beta1.WriteFeatureValuesResponse) obj; + + if (!unknownFields.equals(other.unknownFields)) 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) + unknownFields.hashCode(); + memoizedHashCode = hash; + return hash; + } + + public static com.google.cloud.aiplatform.v1beta1.WriteFeatureValuesResponse parseFrom( + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + + public static com.google.cloud.aiplatform.v1beta1.WriteFeatureValuesResponse 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.WriteFeatureValuesResponse parseFrom( + com.google.protobuf.ByteString data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + + public static com.google.cloud.aiplatform.v1beta1.WriteFeatureValuesResponse 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.WriteFeatureValuesResponse parseFrom( + byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + + public static com.google.cloud.aiplatform.v1beta1.WriteFeatureValuesResponse 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.WriteFeatureValuesResponse parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + } + + public static com.google.cloud.aiplatform.v1beta1.WriteFeatureValuesResponse 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.WriteFeatureValuesResponse parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + } + + public static com.google.cloud.aiplatform.v1beta1.WriteFeatureValuesResponse 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.WriteFeatureValuesResponse 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.WriteFeatureValuesResponse 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.WriteFeatureValuesResponse 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; + } + /** + * + * + *
+ * Response message for [FeaturestoreOnlineServingService.WriteFeatureValues][google.cloud.aiplatform.v1beta1.FeaturestoreOnlineServingService.WriteFeatureValues]. + *+ * + * Protobuf type {@code google.cloud.aiplatform.v1beta1.WriteFeatureValuesResponse} + */ + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder