Class SearchChangeHistoryEventsRequest.Builder (0.20.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 </