Class ChangeHistoryEvent (0.70.0)

publicfinalclassChangeHistoryEventextendsGeneratedMessageV3implementsChangeHistoryEventOrBuilder

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

publicstaticfinalintACTOR_TYPE_FIELD_NUMBER
Field Value
TypeDescription
int

CHANGES_FIELD_NUMBER

publicstaticfinalintCHANGES_FIELD_NUMBER
Field Value
TypeDescription
int

CHANGES_FILTERED_FIELD_NUMBER

publicstaticfinalintCHANGES_FILTERED_FIELD_NUMBER
Field Value
TypeDescription
int

CHANGE_TIME_FIELD_NUMBER

publicstaticfinalintCHANGE_TIME_FIELD_NUMBER
Field Value
TypeDescription
int

ID_FIELD_NUMBER

publicstaticfinalintID_FIELD_NUMBER
Field Value
TypeDescription
int

USER_ACTOR_EMAIL_FIELD_NUMBER

publicstaticfinalintUSER_ACTOR_EMAIL_FIELD_NUMBER
Field Value
TypeDescription
int

Static Methods

getDefaultInstance()

publicstaticChangeHistoryEventgetDefaultInstance()
Returns
TypeDescription
ChangeHistoryEvent

getDescriptor()

publicstaticfinalDescriptors.DescriptorgetDescriptor()
Returns
TypeDescription
Descriptor

newBuilder()

publicstaticChangeHistoryEvent.BuildernewBuilder()
Returns
TypeDescription
ChangeHistoryEvent.Builder

newBuilder(ChangeHistoryEvent prototype)

publicstaticChangeHistoryEvent.BuildernewBuilder(ChangeHistoryEventprototype)
Parameter
NameDescription
prototypeChangeHistoryEvent
Returns
TypeDescription
ChangeHistoryEvent.Builder

parseDelimitedFrom(InputStream input)

publicstaticChangeHistoryEventparseDelimitedFrom(InputStreaminput)
Parameter
NameDescription
inputInputStream
Returns
TypeDescription
ChangeHistoryEvent
Exceptions
TypeDescription
IOException

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

publicstaticChangeHistoryEventparseDelimitedFrom(InputStreaminput,ExtensionRegistryLiteextensionRegistry)
Parameters
NameDescription
inputInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
ChangeHistoryEvent
Exceptions
TypeDescription
IOException

parseFrom(byte[] data)

publicstaticChangeHistoryEventparseFrom(byte[]data)
Parameter
NameDescription
databyte[]
Returns
TypeDescription
ChangeHistoryEvent
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

publicstaticChangeHistoryEventparseFrom(byte[]data,ExtensionRegistryLiteextensionRegistry)
Parameters
NameDescription
databyte[]
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
ChangeHistoryEvent
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteString data)

publicstaticChangeHistoryEventparseFrom(ByteStringdata)
Parameter
NameDescription
dataByteString
Returns
TypeDescription
ChangeHistoryEvent
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

publicstaticChangeHistoryEventparseFrom(ByteStringdata,ExtensionRegistryLiteextensionRegistry)
Parameters
NameDescription
dataByteString
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
ChangeHistoryEvent
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(CodedInputStream input)

publicstaticChangeHistoryEventparseFrom(CodedInputStreaminput)
Parameter
NameDescription
inputCodedInputStream
Returns
TypeDescription
ChangeHistoryEvent
Exceptions
TypeDescription
IOException

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

publicstaticChangeHistoryEventparseFrom(CodedInputStreaminput,ExtensionRegistryLiteextensionRegistry)
Parameters
NameDescription
inputCodedInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
ChangeHistoryEvent
Exceptions
TypeDescription
IOException

parseFrom(InputStream input)

publicstaticChangeHistoryEventparseFrom(InputStreaminput)
Parameter
NameDescription
inputInputStream
Returns
TypeDescription
ChangeHistoryEvent
Exceptions
TypeDescription
IOException

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

publicstaticChangeHistoryEventparseFrom(InputStreaminput,ExtensionRegistryLiteextensionRegistry)
Parameters
NameDescription
inputInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
ChangeHistoryEvent
Exceptions
TypeDescription
IOException

parseFrom(ByteBuffer data)

