Class ChangeEvent.Builder
- java.lang.Object
-
- com.google.protobuf.AbstractMessageLite.Builder
-
- com.google.protobuf.AbstractMessage.Builder<BuilderType>
-
- com.google.protobuf.GeneratedMessageV3.Builder<ChangeEvent.Builder>
-
- com.google.ads.googleads.v9.resources.ChangeEvent.Builder
-
- All Implemented Interfaces:
ChangeEventOrBuilder
,com.google.protobuf.Message.Builder
,com.google.protobuf.MessageLite.Builder
,com.google.protobuf.MessageLiteOrBuilder
,com.google.protobuf.MessageOrBuilder
,java.lang.Cloneable
- Enclosing class:
- ChangeEvent
public static final class ChangeEvent.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<ChangeEvent.Builder> implements ChangeEventOrBuilder
Describes the granular change of returned resource of certain resource types. Changes made through UI, API and new versions of Editor by external users (including external users, and internal users that can be shown externally) in the past 30 days will be shown. The change shows the old values of the changed fields before the change and the new values right after the change. ChangeEvent could have up to 3 minutes delay to reflect a new change.
Protobuf typegoogle.ads.googleads.v9.resources.ChangeEvent
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description ChangeEvent.Builder
addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value)
ChangeEvent
build()
ChangeEvent
buildPartial()
ChangeEvent.Builder
clear()
ChangeEvent.Builder
clearAdGroup()
Output only.ChangeEvent.Builder
clearAsset()
Output only.ChangeEvent.Builder
clearCampaign()
Output only.ChangeEvent.Builder
clearChangeDateTime()
Output only.ChangeEvent.Builder
clearChangedFields()
Output only.ChangeEvent.Builder
clearChangeResourceName()
Output only.ChangeEvent.Builder
clearChangeResourceType()
Output only.ChangeEvent.Builder
clearClientType()
Output only.ChangeEvent.Builder
clearFeed()
Output only.ChangeEvent.Builder
clearFeedItem()
Output only.ChangeEvent.Builder
clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
ChangeEvent.Builder
clearNewResource()
Output only.ChangeEvent.Builder
clearOldResource()
Output only.ChangeEvent.Builder
clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
ChangeEvent.Builder
clearResourceChangeOperation()
Output only.ChangeEvent.Builder
clearResourceName()
Output only.ChangeEvent.Builder
clearUserEmail()
Output only.ChangeEvent.Builder
clone()
java.lang.String
getAdGroup()
Output only.com.google.protobuf.ByteString
getAdGroupBytes()
Output only.java.lang.String
getAsset()
Output only.com.google.protobuf.ByteString
getAssetBytes()
Output only.java.lang.String
getCampaign()
Output only.com.google.protobuf.ByteString
getCampaignBytes()
Output only.java.lang.String
getChangeDateTime()
Output only.com.google.protobuf.ByteString
getChangeDateTimeBytes()
Output only.com.google.protobuf.FieldMask
getChangedFields()
Output only.com.google.protobuf.FieldMask.Builder
getChangedFieldsBuilder()
Output only.com.google.protobuf.FieldMaskOrBuilder
getChangedFieldsOrBuilder()
Output only.java.lang.String
getChangeResourceName()
Output only.com.google.protobuf.ByteString
getChangeResourceNameBytes()
Output only.ChangeEventResourceTypeEnum.ChangeEventResourceType
getChangeResourceType()
Output only.int
getChangeResourceTypeValue()
Output only.ChangeClientTypeEnum.ChangeClientType
getClientType()
Output only.int
getClientTypeValue()
Output only.ChangeEvent
getDefaultInstanceForType()
static com.google.protobuf.Descriptors.Descriptor
getDescriptor()
com.google.protobuf.Descriptors.Descriptor
getDescriptorForType()
java.lang.String
getFeed()
Output only.com.google.protobuf.ByteString
getFeedBytes()
Output only.java.lang.String
getFeedItem()
Output only.com.google.protobuf.ByteString
getFeedItemBytes()
Output only.ChangeEvent.ChangedResource
getNewResource()
Output only.ChangeEvent.ChangedResource.Builder
getNewResourceBuilder()
Output only.ChangeEvent.ChangedResourceOrBuilder
getNewResourceOrBuilder()
Output only.ChangeEvent.ChangedResource
getOldResource()
Output only.ChangeEvent.ChangedResource.Builder
getOldResourceBuilder()
Output only.ChangeEvent.ChangedResourceOrBuilder
getOldResourceOrBuilder()
Output only.ResourceChangeOperationEnum.ResourceChangeOperation
getResourceChangeOperation()
Output only.int
getResourceChangeOperationValue()
Output only.java.lang.String
getResourceName()
Output only.com.google.protobuf.ByteString
getResourceNameBytes()
Output only.java.lang.String
getUserEmail()
Output only.com.google.protobuf.ByteString
getUserEmailBytes()
Output only.boolean
hasChangedFields()
Output only.boolean
hasNewResource()
Output only.boolean
hasOldResource()
Output only.protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable()
boolean
isInitialized()
ChangeEvent.Builder
mergeChangedFields(com.google.protobuf.FieldMask value)
Output only.ChangeEvent.Builder
mergeFrom(ChangeEvent other)
ChangeEvent.Builder
mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
ChangeEvent.Builder
mergeFrom(com.google.protobuf.Message other)
ChangeEvent.Builder
mergeNewResource(ChangeEvent.ChangedResource value)
Output only.ChangeEvent.Builder
mergeOldResource(ChangeEvent.ChangedResource value)
Output only.ChangeEvent.Builder
mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
ChangeEvent.Builder
setAdGroup(java.lang.String value)
Output only.ChangeEvent.Builder
setAdGroupBytes(com.google.protobuf.ByteString value)
Output only.ChangeEvent.Builder
setAsset(java.lang.String value)
Output only.ChangeEvent.Builder
setAssetBytes(com.google.protobuf.ByteString value)
Output only.ChangeEvent.Builder
setCampaign(java.lang.String value)
Output only.ChangeEvent.Builder
setCampaignBytes(com.google.protobuf.ByteString value)
Output only.ChangeEvent.Builder
setChangeDateTime(java.lang.String value)
Output only.ChangeEvent.Builder
setChangeDateTimeBytes(com.google.protobuf.ByteString value)
Output only.ChangeEvent.Builder
setChangedFields(com.google.protobuf.FieldMask value)
Output only.ChangeEvent.Builder
setChangedFields(com.google.protobuf.FieldMask.Builder builderForValue)
Output only.ChangeEvent.Builder
setChangeResourceName(java.lang.String value)
Output only.ChangeEvent.Builder
setChangeResourceNameBytes(com.google.protobuf.ByteString value)
Output only.ChangeEvent.Builder
setChangeResourceType(ChangeEventResourceTypeEnum.ChangeEventResourceType value)
Output only.ChangeEvent.Builder
setChangeResourceTypeValue(int value)
Output only.ChangeEvent.Builder
setClientType(ChangeClientTypeEnum.ChangeClientType value)
Output only.ChangeEvent.Builder
setClientTypeValue(int value)
Output only.ChangeEvent.Builder
setFeed(java.lang.String value)
Output only.ChangeEvent.Builder
setFeedBytes(com.google.protobuf.ByteString value)
Output only.ChangeEvent.Builder
setFeedItem(java.lang.String value)
Output only.ChangeEvent.Builder
setFeedItemBytes(com.google.protobuf.ByteString value)
Output only.ChangeEvent.Builder
setField(com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value)
ChangeEvent.Builder
setNewResource(ChangeEvent.ChangedResource value)
Output only.ChangeEvent.Builder
setNewResource(ChangeEvent.ChangedResource.Builder builderForValue)
Output only.ChangeEvent.Builder
setOldResource(ChangeEvent.ChangedResource value)
Output only.ChangeEvent.Builder
setOldResource(ChangeEvent.ChangedResource.Builder builderForValue)
Output only.ChangeEvent.Builder
setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value)
ChangeEvent.Builder
setResourceChangeOperation(ResourceChangeOperationEnum.ResourceChangeOperation value)
Output only.ChangeEvent.Builder
setResourceChangeOperationValue(int value)
Output only.ChangeEvent.Builder
setResourceName(java.lang.String value)
Output only.ChangeEvent.Builder
setResourceNameBytes(com.google.protobuf.ByteString value)
Output only.ChangeEvent.Builder
setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
ChangeEvent.Builder
setUserEmail(java.lang.String value)
Output only.ChangeEvent.Builder
setUserEmailBytes(com.google.protobuf.ByteString value)
Output only.-
Methods inherited from class com.google.protobuf.GeneratedMessageV3.Builder
getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof, internalGetMapField, internalGetMutableMapField, isClean, markClean, newBuilderForField, onBuilt, onChanged, setUnknownFieldsProto3
-
Methods inherited from class com.google.protobuf.AbstractMessage.Builder
findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toString
-
Methods inherited from class com.google.protobuf.AbstractMessageLite.Builder
addAll, addAll, mergeFrom, newUninitializedMessageException
-
-
-
-
Method Detail
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
-
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
- Specified by:
internalGetFieldAccessorTable
in classcom.google.protobuf.GeneratedMessageV3.Builder<ChangeEvent.Builder>
-
clear
public ChangeEvent.Builder clear()
- Specified by:
clear
in interfacecom.google.protobuf.Message.Builder
- Specified by:
clear
in interfacecom.google.protobuf.MessageLite.Builder
- Overrides:
clear
in classcom.google.protobuf.GeneratedMessageV3.Builder<ChangeEvent.Builder>
-
getDescriptorForType
public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
- Specified by:
getDescriptorForType
in interfacecom.google.protobuf.Message.Builder
- Specified by:
getDescriptorForType
in interfacecom.google.protobuf.MessageOrBuilder
- Overrides:
getDescriptorForType
in classcom.google.protobuf.GeneratedMessageV3.Builder<ChangeEvent.Builder>
-
getDefaultInstanceForType
public ChangeEvent getDefaultInstanceForType()
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageOrBuilder
-
build
public ChangeEvent build()
- Specified by:
build
in interfacecom.google.protobuf.Message.Builder
- Specified by:
build
in interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
public ChangeEvent buildPartial()
- Specified by:
buildPartial
in interfacecom.google.protobuf.Message.Builder
- Specified by:
buildPartial
in interfacecom.google.protobuf.MessageLite.Builder
-
clone
public ChangeEvent.Builder clone()
- Specified by:
clone
in interfacecom.google.protobuf.Message.Builder
- Specified by:
clone
in interfacecom.google.protobuf.MessageLite.Builder
- Overrides:
clone
in classcom.google.protobuf.GeneratedMessageV3.Builder<ChangeEvent.Builder>
-
setField
public ChangeEvent.Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value)
- Specified by:
setField
in interfacecom.google.protobuf.Message.Builder
- Overrides:
setField
in classcom.google.protobuf.GeneratedMessageV3.Builder<ChangeEvent.Builder>
-
clearField
public ChangeEvent.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
- Specified by:
clearField
in interfacecom.google.protobuf.Message.Builder
- Overrides:
clearField
in classcom.google.protobuf.GeneratedMessageV3.Builder<ChangeEvent.Builder>
-
clearOneof
public ChangeEvent.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
- Specified by:
clearOneof
in interfacecom.google.protobuf.Message.Builder
- Overrides:
clearOneof
in classcom.google.protobuf.GeneratedMessageV3.Builder<ChangeEvent.Builder>
-
setRepeatedField
public ChangeEvent.Builder setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value)
- Specified by:
setRepeatedField
in interfacecom.google.protobuf.Message.Builder
- Overrides:
setRepeatedField
in classcom.google.protobuf.GeneratedMessageV3.Builder<ChangeEvent.Builder>
-
addRepeatedField
public ChangeEvent.Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value)
- Specified by:
addRepeatedField
in interfacecom.google.protobuf.Message.Builder
- Overrides:
addRepeatedField
in classcom.google.protobuf.GeneratedMessageV3.Builder<ChangeEvent.Builder>
-
mergeFrom
public ChangeEvent.Builder mergeFrom(com.google.protobuf.Message other)
- Specified by:
mergeFrom
in interfacecom.google.protobuf.Message.Builder
- Overrides:
mergeFrom
in classcom.google.protobuf.AbstractMessage.Builder<ChangeEvent.Builder>
-
mergeFrom
public ChangeEvent.Builder mergeFrom(ChangeEvent other)
-
isInitialized
public final boolean isInitialized()
- Specified by:
isInitialized
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Overrides:
isInitialized
in classcom.google.protobuf.GeneratedMessageV3.Builder<ChangeEvent.Builder>
-
mergeFrom
public ChangeEvent.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException
- Specified by:
mergeFrom
in interfacecom.google.protobuf.Message.Builder
- Specified by:
mergeFrom
in interfacecom.google.protobuf.MessageLite.Builder
- Overrides:
mergeFrom
in classcom.google.protobuf.AbstractMessage.Builder<ChangeEvent.Builder>
- Throws:
java.io.IOException
-
getResourceName
public 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) = { ... }
- Specified by:
getResourceName
in interfaceChangeEventOrBuilder
- Returns:
- The resourceName.
-
getResourceNameBytes
public 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) = { ... }
- Specified by:
getResourceNameBytes
in interfaceChangeEventOrBuilder
- Returns:
- The bytes for resourceName.
-
setResourceName
public ChangeEvent.Builder setResourceName(java.lang.String value)
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) = { ... }
- Parameters:
value
- The resourceName to set.- Returns:
- This builder for chaining.
-
clearResourceName
public ChangeEvent.Builder clearResourceName()
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:
- This builder for chaining.
-
setResourceNameBytes
public ChangeEvent.Builder setResourceNameBytes(com.google.protobuf.ByteString value)
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) = { ... }
- Parameters:
value
- The bytes for resourceName to set.- Returns:
- This builder for chaining.
-
getChangeDateTime
public 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];
- Specified by:
getChangeDateTime
in interfaceChangeEventOrBuilder
- Returns:
- The changeDateTime.
-
getChangeDateTimeBytes
public 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];
- Specified by:
getChangeDateTimeBytes
in interfaceChangeEventOrBuilder
- Returns:
- The bytes for changeDateTime.
-
setChangeDateTime
public ChangeEvent.Builder setChangeDateTime(java.lang.String value)
Output only. Time at which the change was committed on this resource.
string change_date_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
- Parameters:
value
- The changeDateTime to set.- Returns:
- This builder for chaining.
-
clearChangeDateTime
public ChangeEvent.Builder clearChangeDateTime()
Output only. Time at which the change was committed on this resource.
string change_date_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
- Returns:
- This builder for chaining.
-
setChangeDateTimeBytes
public ChangeEvent.Builder setChangeDateTimeBytes(com.google.protobuf.ByteString value)
Output only. Time at which the change was committed on this resource.
string change_date_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
- Parameters:
value
- The bytes for changeDateTime to set.- Returns:
- This builder for chaining.
-
getChangeResourceTypeValue
public 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];
- Specified by:
getChangeResourceTypeValue
in interfaceChangeEventOrBuilder
- Returns:
- The enum numeric value on the wire for changeResourceType.
-
setChangeResourceTypeValue
public ChangeEvent.Builder setChangeResourceTypeValue(int value)
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];
- Parameters:
value
- The enum numeric value on the wire for changeResourceType to set.- Returns:
- This builder for chaining.
-
getChangeResourceType
public 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];
- Specified by:
getChangeResourceType
in interfaceChangeEventOrBuilder
- Returns:
- The changeResourceType.
-
setChangeResourceType
public ChangeEvent.Builder setChangeResourceType(ChangeEventResourceTypeEnum.ChangeEventResourceType value)
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];
- Parameters:
value
- The changeResourceType to set.- Returns:
- This builder for chaining.
-
clearChangeResourceType
public ChangeEvent.Builder clearChangeResourceType()
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:
- This builder for chaining.
-
getChangeResourceName
public java.lang.String getChangeResourceName()
Output only. The Simply resource this change occurred on.
string change_resource_name = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
- Specified by:
getChangeResourceName
in interfaceChangeEventOrBuilder
- Returns:
- The changeResourceName.
-
getChangeResourceNameBytes
public 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];
- Specified by:
getChangeResourceNameBytes
in interfaceChangeEventOrBuilder
- Returns:
- The bytes for changeResourceName.
-
setChangeResourceName
public ChangeEvent.Builder setChangeResourceName(java.lang.String value)
Output only. The Simply resource this change occurred on.
string change_resource_name = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
- Parameters:
value
- The changeResourceName to set.- Returns:
- This builder for chaining.
-
clearChangeResourceName
public ChangeEvent.Builder clearChangeResourceName()
Output only. The Simply resource this change occurred on.
string change_resource_name = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
- Returns:
- This builder for chaining.
-
setChangeResourceNameBytes
public ChangeEvent.Builder setChangeResourceNameBytes(com.google.protobuf.ByteString value)
Output only. The Simply resource this change occurred on.
string change_resource_name = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
- Parameters:
value
- The bytes for changeResourceName to set.- Returns:
- This builder for chaining.
-
getClientTypeValue
public 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];
- Specified by:
getClientTypeValue
in interfaceChangeEventOrBuilder
- Returns:
- The enum numeric value on the wire for clientType.
-
setClientTypeValue
public ChangeEvent.Builder setClientTypeValue(int value)
Output only. Where the change was made through.
.google.ads.googleads.v9.enums.ChangeClientTypeEnum.ChangeClientType client_type = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];
- Parameters:
value
- The enum numeric value on the wire for clientType to set.- Returns:
- This builder for chaining.
-
getClientType
public 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];
- Specified by:
getClientType
in interfaceChangeEventOrBuilder
- Returns:
- The clientType.
-
setClientType
public ChangeEvent.Builder setClientType(ChangeClientTypeEnum.ChangeClientType value)
Output only. Where the change was made through.
.google.ads.googleads.v9.enums.ChangeClientTypeEnum.ChangeClientType client_type = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];
- Parameters:
value
- The clientType to set.- Returns:
- This builder for chaining.
-
clearClientType
public ChangeEvent.Builder clearClientType()
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:
- This builder for chaining.
-
getUserEmail
public 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];
- Specified by:
getUserEmail
in interfaceChangeEventOrBuilder
- Returns:
- The userEmail.
-
getUserEmailBytes
public 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];
- Specified by:
getUserEmailBytes
in interfaceChangeEventOrBuilder
- Returns:
- The bytes for userEmail.
-
setUserEmail
public ChangeEvent.Builder setUserEmail(java.lang.String value)
Output only. The email of the user who made this change.
string user_email = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];
- Parameters:
value
- The userEmail to set.- Returns:
- This builder for chaining.
-
clearUserEmail
public ChangeEvent.Builder clearUserEmail()
Output only. The email of the user who made this change.
string user_email = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];
- Returns:
- This builder for chaining.
-
setUserEmailBytes
public ChangeEvent.Builder setUserEmailBytes(com.google.protobuf.ByteString value)
Output only. The email of the user who made this change.
string user_email = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];
- Parameters:
value
- The bytes for userEmail to set.- Returns:
- This builder for chaining.
-
hasOldResource
public 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];
- Specified by:
hasOldResource
in interfaceChangeEventOrBuilder
- Returns:
- Whether the oldResource field is set.
-
getOldResource
public 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];
- Specified by:
getOldResource
in interfaceChangeEventOrBuilder
- Returns:
- The oldResource.
-
setOldResource
public ChangeEvent.Builder setOldResource(ChangeEvent.ChangedResource value)
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];
-
setOldResource
public ChangeEvent.Builder setOldResource(ChangeEvent.ChangedResource.Builder builderForValue)
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];
-
mergeOldResource
public ChangeEvent.Builder mergeOldResource(ChangeEvent.ChangedResource value)
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];
-
clearOldResource
public ChangeEvent.Builder clearOldResource()
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];
-
getOldResourceBuilder
public ChangeEvent.ChangedResource.Builder getOldResourceBuilder()
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];
-
getOldResourceOrBuilder
public 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];
- Specified by:
getOldResourceOrBuilder
in interfaceChangeEventOrBuilder
-
hasNewResource
public 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];
- Specified by:
hasNewResource
in interfaceChangeEventOrBuilder
- Returns:
- Whether the newResource field is set.
-
getNewResource
public 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];
- Specified by:
getNewResource
in interfaceChangeEventOrBuilder
- Returns:
- The newResource.
-
setNewResource
public ChangeEvent.Builder setNewResource(ChangeEvent.ChangedResource value)
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];
-
setNewResource
public ChangeEvent.Builder setNewResource(ChangeEvent.ChangedResource.Builder builderForValue)
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];
-
mergeNewResource
public ChangeEvent.Builder mergeNewResource(ChangeEvent.ChangedResource value)
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];
-
clearNewResource
public ChangeEvent.Builder clearNewResource()
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];
-
getNewResourceBuilder
public ChangeEvent.ChangedResource.Builder getNewResourceBuilder()
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];
-
getNewResourceOrBuilder
public 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];
- Specified by:
getNewResourceOrBuilder
in interfaceChangeEventOrBuilder
-
getResourceChangeOperationValue
public 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];
- Specified by:
getResourceChangeOperationValue
in interfaceChangeEventOrBuilder
- Returns:
- The enum numeric value on the wire for resourceChangeOperation.
-
setResourceChangeOperationValue
public ChangeEvent.Builder setResourceChangeOperationValue(int value)
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];
- Parameters:
value
- The enum numeric value on the wire for resourceChangeOperation to set.- Returns:
- This builder for chaining.
-
getResourceChangeOperation
public 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];
- Specified by:
getResourceChangeOperation
in interfaceChangeEventOrBuilder
- Returns:
- The resourceChangeOperation.
-
setResourceChangeOperation
public ChangeEvent.Builder setResourceChangeOperation(ResourceChangeOperationEnum.ResourceChangeOperation value)
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];
- Parameters:
value
- The resourceChangeOperation to set.- Returns:
- This builder for chaining.
-
clearResourceChangeOperation
public ChangeEvent.Builder clearResourceChangeOperation()
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:
- This builder for chaining.
-
hasChangedFields
public 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];
- Specified by:
hasChangedFields
in interfaceChangeEventOrBuilder
- Returns:
- Whether the changedFields field is set.
-
getChangedFields
public 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];
- Specified by:
getChangedFields
in interfaceChangeEventOrBuilder
- Returns:
- The changedFields.
-
setChangedFields
public ChangeEvent.Builder setChangedFields(com.google.protobuf.FieldMask value)
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];
-
setChangedFields
public ChangeEvent.Builder setChangedFields(com.google.protobuf.FieldMask.Builder builderForValue)
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];
-
mergeChangedFields
public ChangeEvent.Builder mergeChangedFields(com.google.protobuf.FieldMask value)
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];
-
clearChangedFields
public ChangeEvent.Builder clearChangedFields()
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];
-
getChangedFieldsBuilder
public com.google.protobuf.FieldMask.Builder getChangedFieldsBuilder()
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];
-
getChangedFieldsOrBuilder
public 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];
- Specified by:
getChangedFieldsOrBuilder
in interfaceChangeEventOrBuilder
-
getCampaign
public 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) = { ... }
- Specified by:
getCampaign
in interfaceChangeEventOrBuilder
- Returns:
- The campaign.
-
getCampaignBytes
public 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) = { ... }
- Specified by:
getCampaignBytes
in interfaceChangeEventOrBuilder
- Returns:
- The bytes for campaign.
-
setCampaign
public ChangeEvent.Builder setCampaign(java.lang.String value)
Output only. The Campaign affected by this change.
string campaign = 11 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... }
- Parameters:
value
- The campaign to set.- Returns:
- This builder for chaining.
-
clearCampaign
public ChangeEvent.Builder clearCampaign()
Output only. The Campaign affected by this change.
string campaign = 11 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... }
- Returns:
- This builder for chaining.
-
setCampaignBytes
public ChangeEvent.Builder setCampaignBytes(com.google.protobuf.ByteString value)
Output only. The Campaign affected by this change.
string campaign = 11 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... }
- Parameters:
value
- The bytes for campaign to set.- Returns:
- This builder for chaining.
-
getAdGroup
public 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) = { ... }
- Specified by:
getAdGroup
in interfaceChangeEventOrBuilder
- Returns:
- The adGroup.
-
getAdGroupBytes
public 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) = { ... }
- Specified by:
getAdGroupBytes
in interfaceChangeEventOrBuilder
- Returns:
- The bytes for adGroup.
-
setAdGroup
public ChangeEvent.Builder setAdGroup(java.lang.String value)
Output only. The AdGroup affected by this change.
string ad_group = 12 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... }
- Parameters:
value
- The adGroup to set.- Returns:
- This builder for chaining.
-
clearAdGroup
public ChangeEvent.Builder clearAdGroup()
Output only. The AdGroup affected by this change.
string ad_group = 12 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... }
- Returns:
- This builder for chaining.
-
setAdGroupBytes
public ChangeEvent.Builder setAdGroupBytes(com.google.protobuf.ByteString value)
Output only. The AdGroup affected by this change.
string ad_group = 12 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... }
- Parameters:
value
- The bytes for adGroup to set.- Returns:
- This builder for chaining.
-
getFeed
public 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) = { ... }
- Specified by:
getFeed
in interfaceChangeEventOrBuilder
- Returns:
- The feed.
-
getFeedBytes
public 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) = { ... }
- Specified by:
getFeedBytes
in interfaceChangeEventOrBuilder
- Returns:
- The bytes for feed.
-
setFeed
public ChangeEvent.Builder setFeed(java.lang.String value)
Output only. The Feed affected by this change.
string feed = 13 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... }
- Parameters:
value
- The feed to set.- Returns:
- This builder for chaining.
-
clearFeed
public ChangeEvent.Builder clearFeed()
Output only. The Feed affected by this change.
string feed = 13 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... }
- Returns:
- This builder for chaining.
-
setFeedBytes
public ChangeEvent.Builder setFeedBytes(com.google.protobuf.ByteString value)
Output only. The Feed affected by this change.
string feed = 13 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... }
- Parameters:
value
- The bytes for feed to set.- Returns:
- This builder for chaining.
-
getFeedItem
public 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) = { ... }
- Specified by:
getFeedItem
in interfaceChangeEventOrBuilder
- Returns:
- The feedItem.
-
getFeedItemBytes
public 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) = { ... }
- Specified by:
getFeedItemBytes
in interfaceChangeEventOrBuilder
- Returns:
- The bytes for feedItem.
-
setFeedItem
public ChangeEvent.Builder setFeedItem(java.lang.String value)
Output only. The FeedItem affected by this change.
string feed_item = 14 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... }
- Parameters:
value
- The feedItem to set.- Returns:
- This builder for chaining.
-
clearFeedItem
public ChangeEvent.Builder clearFeedItem()
Output only. The FeedItem affected by this change.
string feed_item = 14 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... }
- Returns:
- This builder for chaining.
-
setFeedItemBytes
public ChangeEvent.Builder setFeedItemBytes(com.google.protobuf.ByteString value)
Output only. The FeedItem affected by this change.
string feed_item = 14 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... }
- Parameters:
value
- The bytes for feedItem to set.- Returns:
- This builder for chaining.
-
getAsset
public 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) = { ... }
- Specified by:
getAsset
in interfaceChangeEventOrBuilder
- Returns:
- The asset.
-
getAssetBytes
public 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) = { ... }
- Specified by:
getAssetBytes
in interfaceChangeEventOrBuilder
- Returns:
- The bytes for asset.
-
setAsset
public ChangeEvent.Builder setAsset(java.lang.String value)
Output only. The Asset affected by this change.
string asset = 20 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... }
- Parameters:
value
- The asset to set.- Returns:
- This builder for chaining.
-
clearAsset
public ChangeEvent.Builder clearAsset()
Output only. The Asset affected by this change.
string asset = 20 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... }
- Returns:
- This builder for chaining.
-
setAssetBytes
public ChangeEvent.Builder setAssetBytes(com.google.protobuf.ByteString value)
Output only. The Asset affected by this change.
string asset = 20 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... }
- Parameters:
value
- The bytes for asset to set.- Returns:
- This builder for chaining.
-
setUnknownFields
public final ChangeEvent.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
- Specified by:
setUnknownFields
in interfacecom.google.protobuf.Message.Builder
- Overrides:
setUnknownFields
in classcom.google.protobuf.GeneratedMessageV3.Builder<ChangeEvent.Builder>
-
mergeUnknownFields
public final ChangeEvent.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
- Specified by:
mergeUnknownFields
in interfacecom.google.protobuf.Message.Builder
- Overrides:
mergeUnknownFields
in classcom.google.protobuf.GeneratedMessageV3.Builder<ChangeEvent.Builder>
-
-