Interface ChangeEventOrBuilder (0.62.0)

public interface ChangeEventOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

getChangeTime()

public abstract Timestamp getChangeTime()

Output only. Time when the change happened.

.google.protobuf.Timestamp change_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
Timestamp

The changeTime.

getChangeTimeOrBuilder()

public abstract TimestampOrBuilder getChangeTimeOrBuilder()

Output only. Time when the change happened.

.google.protobuf.Timestamp change_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
TimestampOrBuilder

getEntityId()

public abstract long getEntityId()

Output only. The id of the resource that was changed. Typically, this is a part of the resource name for that entity. It is represented here as a long for legacy reasons.

optional int64 entity_id = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
long

The entityId.

getName()

public abstract String getName()

Identifier. The resource name of the ChangeEvent. Format: networks/{network_code}/changeEvents/{change_event}

string name = 1 [(.google.api.field_behavior) = IDENTIFIER];

Returns
Type Description
String

The name.

getNameBytes()

public abstract ByteString getNameBytes()

Identifier. The resource name of the ChangeEvent. Format: networks/{network_code}/changeEvents/{change_event}

string name = 1 [(.google.api.field_behavior) = IDENTIFIER];

Returns
Type Description
ByteString

The bytes for name.

getOperationType()

public abstract OperationTypeEnum.OperationType getOperationType()

Output only. The type of operation associated with the ChangeEvent.

optional .google.ads.admanager.v1.OperationTypeEnum.OperationType operation_type = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
OperationTypeEnum.OperationType

The operationType.

getOperationTypeValue()

public abstract int getOperationTypeValue()

Output only. The type of operation associated with the ChangeEvent.

optional .google.ads.admanager.v1.OperationTypeEnum.OperationType operation_type = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
int

The enum numeric value on the wire for operationType.

getResourceType()

public abstract ChangeEventResourceTypeEnum.ChangeEventResourceType getResourceType()

Output only. The type of the resource that was changed.

optional .google.ads.admanager.v1.ChangeEventResourceTypeEnum.ChangeEventResourceType resource_type = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
ChangeEventResourceTypeEnum.ChangeEventResourceType

The resourceType.

getResourceTypeValue()

public abstract int getResourceTypeValue()

Output only. The type of the resource that was changed.

optional .google.ads.admanager.v1.ChangeEventResourceTypeEnum.ChangeEventResourceType resource_type = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
int

The enum numeric value on the wire for resourceType.

getUser()

public abstract String getUser()

Output only. The user that made the change. Format: networks/{network_code}/users/{user}

optional string user = 6 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... }

Returns
Type Description
String

The user.

getUserBytes()

public abstract ByteString getUserBytes()

Output only. The user that made the change. Format: networks/{network_code}/users/{user}

optional string user = 6 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... }

Returns
Type Description
ByteString

The bytes for user.

hasChangeTime()

public abstract boolean hasChangeTime()

Output only. Time when the change happened.

.google.protobuf.Timestamp change_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
boolean

Whether the changeTime field is set.

hasEntityId()

public abstract boolean hasEntityId()

Output only. The id of the resource that was changed. Typically, this is a part of the resource name for that entity. It is represented here as a long for legacy reasons.

optional int64 entity_id = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
boolean

Whether the entityId field is set.

hasOperationType()

public abstract boolean hasOperationType()

Output only. The type of operation associated with the ChangeEvent.

optional .google.ads.admanager.v1.OperationTypeEnum.OperationType operation_type = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
boolean

Whether the operationType field is set.

hasResourceType()

public abstract boolean hasResourceType()

Output only. The type of the resource that was changed.

optional .google.ads.admanager.v1.ChangeEventResourceTypeEnum.ChangeEventResourceType resource_type = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
boolean

Whether the resourceType field is set.

hasUser()

public abstract boolean hasUser()

Output only. The user that made the change. Format: networks/{network_code}/users/{user}

optional string user = 6 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... }

Returns
Type Description
boolean

Whether the user field is set.