publicstaticChangeHistoryEventparseFrom(ByteBufferdata)
Parameter
NameDescription
dataByteBuffer
Returns
TypeDescription
ChangeHistoryEvent
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

publicstaticChangeHistoryEventparseFrom(ByteBufferdata,ExtensionRegistryLiteextensionRegistry)
Parameters
NameDescription
dataByteBuffer
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
ChangeHistoryEvent
Exceptions
TypeDescription
InvalidProtocolBufferException

parser()

publicstaticParser<ChangeHistoryEvent>parser()
Returns
TypeDescription
Parser<ChangeHistoryEvent>

Methods

equals(Object obj)

publicbooleanequals(Objectobj)
Parameter
NameDescription
objObject
Returns
TypeDescription
boolean
Overrides

getActorType()

publicActorTypegetActorType()

The type of actor that made this change.

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

Returns
TypeDescription
ActorType

The actorType.

getActorTypeValue()

publicintgetActorTypeValue()

The type of actor that made this change.

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

Returns
TypeDescription
int

The enum numeric value on the wire for actorType.

getChangeTime()

publicTimestampgetChangeTime()

Time when change was made.

.google.protobuf.Timestamp change_time = 2;

Returns
TypeDescription
Timestamp

The changeTime.

getChangeTimeOrBuilder()

publicTimestampOrBuildergetChangeTimeOrBuilder()

Time when change was made.

.google.protobuf.Timestamp change_time = 2;

Returns
TypeDescription
TimestampOrBuilder

getChanges(int index)

publicChangeHistoryChangegetChanges(intindex)

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
NameDescription
indexint
Returns
TypeDescription
ChangeHistoryChange

getChangesCount()

publicintgetChangesCount()

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
TypeDescription
int

getChangesFiltered()

publicbooleangetChangesFiltered()

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()

publicList<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
TypeDescription
List<ChangeHistoryChange>

getChangesOrBuilder(int index)

publicChangeHistoryChangeOrBuildergetChangesOrBuilder(intindex)

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
NameDescription
indexint
Returns
TypeDescription
ChangeHistoryChangeOrBuilder

getChangesOrBuilderList()

publicList<?extendsChangeHistoryChangeOrBuilder>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
TypeDescription
List<? extends com.google.analytics.admin.v1beta.ChangeHistoryChangeOrBuilder>

getDefaultInstanceForType()

publicChangeHistoryEventgetDefaultInstanceForType()
Returns
TypeDescription
ChangeHistoryEvent

getId()

publicStringgetId()

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

string id = 1;

Returns
TypeDescription
String

The id.

getIdBytes()

publicByteStringgetIdBytes()

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

string id = 1;

Returns
TypeDescription
ByteString

The bytes for id.

getParserForType()

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

getSerializedSize()

publicintgetSerializedSize()
Returns
TypeDescription
int
Overrides

getUserActorEmail()

publicStringgetUserActorEmail()

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()

publicByteStringgetUserActorEmailBytes()

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()

publicbooleanhasChangeTime()

Time when change was made.

.google.protobuf.Timestamp change_time = 2;

Returns
TypeDescription
boolean

Whether the changeTime field is set.

hashCode()

publicinthashCode()
Returns
TypeDescription
int
Overrides

internalGetFieldAccessorTable()

protectedGeneratedMessageV3.FieldAccessorTableinternalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

publicfinalbooleanisInitialized()
Returns
TypeDescription
boolean
Overrides

newBuilderForType()

publicChangeHistoryEvent.BuildernewBuilderForType()
Returns
TypeDescription
ChangeHistoryEvent.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

protectedChangeHistoryEvent.BuildernewBuilderForType(GeneratedMessageV3.BuilderParentparent)
Parameter
NameDescription
parentBuilderParent
Returns
TypeDescription
ChangeHistoryEvent.Builder
Overrides

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

protectedObjectnewInstance(GeneratedMessageV3.UnusedPrivateParameterunused)
Parameter
NameDescription
unusedUnusedPrivateParameter
Returns
TypeDescription
Object
Overrides

toBuilder()

publicChangeHistoryEvent.BuildertoBuilder()
Returns
TypeDescription
ChangeHistoryEvent.Builder

writeTo(CodedOutputStream output)

publicvoidwriteTo(CodedOutputStreamoutput)
Parameter
NameDescription
outputCodedOutputStream
Overrides
Exceptions
TypeDescription
IOException