Class AndroidPrivacySharedKeyGoogleCampaign.Builder

    • Method Detail

      • 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.Builder<AndroidPrivacySharedKeyGoogleCampaign.Builder>
      • getDescriptorForType

        public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
        Specified by:
        getDescriptorForType in interface com.google.protobuf.Message.Builder
        Specified by:
        getDescriptorForType in interface com.google.protobuf.MessageOrBuilder
        Overrides:
        getDescriptorForType in class com.google.protobuf.GeneratedMessageV3.Builder<AndroidPrivacySharedKeyGoogleCampaign.Builder>
      • getDefaultInstanceForType

        public AndroidPrivacySharedKeyGoogleCampaign getDefaultInstanceForType()
        Specified by:
        getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuilder
        Specified by:
        getDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilder
      • build

        public AndroidPrivacySharedKeyGoogleCampaign build()
        Specified by:
        build in interface com.google.protobuf.Message.Builder
        Specified by:
        build in interface com.google.protobuf.MessageLite.Builder
      • buildPartial

        public AndroidPrivacySharedKeyGoogleCampaign buildPartial()
        Specified by:
        buildPartial in interface com.google.protobuf.Message.Builder
        Specified by:
        buildPartial in interface com.google.protobuf.MessageLite.Builder
      • isInitialized

        public final boolean isInitialized()
        Specified by:
        isInitialized in interface com.google.protobuf.MessageLiteOrBuilder
        Overrides:
        isInitialized in class com.google.protobuf.GeneratedMessageV3.Builder<AndroidPrivacySharedKeyGoogleCampaign.Builder>
      • mergeFrom

        public AndroidPrivacySharedKeyGoogleCampaign.Builder mergeFrom​(com.google.protobuf.CodedInputStream input,
                                                                       com.google.protobuf.ExtensionRegistryLite extensionRegistry)
                                                                throws java.io.IOException
        Specified by:
        mergeFrom in interface com.google.protobuf.Message.Builder
        Specified by:
        mergeFrom in interface com.google.protobuf.MessageLite.Builder
        Overrides:
        mergeFrom in class com.google.protobuf.AbstractMessage.Builder<AndroidPrivacySharedKeyGoogleCampaign.Builder>
        Throws:
        java.io.IOException
      • getResourceName

        public java.lang.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}/androidPrivacySharedKeyGoogleCampaigns/{campaign_id}~{android_privacy_interaction_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 AndroidPrivacySharedKeyGoogleCampaignOrBuilder
        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}/androidPrivacySharedKeyGoogleCampaigns/{campaign_id}~{android_privacy_interaction_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 AndroidPrivacySharedKeyGoogleCampaignOrBuilder
        Returns:
        The bytes for resourceName.
      • setResourceName

        public AndroidPrivacySharedKeyGoogleCampaign.Builder setResourceName​(java.lang.String value)
         Output only. The resource name of the Android privacy shared key.
         Android privacy shared key resource names have the form:
        
         `customers/{customer_id}/androidPrivacySharedKeyGoogleCampaigns/{campaign_id}~{android_privacy_interaction_type}~{android_privacy_interaction_date(yyyy-mm-dd)}`
         
        string resource_name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... }
        Parameters:
        value - The resourceName to set.
        Returns:
        This builder for chaining.
      • clearResourceName

        public AndroidPrivacySharedKeyGoogleCampaign.Builder clearResourceName()
         Output only. The resource name of the Android privacy shared key.
         Android privacy shared key resource names have the form:
        
         `customers/{customer_id}/androidPrivacySharedKeyGoogleCampaigns/{campaign_id}~{android_privacy_interaction_type}~{android_privacy_interaction_date(yyyy-mm-dd)}`
         
        string resource_name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... }
        Returns:
        This builder for chaining.
      • setResourceNameBytes

        public AndroidPrivacySharedKeyGoogleCampaign.Builder setResourceNameBytes​(com.google.protobuf.ByteString value)
         Output only. The resource name of the Android privacy shared key.
         Android privacy shared key resource names have the form:
        
         `customers/{customer_id}/androidPrivacySharedKeyGoogleCampaigns/{campaign_id}~{android_privacy_interaction_type}~{android_privacy_interaction_date(yyyy-mm-dd)}`
         
        string resource_name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... }
        Parameters:
        value - The bytes for resourceName to set.
        Returns:
        This builder for chaining.
      • setCampaignId

        public AndroidPrivacySharedKeyGoogleCampaign.Builder setCampaignId​(long value)
         Output only. The campaign ID used in the share key encoding.
         
        int64 campaign_id = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
        Parameters:
        value - The campaignId to set.
        Returns:
        This builder for chaining.
      • clearCampaignId

        public AndroidPrivacySharedKeyGoogleCampaign.Builder clearCampaignId()
         Output only. The campaign ID used in the share key encoding.
         
        int64 campaign_id = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
        Returns:
        This builder for chaining.
      • getAndroidPrivacyInteractionTypeValue

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

        public AndroidPrivacySharedKeyGoogleCampaign.Builder setAndroidPrivacyInteractionTypeValue​(int value)
         Output only. The interaction type enum used in the share key encoding.
         
        .google.ads.googleads.v15.enums.AndroidPrivacyInteractionTypeEnum.AndroidPrivacyInteractionType android_privacy_interaction_type = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
        Parameters:
        value - The enum numeric value on the wire for androidPrivacyInteractionType to set.
        Returns:
        This builder for chaining.
      • setAndroidPrivacyInteractionType

        public AndroidPrivacySharedKeyGoogleCampaign.Builder setAndroidPrivacyInteractionType​(AndroidPrivacyInteractionTypeEnum.AndroidPrivacyInteractionType value)
         Output only. The interaction type enum used in the share key encoding.
         
        .google.ads.googleads.v15.enums.AndroidPrivacyInteractionTypeEnum.AndroidPrivacyInteractionType android_privacy_interaction_type = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
        Parameters:
        value - The androidPrivacyInteractionType to set.
        Returns:
        This builder for chaining.
      • clearAndroidPrivacyInteractionType

        public AndroidPrivacySharedKeyGoogleCampaign.Builder clearAndroidPrivacyInteractionType()
         Output only. The interaction type enum used in the share key encoding.
         
        .google.ads.googleads.v15.enums.AndroidPrivacyInteractionTypeEnum.AndroidPrivacyInteractionType android_privacy_interaction_type = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
        Returns:
        This builder for chaining.
      • getAndroidPrivacyInteractionDate

        public java.lang.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 AndroidPrivacySharedKeyGoogleCampaignOrBuilder
        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 AndroidPrivacySharedKeyGoogleCampaignOrBuilder
        Returns:
        The bytes for androidPrivacyInteractionDate.
      • setAndroidPrivacyInteractionDate

        public AndroidPrivacySharedKeyGoogleCampaign.Builder setAndroidPrivacyInteractionDate​(java.lang.String value)
         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];
        Parameters:
        value - The androidPrivacyInteractionDate to set.
        Returns:
        This builder for chaining.
      • clearAndroidPrivacyInteractionDate

        public AndroidPrivacySharedKeyGoogleCampaign.Builder clearAndroidPrivacyInteractionDate()
         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];
        Returns:
        This builder for chaining.
      • setAndroidPrivacyInteractionDateBytes

        public AndroidPrivacySharedKeyGoogleCampaign.Builder setAndroidPrivacyInteractionDateBytes​(com.google.protobuf.ByteString value)
         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];
        Parameters:
        value - The bytes for androidPrivacyInteractionDate to set.
        Returns:
        This builder for chaining.
      • getSharedCampaignKey

        public java.lang.String getSharedCampaignKey()
         Output only. 128 bit hex string of the encoded shared campaign 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_campaign_key = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];
        Specified by:
        getSharedCampaignKey in interface AndroidPrivacySharedKeyGoogleCampaignOrBuilder
        Returns:
        The sharedCampaignKey.
      • getSharedCampaignKeyBytes

        public com.google.protobuf.ByteString getSharedCampaignKeyBytes()
         Output only. 128 bit hex string of the encoded shared campaign 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_campaign_key = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];
        Specified by:
        getSharedCampaignKeyBytes in interface AndroidPrivacySharedKeyGoogleCampaignOrBuilder
        Returns:
        The bytes for sharedCampaignKey.
      • setSharedCampaignKey

        public AndroidPrivacySharedKeyGoogleCampaign.Builder setSharedCampaignKey​(java.lang.String value)
         Output only. 128 bit hex string of the encoded shared campaign 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_campaign_key = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];
        Parameters:
        value - The sharedCampaignKey to set.
        Returns:
        This builder for chaining.
      • clearSharedCampaignKey

        public AndroidPrivacySharedKeyGoogleCampaign.Builder clearSharedCampaignKey()
         Output only. 128 bit hex string of the encoded shared campaign 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_campaign_key = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];
        Returns:
        This builder for chaining.
      • setSharedCampaignKeyBytes

        public AndroidPrivacySharedKeyGoogleCampaign.Builder setSharedCampaignKeyBytes​(com.google.protobuf.ByteString value)
         Output only. 128 bit hex string of the encoded shared campaign 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_campaign_key = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];
        Parameters:
        value - The bytes for sharedCampaignKey to set.
        Returns:
        This builder for chaining.