Class AndroidPrivacySharedKeyGoogleAdGroup.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<AndroidPrivacySharedKeyGoogleAdGroup.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<AndroidPrivacySharedKeyGoogleAdGroup.Builder>
      • getDefaultInstanceForType

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

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

        public AndroidPrivacySharedKeyGoogleAdGroup 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<AndroidPrivacySharedKeyGoogleAdGroup.Builder>
      • mergeFrom

        public AndroidPrivacySharedKeyGoogleAdGroup.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<AndroidPrivacySharedKeyGoogleAdGroup.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}/androidPrivacySharedKeyGoogleAdGroups/{campaign_id}~{ad_group_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 AndroidPrivacySharedKeyGoogleAdGroupOrBuilder
        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}/androidPrivacySharedKeyGoogleAdGroups/{campaign_id}~{ad_group_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 AndroidPrivacySharedKeyGoogleAdGroupOrBuilder
        Returns:
        The bytes for resourceName.
      • setResourceName

        public AndroidPrivacySharedKeyGoogleAdGroup.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}/androidPrivacySharedKeyGoogleAdGroups/{campaign_id}~{ad_group_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) = { ... }
        Parameters:
        value - The resourceName to set.
        Returns:
        This builder for chaining.
      • clearResourceName

        public AndroidPrivacySharedKeyGoogleAdGroup.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}/androidPrivacySharedKeyGoogleAdGroups/{campaign_id}~{ad_group_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) = { ... }
        Returns:
        This builder for chaining.
      • setResourceNameBytes

        public AndroidPrivacySharedKeyGoogleAdGroup.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}/androidPrivacySharedKeyGoogleAdGroups/{campaign_id}~{ad_group_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) = { ... }
        Parameters:
        value - The bytes for resourceName to set.
        Returns:
        This builder for chaining.
      • setCampaignId

        public AndroidPrivacySharedKeyGoogleAdGroup.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 AndroidPrivacySharedKeyGoogleAdGroup.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 AndroidPrivacySharedKeyGoogleAdGroupOrBuilder
        Returns:
        The enum numeric value on the wire for androidPrivacyInteractionType.
      • setAndroidPrivacyInteractionTypeValue

        public AndroidPrivacySharedKeyGoogleAdGroup.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 AndroidPrivacySharedKeyGoogleAdGroup.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 AndroidPrivacySharedKeyGoogleAdGroup.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 AndroidPrivacySharedKeyGoogleAdGroupOrBuilder
        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 AndroidPrivacySharedKeyGoogleAdGroupOrBuilder
        Returns:
        The bytes for androidPrivacyInteractionDate.
      • setAndroidPrivacyInteractionDate

        public AndroidPrivacySharedKeyGoogleAdGroup.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 AndroidPrivacySharedKeyGoogleAdGroup.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 AndroidPrivacySharedKeyGoogleAdGroup.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.
      • getAndroidPrivacyNetworkTypeValue

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

        public AndroidPrivacySharedKeyGoogleAdGroup.Builder setAndroidPrivacyNetworkTypeValue​(int value)
         Output only. The network type enum used in the share key encoding.
         
        .google.ads.googleads.v15.enums.AndroidPrivacyNetworkTypeEnum.AndroidPrivacyNetworkType android_privacy_network_type = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];
        Parameters:
        value - The enum numeric value on the wire for androidPrivacyNetworkType to set.
        Returns:
        This builder for chaining.
      • setAndroidPrivacyNetworkType

        public AndroidPrivacySharedKeyGoogleAdGroup.Builder setAndroidPrivacyNetworkType​(AndroidPrivacyNetworkTypeEnum.AndroidPrivacyNetworkType value)
         Output only. The network type enum used in the share key encoding.
         
        .google.ads.googleads.v15.enums.AndroidPrivacyNetworkTypeEnum.AndroidPrivacyNetworkType android_privacy_network_type = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];
        Parameters:
        value - The androidPrivacyNetworkType to set.
        Returns:
        This builder for chaining.
      • clearAndroidPrivacyNetworkType

        public AndroidPrivacySharedKeyGoogleAdGroup.Builder clearAndroidPrivacyNetworkType()
         Output only. The network type enum used in the share key encoding.
         
        .google.ads.googleads.v15.enums.AndroidPrivacyNetworkTypeEnum.AndroidPrivacyNetworkType android_privacy_network_type = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];
        Returns:
        This builder for chaining.
      • setAdGroupId

        public AndroidPrivacySharedKeyGoogleAdGroup.Builder setAdGroupId​(long value)
         Output only. The ad group ID used in the share key encoding.
         
        int64 ad_group_id = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];
        Parameters:
        value - The adGroupId to set.
        Returns:
        This builder for chaining.
      • clearAdGroupId

        public AndroidPrivacySharedKeyGoogleAdGroup.Builder clearAdGroupId()
         Output only. The ad group ID used in the share key encoding.
         
        int64 ad_group_id = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];
        Returns:
        This builder for chaining.
      • getSharedAdGroupKey

        public java.lang.String getSharedAdGroupKey()
         Output only. 128 bit hex string of the encoded shared ad group 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_ad_group_key = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];
        Specified by:
        getSharedAdGroupKey in interface AndroidPrivacySharedKeyGoogleAdGroupOrBuilder
        Returns:
        The sharedAdGroupKey.
      • getSharedAdGroupKeyBytes

        public com.google.protobuf.ByteString getSharedAdGroupKeyBytes()
         Output only. 128 bit hex string of the encoded shared ad group 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_ad_group_key = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];
        Specified by:
        getSharedAdGroupKeyBytes in interface AndroidPrivacySharedKeyGoogleAdGroupOrBuilder
        Returns:
        The bytes for sharedAdGroupKey.
      • setSharedAdGroupKey

        public AndroidPrivacySharedKeyGoogleAdGroup.Builder setSharedAdGroupKey​(java.lang.String value)
         Output only. 128 bit hex string of the encoded shared ad group 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_ad_group_key = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];
        Parameters:
        value - The sharedAdGroupKey to set.
        Returns:
        This builder for chaining.
      • clearSharedAdGroupKey

        public AndroidPrivacySharedKeyGoogleAdGroup.Builder clearSharedAdGroupKey()
         Output only. 128 bit hex string of the encoded shared ad group 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_ad_group_key = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];
        Returns:
        This builder for chaining.
      • setSharedAdGroupKeyBytes

        public AndroidPrivacySharedKeyGoogleAdGroup.Builder setSharedAdGroupKeyBytes​(com.google.protobuf.ByteString value)
         Output only. 128 bit hex string of the encoded shared ad group 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_ad_group_key = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];
        Parameters:
        value - The bytes for sharedAdGroupKey to set.
        Returns:
        This builder for chaining.