Class DataLink

java.lang.Object
com.google.protobuf.AbstractMessageLite
com.google.protobuf.AbstractMessage
com.google.protobuf.GeneratedMessageV3
com.google.ads.googleads.v18.resources.DataLink
All Implemented Interfaces:
DataLinkOrBuilder, com.google.protobuf.Message, com.google.protobuf.MessageLite, com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder, Serializable

public final class DataLink extends com.google.protobuf.GeneratedMessageV3 implements DataLinkOrBuilder
 Represents the data sharing connection between  a Google
 Ads customer and another product's data.
 
Protobuf type google.ads.googleads.v18.resources.DataLink
See Also:
  • Nested Class Summary

    Nested Classes
    Modifier and Type
    Class
    Description
    static final class 
    Represents the data sharing connection between a Google Ads customer and another product's data.
    static enum 
     

    Nested classes/interfaces inherited from class com.google.protobuf.GeneratedMessageV3

    com.google.protobuf.GeneratedMessageV3.BuilderParent, com.google.protobuf.GeneratedMessageV3.ExtendableBuilder<MessageT extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT>,BuilderT extends com.google.protobuf.GeneratedMessageV3.ExtendableBuilder<MessageT,BuilderT>>, com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT>>, com.google.protobuf.GeneratedMessageV3.ExtendableMessageOrBuilder<MessageT extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT>>, com.google.protobuf.GeneratedMessageV3.FieldAccessorTable, com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter

    Nested classes/interfaces inherited from class com.google.protobuf.AbstractMessageLite

    com.google.protobuf.AbstractMessageLite.InternalOneOfEnum
  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
    static final int
     
    static final int
     
    static final int
     
    static final int
     
    static final int
     
    static final int
     

    Fields inherited from class com.google.protobuf.GeneratedMessageV3

    alwaysUseFieldBuilders, unknownFields

    Fields inherited from class com.google.protobuf.AbstractMessage

    memoizedSize

    Fields inherited from class com.google.protobuf.AbstractMessageLite

    memoizedHashCode
  • Method Summary

    Modifier and Type
    Method
    Description
    boolean
     
     
    long
    Output only.
    static DataLink
     
     
    static final com.google.protobuf.Descriptors.Descriptor
     
    com.google.protobuf.Parser<DataLink>
     
    long
    Output only.
    Immutable.
    com.google.protobuf.ByteString
    Immutable.
    int
     
    Output only.
    int
    Output only.
    Output only.
    int
    Output only.
    Immutable.
    Immutable.
    boolean
    Output only.
    int
     
    boolean
    Output only.
    boolean
    Immutable.
    protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
     
    final boolean
     
     
    newBuilder(DataLink prototype)
     
     
    newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)
     
    protected Object
    newInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused)
     
    static DataLink
     
    static DataLink
    parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
     
    static DataLink
    parseFrom(byte[] data)
     
    static DataLink
    parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
     
    static DataLink
    parseFrom(com.google.protobuf.ByteString data)
     
    static DataLink
    parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
     
    static DataLink
    parseFrom(com.google.protobuf.CodedInputStream input)
     
    static DataLink
    parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
     
    static DataLink
     
    static DataLink
    parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
     
    static DataLink
     
    static DataLink
    parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
     
    static com.google.protobuf.Parser<DataLink>
     
     
    void
    writeTo(com.google.protobuf.CodedOutputStream output)
     

    Methods inherited from class com.google.protobuf.GeneratedMessageV3

    canUseUnsafe, computeStringSize, computeStringSizeNoTag, emptyBooleanList, emptyDoubleList, emptyFloatList, emptyIntList, emptyList, emptyLongList, getAllFields, getDescriptorForType, getField, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof, internalGetMapField, internalGetMapFieldReflection, isStringEmpty, makeExtensionsImmutable, makeMutableCopy, makeMutableCopy, mergeFromAndMakeImmutableInternal, mutableCopy, mutableCopy, mutableCopy, mutableCopy, mutableCopy, newBooleanList, newBuilderForType, newDoubleList, newFloatList, newIntList, newLongList, parseDelimitedWithIOException, parseDelimitedWithIOException, parseUnknownField, parseUnknownFieldProto3, parseWithIOException, parseWithIOException, parseWithIOException, parseWithIOException, serializeBooleanMapTo, serializeIntegerMapTo, serializeLongMapTo, serializeStringMapTo, writeReplace, writeString, writeStringNoTag

    Methods inherited from class com.google.protobuf.AbstractMessage

    findInitializationErrors, getInitializationErrorString, hashBoolean, hashEnum, hashEnumList, hashFields, hashLong, toString

    Methods inherited from class com.google.protobuf.AbstractMessageLite

    addAll, addAll, checkByteStringIsUtf8, toByteArray, toByteString, writeDelimitedTo, writeTo

    Methods inherited from class java.lang.Object

    clone, finalize, getClass, notify, notifyAll, wait, wait, wait

    Methods inherited from interface com.google.protobuf.MessageLite

    toByteArray, toByteString, writeDelimitedTo, writeTo

    Methods inherited from interface com.google.protobuf.MessageOrBuilder

    findInitializationErrors, getAllFields, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
  • Field Details

    • RESOURCE_NAME_FIELD_NUMBER

      public static final int RESOURCE_NAME_FIELD_NUMBER
      See Also:
    • TYPE_FIELD_NUMBER

      public static final int TYPE_FIELD_NUMBER
      See Also:
    • STATUS_FIELD_NUMBER

      public static final int STATUS_FIELD_NUMBER
      See Also:
    • YOUTUBE_VIDEO_FIELD_NUMBER

      public static final int YOUTUBE_VIDEO_FIELD_NUMBER
      See Also:
  • Method Details

    • newInstance

      protected Object newInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused)
      Overrides:
      newInstance in class com.google.protobuf.GeneratedMessageV3
    • getDescriptor

      public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
    • internalGetFieldAccessorTable

      protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
      Specified by:
      internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessageV3
    • getDataLinkEntityCase

      public DataLink.DataLinkEntityCase getDataLinkEntityCase()
      Specified by:
      getDataLinkEntityCase in interface DataLinkOrBuilder
    • getResourceName

      public 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) = { ... }
      Specified by:
      getResourceName in interface DataLinkOrBuilder
      Returns:
      The resourceName.
    • getResourceNameBytes

      public 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) = { ... }
      Specified by:
      getResourceNameBytes in interface DataLinkOrBuilder
      Returns:
      The bytes for resourceName.
    • hasProductLinkId

      public 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];
      Specified by:
      hasProductLinkId in interface DataLinkOrBuilder
      Returns:
      Whether the productLinkId field is set.
    • getProductLinkId

      public 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];
      Specified by:
      getProductLinkId in interface DataLinkOrBuilder
      Returns:
      The productLinkId.
    • hasDataLinkId

      public 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];
      Specified by:
      hasDataLinkId in interface DataLinkOrBuilder
      Returns:
      Whether the dataLinkId field is set.
    • getDataLinkId

      public 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];
      Specified by:
      getDataLinkId in interface DataLinkOrBuilder
      Returns:
      The dataLinkId.
    • getTypeValue

      public int getTypeValue()
       Output only. The type of the data.
       
      .google.ads.googleads.v18.enums.DataLinkTypeEnum.DataLinkType type = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      getTypeValue in interface DataLinkOrBuilder
      Returns:
      The enum numeric value on the wire for type.
    • getType

       Output only. The type of the data.
       
      .google.ads.googleads.v18.enums.DataLinkTypeEnum.DataLinkType type = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      getType in interface DataLinkOrBuilder
      Returns:
      The type.
    • getStatusValue

      public 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];
      Specified by:
      getStatusValue in interface DataLinkOrBuilder
      Returns:
      The enum numeric value on the wire for status.
    • getStatus

       Output only. The status of the data link.
       
      .google.ads.googleads.v18.enums.DataLinkStatusEnum.DataLinkStatus status = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      getStatus in interface DataLinkOrBuilder
      Returns:
      The status.
    • hasYoutubeVideo

      public boolean hasYoutubeVideo()
       Immutable. A data link to YouTube video.
       
      .google.ads.googleads.v18.resources.YoutubeVideoIdentifier youtube_video = 6 [(.google.api.field_behavior) = IMMUTABLE];
      Specified by:
      hasYoutubeVideo in interface DataLinkOrBuilder
      Returns:
      Whether the youtubeVideo field is set.
    • getYoutubeVideo

      public YoutubeVideoIdentifier getYoutubeVideo()
       Immutable. A data link to YouTube video.
       
      .google.ads.googleads.v18.resources.YoutubeVideoIdentifier youtube_video = 6 [(.google.api.field_behavior) = IMMUTABLE];
      Specified by:
      getYoutubeVideo in interface DataLinkOrBuilder
      Returns:
      The youtubeVideo.
    • getYoutubeVideoOrBuilder

      public YoutubeVideoIdentifierOrBuilder getYoutubeVideoOrBuilder()
       Immutable. A data link to YouTube video.
       
      .google.ads.googleads.v18.resources.YoutubeVideoIdentifier youtube_video = 6 [(.google.api.field_behavior) = IMMUTABLE];
      Specified by:
      getYoutubeVideoOrBuilder in interface DataLinkOrBuilder
    • isInitialized

      public final boolean isInitialized()
      Specified by:
      isInitialized in interface com.google.protobuf.MessageLiteOrBuilder
      Overrides:
      isInitialized in class com.google.protobuf.GeneratedMessageV3
    • writeTo

      public void writeTo(com.google.protobuf.CodedOutputStream output) throws IOException
      Specified by:
      writeTo in interface com.google.protobuf.MessageLite
      Overrides:
      writeTo in class com.google.protobuf.GeneratedMessageV3
      Throws:
      IOException
    • getSerializedSize

      public int getSerializedSize()
      Specified by:
      getSerializedSize in interface com.google.protobuf.MessageLite
      Overrides:
      getSerializedSize in class com.google.protobuf.GeneratedMessageV3
    • equals

      public boolean equals(Object obj)
      Specified by:
      equals in interface com.google.protobuf.Message
      Overrides:
      equals in class com.google.protobuf.AbstractMessage
    • hashCode

      public int hashCode()
      Specified by:
      hashCode in interface com.google.protobuf.Message
      Overrides:
      hashCode in class com.google.protobuf.AbstractMessage
    • parseFrom

      public static DataLink parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static DataLink parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static DataLink parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static DataLink parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static DataLink parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static DataLink parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static DataLink parseFrom(InputStream input) throws IOException
      Throws:
      IOException
    • parseFrom

      public static DataLink parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
      Throws:
      IOException
    • parseDelimitedFrom

      public static DataLink parseDelimitedFrom(InputStream input) throws IOException
      Throws:
      IOException
    • parseDelimitedFrom

      public static DataLink parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
      Throws:
      IOException
    • parseFrom

      public static DataLink parseFrom(com.google.protobuf.CodedInputStream input) throws IOException
      Throws:
      IOException
    • parseFrom

      public static DataLink parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
      Throws:
      IOException
    • newBuilderForType

      public DataLink.Builder newBuilderForType()
      Specified by:
      newBuilderForType in interface com.google.protobuf.Message
      Specified by:
      newBuilderForType in interface com.google.protobuf.MessageLite
    • newBuilder

      public static DataLink.Builder newBuilder()
    • newBuilder

      public static DataLink.Builder newBuilder(DataLink prototype)
    • toBuilder

      public DataLink.Builder toBuilder()
      Specified by:
      toBuilder in interface com.google.protobuf.Message
      Specified by:
      toBuilder in interface com.google.protobuf.MessageLite
    • newBuilderForType

      protected DataLink.Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)
      Specified by:
      newBuilderForType in class com.google.protobuf.GeneratedMessageV3
    • getDefaultInstance

      public static DataLink getDefaultInstance()
    • parser

      public static com.google.protobuf.Parser<DataLink> parser()
    • getParserForType

      public com.google.protobuf.Parser<DataLink> getParserForType()
      Specified by:
      getParserForType in interface com.google.protobuf.Message
      Specified by:
      getParserForType in interface com.google.protobuf.MessageLite
      Overrides:
      getParserForType in class com.google.protobuf.GeneratedMessageV3
    • getDefaultInstanceForType

      public DataLink getDefaultInstanceForType()
      Specified by:
      getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuilder
      Specified by:
      getDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilder