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
CHANGES_FIELD_NUMBER
public static final int CHANGES_FIELD_NUMBER
Field Value
CHANGES_FILTERED_FIELD_NUMBER
public static final int CHANGES_FILTERED_FIELD_NUMBER
Field Value
CHANGE_TIME_FIELD_NUMBER
public static final int CHANGE_TIME_FIELD_NUMBER
Field Value
ID_FIELD_NUMBER
public static final int ID_FIELD_NUMBER
Field Value
USER_ACTOR_EMAIL_FIELD_NUMBER
public static final int USER_ACTOR_EMAIL_FIELD_NUMBER
Field Value
Static Methods
getDefaultInstance()
public static ChangeHistoryEvent getDefaultInstance()
Returns
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Returns
newBuilder()
public static ChangeHistoryEvent.Builder newBuilder()
Returns
newBuilder(ChangeHistoryEvent prototype)
public static ChangeHistoryEvent.Builder newBuilder(ChangeHistoryEvent prototype)
Parameter
Returns
parseDelimitedFrom(InputStream input)
public static ChangeHistoryEvent parseDelimitedFrom(InputStream input)
Parameter
Returns
Exceptions
parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
public static ChangeHistoryEvent parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
parseFrom(byte[] data)
public static ChangeHistoryEvent parseFrom(byte[] data)
Parameter
Name | Description |
data | byte[]
|
Returns
Exceptions
parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
public static ChangeHistoryEvent parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
parseFrom(ByteString data)
public static ChangeHistoryEvent parseFrom(ByteString data)
Parameter
Returns
Exceptions
parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static ChangeHistoryEvent parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
parseFrom(CodedInputStream input)
public static ChangeHistoryEvent parseFrom(CodedInputStream input)
Parameter
Returns
Exceptions
parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public static ChangeHistoryEvent parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
parseFrom(InputStream input)
public static ChangeHistoryEvent parseFrom(InputStream input)
Parameter
Returns
Exceptions
parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
public static ChangeHistoryEvent parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
parseFrom(ByteBuffer data)
public static ChangeHistoryEvent parseFrom(ByteBuffer data)
Parameter
Returns
Exceptions
parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
public static ChangeHistoryEvent parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
parser()
public static Parser<ChangeHistoryEvent> parser()
Returns
Methods
equals(Object obj)
public boolean equals(Object obj)
Parameter
Returns
Overrides
getActorType()
public ActorType getActorType()
The type of actor that made this change.
.google.analytics.admin.v1beta.ActorType actor_type = 3;
Returns
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
getChangeTimeOrBuilder()
public TimestampOrBuilder getChangeTimeOrBuilder()
Time when change was made.
.google.protobuf.Timestamp change_time = 2;
Returns
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
Returns
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
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
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
Returns
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
getId()
ID of this change history event. This ID is unique across Google Analytics.
string id = 1;
Returns
getIdBytes()
public ByteString getIdBytes()
ID of this change history event. This ID is unique across Google Analytics.
string id = 1;
Returns
getParserForType()
public Parser<ChangeHistoryEvent> getParserForType()
Returns
Overrides
getSerializedSize()
public int getSerializedSize()
Returns
Overrides
getUnknownFields()
public final UnknownFieldSet getUnknownFields()
Returns
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()
Returns
Overrides
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Overrides
isInitialized()
public final boolean isInitialized()
Returns
Overrides
newBuilderForType()
public ChangeHistoryEvent.Builder newBuilderForType()
Returns
newBuilderForType(GeneratedMessageV3.BuilderParent parent)
protected ChangeHistoryEvent.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
Returns
Overrides
newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
Returns
Overrides
toBuilder()
public ChangeHistoryEvent.Builder toBuilder()
Returns
writeTo(CodedOutputStream output)
public void writeTo(CodedOutputStream output)
Parameter
Overrides
Exceptions