Class ChangeHistoryEvent.Builder
java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<BuilderT>
com.google.protobuf.GeneratedMessage.Builder<ChangeHistoryEvent.Builder>
com.google.analytics.admin.v1beta.ChangeHistoryEvent.Builder
- All Implemented Interfaces:
ChangeHistoryEventOrBuilder,com.google.protobuf.Message.Builder,com.google.protobuf.MessageLite.Builder,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,Cloneable
- Enclosing class:
- ChangeHistoryEvent
public static final class ChangeHistoryEvent.Builder
extends com.google.protobuf.GeneratedMessage.Builder<ChangeHistoryEvent.Builder>
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-
Method Summary
Modifier and TypeMethodDescriptionaddAllChanges(Iterable<? extends ChangeHistoryChange> values) A list of changes made in this change history event that fit the filters specified in SearchChangeHistoryEventsRequest.addChanges(int index, ChangeHistoryChange value) A list of changes made in this change history event that fit the filters specified in SearchChangeHistoryEventsRequest.addChanges(int index, ChangeHistoryChange.Builder builderForValue) A list of changes made in this change history event that fit the filters specified in SearchChangeHistoryEventsRequest.addChanges(ChangeHistoryChange value) A list of changes made in this change history event that fit the filters specified in SearchChangeHistoryEventsRequest.addChanges(ChangeHistoryChange.Builder builderForValue) A list of changes made in this change history event that fit the filters specified in SearchChangeHistoryEventsRequest.A list of changes made in this change history event that fit the filters specified in SearchChangeHistoryEventsRequest.addChangesBuilder(int index) A list of changes made in this change history event that fit the filters specified in SearchChangeHistoryEventsRequest.build()clear()The type of actor that made this change.A list of changes made in this change history event that fit the filters specified in SearchChangeHistoryEventsRequest.If true, then the list of changes returned was filtered, and does not represent all changes that occurred in this event.Time when change was made.clearId()ID of this change history event.Email address of the Google account that made the change.The type of actor that made this change.intThe type of actor that made this change.getChanges(int index) A list of changes made in this change history event that fit the filters specified in SearchChangeHistoryEventsRequest.getChangesBuilder(int index) A list of changes made in this change history event that fit the filters specified in SearchChangeHistoryEventsRequest.A list of changes made in this change history event that fit the filters specified in SearchChangeHistoryEventsRequest.intA list of changes made in this change history event that fit the filters specified in SearchChangeHistoryEventsRequest.booleanIf true, then the list of changes returned was filtered, and does not represent all changes that occurred in this event.A list of changes made in this change history event that fit the filters specified in SearchChangeHistoryEventsRequest.getChangesOrBuilder(int index) A list of changes made in this change history event that fit the filters specified in SearchChangeHistoryEventsRequest.List<? extends ChangeHistoryChangeOrBuilder>A list of changes made in this change history event that fit the filters specified in SearchChangeHistoryEventsRequest.com.google.protobuf.TimestampTime when change was made.com.google.protobuf.Timestamp.BuilderTime when change was made.com.google.protobuf.TimestampOrBuilderTime when change was made.static final com.google.protobuf.Descriptors.Descriptorcom.google.protobuf.Descriptors.DescriptorgetId()ID of this change history event.com.google.protobuf.ByteStringID of this change history event.Email address of the Google account that made the change.com.google.protobuf.ByteStringEmail address of the Google account that made the change.booleanTime when change was made.protected com.google.protobuf.GeneratedMessage.FieldAccessorTablefinal booleanmergeChangeTime(com.google.protobuf.Timestamp value) Time when change was made.mergeFrom(ChangeHistoryEvent other) mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) mergeFrom(com.google.protobuf.Message other) removeChanges(int index) A list of changes made in this change history event that fit the filters specified in SearchChangeHistoryEventsRequest.setActorType(ActorType value) The type of actor that made this change.setActorTypeValue(int value) The type of actor that made this change.setChanges(int index, ChangeHistoryChange value) A list of changes made in this change history event that fit the filters specified in SearchChangeHistoryEventsRequest.setChanges(int index, ChangeHistoryChange.Builder builderForValue) A list of changes made in this change history event that fit the filters specified in SearchChangeHistoryEventsRequest.setChangesFiltered(boolean value) If true, then the list of changes returned was filtered, and does not represent all changes that occurred in this event.setChangeTime(com.google.protobuf.Timestamp value) Time when change was made.setChangeTime(com.google.protobuf.Timestamp.Builder builderForValue) Time when change was made.ID of this change history event.setIdBytes(com.google.protobuf.ByteString value) ID of this change history event.setUserActorEmail(String value) Email address of the Google account that made the change.setUserActorEmailBytes(com.google.protobuf.ByteString value) Email address of the Google account that made the change.Methods inherited from class com.google.protobuf.GeneratedMessage.Builder
addRepeatedField, clearField, clearOneof, clone, getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, internalGetMapField, internalGetMapFieldReflection, internalGetMutableMapField, internalGetMutableMapFieldReflection, isClean, markClean, mergeUnknownFields, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setField, setRepeatedField, setUnknownFields, setUnknownFieldSetBuilder, setUnknownFieldsProto3Methods inherited from class com.google.protobuf.AbstractMessage.Builder
findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toStringMethods inherited from class com.google.protobuf.AbstractMessageLite.Builder
addAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, newUninitializedMessageExceptionMethods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface com.google.protobuf.Message.Builder
mergeDelimitedFrom, mergeDelimitedFromMethods inherited from interface com.google.protobuf.MessageLite.Builder
mergeFromMethods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Method Details
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() -
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()- Specified by:
internalGetFieldAccessorTablein classcom.google.protobuf.GeneratedMessage.Builder<ChangeHistoryEvent.Builder>
-
clear
- Specified by:
clearin interfacecom.google.protobuf.Message.Builder- Specified by:
clearin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
clearin classcom.google.protobuf.GeneratedMessage.Builder<ChangeHistoryEvent.Builder>
-
getDescriptorForType
public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.Message.Builder- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.MessageOrBuilder- Overrides:
getDescriptorForTypein classcom.google.protobuf.GeneratedMessage.Builder<ChangeHistoryEvent.Builder>
-
getDefaultInstanceForType
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-
build
- Specified by:
buildin interfacecom.google.protobuf.Message.Builder- Specified by:
buildin interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
- Specified by:
buildPartialin interfacecom.google.protobuf.Message.Builder- Specified by:
buildPartialin interfacecom.google.protobuf.MessageLite.Builder
-
mergeFrom
- Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<ChangeHistoryEvent.Builder>
-
mergeFrom
-
isInitialized
public final boolean isInitialized()- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessage.Builder<ChangeHistoryEvent.Builder>
-
mergeFrom
public ChangeHistoryEvent.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Specified by:
mergeFromin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<ChangeHistoryEvent.Builder>- Throws:
IOException
-
getId
ID of this change history event. This ID is unique across Google Analytics.
string id = 1;- Specified by:
getIdin interfaceChangeHistoryEventOrBuilder- Returns:
- The id.
-
getIdBytes
public com.google.protobuf.ByteString getIdBytes()ID of this change history event. This ID is unique across Google Analytics.
string id = 1;- Specified by:
getIdBytesin interfaceChangeHistoryEventOrBuilder- Returns:
- The bytes for id.
-
setId
ID of this change history event. This ID is unique across Google Analytics.
string id = 1;- Parameters:
value- The id to set.- Returns:
- This builder for chaining.
-
clearId
ID of this change history event. This ID is unique across Google Analytics.
string id = 1;- Returns:
- This builder for chaining.
-
setIdBytes
ID of this change history event. This ID is unique across Google Analytics.
string id = 1;- Parameters:
value- The bytes for id to set.- Returns:
- This builder for chaining.
-
hasChangeTime
public boolean hasChangeTime()Time when change was made.
.google.protobuf.Timestamp change_time = 2;- Specified by:
hasChangeTimein interfaceChangeHistoryEventOrBuilder- Returns:
- Whether the changeTime field is set.
-
getChangeTime
public com.google.protobuf.Timestamp getChangeTime()Time when change was made.
.google.protobuf.Timestamp change_time = 2;- Specified by:
getChangeTimein interfaceChangeHistoryEventOrBuilder- Returns:
- The changeTime.
-
setChangeTime
Time when change was made.
.google.protobuf.Timestamp change_time = 2; -
setChangeTime
public ChangeHistoryEvent.Builder setChangeTime(com.google.protobuf.Timestamp.Builder builderForValue) Time when change was made.
.google.protobuf.Timestamp change_time = 2; -
mergeChangeTime
Time when change was made.
.google.protobuf.Timestamp change_time = 2; -
clearChangeTime
Time when change was made.
.google.protobuf.Timestamp change_time = 2; -
getChangeTimeBuilder
public com.google.protobuf.Timestamp.Builder getChangeTimeBuilder()Time when change was made.
.google.protobuf.Timestamp change_time = 2; -
getChangeTimeOrBuilder
public com.google.protobuf.TimestampOrBuilder getChangeTimeOrBuilder()Time when change was made.
.google.protobuf.Timestamp change_time = 2;- Specified by:
getChangeTimeOrBuilderin interfaceChangeHistoryEventOrBuilder
-
getActorTypeValue
public int getActorTypeValue()The type of actor that made this change.
.google.analytics.admin.v1beta.ActorType actor_type = 3;- Specified by:
getActorTypeValuein interfaceChangeHistoryEventOrBuilder- Returns:
- The enum numeric value on the wire for actorType.
-
setActorTypeValue
The type of actor that made this change.
.google.analytics.admin.v1beta.ActorType actor_type = 3;- Parameters:
value- The enum numeric value on the wire for actorType to set.- Returns:
- This builder for chaining.
-
getActorType
The type of actor that made this change.
.google.analytics.admin.v1beta.ActorType actor_type = 3;- Specified by:
getActorTypein interfaceChangeHistoryEventOrBuilder- Returns:
- The actorType.
-
setActorType
The type of actor that made this change.
.google.analytics.admin.v1beta.ActorType actor_type = 3;- Parameters:
value- The actorType to set.- Returns:
- This builder for chaining.
-
clearActorType
The type of actor that made this change.
.google.analytics.admin.v1beta.ActorType actor_type = 3;- Returns:
- This builder for chaining.
-
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;- Specified by:
getUserActorEmailin interfaceChangeHistoryEventOrBuilder- Returns:
- The userActorEmail.
-
getUserActorEmailBytes
public com.google.protobuf.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;- Specified by:
getUserActorEmailBytesin interfaceChangeHistoryEventOrBuilder- Returns:
- The bytes for userActorEmail.
-
setUserActorEmail
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;- Parameters:
value- The userActorEmail to set.- Returns:
- This builder for chaining.
-
clearUserActorEmail
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:
- This builder for chaining.
-
setUserActorEmailBytes
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;- Parameters:
value- The bytes for userActorEmail to set.- Returns:
- This builder for chaining.
-
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;- Specified by:
getChangesFilteredin interfaceChangeHistoryEventOrBuilder- Returns:
- The changesFiltered.
-
setChangesFiltered
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;- Parameters:
value- The changesFiltered to set.- Returns:
- This builder for chaining.
-
clearChangesFiltered
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:
- This builder for chaining.
-
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;- Specified by:
getChangesListin interfaceChangeHistoryEventOrBuilder
-
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;- Specified by:
getChangesCountin interfaceChangeHistoryEventOrBuilder
-
getChanges
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;- Specified by:
getChangesin interfaceChangeHistoryEventOrBuilder
-
setChanges
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; -
setChanges
public ChangeHistoryEvent.Builder setChanges(int index, ChangeHistoryChange.Builder builderForValue) 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; -
addChanges
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; -
addChanges
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; -
addChanges
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; -
addChanges
public ChangeHistoryEvent.Builder addChanges(int index, ChangeHistoryChange.Builder builderForValue) 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; -
addAllChanges
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; -
clearChanges
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; -
removeChanges
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; -
getChangesBuilder
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; -
getChangesOrBuilder
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;- Specified by:
getChangesOrBuilderin interfaceChangeHistoryEventOrBuilder
-
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;- Specified by:
getChangesOrBuilderListin interfaceChangeHistoryEventOrBuilder
-
addChangesBuilder
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; -
addChangesBuilder
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; -
getChangesBuilderList
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;
-