public final class ChangeEvent extends GeneratedMessage implements ChangeEventOrBuilder
Represents a single entity change.
Protobuf type google.ads.admanager.v1.ChangeEvent
Inherited Members
com.google.protobuf.GeneratedMessage.<ContainingT,T>newFileScopedGeneratedExtension(java.lang.Class<?>,com.google.protobuf.Message)
com.google.protobuf.GeneratedMessage.<ContainingT,T>newMessageScopedGeneratedExtension(com.google.protobuf.Message,int,java.lang.Class<?>,com.google.protobuf.Message)
com.google.protobuf.GeneratedMessage.<ListT>makeMutableCopy(ListT)
com.google.protobuf.GeneratedMessage.<ListT>makeMutableCopy(ListT,int)
com.google.protobuf.GeneratedMessage.<T>emptyList(java.lang.Class<T>)
com.google.protobuf.GeneratedMessage.<V>serializeBooleanMapTo(com.google.protobuf.CodedOutputStream,com.google.protobuf.MapField<java.lang.Boolean,V>,com.google.protobuf.MapEntry<java.lang.Boolean,V>,int)
com.google.protobuf.GeneratedMessage.<V>serializeIntegerMapTo(com.google.protobuf.CodedOutputStream,com.google.protobuf.MapField<java.lang.Integer,V>,com.google.protobuf.MapEntry<java.lang.Integer,V>,int)
com.google.protobuf.GeneratedMessage.<V>serializeLongMapTo(com.google.protobuf.CodedOutputStream,com.google.protobuf.MapField<java.lang.Long,V>,com.google.protobuf.MapEntry<java.lang.Long,V>,int)
com.google.protobuf.GeneratedMessage.<V>serializeStringMapTo(com.google.protobuf.CodedOutputStream,com.google.protobuf.MapField<java.lang.String,V>,com.google.protobuf.MapEntry<java.lang.String,V>,int)
com.google.protobuf.GeneratedMessage.canUseUnsafe()
com.google.protobuf.GeneratedMessage.emptyBooleanList()
com.google.protobuf.GeneratedMessage.emptyDoubleList()
com.google.protobuf.GeneratedMessage.emptyFloatList()
com.google.protobuf.GeneratedMessage.emptyIntList()
com.google.protobuf.GeneratedMessage.emptyLongList()
com.google.protobuf.GeneratedMessage.internalGetMapFieldReflection(int)
com.google.protobuf.GeneratedMessage.isStringEmpty(java.lang.Object)
com.google.protobuf.GeneratedMessage.mergeFromAndMakeImmutableInternal(com.google.protobuf.CodedInputStream,com.google.protobuf.ExtensionRegistryLite)
com.google.protobuf.GeneratedMessage.newInstance(com.google.protobuf.GeneratedMessage.UnusedPrivateParameter)
com.google.protobuf.GeneratedMessage.parseUnknownFieldProto3(com.google.protobuf.CodedInputStream,com.google.protobuf.UnknownFieldSet.Builder,com.google.protobuf.ExtensionRegistryLite,int)
Static Fields
CHANGE_TIME_FIELD_NUMBER
public static final int CHANGE_TIME_FIELD_NUMBER
| Field Value |
| Type |
Description |
int |
|
ENTITY_ID_FIELD_NUMBER
public static final int ENTITY_ID_FIELD_NUMBER
| Field Value |
| Type |
Description |
int |
|
NAME_FIELD_NUMBER
public static final int NAME_FIELD_NUMBER
| Field Value |
| Type |
Description |
int |
|
OPERATION_TYPE_FIELD_NUMBER
public static final int OPERATION_TYPE_FIELD_NUMBER
| Field Value |
| Type |
Description |
int |
|
RESOURCE_TYPE_FIELD_NUMBER
public static final int RESOURCE_TYPE_FIELD_NUMBER
| Field Value |
| Type |
Description |
int |
|
USER_FIELD_NUMBER
public static final int USER_FIELD_NUMBER
| Field Value |
| Type |
Description |
int |
|
Static Methods
getDefaultInstance()
public static ChangeEvent getDefaultInstance()
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
newBuilder()
public static ChangeEvent.Builder newBuilder()
newBuilder(ChangeEvent prototype)
public static ChangeEvent.Builder newBuilder(ChangeEvent prototype)
public static ChangeEvent parseDelimitedFrom(InputStream input)
public static ChangeEvent parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
parseFrom(byte[] data)
public static ChangeEvent parseFrom(byte[] data)
| Parameter |
| Name |
Description |
data |
byte[]
|
parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
public static ChangeEvent parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
parseFrom(ByteString data)
public static ChangeEvent parseFrom(ByteString data)
parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static ChangeEvent parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static ChangeEvent parseFrom(CodedInputStream input)
public static ChangeEvent parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public static ChangeEvent parseFrom(InputStream input)
public static ChangeEvent parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
parseFrom(ByteBuffer data)
public static ChangeEvent parseFrom(ByteBuffer data)
parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
public static ChangeEvent parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
parser()
public static Parser<ChangeEvent> parser()
Methods
equals(Object obj)
public boolean equals(Object obj)
| Parameter |
| Name |
Description |
obj |
Object
|
Overrides
getChangeTime()
public 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 TimestampOrBuilder getChangeTimeOrBuilder()
Output only. Time when the change happened.
.google.protobuf.Timestamp change_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
getDefaultInstanceForType()
public ChangeEvent getDefaultInstanceForType()
getEntityId()
public 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()
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 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 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];
getOperationTypeValue()
public 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.
|
getParserForType()
public Parser<ChangeEvent> getParserForType()
Overrides
getResourceType()
public 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];
getResourceTypeValue()
public 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.
|
getSerializedSize()
public int getSerializedSize()
| Returns |
| Type |
Description |
int |
|
Overrides
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 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 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 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 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 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()
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.
|
hashCode()
| Returns |
| Type |
Description |
int |
|
Overrides
internalGetFieldAccessorTable()
protected GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()
Overrides
isInitialized()
public final boolean isInitialized()
Overrides
newBuilderForType()
public ChangeEvent.Builder newBuilderForType()
newBuilderForType(AbstractMessage.BuilderParent parent)
protected ChangeEvent.Builder newBuilderForType(AbstractMessage.BuilderParent parent)
Overrides
toBuilder()
public ChangeEvent.Builder toBuilder()
writeTo(CodedOutputStream output)
public void writeTo(CodedOutputStream output)
Overrides