Send feedback
Class PublisherModel.CallToAction.RegionalResourceReferences.Builder (3.23.0)
Stay organized with collections
Save and categorize content based on your preferences.
Version 3.23.0 keyboard_arrow_down
public static final class PublisherModel . CallToAction . RegionalResourceReferences . Builder extends GeneratedMessageV3 . Builder<PublisherModel . CallToAction . RegionalResourceReferences . Builder > 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.v1beta1.PublisherModel.CallToAction.RegionalResourceReferences
Inherited Members
com.google.protobuf.GeneratedMessageV3.Builder.getUnknownFieldSetBuilder()
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownLengthDelimitedField(int,com.google.protobuf.ByteString)
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownVarintField(int,int)
com.google.protobuf.GeneratedMessageV3.Builder.parseUnknownField(com.google.protobuf.CodedInputStream,com.google.protobuf.ExtensionRegistryLite,int)
com.google.protobuf.GeneratedMessageV3.Builder.setUnknownFieldSetBuilder(com.google.protobuf.UnknownFieldSet.Builder)
Static Methods
public static final Descriptors . Descriptor getDescriptor ()
Methods
public PublisherModel . CallToAction . RegionalResourceReferences . Builder addRepeatedField ( Descriptors . FieldDescriptor field , Object value )
Overrides
public PublisherModel . CallToAction . RegionalResourceReferences build ()
public PublisherModel . CallToAction . RegionalResourceReferences buildPartial ()
public PublisherModel . CallToAction . RegionalResourceReferences . Builder clear ()
Overrides
public PublisherModel . CallToAction . RegionalResourceReferences . Builder clearField ( Descriptors . FieldDescriptor field )
Overrides
public PublisherModel . CallToAction . RegionalResourceReferences . Builder clearOneof ( Descriptors . OneofDescriptor oneof )
Overrides
public PublisherModel . CallToAction . RegionalResourceReferences . Builder clearReferences ()
public PublisherModel . CallToAction . RegionalResourceReferences . Builder clearTitle ()
Required. The title of the regional resource reference.
string title = 2 [(.google.api.field_behavior) = REQUIRED];
public PublisherModel . CallToAction . RegionalResourceReferences . Builder clone ()
Overrides
public boolean containsReferences ( String key )
Required.
map<string, .google.cloud.aiplatform.v1beta1.PublisherModel.ResourceReference> references = 1 [(.google.api.field_behavior) = REQUIRED];
Parameter Name Description key
String
public PublisherModel . CallToAction . RegionalResourceReferences getDefaultInstanceForType ()
public Descriptors . Descriptor getDescriptorForType ()
Overrides
public Map<String , PublisherModel . ResourceReference > getMutableReferences ()
Use alternate mutation accessors instead.
public Map<String , PublisherModel . ResourceReference > getReferences ()
public int getReferencesCount ()
Required.
map<string, .google.cloud.aiplatform.v1beta1.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.v1beta1.PublisherModel.ResourceReference> references = 1 [(.google.api.field_behavior) = REQUIRED];
public PublisherModel . ResourceReference getReferencesOrDefault ( String key , PublisherModel . ResourceReference defaultValue )
Required.
map<string, .google.cloud.aiplatform.v1beta1.PublisherModel.ResourceReference> references = 1 [(.google.api.field_behavior) = REQUIRED];
public PublisherModel . ResourceReference getReferencesOrThrow ( String key )
Required.
map<string, .google.cloud.aiplatform.v1beta1.PublisherModel.ResourceReference> references = 1 [(.google.api.field_behavior) = REQUIRED];
Parameter Name Description key
String
Required. The title of the regional resource reference.
string title = 2 [(.google.api.field_behavior) = REQUIRED];
Returns Type Description String
The title.
public ByteString getTitleBytes ()
Required. The title of the regional resource reference.
string title = 2 [(.google.api.field_behavior) = REQUIRED];
Returns Type Description ByteString
The bytes for title.
protected GeneratedMessageV3 . FieldAccessorTable internalGetFieldAccessorTable ()
Overrides
protected MapField internalGetMapField ( int number )
Parameter Name Description number
int
Overrides
protected MapField internalGetMutableMapField ( int number )
Parameter Name Description number
int
Overrides
public final boolean isInitialized ()
Overrides
public PublisherModel . CallToAction . RegionalResourceReferences . Builder mergeFrom ( PublisherModel . CallToAction . RegionalResourceReferences other )
public PublisherModel . CallToAction . RegionalResourceReferences . Builder mergeFrom ( CodedInputStream input , ExtensionRegistryLite extensionRegistry )
Overrides
public PublisherModel . CallToAction . RegionalResourceReferences . Builder mergeFrom ( Message other )
Parameter Name Description other
Message
Overrides
public final PublisherModel . CallToAction . RegionalResourceReferences . Builder mergeUnknownFields ( UnknownFieldSet unknownFields )
Overrides
public PublisherModel . CallToAction . RegionalResourceReferences . Builder putAllReferences ( Map<String , PublisherModel . ResourceReference > values )
Required.
map<string, .google.cloud.aiplatform.v1beta1.PublisherModel.ResourceReference> references = 1 [(.google.api.field_behavior) = REQUIRED];
public PublisherModel . CallToAction . RegionalResourceReferences . Builder putReferences ( String key , PublisherModel . ResourceReference value )
Required.
map<string, .google.cloud.aiplatform.v1beta1.PublisherModel.ResourceReference> references = 1 [(.google.api.field_behavior) = REQUIRED];
public PublisherModel . CallToAction . RegionalResourceReferences . Builder removeReferences ( String key )
Required.
map<string, .google.cloud.aiplatform.v1beta1.PublisherModel.ResourceReference> references = 1 [(.google.api.field_behavior) = REQUIRED];
Parameter Name Description key
String
public PublisherModel . CallToAction . RegionalResourceReferences . Builder setField ( Descriptors . FieldDescriptor field , Object value )
Overrides
public PublisherModel . CallToAction . RegionalResourceReferences . Builder setRepeatedField ( Descriptors . FieldDescriptor field , int index , Object value )
Overrides
public PublisherModel . CallToAction . RegionalResourceReferences . Builder setTitle ( String value )
Required. The title of the regional resource reference.
string title = 2 [(.google.api.field_behavior) = REQUIRED];
Parameter Name Description value
String
The title to set.
public PublisherModel . CallToAction . RegionalResourceReferences . Builder setTitleBytes ( ByteString value )
Required. The title of the regional resource reference.
string title = 2 [(.google.api.field_behavior) = REQUIRED];
Parameter Name Description value
ByteString
The bytes for title to set.
public final PublisherModel . CallToAction . RegionalResourceReferences . Builder setUnknownFields ( UnknownFieldSet unknownFields )
Overrides
Send feedback
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-01-27 UTC.
Need to tell us more?
[[["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-01-27 UTC."],[],[]]