Class SearchChangeHistoryEventsRequest (0.57.0)

public final class SearchChangeHistoryEventsRequest extends GeneratedMessageV3 implements SearchChangeHistoryEventsRequestOrBuilder

Request message for SearchChangeHistoryEvents RPC.

Protobuf type google.analytics.admin.v1alpha.SearchChangeHistoryEventsRequest

Inheritance

Object > AbstractMessageLite<MessageType,BuilderType> > AbstractMessage > GeneratedMessageV3 > SearchChangeHistoryEventsRequest

Static Fields

ACCOUNT_FIELD_NUMBER

public static final int ACCOUNT_FIELD_NUMBER
Field Value
Type Description
int

ACTION_FIELD_NUMBER

public static final int ACTION_FIELD_NUMBER
Field Value
Type Description
int

ACTOR_EMAIL_FIELD_NUMBER

public static final int ACTOR_EMAIL_FIELD_NUMBER
Field Value
Type Description
int

EARLIEST_CHANGE_TIME_FIELD_NUMBER

public static final int EARLIEST_CHANGE_TIME_FIELD_NUMBER
Field Value
Type Description
int

LATEST_CHANGE_TIME_FIELD_NUMBER

public static final int LATEST_CHANGE_TIME_FIELD_NUMBER
Field Value
Type Description
int

PAGE_SIZE_FIELD_NUMBER

public static final int PAGE_SIZE_FIELD_NUMBER
Field Value
Type Description
int

PAGE_TOKEN_FIELD_NUMBER

public static final int PAGE_TOKEN_FIELD_NUMBER
Field Value
Type Description
int

PROPERTY_FIELD_NUMBER

public static final int PROPERTY_FIELD_NUMBER
Field Value
Type Description
int

RESOURCE_TYPE_FIELD_NUMBER

public static final int RESOURCE_TYPE_FIELD_NUMBER
Field Value
Type Description
int

Static Methods

getDefaultInstance()

public static SearchChangeHistoryEventsRequest getDefaultInstance()
Returns
Type Description
SearchChangeHistoryEventsRequest

getDescriptor()

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

newBuilder()

public static SearchChangeHistoryEventsRequest.Builder newBuilder()
Returns
Type Description
SearchChangeHistoryEventsRequest.Builder

newBuilder(SearchChangeHistoryEventsRequest prototype)

public static SearchChangeHistoryEventsRequest.Builder newBuilder(SearchChangeHistoryEventsRequest prototype)
Parameter
Name Description
prototype SearchChangeHistoryEventsRequest
Returns
Type Description
SearchChangeHistoryEventsRequest.Builder

parseDelimitedFrom(InputStream input)

public static SearchChangeHistoryEventsRequest parseDelimitedFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
SearchChangeHistoryEventsRequest
Exceptions
Type Description
IOException

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static SearchChangeHistoryEventsRequest parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input InputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
SearchChangeHistoryEventsRequest
Exceptions
Type Description
IOException

parseFrom(byte[] data)

public static SearchChangeHistoryEventsRequest parseFrom(byte[] data)
Parameter
Name Description
data byte[]
Returns
Type Description
SearchChangeHistoryEventsRequest
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

public static SearchChangeHistoryEventsRequest parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data byte[]
extensionRegistry ExtensionRegistryLite
Returns
Type Description
SearchChangeHistoryEventsRequest
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data)

public static SearchChangeHistoryEventsRequest parseFrom(ByteString data)
Parameter
Name Description
data ByteString
Returns
Type Description
SearchChangeHistoryEventsRequest
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

public static SearchChangeHistoryEventsRequest parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data ByteString
extensionRegistry ExtensionRegistryLite
Returns
Type Description
SearchChangeHistoryEventsRequest
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(CodedInputStream input)

public static SearchChangeHistoryEventsRequest parseFrom(CodedInputStream input)
Parameter
Name Description
input CodedInputStream
Returns
Type Description
SearchChangeHistoryEventsRequest
Exceptions
Type Description
IOException

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public static SearchChangeHistoryEventsRequest parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
SearchChangeHistoryEventsRequest
Exceptions
Type Description
IOException

parseFrom(InputStream input)

public static SearchChangeHistoryEventsRequest parseFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
SearchChangeHistoryEventsRequest
Exceptions
Type Description
IOException

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static SearchChangeHistoryEventsRequest parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input InputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
SearchChangeHistoryEventsRequest
Exceptions
Type Description
IOException

parseFrom(ByteBuffer data)

public static SearchChangeHistoryEventsRequest parseFrom(ByteBuffer data)
Parameter
Name Description
data ByteBuffer
Returns
Type Description
SearchChangeHistoryEventsRequest
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

public static SearchChangeHistoryEventsRequest parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data ByteBuffer
extensionRegistry ExtensionRegistryLite
Returns
Type Description
SearchChangeHistoryEventsRequest
Exceptions
Type Description
InvalidProtocolBufferException

parser()

public static Parser<SearchChangeHistoryEventsRequest> parser()
Returns
Type Description
Parser<SearchChangeHistoryEventsRequest>

Methods

equals(Object obj)

public boolean equals(Object obj)
Parameter
Name Description
obj Object
Returns
Type Description
boolean
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.v1alpha.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.v1alpha.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.v1alpha.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.v1alpha.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.v1alpha.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

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.

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.

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.

getParserForType()

public Parser<SearchChangeHistoryEventsRequest> getParserForType()
Returns
Type Description
Parser<SearchChangeHistoryEventsRequest>
Overrides

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.v1alpha.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.v1alpha.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.v1alpha.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.v1alpha.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.v1alpha.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.

getSerializedSize()

public int getSerializedSize()
Returns
Type Description
int
Overrides

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.

hashCode()

public int hashCode()
Returns
Type Description
int
Overrides

internalGetFieldAccessorTable()

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

newBuilderForType()

public SearchChangeHistoryEventsRequest.Builder newBuilderForType()
Returns
Type Description
SearchChangeHistoryEventsRequest.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

protected SearchChangeHistoryEventsRequest.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
Name Description
parent BuilderParent
Returns
Type Description
SearchChangeHistoryEventsRequest.Builder
Overrides

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
Name Description
unused UnusedPrivateParameter
Returns
Type Description
Object
Overrides

toBuilder()

public SearchChangeHistoryEventsRequest.Builder toBuilder()
Returns
Type Description
SearchChangeHistoryEventsRequest.Builder

writeTo(CodedOutputStream output)

public void writeTo(CodedOutputStream output)
Parameter
Name Description
output CodedOutputStream
Overrides
Exceptions
Type Description
IOException