Interface MarkRecommendationSucceededRequestOrBuilder (2.44.0)

public interface MarkRecommendationSucceededRequestOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

containsStateMetadata(String key)

public abstract boolean containsStateMetadata(String key)

State properties to include with this state. Overwrites any existing state_metadata. Keys must match the regex /^a-z0-9{0,62}$/. Values must match the regex /^[a-zA-Z0-9_./-]{0,255}$/.

map<string, string> state_metadata = 2;

Parameter
Name Description
key String
Returns
Type Description
boolean

getEtag()

public abstract String getEtag()

Required. Fingerprint of the Recommendation. Provides optimistic locking.

string etag = 3 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
String

The etag.

getEtagBytes()

public abstract ByteString getEtagBytes()

Required. Fingerprint of the Recommendation. Provides optimistic locking.

string etag = 3 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
ByteString

The bytes for etag.

getName()

public abstract String getName()

Required. Name of the recommendation.

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

Returns
Type Description
String

The name.

getNameBytes()

public abstract ByteString getNameBytes()

Required. Name of the recommendation.

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

Returns
Type Description
ByteString

The bytes for name.

getStateMetadata() (deprecated)

public abstract Map<String,String> getStateMetadata()
Returns
Type Description
Map<String,String>

getStateMetadataCount()

public abstract int getStateMetadataCount()

State properties to include with this state. Overwrites any existing state_metadata. Keys must match the regex /^a-z0-9{0,62}$/. Values must match the regex /^[a-zA-Z0-9_./-]{0,255}$/.

map<string, string> state_metadata = 2;

Returns
Type Description
int

getStateMetadataMap()

public abstract Map<String,String> getStateMetadataMap()

State properties to include with this state. Overwrites any existing state_metadata. Keys must match the regex /^a-z0-9{0,62}$/. Values must match the regex /^[a-zA-Z0-9_./-]{0,255}$/.

map<string, string> state_metadata = 2;

Returns
Type Description
Map<String,String>

getStateMetadataOrDefault(String key, String defaultValue)

public abstract String getStateMetadataOrDefault(String key, String defaultValue)

State properties to include with this state. Overwrites any existing state_metadata. Keys must match the regex /^a-z0-9{0,62}$/. Values must match the regex /^[a-zA-Z0-9_./-]{0,255}$/.

map<string, string> state_metadata = 2;

Parameters
Name Description
key String
defaultValue String
Returns
Type Description
String

getStateMetadataOrThrow(String key)

public abstract String getStateMetadataOrThrow(String key)

State properties to include with this state. Overwrites any existing state_metadata. Keys must match the regex /^a-z0-9{0,62}$/. Values must match the regex /^[a-zA-Z0-9_./-]{0,255}$/.

map<string, string> state_metadata = 2;

Parameter
Name Description
key String
Returns
Type Description
String