Class ChangeHistoryEvent (0.61.0)

public final class ChangeHistoryEvent extends GeneratedMessageV3 implements ChangeHistoryEventOrBuilder

A set of changes within a Google Analytics account or its child properties that resulted from the same cause. Common causes would be updates made in the Google Analytics UI, changes from customer support, or automatic Google Analytics system changes.

Protobuf type google.analytics.admin.v1beta.ChangeHistoryEvent

Static Fields

ACTOR_TYPE_FIELD_NUMBER

public static final int ACTOR_TYPE_FIELD_NUMBER
Field Value
Type Description
int

CHANGES_FIELD_NUMBER

public static final int CHANGES_FIELD_NUMBER
Field Value
Type Description
int

CHANGES_FILTERED_FIELD_NUMBER

public static final int CHANGES_FILTERED_FIELD_NUMBER
Field Value
Type Description
int

CHANGE_TIME_FIELD_NUMBER

public static final int CHANGE_TIME_FIELD_NUMBER
Field Value
Type Description
int

ID_FIELD_NUMBER

public static final int ID_FIELD_NUMBER
Field Value
Type Description
int

USER_ACTOR_EMAIL_FIELD_NUMBER

public static final int USER_ACTOR_EMAIL_FIELD_NUMBER
Field Value
Type Description
int

Static Methods

getDefaultInstance()

public static ChangeHistoryEvent getDefaultInstance()
Returns
Type Description
ChangeHistoryEvent

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
Type Description
Descriptor

newBuilder()

public static ChangeHistoryEvent.Builder newBuilder()
Returns
Type Description
ChangeHistoryEvent.Builder

newBuilder(ChangeHistoryEvent prototype)

public static ChangeHistoryEvent.Builder newBuilder(ChangeHistoryEvent prototype)
Parameter
Name Description
prototype ChangeHistoryEvent
Returns
Type Description
ChangeHistoryEvent.Builder

parseDelimitedFrom(InputStream input)

public static ChangeHistoryEvent parseDelimitedFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
ChangeHistoryEvent
Exceptions
Type Description
IOException

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static ChangeHistoryEvent parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input InputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
ChangeHistoryEvent
Exceptions
Type Description
IOException

parseFrom(byte[] data)

public static ChangeHistoryEvent parseFrom(byte[] data)
Parameter
Name Description
data byte[]
Returns
Type Description
ChangeHistoryEvent
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

public static ChangeHistoryEvent parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data byte[]
extensionRegistry ExtensionRegistryLite
Returns
Type Description
ChangeHistoryEvent
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data)

public static ChangeHistoryEvent parseFrom(ByteString data)
Parameter
Name Description
data ByteString
Returns
Type Description
ChangeHistoryEvent
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

public static ChangeHistoryEvent parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data ByteString
extensionRegistry ExtensionRegistryLite
Returns
Type Description
ChangeHistoryEvent
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(CodedInputStream input)

public static ChangeHistoryEvent parseFrom(CodedInputStream input)
Parameter
Name Description
input CodedInputStream
Returns
Type Description
ChangeHistoryEvent
Exceptions
Type Description
IOException

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public static ChangeHistoryEvent parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
ChangeHistoryEvent
Exceptions
Type Description
IOException

parseFrom(InputStream input)

public static ChangeHistoryEvent parseFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
ChangeHistoryEvent
Exceptions
Type Description
IOException

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static ChangeHistoryEvent parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input InputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
ChangeHistoryEvent
Exceptions
Type Description
IOException

parseFrom(ByteBuffer data)

public static ChangeHistoryEvent parseFrom(ByteBuffer data)
Parameter
Name Description
data ByteBuffer
Returns
Type Description
ChangeHistoryEvent
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

public static ChangeHistoryEvent parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data ByteBuffer
extensionRegistry ExtensionRegistryLite
Returns
Type Description
ChangeHistoryEvent
Exceptions
Type Description
InvalidProtocolBufferException

parser()

public static Parser<ChangeHistoryEvent> parser()
Returns
Type Description
Parser<ChangeHistoryEvent>

Methods

equals(Object obj)

public boolean equals(Object obj)
Parameter
Name Description
obj Object
Returns
Type Description
boolean
Overrides

getActorType()

public ActorType getActorType()

The type of actor that made this change.

.google.analytics.admin.v1beta.ActorType actor_type = 3;

Returns
Type Description
ActorType

The actorType.

getActorTypeValue()

public int getActorTypeValue()

The type of actor that made this change.

.google.analytics.admin.v1beta.ActorType actor_type = 3;

Returns
Type Description
int

The enum numeric value on the wire for actorType.

getChangeTime()

public Timestamp getChangeTime()

