Class PublisherModel.CallToAction.RegionalResourceReferences (3.38.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
TypeDescription
int

RESOURCE_DESCRIPTION_FIELD_NUMBER

public static final int RESOURCE_DESCRIPTION_FIELD_NUMBER
Field Value
TypeDescription
int

RESOURCE_TITLE_FIELD_NUMBER

public static final int RESOURCE_TITLE_FIELD_NUMBER
Field Value
TypeDescription
int

RESOURCE_USE_CASE_FIELD_NUMBER

public static final int RESOURCE_USE_CASE_FIELD_NUMBER
Field Value
TypeDescription
int

TITLE_FIELD_NUMBER

public static final int TITLE_FIELD_NUMBER
Field Value
TypeDescription
int

Static Methods

getDefaultInstance()

public static PublisherModel.CallToAction.RegionalResourceReferences getDefaultInstance()
Returns
TypeDescription
PublisherModel.CallToAction.RegionalResourceReferences

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
TypeDescription
Descriptor

newBuilder()

public static PublisherModel.CallToAction.RegionalResourceReferences.Builder newBuilder()
Returns
TypeDescription
PublisherModel.CallToAction.RegionalResourceReferences.Builder

newBuilder(PublisherModel.CallToAction.RegionalResourceReferences prototype)

public static PublisherModel.CallToAction.RegionalResourceReferences.Builder newBuilder(PublisherModel.CallToAction.RegionalResourceReferences prototype)
Parameter
NameDescription
prototypePublisherModel.CallToAction.RegionalResourceReferences
Returns
TypeDescription
PublisherModel.CallToAction.RegionalResourceReferences.Builder

parseDelimitedFrom(InputStream input)

public static PublisherModel.CallToAction.RegionalResourceReferences parseDelimitedFrom(InputStream input)
Parameter
NameDescription
inputInputStream
Returns
TypeDescription
PublisherModel.CallToAction.RegionalResourceReferences
Exceptions
TypeDescription
IOException

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static PublisherModel.CallToAction.RegionalResourceReferences parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
PublisherModel.CallToAction.RegionalResourceReferences
Exceptions
TypeDescription
IOException

parseFrom(byte[] data)

public static PublisherModel.CallToAction.RegionalResourceReferences parseFrom(byte[] data)
Parameter
NameDescription
databyte[]
Returns
TypeDescription
PublisherModel.CallToAction.RegionalResourceReferences
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

public static PublisherModel.CallToAction.RegionalResourceReferences parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
databyte[]
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
PublisherModel.CallToAction.RegionalResourceReferences
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteString data)

public static PublisherModel.CallToAction.RegionalResourceReferences parseFrom(ByteString data)
Parameter
NameDescription
dataByteString
Returns
TypeDescription
PublisherModel.CallToAction.RegionalResourceReferences
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

public static PublisherModel.CallToAction.RegionalResourceReferences parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
dataByteString
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
PublisherModel.CallToAction.RegionalResourceReferences
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(CodedInputStream input)

public static PublisherModel.CallToAction.RegionalResourceReferences parseFrom(CodedInputStream input)
Parameter
NameDescription
inputCodedInputStream
Returns
TypeDescription
PublisherModel.CallToAction.RegionalResourceReferences
Exceptions
TypeDescription
IOException

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public static PublisherModel.CallToAction.RegionalResourceReferences parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputCodedInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
PublisherModel.CallToAction.RegionalResourceReferences
Exceptions
TypeDescription
IOException

parseFrom(InputStream input)

public static PublisherModel.CallToAction.RegionalResourceReferences parseFrom(InputStream input)
Parameter
NameDescription
inputInputStream
Returns
TypeDescription
PublisherModel.CallToAction.RegionalResourceReferences
Exceptions
TypeDescription
IOException

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static PublisherModel.CallToAction.RegionalResourceReferences parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
PublisherModel.CallToAction.RegionalResourceReferences
Exceptions
TypeDescription
IOException

parseFrom(ByteBuffer data)

public static PublisherModel.CallToAction.RegionalResourceReferences parseFrom(ByteBuffer data)
Parameter
NameDescription
dataByteBuffer
Returns
TypeDescription
PublisherModel.CallToAction.RegionalResourceReferences
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

public static PublisherModel.CallToAction.RegionalResourceReferences parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
dataByteBuffer
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
PublisherModel.CallToAction.RegionalResourceReferences
Exceptions
TypeDescription
InvalidProtocolBufferException

parser()

public static Parser<PublisherModel.CallToAction.RegionalResourceReferences> parser()
Returns
TypeDescription
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
NameDescription
keyString
Returns
TypeDescription
boolean

equals(Object obj)

public boolean equals(Object obj)
Parameter
NameDescription
objObject
Returns
TypeDescription
boolean
Overrides

getDefaultInstanceForType()

public PublisherModel.CallToAction.RegionalResourceReferences getDefaultInstanceForType()
Returns
TypeDescription
PublisherModel.CallToAction.RegionalResourceReferences

getParserForType()

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

getReferences() (deprecated)

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

Use #getReferencesMap() instead.

Returns
TypeDescription
Map<String,ResourceReference>

getReferencesCount()

public int getReferencesCount()

Required.

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

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

getResourceDescription()

public String getResourceDescription()

Optional. Description of the resource.

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

Returns
TypeDescription
String

The resourceDescription.

getResourceDescriptionBytes()

public 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 String getResourceTitle()

Optional. Title of the resource.

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

Returns
TypeDescription
String

The resourceTitle.

getResourceTitleBytes()

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

getSerializedSize()

public int getSerializedSize()
Returns
TypeDescription
int
Overrides

getTitle()

public String getTitle()

Required.

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

Returns
TypeDescription
String

The title.

getTitleBytes()

public ByteString getTitleBytes()

Required.

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

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

Whether the resourceUseCase field is set.

hashCode()

public int hashCode()
Returns
TypeDescription
int
Overrides

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

internalGetMapFieldReflection(int number)

protected MapFieldReflectionAccessor internalGetMapFieldReflection(int number)
Parameter
NameDescription
numberint
Returns
TypeDescription
com.google.protobuf.MapFieldReflectionAccessor
Overrides
com.google.protobuf.GeneratedMessageV3.internalGetMapFieldReflection(int)

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

newBuilderForType()

public PublisherModel.CallToAction.RegionalResourceReferences.Builder newBuilderForType()
Returns
TypeDescription
PublisherModel.CallToAction.RegionalResourceReferences.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

protected PublisherModel.CallToAction.RegionalResourceReferences.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
NameDescription
parentBuilderParent
Returns
TypeDescription
PublisherModel.CallToAction.RegionalResourceReferences.Builder
Overrides

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
NameDescription
unusedUnusedPrivateParameter
Returns
TypeDescription
Object
Overrides

toBuilder()

public PublisherModel.CallToAction.RegionalResourceReferences.Builder toBuilder()
Returns
TypeDescription
PublisherModel.CallToAction.RegionalResourceReferences.Builder

writeTo(CodedOutputStream output)

public void writeTo(CodedOutputStream output)
Parameter
NameDescription
outputCodedOutputStream
Overrides
Exceptions
TypeDescription
IOException