Class ChangeHistoryEvent (0.30.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.v1alpha.ChangeHistoryEvent

Static Fields

ACTOR_TYPE_FIELD_NUMBER

public static final int ACTOR_TYPE_FIELD_NUMBER
Field Value
TypeDescription
int

CHANGES_FIELD_NUMBER

public static final int CHANGES_FIELD_NUMBER
Field Value
TypeDescription
int

CHANGES_FILTERED_FIELD_NUMBER

public static final int CHANGES_FILTERED_FIELD_NUMBER
Field Value
TypeDescription
int

CHANGE_TIME_FIELD_NUMBER

public static final int CHANGE_TIME_FIELD_NUMBER
Field Value
TypeDescription
int

ID_FIELD_NUMBER

public static final int ID_FIELD_NUMBER
Field Value
TypeDescription
int

USER_ACTOR_EMAIL_FIELD_NUMBER

public static final int USER_ACTOR_EMAIL_FIELD_NUMBER
Field Value
TypeDescription
int

Static Methods

getDefaultInstance()

public static ChangeHistoryEvent getDefaultInstance()
Returns
TypeDescription
ChangeHistoryEvent

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
TypeDescription
Descriptor

newBuilder()

public static ChangeHistoryEvent.Builder newBuilder()
Returns
TypeDescription
ChangeHistoryEvent.Builder

newBuilder(ChangeHistoryEvent prototype)

public static ChangeHistoryEvent.Builder newBuilder(ChangeHistoryEvent prototype)
Parameter
NameDescription
prototypeChangeHistoryEvent
Returns
TypeDescription
ChangeHistoryEvent.Builder

parseDelimitedFrom(InputStream input)

public static ChangeHistoryEvent parseDelimitedFrom(InputStream input)
Parameter
NameDescription
inputInputStream
Returns
TypeDescription
ChangeHistoryEvent
Exceptions
TypeDescription
IOException

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static ChangeHistoryEvent parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
ChangeHistoryEvent
Exceptions
TypeDescription
IOException

parseFrom(byte[] data)

public static ChangeHistoryEvent parseFrom(byte[] data)
Parameter
NameDescription
databyte[]
Returns
TypeDescription
ChangeHistoryEvent
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

public static ChangeHistoryEvent parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
databyte[]
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
ChangeHistoryEvent
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteString data)

public static ChangeHistoryEvent parseFrom(ByteString data)
Parameter
NameDescription
dataByteString
Returns
TypeDescription
ChangeHistoryEvent
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

public static ChangeHistoryEvent parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
dataByteString
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
ChangeHistoryEvent
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(CodedInputStream input)

public static ChangeHistoryEvent parseFrom(CodedInputStream input)
Parameter
NameDescription
inputCodedInputStream
Returns
TypeDescription
ChangeHistoryEvent
Exceptions
TypeDescription
IOException

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public static ChangeHistoryEvent parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputCodedInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
ChangeHistoryEvent
Exceptions
TypeDescription
IOException

parseFrom(InputStream input)

public static ChangeHistoryEvent parseFrom(InputStream input)
Parameter
NameDescription
inputInputStream
Returns
TypeDescription
ChangeHistoryEvent
Exceptions
TypeDescription
IOException

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static ChangeHistoryEvent parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
ChangeHistoryEvent
Exceptions
TypeDescription
IOException

parseFrom(ByteBuffer data)

public static ChangeHistoryEvent parseFrom(ByteBuffer data)
Parameter
NameDescription
dataByteBuffer
Returns
TypeDescription
ChangeHistoryEvent
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

public static ChangeHistoryEvent parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
dataByteBuffer
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
ChangeHistoryEvent
Exceptions
TypeDescription
InvalidProtocolBufferException

parser()

public static Parser<ChangeHistoryEvent> parser()
Returns
TypeDescription
Parser<ChangeHistoryEvent>

Methods

equals(Object obj)

public boolean equals(Object obj)
Parameter
NameDescription
objObject
Returns
TypeDescription
boolean
Overrides

getActorType()

public ActorType getActorType()

The type of actor that made this change.

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

Returns
TypeDescription
ActorType

The actorType.

getActorTypeValue()

public int getActorTypeValue()

The type of actor that made this change.

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

Returns
TypeDescription
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
TypeDescription
Timestamp

The changeTime.

getChangeTimeOrBuilder()

public TimestampOrBuilder getChangeTimeOrBuilder()

Time when change was made.

.google.protobuf.Timestamp change_time = 2;

Returns
TypeDescription
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.v1alpha.ChangeHistoryChange changes = 6;

Parameter
NameDescription
indexint
Returns
TypeDescription
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.v1alpha.ChangeHistoryChange changes = 6;

Returns
TypeDescription
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
TypeDescription
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.v1alpha.ChangeHistoryChange changes = 6;

Returns
TypeDescription
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.v1alpha.ChangeHistoryChange changes = 6;

Parameter
NameDescription
indexint
Returns
TypeDescription
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.v1alpha.ChangeHistoryChange changes = 6;

Returns
TypeDescription
List<? extends com.google.analytics.admin.v1alpha.ChangeHistoryChangeOrBuilder>

getDefaultInstanceForType()

public ChangeHistoryEvent getDefaultInstanceForType()
Returns
TypeDescription
ChangeHistoryEvent

getId()

public String getId()

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

string id = 1;

Returns
TypeDescription
String

The id.

getIdBytes()

public ByteString getIdBytes()

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

string id = 1;

Returns
TypeDescription
ByteString

The bytes for id.

getParserForType()

public Parser<ChangeHistoryEvent> getParserForType()
Returns
TypeDescription
Parser<ChangeHistoryEvent>
Overrides

getSerializedSize()

public int getSerializedSize()
Returns
TypeDescription
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
TypeDescription
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
TypeDescription
ByteString

The bytes for userActorEmail.

hasChangeTime()

public boolean hasChangeTime()

Time when change was made.

.google.protobuf.Timestamp change_time = 2;

Returns
TypeDescription
boolean

Whether the changeTime field is set.

hashCode()

public int hashCode()
Returns
TypeDescription
int
Overrides

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

newBuilderForType()

public ChangeHistoryEvent.Builder newBuilderForType()
Returns
TypeDescription
ChangeHistoryEvent.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

protected ChangeHistoryEvent.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
NameDescription
parentBuilderParent
Returns
TypeDescription
ChangeHistoryEvent.Builder
Overrides

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
NameDescription
unusedUnusedPrivateParameter
Returns
TypeDescription
Object
Overrides

toBuilder()

public ChangeHistoryEvent.Builder toBuilder()
Returns
TypeDescription
ChangeHistoryEvent.Builder

writeTo(CodedOutputStream output)

public void writeTo(CodedOutputStream output)
Parameter
NameDescription
outputCodedOutputStream
Overrides
Exceptions
TypeDescription
IOException