Time when change was made.

.google.protobuf.Timestamp change_time = 2;

Returns
Type Description
Timestamp

The changeTime.

getChangeTimeOrBuilder()

public TimestampOrBuilder getChangeTimeOrBuilder()

Time when change was made.

.google.protobuf.Timestamp change_time = 2;

Returns
Type Description
TimestampOrBuilder

getChanges(int index)

public ChangeHistoryChange getChanges(int index)

A list of changes made in this change history event that fit the filters specified in SearchChangeHistoryEventsRequest.

repeated .google.analytics.admin.v1beta.ChangeHistoryChange changes = 6;

Parameter
Name Description
index int
Returns
Type Description
ChangeHistoryChange

getChangesCount()

public int getChangesCount()

A list of changes made in this change history event that fit the filters specified in SearchChangeHistoryEventsRequest.

repeated .google.analytics.admin.v1beta.ChangeHistoryChange changes = 6;

Returns
Type Description
int

getChangesFiltered()

public boolean getChangesFiltered()

If true, then the list of changes returned was filtered, and does not represent all changes that occurred in this event.

bool changes_filtered = 5;

Returns
Type Description
boolean

The changesFiltered.

getChangesList()

public List<ChangeHistoryChange> getChangesList()

A list of changes made in this change history event that fit the filters specified in SearchChangeHistoryEventsRequest.

repeated .google.analytics.admin.v1beta.ChangeHistoryChange changes = 6;

Returns
Type Description
List<ChangeHistoryChange>

getChangesOrBuilder(int index)

public ChangeHistoryChangeOrBuilder getChangesOrBuilder(int index)

A list of changes made in this change history event that fit the filters specified in SearchChangeHistoryEventsRequest.

repeated .google.analytics.admin.v1beta.ChangeHistoryChange changes = 6;

Parameter
Name Description
index int
Returns
Type Description
ChangeHistoryChangeOrBuilder

getChangesOrBuilderList()

public List<? extends ChangeHistoryChangeOrBuilder> getChangesOrBuilderList()

A list of changes made in this change history event that fit the filters specified in SearchChangeHistoryEventsRequest.

repeated .google.analytics.admin.v1beta.ChangeHistoryChange changes = 6;

Returns
Type Description
List<? extends com.google.analytics.admin.v1beta.ChangeHistoryChangeOrBuilder>

getDefaultInstanceForType()

public ChangeHistoryEvent getDefaultInstanceForType()
Returns
Type Description
ChangeHistoryEvent

getId()

public String getId()

ID of this change history event. This ID is unique across Google Analytics.

string id = 1;

Returns
Type Description
String

The id.

getIdBytes()

public ByteString getIdBytes()

ID of this change history event. This ID is unique across Google Analytics.

string id = 1;

Returns
Type Description
ByteString

The bytes for id.

getParserForType()

public Parser<ChangeHistoryEvent> getParserForType()
Returns
Type Description
Parser<ChangeHistoryEvent>
Overrides

getSerializedSize()

public int getSerializedSize()
Returns
Type Description
int
Overrides

getUserActorEmail()

public String getUserActorEmail()

Email address of the Google account that made the change. This will be a valid email address if the actor field is set to USER, and empty otherwise. Google accounts that have been deleted will cause an error.

string user_actor_email = 4;

Returns
Type Description
String

The userActorEmail.

getUserActorEmailBytes()

public ByteString getUserActorEmailBytes()

Email address of the Google account that made the change. This will be a valid email address if the actor field is set to USER, and empty otherwise. Google accounts that have been deleted will cause an error.

string user_actor_email = 4;

Returns
Type Description
ByteString

The bytes for userActorEmail.

hasChangeTime()

public boolean hasChangeTime()

Time when change was made.

.google.protobuf.Timestamp change_time = 2;

Returns
Type Description
boolean

Whether the changeTime field is set.

hashCode()

public int hashCode()
Returns
Type Description
int
Overrides

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Type Description
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

newBuilderForType()

public ChangeHistoryEvent.Builder newBuilderForType()
Returns
Type Description
ChangeHistoryEvent.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

protected ChangeHistoryEvent.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
Name Description
parent BuilderParent
Returns
Type Description
ChangeHistoryEvent.Builder
Overrides

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
Name Description
unused UnusedPrivateParameter
Returns
Type Description
Object
Overrides

toBuilder()

public ChangeHistoryEvent.Builder toBuilder()
Returns
Type Description
ChangeHistoryEvent.Builder

writeTo(CodedOutputStream output)

public void writeTo(CodedOutputStream output)
Parameter
Name Description
output CodedOutputStream
Overrides
Exceptions
Type Description
IOException