Interface DataLinkOrBuilder
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
DataLink,DataLink.Builder
public interface DataLinkOrBuilder
extends com.google.protobuf.MessageOrBuilder
-
Method Summary
Modifier and TypeMethodDescriptionlongOutput only.longOutput only.Immutable.com.google.protobuf.ByteStringImmutable.Output only.intOutput only.getType()Output only.intOutput only.Immutable.Immutable.booleanOutput only.booleanOutput only.booleanImmutable.Methods inherited from interface com.google.protobuf.MessageLiteOrBuilder
isInitializedMethods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Method Details
-
getResourceName
String getResourceName()Immutable. Resource name of the product data link. DataLink resource names have the form: `customers/{customer_id}/datalinks/{product_link_id}~{data_link_id}}string resource_name = 1 [(.google.api.field_behavior) = IMMUTABLE, (.google.api.resource_reference) = { ... }- Returns:
- The resourceName.
-
getResourceNameBytes
com.google.protobuf.ByteString getResourceNameBytes()Immutable. Resource name of the product data link. DataLink resource names have the form: `customers/{customer_id}/datalinks/{product_link_id}~{data_link_id}}string resource_name = 1 [(.google.api.field_behavior) = IMMUTABLE, (.google.api.resource_reference) = { ... }- Returns:
- The bytes for resourceName.
-
hasProductLinkId
boolean hasProductLinkId()Output only. The ID of the link. This field is read only.
optional int64 product_link_id = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];- Returns:
- Whether the productLinkId field is set.
-
getProductLinkId
long getProductLinkId()Output only. The ID of the link. This field is read only.
optional int64 product_link_id = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];- Returns:
- The productLinkId.
-
hasDataLinkId
boolean hasDataLinkId()Output only. The ID of the data link. This field is read only.
optional int64 data_link_id = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];- Returns:
- Whether the dataLinkId field is set.
-
getDataLinkId
long getDataLinkId()Output only. The ID of the data link. This field is read only.
optional int64 data_link_id = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];- Returns:
- The dataLinkId.
-
getTypeValue
int getTypeValue()Output only. The type of the data.
.google.ads.googleads.v18.enums.DataLinkTypeEnum.DataLinkType type = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];- Returns:
- The enum numeric value on the wire for type.
-
getType
DataLinkTypeEnum.DataLinkType getType()Output only. The type of the data.
.google.ads.googleads.v18.enums.DataLinkTypeEnum.DataLinkType type = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];- Returns:
- The type.
-
getStatusValue
int getStatusValue()Output only. The status of the data link.
.google.ads.googleads.v18.enums.DataLinkStatusEnum.DataLinkStatus status = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];- Returns:
- The enum numeric value on the wire for status.
-
getStatus
DataLinkStatusEnum.DataLinkStatus getStatus()Output only. The status of the data link.
.google.ads.googleads.v18.enums.DataLinkStatusEnum.DataLinkStatus status = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];- Returns:
- The status.
-
hasYoutubeVideo
boolean hasYoutubeVideo()Immutable. A data link to YouTube video.
.google.ads.googleads.v18.resources.YoutubeVideoIdentifier youtube_video = 6 [(.google.api.field_behavior) = IMMUTABLE];- Returns:
- Whether the youtubeVideo field is set.
-
getYoutubeVideo
YoutubeVideoIdentifier getYoutubeVideo()Immutable. A data link to YouTube video.
.google.ads.googleads.v18.resources.YoutubeVideoIdentifier youtube_video = 6 [(.google.api.field_behavior) = IMMUTABLE];- Returns:
- The youtubeVideo.
-
getYoutubeVideoOrBuilder
YoutubeVideoIdentifierOrBuilder getYoutubeVideoOrBuilder()Immutable. A data link to YouTube video.
.google.ads.googleads.v18.resources.YoutubeVideoIdentifier youtube_video = 6 [(.google.api.field_behavior) = IMMUTABLE]; -
getDataLinkEntityCase
DataLink.DataLinkEntityCase getDataLinkEntityCase()
-