Interface PublisherModel.CallToAction.RegionalResourceReferencesOrBuilder (3.50.0)

public static interface PublisherModel.CallToAction.RegionalResourceReferencesOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

containsReferences(String key)

public abstract boolean containsReferences(String key)

Required.

map<string, .google.cloud.aiplatform.v1.PublisherModel.ResourceReference> references = 1 [(.google.api.field_behavior) = REQUIRED];

Parameter
Name Description
key String
Returns
Type Description
boolean

getReferences() (deprecated)

public abstract Map<String,PublisherModel.ResourceReference> getReferences()

Use #getReferencesMap() instead.

Returns
Type Description
Map<String,ResourceReference>

getReferencesCount()

public abstract int getReferencesCount()

Required.

map<string, .google.cloud.aiplatform.v1.PublisherModel.ResourceReference> references = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
int

getReferencesMap()

public abstract Map<String,PublisherModel.ResourceReference> getReferencesMap()

Required.

map<string, .google.cloud.aiplatform.v1.PublisherModel.ResourceReference> references = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
Map<String,ResourceReference>

getReferencesOrDefault(String key, PublisherModel.ResourceReference defaultValue)

public abstract PublisherModel.ResourceReference getReferencesOrDefault(String key, PublisherModel.ResourceReference defaultValue)

Required.

map<string, .google.cloud.aiplatform.v1.PublisherModel.ResourceReference> references = 1 [(.google.api.field_behavior) = REQUIRED];

Parameters
Name Description
key String
defaultValue PublisherModel.ResourceReference
Returns
Type Description
PublisherModel.ResourceReference

getReferencesOrThrow(String key)

public abstract PublisherModel.ResourceReference getReferencesOrThrow(String key)

Required.

map<string, .google.cloud.aiplatform.v1.PublisherModel.ResourceReference> references = 1 [(.google.api.field_behavior) = REQUIRED];

Parameter
Name Description
key String
Returns
Type Description
PublisherModel.ResourceReference

getResourceDescription()

public abstract String getResourceDescription()

Optional. Description of the resource.

optional string resource_description = 5 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
String

The resourceDescription.

getResourceDescriptionBytes()

public abstract ByteString getResourceDescriptionBytes()

Optional. Description of the resource.

optional string resource_description = 5 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
ByteString

The bytes for resourceDescription.

getResourceTitle()

public abstract String getResourceTitle()

Optional. Title of the resource.

optional string resource_title = 3 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
String

The resourceTitle.

getResourceTitleBytes()

public abstract ByteString getResourceTitleBytes()

Optional. Title of the resource.

optional string resource_title = 3 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
ByteString

The bytes for resourceTitle.

getResourceUseCase()

public abstract String getResourceUseCase()

Optional. Use case (CUJ) of the resource.

optional string resource_use_case = 4 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
String

The resourceUseCase.

getResourceUseCaseBytes()

public abstract ByteString getResourceUseCaseBytes()

Optional. Use case (CUJ) of the resource.

optional string resource_use_case = 4 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
ByteString

The bytes for resourceUseCase.

getTitle()

public abstract String getTitle()

Required.

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

Returns
Type Description
String

The title.

getTitleBytes()

public abstract ByteString getTitleBytes()

Required.

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

Returns
Type Description
ByteString

The bytes for title.

hasResourceDescription()

public abstract boolean hasResourceDescription()

Optional. Description of the resource.

optional string resource_description = 5 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
boolean

Whether the resourceDescription field is set.

hasResourceTitle()

public abstract boolean hasResourceTitle()

Optional. Title of the resource.

optional string resource_title = 3 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
boolean

Whether the resourceTitle field is set.

hasResourceUseCase()

public abstract boolean hasResourceUseCase()

Optional. Use case (CUJ) of the resource.

optional string resource_use_case = 4 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
boolean

Whether the resourceUseCase field is set.