- 3.52.0 (latest)
- 3.50.0
- 3.49.0
- 3.48.0
- 3.47.0
- 3.46.0
- 3.45.0
- 3.44.0
- 3.43.0
- 3.42.0
- 3.41.0
- 3.40.0
- 3.38.0
- 3.37.0
- 3.36.0
- 3.35.0
- 3.34.0
- 3.33.0
- 3.32.0
- 3.31.0
- 3.30.0
- 3.29.0
- 3.28.0
- 3.25.0
- 3.24.0
- 3.23.0
- 3.22.0
- 3.21.0
- 3.20.0
- 3.19.0
- 3.18.0
- 3.17.0
- 3.16.0
- 3.15.0
- 3.14.0
- 3.13.0
- 3.12.0
- 3.11.0
- 3.10.0
- 3.9.0
- 3.8.0
- 3.7.0
- 3.6.0
- 3.5.0
- 3.4.2
- 3.3.0
- 3.2.0
- 3.0.0
- 2.9.8
- 2.8.9
- 2.7.4
- 2.5.3
- 2.4.0
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
Inheritance
Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessageV3.Builder > PublisherModel.CallToAction.RegionalResourceReferences.BuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Returns | |
---|---|
Type | Description |
Descriptor |
Methods
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public PublisherModel.CallToAction.RegionalResourceReferences.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters | |
---|---|
Name | Description |
field | FieldDescriptor |
value | Object |
Returns | |
---|---|
Type | Description |
PublisherModel.CallToAction.RegionalResourceReferences.Builder |
build()
public PublisherModel.CallToAction.RegionalResourceReferences build()
Returns | |
---|---|
Type | Description |
PublisherModel.CallToAction.RegionalResourceReferences |
buildPartial()
public PublisherModel.CallToAction.RegionalResourceReferences buildPartial()
Returns | |
---|---|
Type | Description |
PublisherModel.CallToAction.RegionalResourceReferences |
clear()
public PublisherModel.CallToAction.RegionalResourceReferences.Builder clear()
Returns | |
---|---|
Type | Description |
PublisherModel.CallToAction.RegionalResourceReferences.Builder |
clearField(Descriptors.FieldDescriptor field)
public PublisherModel.CallToAction.RegionalResourceReferences.Builder clearField(Descriptors.FieldDescriptor field)
Parameter | |
---|---|
Name | Description |
field | FieldDescriptor |
Returns | |
---|---|
Type | Description |
PublisherModel.CallToAction.RegionalResourceReferences.Builder |
clearOneof(Descriptors.OneofDescriptor oneof)
public PublisherModel.CallToAction.RegionalResourceReferences.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter | |
---|---|
Name | Description |
oneof | OneofDescriptor |
Returns | |
---|---|
Type | Description |
PublisherModel.CallToAction.RegionalResourceReferences.Builder |
clearReferences()
public PublisherModel.CallToAction.RegionalResourceReferences.Builder clearReferences()
Returns | |
---|---|
Type | Description |
PublisherModel.CallToAction.RegionalResourceReferences.Builder |
clearResourceDescription()
public PublisherModel.CallToAction.RegionalResourceReferences.Builder clearResourceDescription()
Optional. Description of the resource.
optional string resource_description = 5 [(.google.api.field_behavior) = OPTIONAL];
Returns | |
---|---|
Type | Description |
PublisherModel.CallToAction.RegionalResourceReferences.Builder | This builder for chaining. |
clearResourceTitle()
public PublisherModel.CallToAction.RegionalResourceReferences.Builder clearResourceTitle()
Optional. Title of the resource.
optional string resource_title = 3 [(.google.api.field_behavior) = OPTIONAL];
Returns | |
---|---|
Type | Description |
PublisherModel.CallToAction.RegionalResourceReferences.Builder | This builder for chaining. |
clearResourceUseCase()
public PublisherModel.CallToAction.RegionalResourceReferences.Builder clearResourceUseCase()
Optional. Use case (CUJ) of the resource.
optional string resource_use_case = 4 [(.google.api.field_behavior) = OPTIONAL];
Returns | |
---|---|
Type | Description |
PublisherModel.CallToAction.RegionalResourceReferences.Builder | This builder for chaining. |
clearTitle()
public PublisherModel.CallToAction.RegionalResourceReferences.Builder clearTitle()
Required.
string title = 2 [(.google.api.field_behavior) = REQUIRED];
Returns | |
---|---|
Type | Description |
PublisherModel.CallToAction.RegionalResourceReferences.Builder | This builder for chaining. |
clone()
public PublisherModel.CallToAction.RegionalResourceReferences.Builder clone()
Returns | |
---|---|
Type | Description |
PublisherModel.CallToAction.RegionalResourceReferences.Builder |
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 | |
---|---|
Name | Description |
key | String |
Returns | |
---|---|
Type | Description |
boolean |
getDefaultInstanceForType()
public PublisherModel.CallToAction.RegionalResourceReferences getDefaultInstanceForType()
Returns | |
---|---|
Type | Description |
PublisherModel.CallToAction.RegionalResourceReferences |
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Returns | |
---|---|
Type | Description |
Descriptor |
getMutableReferences() (deprecated)
public Map<String,PublisherModel.ResourceReference> getMutableReferences()
Use alternate mutation accessors instead.
Returns | |
---|---|
Type | Description |
Map<String,ResourceReference> |
getReferences() (deprecated)
public Map<String,PublisherModel.ResourceReference> getReferences()
Use #getReferencesMap() instead.
Returns | |
---|---|
Type | Description |
Map<String,ResourceReference> |
getReferencesCount()
public int getReferencesCount()
Required.
map<string, .google.cloud.aiplatform.v1.PublisherModel.ResourceReference> references = 1 [(.google.api.field_behavior) = REQUIRED];
Returns | |
---|---|
Type | Description |
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 | |
---|---|
Type | Description |
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 | |
---|---|
Name | Description |
key | String |
defaultValue | PublisherModel.ResourceReference |
Returns | |
---|---|
Type | Description |
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 | |
---|---|
Name | Description |
key | String |
Returns | |
---|---|
Type | Description |
PublisherModel.ResourceReference |
getResourceDescription()
public String getResourceDescription()
Optional. Description of the resource.
optional string resource_description = 5 [(.google.api.field_behavior) = OPTIONAL];
Returns | |
---|---|
Type | Description |
String | The resourceDescription. |
getResourceDescriptionBytes()
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. |
getResourceTitle()
public String getResourceTitle()
Optional. Title of the resource.
optional string resource_title = 3 [(.google.api.field_behavior) = OPTIONAL];
Returns | |
---|---|
Type | Description |
String | The resourceTitle. |
getResourceTitleBytes()
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. |
getResourceUseCase()
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. |
getResourceUseCaseBytes()
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. |
getTitle()
public String getTitle()
Required.
string title = 2 [(.google.api.field_behavior) = REQUIRED];
Returns | |
---|---|
Type | Description |
String | The title. |
getTitleBytes()
public ByteString getTitleBytes()
Required.
string title = 2 [(.google.api.field_behavior) = REQUIRED];
Returns | |
---|---|
Type | Description |
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 | |
---|---|
Type | Description |
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 | |
---|---|
Type | Description |
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 | |
---|---|
Type | Description |
boolean | Whether the resourceUseCase field is set. |
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns | |
---|---|
Type | Description |
FieldAccessorTable |
internalGetMapFieldReflection(int number)
protected MapFieldReflectionAccessor internalGetMapFieldReflection(int number)
Parameter | |
---|---|
Name | Description |
number | int |
Returns | |
---|---|
Type | Description |
com.google.protobuf.MapFieldReflectionAccessor |
internalGetMutableMapFieldReflection(int number)
protected MapFieldReflectionAccessor internalGetMutableMapFieldReflection(int number)
Parameter | |
---|---|
Name | Description |
number | int |
Returns | |
---|---|
Type | Description |
com.google.protobuf.MapFieldReflectionAccessor |
isInitialized()
public final boolean isInitialized()
Returns | |
---|---|
Type | Description |
boolean |
mergeFrom(PublisherModel.CallToAction.RegionalResourceReferences other)
public PublisherModel.CallToAction.RegionalResourceReferences.Builder mergeFrom(PublisherModel.CallToAction.RegionalResourceReferences other)
Parameter | |
---|---|
Name | Description |
other | PublisherModel.CallToAction.RegionalResourceReferences |
Returns | |
---|---|
Type | Description |
PublisherModel.CallToAction.RegionalResourceReferences.Builder |
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public PublisherModel.CallToAction.RegionalResourceReferences.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters | |
---|---|
Name | Description |
input | CodedInputStream |
extensionRegistry | ExtensionRegistryLite |
Returns | |
---|---|
Type | Description |
PublisherModel.CallToAction.RegionalResourceReferences.Builder |
Exceptions | |
---|---|
Type | Description |
IOException |
mergeFrom(Message other)
public PublisherModel.CallToAction.RegionalResourceReferences.Builder mergeFrom(Message other)
Parameter | |
---|---|
Name | Description |
other | Message |
Returns | |
---|---|
Type | Description |
PublisherModel.CallToAction.RegionalResourceReferences.Builder |
mergeUnknownFields(UnknownFieldSet unknownFields)
public final PublisherModel.CallToAction.RegionalResourceReferences.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter | |
---|---|
Name | Description |
unknownFields | UnknownFieldSet |
Returns | |
---|---|
Type | Description |
PublisherModel.CallToAction.RegionalResourceReferences.Builder |
putAllReferences(Map<String,PublisherModel.ResourceReference> values)
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];
Parameter | |
---|---|
Name | Description |
values | Map<String,ResourceReference> |
Returns | |
---|---|
Type | Description |
PublisherModel.CallToAction.RegionalResourceReferences.Builder |
putReferences(String key, PublisherModel.ResourceReference value)
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];
Parameters | |
---|---|
Name | Description |
key | String |
value | PublisherModel.ResourceReference |
Returns | |
---|---|
Type | Description |
PublisherModel.CallToAction.RegionalResourceReferences.Builder |
putReferencesBuilderIfAbsent(String key)
public PublisherModel.ResourceReference.Builder putReferencesBuilderIfAbsent(String key)
Required.
map<string, .google.cloud.aiplatform.v1.PublisherModel.ResourceReference> references = 1 [(.google.api.field_behavior) = REQUIRED];
Parameter | |
---|---|
Name | Description |
key | String |
Returns | |
---|---|
Type | Description |
PublisherModel.ResourceReference.Builder |
removeReferences(String key)
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 |
Returns | |
---|---|
Type | Description |
PublisherModel.CallToAction.RegionalResourceReferences.Builder |
setField(Descriptors.FieldDescriptor field, Object value)
public PublisherModel.CallToAction.RegionalResourceReferences.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters | |
---|---|
Name | Description |
field | FieldDescriptor |
value | Object |
Returns | |
---|---|
Type | Description |
PublisherModel.CallToAction.RegionalResourceReferences.Builder |
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public PublisherModel.CallToAction.RegionalResourceReferences.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters | |
---|---|
Name | Description |
field | FieldDescriptor |
index | int |
value | Object |
Returns | |
---|---|
Type | Description |
PublisherModel.CallToAction.RegionalResourceReferences.Builder |
setResourceDescription(String value)
public PublisherModel.CallToAction.RegionalResourceReferences.Builder setResourceDescription(String value)
Optional. Description of the resource.
optional string resource_description = 5 [(.google.api.field_behavior) = OPTIONAL];
Parameter | |
---|---|
Name | Description |
value | String The resourceDescription to set. |
Returns | |
---|---|
Type | Description |
PublisherModel.CallToAction.RegionalResourceReferences.Builder | This builder for chaining. |
setResourceDescriptionBytes(ByteString value)
public PublisherModel.CallToAction.RegionalResourceReferences.Builder setResourceDescriptionBytes(ByteString value)
Optional. Description of the resource.
optional string resource_description = 5 [(.google.api.field_behavior) = OPTIONAL];
Parameter | |
---|---|
Name | Description |
value | ByteString The bytes for resourceDescription to set. |
Returns | |
---|---|
Type | Description |
PublisherModel.CallToAction.RegionalResourceReferences.Builder | This builder for chaining. |
setResourceTitle(String value)
public PublisherModel.CallToAction.RegionalResourceReferences.Builder setResourceTitle(String value)
Optional. Title of the resource.
optional string resource_title = 3 [(.google.api.field_behavior) = OPTIONAL];
Parameter | |
---|---|
Name | Description |
value | String The resourceTitle to set. |
Returns | |
---|---|
Type | Description |
PublisherModel.CallToAction.RegionalResourceReferences.Builder | This builder for chaining. |
setResourceTitleBytes(ByteString value)
public PublisherModel.CallToAction.RegionalResourceReferences.Builder setResourceTitleBytes(ByteString value)
Optional. Title of the resource.
optional string resource_title = 3 [(.google.api.field_behavior) = OPTIONAL];
Parameter | |
---|---|
Name | Description |
value | ByteString The bytes for resourceTitle to set. |
Returns | |
---|---|
Type | Description |
PublisherModel.CallToAction.RegionalResourceReferences.Builder | This builder for chaining. |
setResourceUseCase(String value)
public PublisherModel.CallToAction.RegionalResourceReferences.Builder setResourceUseCase(String value)
Optional. Use case (CUJ) of the resource.
optional string resource_use_case = 4 [(.google.api.field_behavior) = OPTIONAL];
Parameter | |
---|---|
Name | Description |
value | String The resourceUseCase to set. |
Returns | |
---|---|
Type | Description |
PublisherModel.CallToAction.RegionalResourceReferences.Builder | This builder for chaining. |
setResourceUseCaseBytes(ByteString value)
public PublisherModel.CallToAction.RegionalResourceReferences.Builder setResourceUseCaseBytes(ByteString value)
Optional. Use case (CUJ) of the resource.
optional string resource_use_case = 4 [(.google.api.field_behavior) = OPTIONAL];
Parameter | |
---|---|
Name | Description |
value | ByteString The bytes for resourceUseCase to set. |
Returns | |
---|---|
Type | Description |
PublisherModel.CallToAction.RegionalResourceReferences.Builder | This builder for chaining. |
setTitle(String value)
public PublisherModel.CallToAction.RegionalResourceReferences.Builder setTitle(String value)
Required.
string title = 2 [(.google.api.field_behavior) = REQUIRED];
Parameter | |
---|---|
Name | Description |
value | String The title to set. |
Returns | |
---|---|
Type | Description |
PublisherModel.CallToAction.RegionalResourceReferences.Builder | This builder for chaining. |
setTitleBytes(ByteString value)
public PublisherModel.CallToAction.RegionalResourceReferences.Builder setTitleBytes(ByteString value)
Required.
string title = 2 [(.google.api.field_behavior) = REQUIRED];
Parameter | |
---|---|
Name | Description |
value | ByteString The bytes for title to set. |
Returns | |
---|---|
Type | Description |
PublisherModel.CallToAction.RegionalResourceReferences.Builder | This builder for chaining. |
setUnknownFields(UnknownFieldSet unknownFields)
public final PublisherModel.CallToAction.RegionalResourceReferences.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter | |
---|---|
Name | Description |
unknownFields | UnknownFieldSet |
Returns | |
---|---|
Type | Description |
PublisherModel.CallToAction.RegionalResourceReferences.Builder |