Class SearchChangeHistoryEventsRequest.Builder (0.62.0)

public static final class SearchChangeHistoryEventsRequest.Builder extends GeneratedMessageV3.Builder<SearchChangeHistoryEventsRequest.Builder> implements SearchChangeHistoryEventsRequestOrBuilder

Request message for SearchChangeHistoryEvents RPC.

Protobuf type google.analytics.admin.v1beta.SearchChangeHistoryEventsRequest

Static Methods

getDescriptor()

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

Methods

addAction(ActionType value)

public SearchChangeHistoryEventsRequest.Builder addAction(ActionType value)

Optional. If set, only return changes that match one or more of these types of actions.

repeated .google.analytics.admin.v1beta.ActionType action = 4 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
value ActionType

The action to add.

Returns
Type Description
SearchChangeHistoryEventsRequest.Builder

This builder for chaining.

addActionValue(int value)

public SearchChangeHistoryEventsRequest.Builder addActionValue(int value)

Optional. If set, only return changes that match one or more of these types of actions.

repeated .google.analytics.admin.v1beta.ActionType action = 4 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
value int

The enum numeric value on the wire for action to add.

Returns
Type Description
SearchChangeHistoryEventsRequest.Builder

This builder for chaining.

addActorEmail(String value)

public SearchChangeHistoryEventsRequest.Builder addActorEmail(String value)

Optional. If set, only return changes if they are made by a user in this list.

repeated string actor_email = 5 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
value String

The actorEmail to add.

Returns
Type Description
SearchChangeHistoryEventsRequest.Builder

This builder for chaining.

addActorEmailBytes(ByteString value)

public SearchChangeHistoryEventsRequest.Builder addActorEmailBytes(ByteString value)

Optional. If set, only return changes if they are made by a user in this list.

repeated string actor_email = 5 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
value ByteString

The bytes of the actorEmail to add.

Returns
Type Description
SearchChangeHistoryEventsRequest.Builder

This builder for chaining.

addAllAction(Iterable<? extends ActionType> values)

public SearchChangeHistoryEventsRequest.Builder addAllAction(Iterable<? extends ActionType> values)

Optional. If set, only return changes that match one or more of these types of actions.

repeated .google.analytics.admin.v1beta.ActionType action = 4 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
values Iterable<? extends com.google.analytics.admin.v1beta.ActionType>

The action to add.

Returns
Type Description
SearchChangeHistoryEventsRequest.Builder

This builder for chaining.

addAllActionValue(Iterable<Integer> values)

public SearchChangeHistoryEventsRequest.Builder addAllActionValue(Iterable<Integer> values)

Optional. If set, only return changes that match one or more of these types of actions.

repeated .google.analytics.admin.v1beta.ActionType action = 4 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
values Iterable<Integer>

The enum numeric values on the wire for action to add.

Returns
Type Description
SearchChangeHistoryEventsRequest.Builder

This builder for chaining.

addAllActorEmail(Iterable<String> values)

public SearchChangeHistoryEventsRequest.Builder addAllActorEmail(Iterable<String> values)

Optional. If set, only return changes if they are made by a user in this list.

repeated string actor_email = 5 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
values Iterable<String>

The actorEmail to add.

Returns
Type Description
SearchChangeHistoryEventsRequest.Builder

This builder for chaining.

addAllResourceType(Iterable<? extends ChangeHistoryResourceType> values)

public SearchChangeHistoryEventsRequest.Builder addAllResourceType(Iterable<? extends ChangeHistoryResourceType> values)

Optional. If set, only return changes if they are for a resource that matches at least one of these types.

repeated .google.analytics.admin.v1beta.ChangeHistoryResourceType resource_type = 3 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
values Iterable<? extends com.google.analytics.admin.v1beta.ChangeHistoryResourceType>

The resourceType to add.

Returns
Type Description
SearchChangeHistoryEventsRequest.Builder

This builder for chaining.

addAllResourceTypeValue(Iterable<Integer> values)

public SearchChangeHistoryEventsRequest.Builder addAllResourceTypeValue(Iterable<Integer> values)

Optional. If set, only return changes if they are for a resource that matches at least one of these types.

repeated .google.analytics.admin.v1beta.ChangeHistoryResourceType resource_type = 3 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
values Iterable<Integer>

The enum numeric values on the wire for resourceType to add.

Returns
Type Description
SearchChangeHistoryEventsRequest.Builder

This builder for chaining.

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public SearchChangeHistoryEventsRequest.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
SearchChangeHistoryEventsRequest.Builder
Overrides

addResourceType(ChangeHistoryResourceType value)

public SearchChangeHistoryEventsRequest.Builder addResourceType(ChangeHistoryResourceType value)

Optional. If set, only return changes if they are for a resource that matches at least one of these types.

repeated .google.analytics.admin.v1beta.ChangeHistoryResourceType resource_type = 3 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
value ChangeHistoryResourceType

The resourceType to add.

Returns
Type Description
SearchChangeHistoryEventsRequest.Builder

This builder for chaining.

addResourceTypeValue(int value)

public SearchChangeHistoryEventsRequest.Builder addResourceTypeValue(int value)

Optional. If set, only return changes if they are for a resource that matches at least one of these types.

repeated .google.analytics.admin.v1beta.ChangeHistoryResourceType resource_type = 3 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
value int

The enum numeric value on the wire for resourceType to add.

Returns
Type Description
SearchChangeHistoryEventsRequest.Builder

This builder for chaining.

build()

public SearchChangeHistoryEventsRequest build()
Returns
Type Description
SearchChangeHistoryEventsRequest

buildPartial()

public SearchChangeHistoryEventsRequest buildPartial()
Returns
Type Description
SearchChangeHistoryEventsRequest

clear()

public SearchChangeHistoryEventsRequest.Builder clear()
Returns
Type Description
SearchChangeHistoryEventsRequest.Builder
Overrides

clearAccount()

public SearchChangeHistoryEventsRequest.Builder clearAccount()

Required. The account resource for which to return change history resources. Format: accounts/{account}

Example: accounts/100

string account = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }

Returns
Type Description
SearchChangeHistoryEventsRequest.Builder

This builder for chaining.

clearAction()

public SearchChangeHistoryEventsRequest.Builder clearAction()

Optional. If set, only return changes that match one or more of these types of actions.

repeated .google.analytics.admin.v1beta.ActionType action = 4 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
SearchChangeHistoryEventsRequest.Builder

This builder for chaining.

clearActorEmail()

public SearchChangeHistoryEventsRequest.Builder clearActorEmail()

Optional. If set, only return changes if they are made by a user in this list.

repeated string actor_email = 5 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
SearchChangeHistoryEventsRequest.Builder

This builder for chaining.

clearEarliestChangeTime()

public SearchChangeHistoryEventsRequest.Builder clearEarliestChangeTime()

Optional. If set, only return changes made after this time (inclusive).

.google.protobuf.Timestamp earliest_change_time = 6 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
SearchChangeHistoryEventsRequest.Builder

clearField(Descriptors.FieldDescriptor field)

public SearchChangeHistoryEventsRequest.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Name Description
field FieldDescriptor
Returns
Type Description
SearchChangeHistoryEventsRequest.Builder
Overrides

clearLatestChangeTime()

public SearchChangeHistoryEventsRequest.Builder clearLatestChangeTime()

Optional. If set, only return changes made before this time (inclusive).

.google.protobuf.Timestamp latest_change_time = 7 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
SearchChangeHistoryEventsRequest.Builder

clearOneof(Descriptors.OneofDescriptor oneof)

public SearchChangeHistoryEventsRequest.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Name Description
oneof OneofDescriptor
Returns
Type Description
SearchChangeHistoryEventsRequest.Builder
Overrides

clearPageSize()

public SearchChangeHistoryEventsRequest.Builder clearPageSize()

Optional. The maximum number of ChangeHistoryEvent items to return. The service may return fewer than this value, even if there are additional pages. If unspecified, at most 50 items will be returned. The maximum value is 200 (higher values will be coerced to the maximum).

int32 page_size = 8 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
SearchChangeHistoryEventsRequest.Builder

This builder for chaining.

clearPageToken()

public SearchChangeHistoryEventsRequest.Builder clearPageToken()

Optional. A page token, received from a previous SearchChangeHistoryEvents call. Provide this to retrieve the subsequent page. When paginating, all other parameters provided to SearchChangeHistoryEvents must match the call that provided the page token.

string page_token = 9 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
SearchChangeHistoryEventsRequest.Builder

This builder for chaining.

clearProperty()

public SearchChangeHistoryEventsRequest.Builder clearProperty()

Optional. Resource name for a child property. If set, only return changes made to this property or its child resources. Format: properties/{propertyId}

Example: properties/100

string property = 2 [(.google.api.field_behavior) = OPTIONAL, (.google.api.resource_reference) = { ... }

Returns
Type Description
SearchChangeHistoryEventsRequest.Builder

This builder for chaining.

clearResourceType()

public SearchChangeHistoryEventsRequest.Builder clearResourceType()

Optional. If set, only return changes if they are for a resource that matches at least one of these types.

repeated .google.analytics.admin.v1beta.ChangeHistoryResourceType resource_type = 3 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
SearchChangeHistoryEventsRequest.Builder

This builder for chaining.

clone()

public SearchChangeHistoryEventsRequest.Builder clone()
Returns
Type Description
SearchChangeHistoryEventsRequest.Builder
Overrides

getAccount()

public String getAccount()

Required. The account resource for which to return change history resources. Format: accounts/{account}

Example: accounts/100

string account = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }

Returns
Type Description
String

The account.

getAccountBytes()

public ByteString getAccountBytes()

Required. The account resource for which to return change history resources. Format: accounts/{account}

Example: accounts/100

string account = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }

Returns
Type Description
ByteString

The bytes for account.

getAction(int index)

public ActionType getAction(int index)

Optional. If set, only return changes that match one or more of these types of actions.

repeated .google.analytics.admin.v1beta.ActionType action = 4 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
index int

The index of the element to return.

Returns
Type Description
ActionType

The action at the given index.

getActionCount()

public int getActionCount()

Optional. If set, only return changes that match one or more of these types of actions.

repeated .google.analytics.admin.v1beta.ActionType action = 4 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
int

The count of action.

getActionList()

public List<ActionType> getActionList()

Optional. If set, only return changes that match one or more of these types of actions.

repeated .google.analytics.admin.v1beta.ActionType action = 4 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
List<ActionType>

A list containing the action.

getActionValue(int index)

public int getActionValue(int index)

Optional. If set, only return changes that match one or more of these types of actions.

repeated .google.analytics.admin.v1beta.ActionType action = 4 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
index int

The index of the value to return.

Returns
Type Description
int

The enum numeric value on the wire of action at the given index.

getActionValueList()

public List<Integer> getActionValueList()

Optional. If set, only return changes that match one or more of these types of actions.

repeated .google.analytics.admin.v1beta.ActionType action = 4 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
List<Integer>

A list containing the enum numeric values on the wire for action.

getActorEmail(int index)

public String getActorEmail(int index)

Optional. If set, only return changes if they are made by a user in this list.

repeated string actor_email = 5 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
index int

The index of the element to return.

Returns
Type Description
String

The actorEmail at the given index.

getActorEmailBytes(int index)

public ByteString getActorEmailBytes(int index)

Optional. If set, only return changes if they are made by a user in this list.

repeated string actor_email = 5 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
index int

The index of the value to return.

Returns
Type Description
ByteString

The bytes of the actorEmail at the given index.

getActorEmailCount()

public int getActorEmailCount()

Optional. If set, only return changes if they are made by a user in this list.

repeated string actor_email = 5 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
int

The count of actorEmail.

getActorEmailList()

public ProtocolStringList getActorEmailList()

Optional. If set, only return changes if they are made by a user in this list.

repeated string actor_email = 5 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
ProtocolStringList

A list containing the actorEmail.

getDefaultInstanceForType()

public SearchChangeHistoryEventsRequest getDefaultInstanceForType()
Returns
Type Description
SearchChangeHistoryEventsRequest

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
Type Description
Descriptor
Overrides

getEarliestChangeTime()

public Timestamp getEarliestChangeTime()

Optional. If set, only return changes made after this time (inclusive).

.google.protobuf.Timestamp earliest_change_time = 6 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
Timestamp

The earliestChangeTime.

getEarliestChangeTimeBuilder()

public Timestamp.Builder getEarliestChangeTimeBuilder()

Optional. If set, only return changes made after this time (inclusive).

.google.protobuf.Timestamp earliest_change_time = 6 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
Builder

getEarliestChangeTimeOrBuilder()

public TimestampOrBuilder getEarliestChangeTimeOrBuilder()

Optional. If set, only return changes made after this time (inclusive).

.google.protobuf.Timestamp earliest_change_time = 6 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
TimestampOrBuilder

getLatestChangeTime()

public Timestamp getLatestChangeTime()

Optional. If set, only return changes made before this time (inclusive).

.google.protobuf.Timestamp latest_change_time = 7 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
Timestamp

The latestChangeTime.

getLatestChangeTimeBuilder()

public Timestamp.Builder getLatestChangeTimeBuilder()

Optional. If set, only return changes made before this time (inclusive).

.google.protobuf.Timestamp latest_change_time = 7 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
Builder

getLatestChangeTimeOrBuilder()

public TimestampOrBuilder getLatestChangeTimeOrBuilder()

Optional. If set, only return changes made before this time (inclusive).

.google.protobuf.Timestamp latest_change_time = 7 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
TimestampOrBuilder

getPageSize()

public int getPageSize()

Optional. The maximum number of ChangeHistoryEvent items to return. The service may return fewer than this value, even if there are additional pages. If unspecified, at most 50 items will be returned. The maximum value is 200 (higher values will be coerced to the maximum).

int32 page_size = 8 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
int

The pageSize.

getPageToken()

public String getPageToken()

Optional. A page token, received from a previous SearchChangeHistoryEvents call. Provide this to retrieve the subsequent page. When paginating, all other parameters provided to SearchChangeHistoryEvents must match the call that provided the page token.

string page_token = 9 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
String

The pageToken.

getPageTokenBytes()

public ByteString getPageTokenBytes()

Optional. A page token, received from a previous SearchChangeHistoryEvents call. Provide this to retrieve the subsequent page. When paginating, all other parameters provided to SearchChangeHistoryEvents must match the call that provided the page token.

string page_token = 9 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
ByteString

The bytes for pageToken.

getProperty()

public String getProperty()

Optional. Resource name for a child property. If set, only return changes made to this property or its child resources. Format: properties/{propertyId}

Example: properties/100

string property = 2 [(.google.api.field_behavior) = OPTIONAL, (.google.api.resource_reference) = { ... }

Returns
Type Description
String

The property.

getPropertyBytes()

public ByteString getPropertyBytes()

Optional. Resource name for a child property. If set, only return changes made to this property or its child resources. Format: properties/{propertyId}

Example: properties/100

string property = 2 [(.google.api.field_behavior) = OPTIONAL, (.google.api.resource_reference) = { ... }

Returns
Type Description
ByteString

The bytes for property.

getResourceType(int index)

public ChangeHistoryResourceType getResourceType(int index)

Optional. If set, only return changes if they are for a resource that matches at least one of these types.

repeated .google.analytics.admin.v1beta.ChangeHistoryResourceType resource_type = 3 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
index int

The index of the element to return.

Returns
Type Description
ChangeHistoryResourceType

The resourceType at the given index.

getResourceTypeCount()

public int getResourceTypeCount()

Optional. If set, only return changes if they are for a resource that matches at least one of these types.

repeated .google.analytics.admin.v1beta.ChangeHistoryResourceType resource_type = 3 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
int

The count of resourceType.

getResourceTypeList()

public List<ChangeHistoryResourceType> getResourceTypeList()

Optional. If set, only return changes if they are for a resource that matches at least one of these types.

repeated .google.analytics.admin.v1beta.ChangeHistoryResourceType resource_type = 3 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
List<ChangeHistoryResourceType>

A list containing the resourceType.

getResourceTypeValue(int index)

public int getResourceTypeValue(int index)

Optional. If set, only return changes if they are for a resource that matches at least one of these types.

repeated .google.analytics.admin.v1beta.ChangeHistoryResourceType resource_type = 3 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
index int

The index of the value to return.

Returns
Type Description
int

The enum numeric value on the wire of resourceType at the given index.

getResourceTypeValueList()

public List<Integer> getResourceTypeValueList()

Optional. If set, only return changes if they are for a resource that matches at least one of these types.

repeated .google.analytics.admin.v1beta.ChangeHistoryResourceType resource_type = 3 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
List<Integer>

A list containing the enum numeric values on the wire for resourceType.

hasEarliestChangeTime()

public boolean hasEarliestChangeTime()

Optional. If set, only return changes made after this time (inclusive).

.google.protobuf.Timestamp earliest_change_time = 6 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
boolean

Whether the earliestChangeTime field is set.

hasLatestChangeTime()

public boolean hasLatestChangeTime()

Optional. If set, only return changes made before this time (inclusive).

.google.protobuf.Timestamp latest_change_time = 7 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
boolean

Whether the latestChangeTime field is set.

internalGetFieldAccessorTable()

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeEarliestChangeTime(Timestamp value)

public SearchChangeHistoryEventsRequest.Builder mergeEarliestChangeTime(Timestamp value)

Optional. If set, only return changes made after this time (inclusive).

.google.protobuf.Timestamp earliest_change_time = 6 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
value Timestamp
Returns
Type Description
SearchChangeHistoryEventsRequest.Builder

mergeFrom(SearchChangeHistoryEventsRequest other)

public SearchChangeHistoryEventsRequest.Builder mergeFrom(SearchChangeHistoryEventsRequest other)
Parameter
Name Description
other SearchChangeHistoryEventsRequest
Returns
Type Description
SearchChangeHistoryEventsRequest.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public SearchChangeHistoryEventsRequest.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
SearchChangeHistoryEventsRequest.Builder
Overrides
Exceptions
Type Description
IOException

mergeFrom(Message other)

public SearchChangeHistoryEventsRequest.Builder mergeFrom(Message other)
Parameter
Name Description
other Message
Returns
Type Description
SearchChangeHistoryEventsRequest.Builder
Overrides

mergeLatestChangeTime(Timestamp value)

public SearchChangeHistoryEventsRequest.Builder mergeLatestChangeTime(Timestamp value)

Optional. If set, only return changes made before this time (inclusive).

.google.protobuf.Timestamp latest_change_time = 7 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
value Timestamp
Returns
Type Description
SearchChangeHistoryEventsRequest.Builder

mergeUnknownFields(UnknownFieldSet unknownFields)

public final SearchChangeHistoryEventsRequest.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
SearchChangeHistoryEventsRequest.Builder
Overrides

setAccount(String value)

public SearchChangeHistoryEventsRequest.Builder setAccount(String value)

Required. The account resource for which to return change history resources. Format: accounts/{account}

Example: accounts/100

string account = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }

Parameter
Name Description
value String

The account to set.

Returns
Type Description
SearchChangeHistoryEventsRequest.Builder

This builder for chaining.

setAccountBytes(ByteString value)

public SearchChangeHistoryEventsRequest.Builder setAccountBytes(ByteString value)

Required. The account resource for which to return change history resources. Format: accounts/{account}

Example: accounts/100

string account = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }

Parameter
Name Description
value ByteString

The bytes for account to set.

Returns
Type Description
SearchChangeHistoryEventsRequest.Builder

This builder for chaining.

setAction(int index, ActionType value)

public SearchChangeHistoryEventsRequest.Builder setAction(int index, ActionType value)

Optional. If set, only return changes that match one or more of these types of actions.

repeated .google.analytics.admin.v1beta.ActionType action = 4 [(.google.api.field_behavior) = OPTIONAL];

Parameters
Name Description
index int

The index to set the value at.

value ActionType

The action to set.

Returns
Type Description
SearchChangeHistoryEventsRequest.Builder

This builder for chaining.

setActionValue(int index, int value)

public SearchChangeHistoryEventsRequest.Builder setActionValue(int index, int value)

Optional. If set, only return changes that match one or more of these types of actions.

repeated .google.analytics.admin.v1beta.ActionType action = 4 [(.google.api.field_behavior) = OPTIONAL];

Parameters
Name Description
index int

The index to set the value at.

value int

The enum numeric value on the wire for action to set.

Returns
Type Description
SearchChangeHistoryEventsRequest.Builder

This builder for chaining.

setActorEmail(int index, String value)

public SearchChangeHistoryEventsRequest.Builder setActorEmail(int index, String value)

Optional. If set, only return changes if they are made by a user in this list.

repeated string actor_email = 5 [(.google.api.field_behavior) = OPTIONAL];

Parameters
Name Description
index int

The index to set the value at.

value String

The actorEmail to set.

Returns
Type Description
SearchChangeHistoryEventsRequest.Builder

This builder for chaining.

setEarliestChangeTime(Timestamp value)

public SearchChangeHistoryEventsRequest.Builder setEarliestChangeTime(Timestamp value)

Optional. If set, only return changes made after this time (inclusive).

.google.protobuf.Timestamp earliest_change_time = 6 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
value Timestamp
Returns
Type Description
SearchChangeHistoryEventsRequest.Builder

setEarliestChangeTime(Timestamp.Builder builderForValue)

public SearchChangeHistoryEventsRequest.Builder setEarliestChangeTime(Timestamp.Builder builderForValue)

Optional. If set, only return changes made after this time (inclusive).

.google.protobuf.Timestamp earliest_change_time = 6 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
builderForValue Builder
Returns
Type Description
SearchChangeHistoryEventsRequest.Builder

setField(Descriptors.FieldDescriptor field, Object value)

public SearchChangeHistoryEventsRequest.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
SearchChangeHistoryEventsRequest.Builder
Overrides

setLatestChangeTime(Timestamp value)

public SearchChangeHistoryEventsRequest.Builder setLatestChangeTime(Timestamp value)

Optional. If set, only return changes made before this time (inclusive).

.google.protobuf.Timestamp latest_change_time = 7 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
value Timestamp
Returns
Type Description
SearchChangeHistoryEventsRequest.Builder

setLatestChangeTime(Timestamp.Builder builderForValue)

public SearchChangeHistoryEventsRequest.Builder setLatestChangeTime(Timestamp.Builder builderForValue)

Optional. If set, only return changes made before this time (inclusive).

.google.protobuf.Timestamp latest_change_time = 7 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
builderForValue Builder
Returns
Type Description
SearchChangeHistoryEventsRequest.Builder

setPageSize(int value)

public SearchChangeHistoryEventsRequest.Builder setPageSize(int value)

Optional. The maximum number of ChangeHistoryEvent items to return. The service may return fewer than this value, even if there are additional pages. If unspecified, at most 50 items will be returned. The maximum value is 200 (higher values will be coerced to the maximum).

int32 page_size = 8 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
value int

The pageSize to set.

Returns
Type Description
SearchChangeHistoryEventsRequest.Builder

This builder for chaining.

setPageToken(String value)

public SearchChangeHistoryEventsRequest.Builder setPageToken(String value)

Optional. A page token, received from a previous SearchChangeHistoryEvents call. Provide this to retrieve the subsequent page. When paginating, all other parameters provided to SearchChangeHistoryEvents must match the call that provided the page token.

string page_token = 9 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
value String

The pageToken to set.

Returns
Type Description
SearchChangeHistoryEventsRequest.Builder

This builder for chaining.

setPageTokenBytes(ByteString value)

public SearchChangeHistoryEventsRequest.Builder setPageTokenBytes(ByteString value)

Optional. A page token, received from a previous SearchChangeHistoryEvents call. Provide this to retrieve the subsequent page. When paginating, all other parameters provided to SearchChangeHistoryEvents must match the call that provided the page token.

string page_token = 9 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
value ByteString

The bytes for pageToken to set.

Returns
Type Description
SearchChangeHistoryEventsRequest.Builder

This builder for chaining.

setProperty(String value)

public SearchChangeHistoryEventsRequest.Builder setProperty(String value)

Optional. Resource name for a child property. If set, only return changes made to this property or its child resources. Format: properties/{propertyId}

Example: properties/100

string property = 2 [(.google.api.field_behavior) = OPTIONAL, (.google.api.resource_reference) = { ... }

Parameter
Name Description
value String

The property to set.

Returns
Type Description
SearchChangeHistoryEventsRequest.Builder

This builder for chaining.

setPropertyBytes(ByteString value)

public SearchChangeHistoryEventsRequest.Builder setPropertyBytes(ByteString value)

Optional. Resource name for a child property. If set, only return changes made to this property or its child resources. Format: properties/{propertyId}

Example: properties/100

string property = 2 [(.google.api.field_behavior) = OPTIONAL, (.google.api.resource_reference) = { ... }

Parameter
Name Description
value ByteString

The bytes for property to set.

Returns
Type Description
SearchChangeHistoryEventsRequest.Builder

This builder for chaining.

setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)

public SearchChangeHistoryEventsRequest.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
Name Description
field FieldDescriptor
index int
value Object
Returns
Type Description
SearchChangeHistoryEventsRequest.Builder
Overrides

setResourceType(int index, ChangeHistoryResourceType value)

public SearchChangeHistoryEventsRequest.Builder setResourceType(int index, ChangeHistoryResourceType value)

Optional. If set, only return changes if they are for a resource that matches at least one of these types.

repeated .google.analytics.admin.v1beta.ChangeHistoryResourceType resource_type = 3 [(.google.api.field_behavior) = OPTIONAL];

Parameters
Name Description
index int

The index to set the value at.

value ChangeHistoryResourceType

The resourceType to set.

Returns
Type Description
SearchChangeHistoryEventsRequest.Builder

This builder for chaining.

setResourceTypeValue(int index, int value)

public SearchChangeHistoryEventsRequest.Builder setResourceTypeValue(int index, int value)

Optional. If set, only return changes if they are for a resource that matches at least one of these types.

repeated .google.analytics.admin.v1beta.ChangeHistoryResourceType resource_type = 3 [(.google.api.field_behavior) = OPTIONAL];

Parameters
Name Description
index int

The index to set the value at.

value int

The enum numeric value on the wire for resourceType to set.

Returns
Type Description
SearchChangeHistoryEventsRequest.Builder

This builder for chaining.

setUnknownFields(UnknownFieldSet unknownFields)

public final SearchChangeHistoryEventsRequest.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
SearchChangeHistoryEventsRequest.Builder
Overrides