Class PublisherModel.CallToAction.RegionalResourceReferences (3.45.0)

public static final class PublisherModel.CallToAction.RegionalResourceReferences extends GeneratedMessageV3 implements PublisherModel.CallToAction.RegionalResourceReferencesOrBuilder

The regional resource name or the URI. Key is region, e.g., us-central1, europe-west2, global, etc..

Protobuf type google.cloud.aiplatform.v1.PublisherModel.CallToAction.RegionalResourceReferences

Inheritance

Object > AbstractMessageLite<MessageType,BuilderType> > AbstractMessage > GeneratedMessageV3 > PublisherModel.CallToAction.RegionalResourceReferences

Static Fields

REFERENCES_FIELD_NUMBER

public static final int REFERENCES_FIELD_NUMBER
Field Value
Type Description
int

RESOURCE_DESCRIPTION_FIELD_NUMBER

public static final int RESOURCE_DESCRIPTION_FIELD_NUMBER
Field Value
Type Description
int

RESOURCE_TITLE_FIELD_NUMBER

public static final int RESOURCE_TITLE_FIELD_NUMBER
Field Value
Type Description
int

RESOURCE_USE_CASE_FIELD_NUMBER

public static final int RESOURCE_USE_CASE_FIELD_NUMBER
Field Value
Type Description
int

TITLE_FIELD_NUMBER

public static final int TITLE_FIELD_NUMBER
Field Value
Type Description
int

Static Methods

getDefaultInstance()

public static PublisherModel.CallToAction.RegionalResourceReferences getDefaultInstance()
Returns
Type Description
PublisherModel.CallToAction.RegionalResourceReferences

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
Type Description
Descriptor

newBuilder()

public static PublisherModel.CallToAction.RegionalResourceReferences.Builder newBuilder()
Returns
Type Description
PublisherModel.CallToAction.RegionalResourceReferences.Builder

newBuilder(PublisherModel.CallToAction.RegionalResourceReferences prototype)

public static PublisherModel.CallToAction.RegionalResourceReferences.Builder newBuilder(PublisherModel.CallToAction.RegionalResourceReferences prototype)
Parameter
Name Description
prototype PublisherModel.CallToAction.RegionalResourceReferences
Returns
Type Description
PublisherModel.CallToAction.RegionalResourceReferences.Builder

parseDelimitedFrom(InputStream input)

public static PublisherModel.CallToAction.RegionalResourceReferences parseDelimitedFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
PublisherModel.CallToAction.RegionalResourceReferences
Exceptions
Type Description
IOException

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static PublisherModel.CallToAction.RegionalResourceReferences parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input InputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
PublisherModel.CallToAction.RegionalResourceReferences
Exceptions
Type Description
IOException

parseFrom(byte[] data)

public static PublisherModel.CallToAction.RegionalResourceReferences parseFrom(byte[] data)
Parameter
Name Description
data byte[]
Returns
Type Description
PublisherModel.CallToAction.RegionalResourceReferences
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

public static PublisherModel.CallToAction.RegionalResourceReferences parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data byte[]
extensionRegistry ExtensionRegistryLite
Returns
Type Description
PublisherModel.CallToAction.RegionalResourceReferences
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data)

public static PublisherModel.CallToAction.RegionalResourceReferences parseFrom(ByteString data)
Parameter
Name Description
data ByteString
Returns
Type Description
PublisherModel.CallToAction.RegionalResourceReferences
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

public static PublisherModel.CallToAction.RegionalResourceReferences parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data ByteString
extensionRegistry ExtensionRegistryLite
Returns
Type Description
PublisherModel.CallToAction.RegionalResourceReferences
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(CodedInputStream input)

public static PublisherModel.CallToAction.RegionalResourceReferences parseFrom(CodedInputStream input)
Parameter
Name Description
input CodedInputStream
Returns
Type Description
PublisherModel.CallToAction.RegionalResourceReferences
Exceptions
Type Description
IOException

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public static PublisherModel.CallToAction.RegionalResourceReferences parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
PublisherModel.CallToAction.RegionalResourceReferences
Exceptions
Type Description
IOException

