Class PublisherModel.CallToAction.RegionalResourceReferences (3.35.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

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

getSerializedSize()

public int getSerializedSize()
Returns
TypeDescription
int
Overrides

getTitle()

public String getTitle()

Required. The title of the regional resource reference.

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

Returns
TypeDescription
String

The title.

getTitleBytes()

public ByteString getTitleBytes()

Required. The title of the regional resource reference.

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

Returns
TypeDescription
ByteString

The bytes for title.

hashCode()

public int hashCode()
Returns
TypeDescription
int
Overrides

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

internalGetMapField(int number)

protected MapField internalGetMapField(int number)
Parameter
NameDescription
numberint
Returns
TypeDescription
MapField
Overrides

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