Class SearchChangeHistoryEventsRequest (0.37.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
TypeDescription
int

ACTION_FIELD_NUMBER

public static final int ACTION_FIELD_NUMBER
Field Value
TypeDescription
int

ACTOR_EMAIL_FIELD_NUMBER

public static final int ACTOR_EMAIL_FIELD_NUMBER
Field Value
TypeDescription
int

EARLIEST_CHANGE_TIME_FIELD_NUMBER

public static final int EARLIEST_CHANGE_TIME_FIELD_NUMBER
Field Value
TypeDescription
int

LATEST_CHANGE_TIME_FIELD_NUMBER

public static final int LATEST_CHANGE_TIME_FIELD_NUMBER
Field Value
TypeDescription
int

PAGE_SIZE_FIELD_NUMBER

public static final int PAGE_SIZE_FIELD_NUMBER
Field Value
TypeDescription
int

PAGE_TOKEN_FIELD_NUMBER

public static final int PAGE_TOKEN_FIELD_NUMBER
Field Value
TypeDescription
int

PROPERTY_FIELD_NUMBER

public static final int PROPERTY_FIELD_NUMBER
Field Value
TypeDescription
int

RESOURCE_TYPE_FIELD_NUMBER

public static final int RESOURCE_TYPE_FIELD_NUMBER
Field Value
TypeDescription
int

Static Methods

getDefaultInstance()

public static SearchChangeHistoryEventsRequest getDefaultInstance()
Returns
TypeDescription
SearchChangeHistoryEventsRequest

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
TypeDescription
Descriptor

newBuilder()

public static SearchChangeHistoryEventsRequest.Builder newBuilder()
Returns
TypeDescription
SearchChangeHistoryEventsRequest.Builder

newBuilder(SearchChangeHistoryEventsRequest prototype)

public static SearchChangeHistoryEventsRequest.Builder newBuilder(SearchChangeHistoryEventsRequest prototype)
Parameter
NameDescription
prototypeSearchChangeHistoryEventsRequest
Returns
TypeDescription
SearchChangeHistoryEventsRequest.Builder

parseDelimitedFrom(InputStream input)

public static SearchChangeHistoryEventsRequest parseDelimitedFrom(InputStream input)
Parameter
NameDescription
inputInputStream
Returns
TypeDescription
SearchChangeHistoryEventsRequest
Exceptions
TypeDescription
IOException

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static SearchChangeHistoryEventsRequest parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
SearchChangeHistoryEventsRequest
Exceptions
TypeDescription
IOException

parseFrom(byte[] data)

public static SearchChangeHistoryEventsRequest parseFrom(byte[] data)
Parameter
NameDescription
databyte[]
Returns
TypeDescription
SearchChangeHistoryEventsRequest
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

public static SearchChangeHistoryEventsRequest parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
databyte[]
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
SearchChangeHistoryEventsRequest
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteString data)

public static SearchChangeHistoryEventsRequest parseFrom(ByteString data)
Parameter
NameDescription
dataByteString
Returns
TypeDescription
SearchChangeHistoryEventsRequest
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

public static SearchChangeHistoryEventsRequest parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
dataByteString
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
SearchChangeHistoryEventsRequest
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(CodedInputStream input)

public static SearchChangeHistoryEventsRequest parseFrom(CodedInputStream input)
Parameter
NameDescription
inputCodedInputStream
Returns
TypeDescription
SearchChangeHistoryEventsRequest
Exceptions
TypeDescription
IOException

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public static SearchChangeHistoryEventsRequest parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputCodedInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
SearchChangeHistoryEventsRequest
Exceptions
TypeDescription
IOException

parseFrom(InputStream input)

public static SearchChangeHistoryEventsRequest parseFrom(InputStream input)
Parameter
NameDescription
inputInputStream
Returns
TypeDescription
SearchChangeHistoryEventsRequest
Exceptions
TypeDescription
IOException

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static SearchChangeHistoryEventsRequest parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
SearchChangeHistoryEventsRequest
Exceptions
TypeDescription
IOException

parseFrom(ByteBuffer data)

public static SearchChangeHistoryEventsRequest parseFrom(ByteBuffer data)
Parameter
NameDescription
dataByteBuffer
Returns
TypeDescription
SearchChangeHistoryEventsRequest
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

public static SearchChangeHistoryEventsRequest parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
dataByteBuffer
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
SearchChangeHistoryEventsRequest
Exceptions
TypeDescription
InvalidProtocolBufferException

parser()

public static Parser<SearchChangeHistoryEventsRequest> parser()
Returns
TypeDescription
Parser<SearchChangeHistoryEventsRequest>

Methods

equals(Object obj)

public boolean equals(Object obj)
Parameter
NameDescription
objObject
Returns
TypeDescription
boolean
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

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.

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.

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.

getParserForType()

public Parser<SearchChangeHistoryEventsRequest> getParserForType()
Returns
TypeDescription
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.

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.

getSerializedSize()

public int getSerializedSize()
Returns
TypeDescription
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
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.

hashCode()

public int hashCode()
Returns
TypeDescription
int
Overrides

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

newBuilderForType()

public SearchChangeHistoryEventsRequest.Builder newBuilderForType()
Returns
TypeDescription
SearchChangeHistoryEventsRequest.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

protected SearchChangeHistoryEventsRequest.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
NameDescription
parentBuilderParent
Returns
TypeDescription
SearchChangeHistoryEventsRequest.Builder
Overrides

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
NameDescription
unusedUnusedPrivateParameter
Returns
TypeDescription
Object
Overrides

toBuilder()

public SearchChangeHistoryEventsRequest.Builder toBuilder()
Returns
TypeDescription
SearchChangeHistoryEventsRequest.Builder

writeTo(CodedOutputStream output)

public void writeTo(CodedOutputStream output)
Parameter
NameDescription
outputCodedOutputStream
Overrides
Exceptions
TypeDescription
IOException