Class AndroidPrivacySharedKeyGoogleNetworkType

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

public final class AndroidPrivacySharedKeyGoogleNetworkType extends com.google.protobuf.GeneratedMessageV3 implements AndroidPrivacySharedKeyGoogleNetworkTypeOrBuilder
 An Android privacy shared key view for Google network type key.
 
Protobuf type google.ads.googleads.v18.resources.AndroidPrivacySharedKeyGoogleNetworkType
See Also:
  • Field Details

    • RESOURCE_NAME_FIELD_NUMBER

      public static final int RESOURCE_NAME_FIELD_NUMBER
      See Also:
    • CAMPAIGN_ID_FIELD_NUMBER

      public static final int CAMPAIGN_ID_FIELD_NUMBER
      See Also:
    • ANDROID_PRIVACY_INTERACTION_TYPE_FIELD_NUMBER

      public static final int ANDROID_PRIVACY_INTERACTION_TYPE_FIELD_NUMBER
      See Also:
    • ANDROID_PRIVACY_INTERACTION_DATE_FIELD_NUMBER

      public static final int ANDROID_PRIVACY_INTERACTION_DATE_FIELD_NUMBER
      See Also:
    • ANDROID_PRIVACY_NETWORK_TYPE_FIELD_NUMBER

      public static final int ANDROID_PRIVACY_NETWORK_TYPE_FIELD_NUMBER
      See Also:
    • SHARED_NETWORK_TYPE_KEY_FIELD_NUMBER

      public static final int SHARED_NETWORK_TYPE_KEY_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
    • getResourceName

      public String getResourceName()
       Output only. The resource name of the Android privacy shared key.
       Android privacy shared key resource names have the form:
      
       `customers/{customer_id}/androidPrivacySharedKeyGoogleNetworkTypes/{campaign_id}~{android_privacy_interaction_type}~{android_privacy_network_type}~{android_privacy_interaction_date(yyyy-mm-dd)}`
       
      string resource_name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... }
      Specified by:
      getResourceName in interface AndroidPrivacySharedKeyGoogleNetworkTypeOrBuilder
      Returns:
      The resourceName.
    • getResourceNameBytes

      public com.google.protobuf.ByteString getResourceNameBytes()
       Output only. The resource name of the Android privacy shared key.
       Android privacy shared key resource names have the form:
      
       `customers/{customer_id}/androidPrivacySharedKeyGoogleNetworkTypes/{campaign_id}~{android_privacy_interaction_type}~{android_privacy_network_type}~{android_privacy_interaction_date(yyyy-mm-dd)}`
       
      string resource_name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... }
      Specified by:
      getResourceNameBytes in interface AndroidPrivacySharedKeyGoogleNetworkTypeOrBuilder
      Returns:
      The bytes for resourceName.
    • getCampaignId

      public long getCampaignId()
       Output only. The campaign ID used in the share key encoding.
       
      int64 campaign_id = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      getCampaignId in interface AndroidPrivacySharedKeyGoogleNetworkTypeOrBuilder
      Returns:
      The campaignId.
    • getAndroidPrivacyInteractionTypeValue

      public int getAndroidPrivacyInteractionTypeValue()
       Output only. The interaction type enum used in the share key encoding.
       
      .google.ads.googleads.v18.enums.AndroidPrivacyInteractionTypeEnum.AndroidPrivacyInteractionType android_privacy_interaction_type = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      getAndroidPrivacyInteractionTypeValue in interface AndroidPrivacySharedKeyGoogleNetworkTypeOrBuilder
      Returns:
      The enum numeric value on the wire for androidPrivacyInteractionType.
    • getAndroidPrivacyInteractionType

      public AndroidPrivacyInteractionTypeEnum.AndroidPrivacyInteractionType getAndroidPrivacyInteractionType()
       Output only. The interaction type enum used in the share key encoding.
       
      .google.ads.googleads.v18.enums.AndroidPrivacyInteractionTypeEnum.AndroidPrivacyInteractionType android_privacy_interaction_type = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      getAndroidPrivacyInteractionType in interface AndroidPrivacySharedKeyGoogleNetworkTypeOrBuilder
      Returns:
      The androidPrivacyInteractionType.
    • getAndroidPrivacyInteractionDate

      public String getAndroidPrivacyInteractionDate()
       Output only. The interaction date used in the shared key encoding in the
       format of "YYYY-MM-DD" in UTC timezone.
       
      string android_privacy_interaction_date = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      getAndroidPrivacyInteractionDate in interface AndroidPrivacySharedKeyGoogleNetworkTypeOrBuilder
      Returns:
      The androidPrivacyInteractionDate.
    • getAndroidPrivacyInteractionDateBytes

      public com.google.protobuf.ByteString getAndroidPrivacyInteractionDateBytes()
       Output only. The interaction date used in the shared key encoding in the
       format of "YYYY-MM-DD" in UTC timezone.
       
      string android_privacy_interaction_date = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      getAndroidPrivacyInteractionDateBytes in interface AndroidPrivacySharedKeyGoogleNetworkTypeOrBuilder
      Returns:
      The bytes for androidPrivacyInteractionDate.
    • getAndroidPrivacyNetworkTypeValue

      public int getAndroidPrivacyNetworkTypeValue()
       Output only. The network type enum used in the share key encoding.
       
      .google.ads.googleads.v18.enums.AndroidPrivacyNetworkTypeEnum.AndroidPrivacyNetworkType android_privacy_network_type = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      getAndroidPrivacyNetworkTypeValue in interface AndroidPrivacySharedKeyGoogleNetworkTypeOrBuilder
      Returns:
      The enum numeric value on the wire for androidPrivacyNetworkType.
    • getAndroidPrivacyNetworkType

      public AndroidPrivacyNetworkTypeEnum.AndroidPrivacyNetworkType getAndroidPrivacyNetworkType()
       Output only. The network type enum used in the share key encoding.
       
      .google.ads.googleads.v18.enums.AndroidPrivacyNetworkTypeEnum.AndroidPrivacyNetworkType android_privacy_network_type = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      getAndroidPrivacyNetworkType in interface AndroidPrivacySharedKeyGoogleNetworkTypeOrBuilder
      Returns:
      The androidPrivacyNetworkType.
    • getSharedNetworkTypeKey

      public String getSharedNetworkTypeKey()
       Output only. 128 bit hex string of the encoded shared network type key,
       including a '0x' prefix. This key can be used to do a bitwise OR operator
       with the aggregate conversion key to create a full aggregation key to
       retrieve the Aggregate API Report in Android Privacy Sandbox.
       
      string shared_network_type_key = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      getSharedNetworkTypeKey in interface AndroidPrivacySharedKeyGoogleNetworkTypeOrBuilder
      Returns:
      The sharedNetworkTypeKey.
    • getSharedNetworkTypeKeyBytes

      public com.google.protobuf.ByteString getSharedNetworkTypeKeyBytes()
       Output only. 128 bit hex string of the encoded shared network type key,
       including a '0x' prefix. This key can be used to do a bitwise OR operator
       with the aggregate conversion key to create a full aggregation key to
       retrieve the Aggregate API Report in Android Privacy Sandbox.
       
      string shared_network_type_key = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      getSharedNetworkTypeKeyBytes in interface AndroidPrivacySharedKeyGoogleNetworkTypeOrBuilder
      Returns:
      The bytes for sharedNetworkTypeKey.
    • 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 AndroidPrivacySharedKeyGoogleNetworkType parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

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

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

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

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

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

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

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

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

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

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

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

      Specified by:
      newBuilderForType in interface com.google.protobuf.Message
      Specified by:
      newBuilderForType in interface com.google.protobuf.MessageLite
    • newBuilder

    • newBuilder

    • toBuilder

      Specified by:
      toBuilder in interface com.google.protobuf.Message
      Specified by:
      toBuilder in interface com.google.protobuf.MessageLite
    • newBuilderForType

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

      public static AndroidPrivacySharedKeyGoogleNetworkType getDefaultInstance()
    • parser

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

      public com.google.protobuf.Parser<AndroidPrivacySharedKeyGoogleNetworkType> 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 AndroidPrivacySharedKeyGoogleNetworkType getDefaultInstanceForType()
      Specified by:
      getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuilder
      Specified by:
      getDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilder