Interface ChangeEventOrBuilder

  • All Superinterfaces:
    com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder
    All Known Implementing Classes:
    ChangeEvent, ChangeEvent.Builder

    public interface ChangeEventOrBuilder
    extends com.google.protobuf.MessageOrBuilder
    • Method Detail

      • getResourceName

        java.lang.String getResourceName()
         Output only. The resource name of the change event.
         Change event resource names have the form:
         `customers/{customer_id}/changeEvents/{timestamp_micros}~{command_index}~{mutate_index}`
         
        string resource_name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... }
        Returns:
        The resourceName.
      • getResourceNameBytes

        com.google.protobuf.ByteString getResourceNameBytes()
         Output only. The resource name of the change event.
         Change event resource names have the form:
         `customers/{customer_id}/changeEvents/{timestamp_micros}~{command_index}~{mutate_index}`
         
        string resource_name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... }
        Returns:
        The bytes for resourceName.
      • getChangeDateTime

        java.lang.String getChangeDateTime()
         Output only. Time at which the change was committed on this resource.
         
        string change_date_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
        Returns:
        The changeDateTime.
      • getChangeDateTimeBytes

        com.google.protobuf.ByteString getChangeDateTimeBytes()
         Output only. Time at which the change was committed on this resource.
         
        string change_date_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
        Returns:
        The bytes for changeDateTime.
      • getChangeResourceTypeValue

        int getChangeResourceTypeValue()
         Output only. The type of the changed resource. This dictates what resource
         will be set in old_resource and new_resource.
         
        .google.ads.googleads.v9.enums.ChangeEventResourceTypeEnum.ChangeEventResourceType change_resource_type = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
        Returns:
        The enum numeric value on the wire for changeResourceType.
      • getChangeResourceType

        ChangeEventResourceTypeEnum.ChangeEventResourceType getChangeResourceType()
         Output only. The type of the changed resource. This dictates what resource
         will be set in old_resource and new_resource.
         
        .google.ads.googleads.v9.enums.ChangeEventResourceTypeEnum.ChangeEventResourceType change_resource_type = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
        Returns:
        The changeResourceType.
      • getChangeResourceName

        java.lang.String getChangeResourceName()
         Output only. The Simply resource this change occurred on.
         
        string change_resource_name = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
        Returns:
        The changeResourceName.
      • getChangeResourceNameBytes

        com.google.protobuf.ByteString getChangeResourceNameBytes()
         Output only. The Simply resource this change occurred on.
         
        string change_resource_name = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
        Returns:
        The bytes for changeResourceName.
      • getClientTypeValue

        int getClientTypeValue()
         Output only. Where the change was made through.
         
        .google.ads.googleads.v9.enums.ChangeClientTypeEnum.ChangeClientType client_type = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];
        Returns:
        The enum numeric value on the wire for clientType.
      • getClientType

        ChangeClientTypeEnum.ChangeClientType getClientType()
         Output only. Where the change was made through.
         
        .google.ads.googleads.v9.enums.ChangeClientTypeEnum.ChangeClientType client_type = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];
        Returns:
        The clientType.
      • getUserEmail

        java.lang.String getUserEmail()
         Output only. The email of the user who made this change.
         
        string user_email = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];
        Returns:
        The userEmail.
      • getUserEmailBytes

        com.google.protobuf.ByteString getUserEmailBytes()
         Output only. The email of the user who made this change.
         
        string user_email = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];
        Returns:
        The bytes for userEmail.
      • hasOldResource

        boolean hasOldResource()
         Output only. The old resource before the change. Only changed fields will be populated.
         
        .google.ads.googleads.v9.resources.ChangeEvent.ChangedResource old_resource = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];
        Returns:
        Whether the oldResource field is set.
      • getOldResource

        ChangeEvent.ChangedResource getOldResource()
         Output only. The old resource before the change. Only changed fields will be populated.
         
        .google.ads.googleads.v9.resources.ChangeEvent.ChangedResource old_resource = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];
        Returns:
        The oldResource.
      • getOldResourceOrBuilder

        ChangeEvent.ChangedResourceOrBuilder getOldResourceOrBuilder()
         Output only. The old resource before the change. Only changed fields will be populated.
         
        .google.ads.googleads.v9.resources.ChangeEvent.ChangedResource old_resource = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];
      • hasNewResource

        boolean hasNewResource()
         Output only. The new resource after the change. Only changed fields will be populated.
         
        .google.ads.googleads.v9.resources.ChangeEvent.ChangedResource new_resource = 8 [(.google.api.field_behavior) = OUTPUT_ONLY];
        Returns:
        Whether the newResource field is set.
      • getNewResource

        ChangeEvent.ChangedResource getNewResource()
         Output only. The new resource after the change. Only changed fields will be populated.
         
        .google.ads.googleads.v9.resources.ChangeEvent.ChangedResource new_resource = 8 [(.google.api.field_behavior) = OUTPUT_ONLY];
        Returns:
        The newResource.
      • getNewResourceOrBuilder

        ChangeEvent.ChangedResourceOrBuilder getNewResourceOrBuilder()
         Output only. The new resource after the change. Only changed fields will be populated.
         
        .google.ads.googleads.v9.resources.ChangeEvent.ChangedResource new_resource = 8 [(.google.api.field_behavior) = OUTPUT_ONLY];
      • getResourceChangeOperationValue

        int getResourceChangeOperationValue()
         Output only. The operation on the changed resource.
         
        .google.ads.googleads.v9.enums.ResourceChangeOperationEnum.ResourceChangeOperation resource_change_operation = 9 [(.google.api.field_behavior) = OUTPUT_ONLY];
        Returns:
        The enum numeric value on the wire for resourceChangeOperation.
      • getResourceChangeOperation

        ResourceChangeOperationEnum.ResourceChangeOperation getResourceChangeOperation()
         Output only. The operation on the changed resource.
         
        .google.ads.googleads.v9.enums.ResourceChangeOperationEnum.ResourceChangeOperation resource_change_operation = 9 [(.google.api.field_behavior) = OUTPUT_ONLY];
        Returns:
        The resourceChangeOperation.
      • hasChangedFields

        boolean hasChangedFields()
         Output only. A list of fields that are changed in the returned resource.
         
        .google.protobuf.FieldMask changed_fields = 10 [(.google.api.field_behavior) = OUTPUT_ONLY];
        Returns:
        Whether the changedFields field is set.
      • getChangedFields

        com.google.protobuf.FieldMask getChangedFields()
         Output only. A list of fields that are changed in the returned resource.
         
        .google.protobuf.FieldMask changed_fields = 10 [(.google.api.field_behavior) = OUTPUT_ONLY];
        Returns:
        The changedFields.
      • getChangedFieldsOrBuilder

        com.google.protobuf.FieldMaskOrBuilder getChangedFieldsOrBuilder()
         Output only. A list of fields that are changed in the returned resource.
         
        .google.protobuf.FieldMask changed_fields = 10 [(.google.api.field_behavior) = OUTPUT_ONLY];
      • getCampaign

        java.lang.String getCampaign()
         Output only. The Campaign affected by this change.
         
        string campaign = 11 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... }
        Returns:
        The campaign.
      • getCampaignBytes

        com.google.protobuf.ByteString getCampaignBytes()
         Output only. The Campaign affected by this change.
         
        string campaign = 11 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... }
        Returns:
        The bytes for campaign.
      • getAdGroup

        java.lang.String getAdGroup()
         Output only. The AdGroup affected by this change.
         
        string ad_group = 12 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... }
        Returns:
        The adGroup.
      • getAdGroupBytes

        com.google.protobuf.ByteString getAdGroupBytes()
         Output only. The AdGroup affected by this change.
         
        string ad_group = 12 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... }
        Returns:
        The bytes for adGroup.
      • getFeed

        java.lang.String getFeed()
         Output only. The Feed affected by this change.
         
        string feed = 13 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... }
        Returns:
        The feed.
      • getFeedBytes

        com.google.protobuf.ByteString getFeedBytes()
         Output only. The Feed affected by this change.
         
        string feed = 13 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... }
        Returns:
        The bytes for feed.
      • getFeedItem

        java.lang.String getFeedItem()
         Output only. The FeedItem affected by this change.
         
        string feed_item = 14 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... }
        Returns:
        The feedItem.
      • getFeedItemBytes

        com.google.protobuf.ByteString getFeedItemBytes()
         Output only. The FeedItem affected by this change.
         
        string feed_item = 14 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... }
        Returns:
        The bytes for feedItem.
      • getAsset

        java.lang.String getAsset()
         Output only. The Asset affected by this change.
         
        string asset = 20 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... }
        Returns:
        The asset.
      • getAssetBytes

        com.google.protobuf.ByteString getAssetBytes()
         Output only. The Asset affected by this change.
         
        string asset = 20 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... }
        Returns:
        The bytes for asset.