Interface PublisherModel.CallToAction.RegionalResourceReferencesOrBuilder (3.37.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
NameDescription
keyString
Returns
TypeDescription
boolean

getReferences() (deprecated)

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

Use #getReferencesMap() instead.

Returns
TypeDescription
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
TypeDescription
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
TypeDescription
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
NameDescription
keyString
defaultValuePublisherModel.ResourceReference
Returns
TypeDescription
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
NameDescription
keyString
Returns
TypeDescription
PublisherModel.ResourceReference

getResourceDescription()

public abstract String getResourceDescription()

Optional. Description of the resource.

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

Returns
TypeDescription
String

The resourceDescription.

getResourceDescriptionBytes()

public abstract ByteString getResourceDescriptionBytes()

Optional. Description of the resource.

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

Returns
TypeDescription
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
TypeDescription
String

The resourceTitle.

getResourceTitleBytes()

public abstract ByteString getResourceTitleBytes()

Optional. Title of the resource.

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

Returns
TypeDescription
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
TypeDescription
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
TypeDescription
ByteString

The bytes for resourceUseCase.

getTitle()

public abstract String getTitle()

Required.

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

Returns
TypeDescription
String

The title.

getTitleBytes()

public abstract ByteString getTitleBytes()

Required.

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

Returns
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
boolean

Whether the resourceUseCase field is set.