Class PublisherModel.CallToAction.RegionalResourceReferences (3.77.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
Inherited Members
com.google.protobuf.GeneratedMessageV3.<ListT>makeMutableCopy(ListT)
com.google.protobuf.GeneratedMessageV3.<ListT>makeMutableCopy(ListT,int)
com.google.protobuf.GeneratedMessageV3.<T>emptyList(java.lang.Class<T>)
com.google.protobuf.GeneratedMessageV3.internalGetMapFieldReflection(int)
Static Fields
public static final int REFERENCES_FIELD_NUMBER
Field Value |
Type |
Description |
int |
|
public static final int RESOURCE_DESCRIPTION_FIELD_NUMBER
Field Value |
Type |
Description |
int |
|
public static final int RESOURCE_TITLE_FIELD_NUMBER
Field Value |
Type |
Description |
int |
|
public static final int RESOURCE_USE_CASE_FIELD_NUMBER
Field Value |
Type |
Description |
int |
|
public static final int TITLE_FIELD_NUMBER
Field Value |
Type |
Description |
int |
|
Static Methods
public static PublisherModel.CallToAction.RegionalResourceReferences getDefaultInstance()
public static final Descriptors.Descriptor getDescriptor()
public static PublisherModel.CallToAction.RegionalResourceReferences.Builder newBuilder()
public static PublisherModel.CallToAction.RegionalResourceReferences.Builder newBuilder(PublisherModel.CallToAction.RegionalResourceReferences prototype)
public static PublisherModel.CallToAction.RegionalResourceReferences parseDelimitedFrom(InputStream input)
public static PublisherModel.CallToAction.RegionalResourceReferences parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
public static PublisherModel.CallToAction.RegionalResourceReferences parseFrom(byte[] data)
Parameter |
Name |
Description |
data |
byte[]
|
public static PublisherModel.CallToAction.RegionalResourceReferences parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
public static PublisherModel.CallToAction.RegionalResourceReferences parseFrom(ByteString data)
public static PublisherModel.CallToAction.RegionalResourceReferences parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static PublisherModel.CallToAction.RegionalResourceReferences parseFrom(CodedInputStream input)
public static PublisherModel.CallToAction.RegionalResourceReferences parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public static PublisherModel.CallToAction.RegionalResourceReferences parseFrom(InputStream input)
public static PublisherModel.CallToAction.RegionalResourceReferences parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
public static PublisherModel.CallToAction.RegionalResourceReferences parseFrom(ByteBuffer data)
public static PublisherModel.CallToAction.RegionalResourceReferences parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
public static Parser<PublisherModel.CallToAction.RegionalResourceReferences> parser()
Methods
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
|
public boolean equals(Object obj)
Parameter |
Name |
Description |
obj |
Object
|
Overrides
public PublisherModel.CallToAction.RegionalResourceReferences getDefaultInstanceForType()
public Parser<PublisherModel.CallToAction.RegionalResourceReferences> getParserForType()
Overrides
public Map<String,PublisherModel.ResourceReference> getReferences()
public int getReferencesCount()
Required.
map<string, .google.cloud.aiplatform.v1.PublisherModel.ResourceReference> references = 1 [(.google.api.field_behavior) = REQUIRED];
Returns |
Type |
Description |
int |
|
public Map<String,PublisherModel.ResourceReference> getReferencesMap()
Required.
map<string, .google.cloud.aiplatform.v1.PublisherModel.ResourceReference> references = 1 [(.google.api.field_behavior) = REQUIRED];
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];
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
|
public String getResourceDescription()
Optional. Description of the resource.
optional string resource_description = 5 [(.google.api.field_behavior) = OPTIONAL];
Returns |
Type |
Description |
String |
The resourceDescription.
|
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.
|
public String getResourceTitle()
Optional. Title of the resource.
optional string resource_title = 3 [(.google.api.field_behavior) = OPTIONAL];
Returns |
Type |
Description |
String |
The resourceTitle.
|
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.
|
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.
|
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.
|
public int getSerializedSize()
Returns |
Type |
Description |
int |
|
Overrides
Required.
string title = 2 [(.google.api.field_behavior) = REQUIRED];
Returns |
Type |
Description |
String |
The title.
|
public ByteString getTitleBytes()
Required.
string title = 2 [(.google.api.field_behavior) = REQUIRED];
Returns |
Type |
Description |
ByteString |
The bytes for title.
|
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.
|
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.
|
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.
|
Returns |
Type |
Description |
int |
|
Overrides
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Overrides
protected MapFieldReflectionAccessor internalGetMapFieldReflection(int number)
Parameter |
Name |
Description |
number |
int
|
Returns |
Type |
Description |
com.google.protobuf.MapFieldReflectionAccessor |
|
Overrides
com.google.protobuf.GeneratedMessageV3.internalGetMapFieldReflection(int)
public final boolean isInitialized()
Overrides
public PublisherModel.CallToAction.RegionalResourceReferences.Builder newBuilderForType()
protected PublisherModel.CallToAction.RegionalResourceReferences.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Overrides
protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Returns |
Type |
Description |
Object |
|
Overrides
public PublisherModel.CallToAction.RegionalResourceReferences.Builder toBuilder()
public void writeTo(CodedOutputStream output)
Overrides
Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License, and code samples are licensed under the Apache 2.0 License. For details, see the Google Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2025-10-11 UTC.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Hard to understand","hardToUnderstand","thumb-down"],["Incorrect information or sample code","incorrectInformationOrSampleCode","thumb-down"],["Missing the information/samples I need","missingTheInformationSamplesINeed","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-10-11 UTC."],[],[]]