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.v1.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.v1.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.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
|
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.v1.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.v1.PublisherModel.ResourceReference> references = 1 [(.google.api.field_behavior) = REQUIRED];
public PublisherModel.CallToAction.RegionalResourceReferences.Builder removeReferences(String key)
Required.
map<string, .google.cloud.aiplatform.v1.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