com.google.cloud.retail.v2.WriteUserEventRequestOrBuilder Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of proto-google-cloud-retail-v2 Show documentation
Show all versions of proto-google-cloud-retail-v2 Show documentation
Proto library for google-cloud-retail
The newest version!
/*
* Copyright 2024 Google LLC
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* https://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
// Generated by the protocol buffer compiler. DO NOT EDIT!
// source: google/cloud/retail/v2/user_event_service.proto
// Protobuf Java Version: 3.25.5
package com.google.cloud.retail.v2;
public interface WriteUserEventRequestOrBuilder
extends
// @@protoc_insertion_point(interface_extends:google.cloud.retail.v2.WriteUserEventRequest)
com.google.protobuf.MessageOrBuilder {
/**
*
*
*
* Required. The parent catalog resource name, such as
* `projects/1234/locations/global/catalogs/default_catalog`.
*
*
* string parent = 1 [(.google.api.field_behavior) = REQUIRED];
*
* @return The parent.
*/
java.lang.String getParent();
/**
*
*
*
* Required. The parent catalog resource name, such as
* `projects/1234/locations/global/catalogs/default_catalog`.
*
*
* string parent = 1 [(.google.api.field_behavior) = REQUIRED];
*
* @return The bytes for parent.
*/
com.google.protobuf.ByteString getParentBytes();
/**
*
*
*
* Required. User event to write.
*
*
*
* .google.cloud.retail.v2.UserEvent user_event = 2 [(.google.api.field_behavior) = REQUIRED];
*
*
* @return Whether the userEvent field is set.
*/
boolean hasUserEvent();
/**
*
*
*
* Required. User event to write.
*
*
*
* .google.cloud.retail.v2.UserEvent user_event = 2 [(.google.api.field_behavior) = REQUIRED];
*
*
* @return The userEvent.
*/
com.google.cloud.retail.v2.UserEvent getUserEvent();
/**
*
*
*
* Required. User event to write.
*
*
*
* .google.cloud.retail.v2.UserEvent user_event = 2 [(.google.api.field_behavior) = REQUIRED];
*
*/
com.google.cloud.retail.v2.UserEventOrBuilder getUserEventOrBuilder();
/**
*
*
*
* If set to true, the user event will be written asynchronously after
* validation, and the API will respond without waiting for the write.
* Therefore, silent failures can occur even if the API returns success. In
* case of silent failures, error messages can be found in Stackdriver logs.
*
*
* bool write_async = 3;
*
* @return The writeAsync.
*/
boolean getWriteAsync();
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy