Class SearchChangeHistoryEventsRequest.Builder (0.32.0)

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

Request message for SearchChangeHistoryEvents RPC.

Protobuf type google.analytics.admin.v1alpha.SearchChangeHistoryEventsRequest

Static Methods

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
TypeDescription
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.v1alpha.ActionType action = 4 [(.google.api.field_behavior) = OPTIONAL];

Parameter
NameDescription
valueActionType

The action to add.

Returns
TypeDescription
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.v1alpha.ActionType action = 4 [(.google.api.field_behavior) = OPTIONAL];

Parameter
NameDescription
valueint

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

Returns
TypeDescription
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
NameDescription
valueString

The actorEmail to add.

Returns
TypeDescription
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
NameDescription
valueByteString

The bytes of the actorEmail to add.

Returns
TypeDescription
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.v1alpha.ActionType action = 4 [(.google.api.field_behavior) = OPTIONAL];

Parameter
NameDescription
valuesIterable<? extends com.google.analytics.admin.v1alpha.ActionType>

The action to add.

Returns
TypeDescription
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.v1alpha.ActionType action = 4 [(.google.api.field_behavior) = OPTIONAL];

Parameter
NameDescription
valuesIterable<Integer>

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

Returns
TypeDescription
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
NameDescription
valuesIterable<String>

The actorEmail to add.

Returns
TypeDescription
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.v1alpha.ChangeHistoryResourceType resource_type = 3 [(.google.api.field_behavior) = OPTIONAL];

Parameter
NameDescription
valuesIterable<? extends com.google.analytics.admin.v1alpha.ChangeHistoryResourceType>

The resourceType to add.

Returns
TypeDescription
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.v1alpha.ChangeHistoryResourceType resource_type = 3 [(.google.api.field_behavior) = OPTIONAL];

Parameter
NameDescription
valuesIterable<Integer>

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

Returns
TypeDescription
SearchChangeHistoryEventsRequest.Builder

This builder for chaining.

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public SearchChangeHistoryEventsRequest.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
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.v1alpha.ChangeHistoryResourceType resource_type = 3 [(.google.api.field_behavior) = OPTIONAL];

Parameter
NameDescription
valueChangeHistoryResourceType

The resourceType to add.

Returns
TypeDescription
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.v1alpha.ChangeHistoryResourceType resource_type = 3 [(.google.api.field_behavior) = OPTIONAL];

Parameter
NameDescription
valueint

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

Returns
TypeDescription
SearchChangeHistoryEventsRequest.Builder

This builder for chaining.

build()

public SearchChangeHistoryEventsRequest build()
Returns
TypeDescription
SearchChangeHistoryEventsRequest

buildPartial()

public SearchChangeHistoryEventsRequest buildPartial()
Returns
TypeDescription
SearchChangeHistoryEventsRequest

clear()

public SearchChangeHistoryEventsRequest.Builder clear()
Returns
TypeDescription
SearchChangeHistoryEventsRequest.Builder
Overrides

clearAccount()

public SearchChangeHistoryEventsRequest.Builder clearAccount()

Required. The account resource for which to return change history resources.

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

Returns
TypeDescription
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.v1alpha.ActionType action = 4 [(.google.api.field_behavior) = OPTIONAL];

Returns
TypeDescription
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
TypeDescription
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
TypeDescription
SearchChangeHistoryEventsRequest.Builder

clearField(Descriptors.FieldDescriptor field)

public SearchChangeHistoryEventsRequest.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
NameDescription
fieldFieldDescriptor
Returns
TypeDescription
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
TypeDescription
SearchChangeHistoryEventsRequest.Builder

clearOneof(Descriptors.OneofDescriptor oneof)

public SearchChangeHistoryEventsRequest.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
NameDescription
oneofOneofDescriptor
Returns
TypeDescription
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
TypeDescription
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
TypeDescription
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.

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

Returns
TypeDescription
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.v1alpha.ChangeHistoryResourceType resource_type = 3 [(.google.api.field_behavior) = OPTIONAL];

Returns
TypeDescription
SearchChangeHistoryEventsRequest.Builder

This builder for chaining.

clone()

public SearchChangeHistoryEventsRequest.Builder clone()
Returns
TypeDescription
SearchChangeHistoryEventsRequest.Builder
Overrides

getAccount()

public String getAccount()

Required. The account resource for which to return change history resources.

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

Returns
TypeDescription
String

The account.

getAccountBytes()

public ByteString getAccountBytes()

Required. The account resource for which to return change history resources.

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

Returns
TypeDescription
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.v1alpha.ActionType action = 4 [(.google.api.field_behavior) = OPTIONAL];

Parameter
NameDescription
indexint

The index of the element to return.

Returns
TypeDescription
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.v1alpha.ActionType action = 4 [(.google.api.field_behavior) = OPTIONAL];

Returns
TypeDescription
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.v1alpha.ActionType action = 4 [(.google.api.field_behavior) = OPTIONAL];

Returns
TypeDescription
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.v1alpha.ActionType action = 4 [(.google.api.field_behavior) = OPTIONAL];

Parameter
NameDescription
indexint

The index of the value to return.

Returns
TypeDescription
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.v1alpha.ActionType action = 4 [(.google.api.field_behavior) = OPTIONAL];

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

The index of the element to return.

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

The index of the value to return.

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

A list containing the actorEmail.

getDefaultInstanceForType()

public SearchChangeHistoryEventsRequest getDefaultInstanceForType()
Returns
TypeDescription
SearchChangeHistoryEventsRequest

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
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.

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

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

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

Returns
TypeDescription
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.v1alpha.ChangeHistoryResourceType resource_type = 3 [(.google.api.field_behavior) = OPTIONAL];

Parameter
NameDescription
indexint

The index of the element to return.

Returns
TypeDescription
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.v1alpha.ChangeHistoryResourceType resource_type = 3 [(.google.api.field_behavior) = OPTIONAL];

Returns
TypeDescription
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.v1alpha.ChangeHistoryResourceType resource_type = 3 [(.google.api.field_behavior) = OPTIONAL];

Returns
TypeDescription
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.v1alpha.ChangeHistoryResourceType resource_type = 3 [(.google.api.field_behavior) = OPTIONAL];

Parameter
NameDescription
indexint

The index of the value to return.

Returns
TypeDescription
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.v1alpha.ChangeHistoryResourceType resource_type = 3 [(.google.api.field_behavior) = OPTIONAL];

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

Whether the latestChangeTime field is set.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
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
NameDescription
valueTimestamp
Returns
TypeDescription
SearchChangeHistoryEventsRequest.Builder

mergeFrom(SearchChangeHistoryEventsRequest other)

public SearchChangeHistoryEventsRequest.Builder mergeFrom(SearchChangeHistoryEventsRequest other)
Parameter
NameDescription
otherSearchChangeHistoryEventsRequest
Returns
TypeDescription
SearchChangeHistoryEventsRequest.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public SearchChangeHistoryEventsRequest.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputCodedInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
SearchChangeHistoryEventsRequest.Builder
Overrides
Exceptions
TypeDescription
IOException

mergeFrom(Message other)

public SearchChangeHistoryEventsRequest.Builder mergeFrom(Message other)
Parameter
NameDescription
otherMessage
Returns
TypeDescription
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
NameDescription
valueTimestamp
Returns
TypeDescription
SearchChangeHistoryEventsRequest.Builder

mergeUnknownFields(UnknownFieldSet unknownFields)

public final SearchChangeHistoryEventsRequest.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
SearchChangeHistoryEventsRequest.Builder
Overrides

setAccount(String value)

public SearchChangeHistoryEventsRequest.Builder setAccount(String value)

Required. The account resource for which to return change history resources.

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

Parameter
NameDescription
valueString

The account to set.

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

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

Parameter
NameDescription
valueByteString

The bytes for account to set.

Returns
TypeDescription
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.v1alpha.ActionType action = 4 [(.google.api.field_behavior) = OPTIONAL];

Parameters
NameDescription
indexint

The index to set the value at.

valueActionType

The action to set.

Returns
TypeDescription
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.v1alpha.ActionType action = 4 [(.google.api.field_behavior) = OPTIONAL];

Parameters
NameDescription
indexint

The index to set the value at.

valueint

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

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

The index to set the value at.

valueString

The actorEmail to set.

Returns
TypeDescription
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
NameDescription
valueTimestamp
Returns
TypeDescription
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
NameDescription
builderForValueBuilder
Returns
TypeDescription
SearchChangeHistoryEventsRequest.Builder

setField(Descriptors.FieldDescriptor field, Object value)

public SearchChangeHistoryEventsRequest.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
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
NameDescription
valueTimestamp
Returns
TypeDescription
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
NameDescription
builderForValueBuilder
Returns
TypeDescription
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
NameDescription
valueint

The pageSize to set.

Returns
TypeDescription
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
NameDescription
valueString

The pageToken to set.

Returns
TypeDescription
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
NameDescription
valueByteString

The bytes for pageToken to set.

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

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

Parameter
NameDescription
valueString

The property to set.

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

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

Parameter
NameDescription
valueByteString

The bytes for property to set.

Returns
TypeDescription
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
NameDescription
fieldFieldDescriptor
indexint
valueObject
Returns
TypeDescription
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.v1alpha.ChangeHistoryResourceType resource_type = 3 [(.google.api.field_behavior) = OPTIONAL];

Parameters
NameDescription
indexint

The index to set the value at.

valueChangeHistoryResourceType

The resourceType to set.

Returns
TypeDescription
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.v1alpha.ChangeHistoryResourceType resource_type = 3 [(.google.api.field_behavior) = OPTIONAL];

Parameters
NameDescription
indexint

The index to set the value at.

valueint

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

Returns
TypeDescription
SearchChangeHistoryEventsRequest.Builder

This builder for chaining.

setUnknownFields(UnknownFieldSet unknownFields)

public final SearchChangeHistoryEventsRequest.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
SearchChangeHistoryEventsRequest.Builder
Overrides