Interface CollectUserEventRequestOrBuilder (0.37.0)

public interface CollectUserEventRequestOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

getEts()

public abstract long getEts()

The event timestamp in milliseconds. This prevents browser caching of otherwise identical get requests. The name is abbreviated to reduce the payload bytes.

optional int64 ets = 4;

Returns
TypeDescription
long

The ets.

getParent()

public abstract String getParent()

Required. The parent DataStore resource name, such as projects/{project}/locations/{location}/collections/{collection}/dataStores/{data_store}.

string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }

Returns
TypeDescription
String

The parent.

getParentBytes()

public abstract ByteString getParentBytes()

Required. The parent DataStore resource name, such as projects/{project}/locations/{location}/collections/{collection}/dataStores/{data_store}.

string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }

Returns
TypeDescription
ByteString

The bytes for parent.

getUri()

public abstract String getUri()

The URL including cgi-parameters but excluding the hash fragment with a length limit of 5,000 characters. This is often more useful than the referer URL, because many browsers only send the domain for third-party requests.

optional string uri = 3;

Returns
TypeDescription
String

The uri.

getUriBytes()

public abstract ByteString getUriBytes()

The URL including cgi-parameters but excluding the hash fragment with a length limit of 5,000 characters. This is often more useful than the referer URL, because many browsers only send the domain for third-party requests.

optional string uri = 3;

Returns
TypeDescription
ByteString

The bytes for uri.

getUserEvent()

public abstract String getUserEvent()

Required. URL encoded UserEvent proto with a length limit of 2,000,000 characters.

string user_event = 2 [(.google.api.field_behavior) = REQUIRED];

Returns
TypeDescription
String

The userEvent.

getUserEventBytes()

public abstract ByteString getUserEventBytes()

Required. URL encoded UserEvent proto with a length limit of 2,000,000 characters.

string user_event = 2 [(.google.api.field_behavior) = REQUIRED];

Returns
TypeDescription
ByteString

The bytes for userEvent.

hasEts()

public abstract boolean hasEts()

The event timestamp in milliseconds. This prevents browser caching of otherwise identical get requests. The name is abbreviated to reduce the payload bytes.

optional int64 ets = 4;

Returns
TypeDescription
boolean

Whether the ets field is set.

hasUri()

public abstract boolean hasUri()

The URL including cgi-parameters but excluding the hash fragment with a length limit of 5,000 characters. This is often more useful than the referer URL, because many browsers only send the domain for third-party requests.

optional string uri = 3;

Returns
TypeDescription
boolean

Whether the uri field is set.