parseFrom(InputStream input)

public static PublisherModel.CallToAction.RegionalResourceReferences parseFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
PublisherModel.CallToAction.RegionalResourceReferences
Exceptions
Type Description
IOException

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static PublisherModel.CallToAction.RegionalResourceReferences parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input InputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
PublisherModel.CallToAction.RegionalResourceReferences
Exceptions
Type Description
IOException

parseFrom(ByteBuffer data)

public static PublisherModel.CallToAction.RegionalResourceReferences parseFrom(ByteBuffer data)
Parameter
Name Description
data ByteBuffer
Returns
Type Description
PublisherModel.CallToAction.RegionalResourceReferences
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

public static PublisherModel.CallToAction.RegionalResourceReferences parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data ByteBuffer
extensionRegistry ExtensionRegistryLite
Returns
Type Description
PublisherModel.CallToAction.RegionalResourceReferences
Exceptions
Type Description
InvalidProtocolBufferException

parser()

public static Parser<PublisherModel.CallToAction.RegionalResourceReferences> parser()
Returns
Type Description
Parser<RegionalResourceReferences>

Methods

containsReferences(String key)

public 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

equals(Object obj)

public boolean equals(Object obj)
Parameter
Name Description
obj Object
Returns
Type Description
boolean
Overrides

getDefaultInstanceForType()

public PublisherModel.CallToAction.RegionalResourceReferences getDefaultInstanceForType()
Returns
Type Description
PublisherModel.CallToAction.RegionalResourceReferences

getParserForType()

public Parser<PublisherModel.CallToAction.RegionalResourceReferences> getParserForType()
Returns
Type Description
Parser<RegionalResourceReferences>
Overrides

getReferences() (deprecated)

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

Use #getReferencesMap() instead.

Returns
Type Description
Map<String,ResourceReference>

getReferencesCount()

public int getReferencesCount()

Required.

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

Returns
Type Description
int

getReferencesMap()

public 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 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 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 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 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 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 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 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 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.

getSerializedSize()

public int getSerializedSize()
Returns
Type Description
int
Overrides

getTitle()

public String getTitle()

Required.

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

Returns
Type Description
String

The title.

getTitleBytes()

public ByteString getTitleBytes()

Required.

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

Returns
Type Description
ByteString

The bytes for title.

hasResourceDescription()

public 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 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 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.

hashCode()

public int hashCode()
Returns
Type Description
int
Overrides

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Type Description
FieldAccessorTable
Overrides

internalGetMapFieldReflection(int number)

protected MapFieldReflectionAccessor internalGetMapFieldReflection(int number)
Parameter
Name Description
number int
Returns
Type Description
com.google.protobuf.MapFieldReflectionAccessor
Overrides
com.google.protobuf.GeneratedMessageV3.internalGetMapFieldReflection(int)

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

newBuilderForType()

public PublisherModel.CallToAction.RegionalResourceReferences.Builder newBuilderForType()
Returns
Type Description
PublisherModel.CallToAction.RegionalResourceReferences.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

protected PublisherModel.CallToAction.RegionalResourceReferences.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
Name Description
parent BuilderParent
Returns
Type Description
PublisherModel.CallToAction.RegionalResourceReferences.Builder
Overrides

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
Name Description
unused UnusedPrivateParameter
Returns
Type Description
Object
Overrides

toBuilder()

public PublisherModel.CallToAction.RegionalResourceReferences.Builder toBuilder()
Returns
Type Description
PublisherModel.CallToAction.RegionalResourceReferences.Builder

writeTo(CodedOutputStream output)

public void writeTo(CodedOutputStream output)
Parameter
Name Description
output CodedOutputStream
Overrides
Exceptions
Type Description
IOException