Interface RecommendationSubscriptionOrBuilder

    • Method Detail

      • getResourceName

        java.lang.String getResourceName()
         Immutable. The resource name of the recommendation subscription.
        
         `customers/{customer_id}/recommendationSubscriptions/{recommendation_type}`
         
        string resource_name = 1 [(.google.api.field_behavior) = IMMUTABLE, (.google.api.resource_reference) = { ... }
        Returns:
        The resourceName.
      • getResourceNameBytes

        com.google.protobuf.ByteString getResourceNameBytes()
         Immutable. The resource name of the recommendation subscription.
        
         `customers/{customer_id}/recommendationSubscriptions/{recommendation_type}`
         
        string resource_name = 1 [(.google.api.field_behavior) = IMMUTABLE, (.google.api.resource_reference) = { ... }
        Returns:
        The bytes for resourceName.
      • getTypeValue

        int getTypeValue()
         Required. Immutable. The type of recommendation subscribed to.
         
        .google.ads.googleads.v15.enums.RecommendationTypeEnum.RecommendationType type = 2 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = IMMUTABLE];
        Returns:
        The enum numeric value on the wire for type.
      • getType

        RecommendationTypeEnum.RecommendationType getType()
         Required. Immutable. The type of recommendation subscribed to.
         
        .google.ads.googleads.v15.enums.RecommendationTypeEnum.RecommendationType type = 2 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = IMMUTABLE];
        Returns:
        The type.
      • hasCreateDateTime

        boolean hasCreateDateTime()
         Output only. Time in seconds when the subscription was first created. The
         datetime is in the customer's time zone and in "yyyy-MM-dd HH:mm:ss"
         format.
         
        optional string create_date_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
        Returns:
        Whether the createDateTime field is set.
      • getCreateDateTime

        java.lang.String getCreateDateTime()
         Output only. Time in seconds when the subscription was first created. The
         datetime is in the customer's time zone and in "yyyy-MM-dd HH:mm:ss"
         format.
         
        optional string create_date_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
        Returns:
        The createDateTime.
      • getCreateDateTimeBytes

        com.google.protobuf.ByteString getCreateDateTimeBytes()
         Output only. Time in seconds when the subscription was first created. The
         datetime is in the customer's time zone and in "yyyy-MM-dd HH:mm:ss"
         format.
         
        optional string create_date_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
        Returns:
        The bytes for createDateTime.
      • hasModifyDateTime

        boolean hasModifyDateTime()
         Output only. Contains the time in microseconds, when the Recommendation
         Subscription was last updated. The datetime is in the customer's time zone
         and in "yyyy-MM-dd HH:mm:ss.ssssss" format.
         
        optional string modify_date_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
        Returns:
        Whether the modifyDateTime field is set.
      • getModifyDateTime

        java.lang.String getModifyDateTime()
         Output only. Contains the time in microseconds, when the Recommendation
         Subscription was last updated. The datetime is in the customer's time zone
         and in "yyyy-MM-dd HH:mm:ss.ssssss" format.
         
        optional string modify_date_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
        Returns:
        The modifyDateTime.
      • getModifyDateTimeBytes

        com.google.protobuf.ByteString getModifyDateTimeBytes()
         Output only. Contains the time in microseconds, when the Recommendation
         Subscription was last updated. The datetime is in the customer's time zone
         and in "yyyy-MM-dd HH:mm:ss.ssssss" format.
         
        optional string modify_date_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
        Returns:
        The bytes for modifyDateTime.
      • hasStatus

        boolean hasStatus()
         Required. Status of the subscription, either enabled or paused.
         
        optional .google.ads.googleads.v15.enums.RecommendationSubscriptionStatusEnum.RecommendationSubscriptionStatus status = 5 [(.google.api.field_behavior) = REQUIRED];
        Returns:
        Whether the status field is set.
      • getStatusValue

        int getStatusValue()
         Required. Status of the subscription, either enabled or paused.
         
        optional .google.ads.googleads.v15.enums.RecommendationSubscriptionStatusEnum.RecommendationSubscriptionStatus status = 5 [(.google.api.field_behavior) = REQUIRED];
        Returns:
        The enum numeric value on the wire for status.