Class SearchChangeHistoryEventsRequest
java.lang.Object
com.google.protobuf.AbstractMessageLite
com.google.protobuf.AbstractMessage
com.google.protobuf.GeneratedMessage
com.google.analytics.admin.v1alpha.SearchChangeHistoryEventsRequest
- All Implemented Interfaces:
SearchChangeHistoryEventsRequestOrBuilder,com.google.protobuf.Message,com.google.protobuf.MessageLite,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,Serializable
@Generated
public final class SearchChangeHistoryEventsRequest
extends com.google.protobuf.GeneratedMessage
implements SearchChangeHistoryEventsRequestOrBuilder
Request message for SearchChangeHistoryEvents RPC.Protobuf type
google.analytics.admin.v1alpha.SearchChangeHistoryEventsRequest- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic final classRequest message for SearchChangeHistoryEvents RPC.Nested classes/interfaces inherited from class com.google.protobuf.GeneratedMessage
com.google.protobuf.GeneratedMessage.ExtendableBuilder<MessageT extends com.google.protobuf.GeneratedMessage.ExtendableMessage<MessageT>,BuilderT extends com.google.protobuf.GeneratedMessage.ExtendableBuilder<MessageT, BuilderT>>, com.google.protobuf.GeneratedMessage.ExtendableMessage<MessageT extends com.google.protobuf.GeneratedMessage.ExtendableMessage<MessageT>>, com.google.protobuf.GeneratedMessage.ExtendableMessageOrBuilder<MessageT extends com.google.protobuf.GeneratedMessage.ExtendableMessage<MessageT>>, com.google.protobuf.GeneratedMessage.FieldAccessorTable, com.google.protobuf.GeneratedMessage.GeneratedExtension<ContainingT extends com.google.protobuf.Message, T extends Object>, com.google.protobuf.GeneratedMessage.UnusedPrivateParameter Nested classes/interfaces inherited from class com.google.protobuf.AbstractMessage
com.google.protobuf.AbstractMessage.BuilderParentNested classes/interfaces inherited from class com.google.protobuf.AbstractMessageLite
com.google.protobuf.AbstractMessageLite.InternalOneOfEnum -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intFields inherited from class com.google.protobuf.GeneratedMessage
alwaysUseFieldBuilders, loggedPre22TypeNames, unknownFieldsFields inherited from class com.google.protobuf.AbstractMessage
memoizedSizeFields inherited from class com.google.protobuf.AbstractMessageLite
memoizedHashCode -
Method Summary
Modifier and TypeMethodDescriptionbooleanRequired.com.google.protobuf.ByteStringRequired.getAction(int index) Optional.intOptional.Optional.intgetActionValue(int index) Optional.Optional.getActorEmail(int index) Optional.com.google.protobuf.ByteStringgetActorEmailBytes(int index) Optional.intOptional.com.google.protobuf.ProtocolStringListOptional.static final com.google.protobuf.Descriptors.Descriptorcom.google.protobuf.TimestampOptional.com.google.protobuf.TimestampOrBuilderOptional.com.google.protobuf.TimestampOptional.com.google.protobuf.TimestampOrBuilderOptional.intOptional.Optional.com.google.protobuf.ByteStringOptional.com.google.protobuf.Parser<SearchChangeHistoryEventsRequest>Optional.com.google.protobuf.ByteStringOptional.getResourceType(int index) Optional.intOptional.Optional.intgetResourceTypeValue(int index) Optional.Optional.intbooleanOptional.inthashCode()booleanOptional.protected com.google.protobuf.GeneratedMessage.FieldAccessorTablefinal booleannewBuilder(SearchChangeHistoryEventsRequest prototype) protected SearchChangeHistoryEventsRequest.BuildernewBuilderForType(com.google.protobuf.AbstractMessage.BuilderParent parent) parseDelimitedFrom(InputStream input) parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) parseFrom(byte[] data) parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) parseFrom(com.google.protobuf.ByteString data) parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) parseFrom(com.google.protobuf.CodedInputStream input) parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) parseFrom(InputStream input) parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) parseFrom(ByteBuffer data) parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static com.google.protobuf.Parser<SearchChangeHistoryEventsRequest>parser()voidwriteTo(com.google.protobuf.CodedOutputStream output) Methods inherited from class com.google.protobuf.GeneratedMessage
canUseUnsafe, computeStringSize, computeStringSizeNoTag, emptyBooleanList, emptyDoubleList, emptyFloatList, emptyIntList, emptyList, emptyLongList, getAllFields, getDescriptorForType, getField, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof, internalGetMapField, internalGetMapFieldReflection, isStringEmpty, makeExtensionsImmutable, makeMutableCopy, makeMutableCopy, mergeFromAndMakeImmutableInternal, newFileScopedGeneratedExtension, newInstance, newMessageScopedGeneratedExtension, parseDelimitedWithIOException, parseDelimitedWithIOException, parseUnknownField, parseUnknownFieldProto3, parseWithIOException, parseWithIOException, parseWithIOException, parseWithIOException, serializeBooleanMapTo, serializeIntegerMapTo, serializeLongMapTo, serializeStringMapTo, writeReplace, writeString, writeStringNoTagMethods inherited from class com.google.protobuf.AbstractMessage
findInitializationErrors, getInitializationErrorString, hashFields, toStringMethods inherited from class com.google.protobuf.AbstractMessageLite
addAll, checkByteStringIsUtf8, toByteArray, toByteString, writeDelimitedTo, writeToMethods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, waitMethods inherited from interface com.google.protobuf.MessageLite
toByteArray, toByteString, writeDelimitedTo, writeToMethods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Field Details
-
ACCOUNT_FIELD_NUMBER
public static final int ACCOUNT_FIELD_NUMBER- See Also:
-
PROPERTY_FIELD_NUMBER
public static final int PROPERTY_FIELD_NUMBER- See Also:
-
RESOURCE_TYPE_FIELD_NUMBER
public static final int RESOURCE_TYPE_FIELD_NUMBER- See Also:
-
ACTION_FIELD_NUMBER
public static final int ACTION_FIELD_NUMBER- See Also:
-
ACTOR_EMAIL_FIELD_NUMBER
public static final int ACTOR_EMAIL_FIELD_NUMBER- See Also:
-
EARLIEST_CHANGE_TIME_FIELD_NUMBER
public static final int EARLIEST_CHANGE_TIME_FIELD_NUMBER- See Also:
-
LATEST_CHANGE_TIME_FIELD_NUMBER
public static final int LATEST_CHANGE_TIME_FIELD_NUMBER- See Also:
-
PAGE_SIZE_FIELD_NUMBER
public static final int PAGE_SIZE_FIELD_NUMBER- See Also:
-
PAGE_TOKEN_FIELD_NUMBER
public static final int PAGE_TOKEN_FIELD_NUMBER- See Also:
-
-
Method Details
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() -
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()- Specified by:
internalGetFieldAccessorTablein classcom.google.protobuf.GeneratedMessage
-
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) = { ... }- Specified by:
getAccountin interfaceSearchChangeHistoryEventsRequestOrBuilder- Returns:
- The account.
-
getAccountBytes
public com.google.protobuf.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) = { ... }- Specified by:
getAccountBytesin interfaceSearchChangeHistoryEventsRequestOrBuilder- Returns:
- The bytes for account.
-
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) = { ... }- Specified by:
getPropertyin interfaceSearchChangeHistoryEventsRequestOrBuilder- Returns:
- The property.
-
getPropertyBytes
public com.google.protobuf.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) = { ... }- Specified by:
getPropertyBytesin interfaceSearchChangeHistoryEventsRequestOrBuilder- Returns:
- The bytes for property.
-
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];- Specified by:
getResourceTypeListin interfaceSearchChangeHistoryEventsRequestOrBuilder- Returns:
- A list containing the resourceType.
-
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];- Specified by:
getResourceTypeCountin interfaceSearchChangeHistoryEventsRequestOrBuilder- Returns:
- The count of resourceType.
-
getResourceType
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];- Specified by:
getResourceTypein interfaceSearchChangeHistoryEventsRequestOrBuilder- Parameters:
index- The index of the element to return.- Returns:
- The resourceType at the given index.
-
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];- Specified by:
getResourceTypeValueListin interfaceSearchChangeHistoryEventsRequestOrBuilder- Returns:
- A list containing the enum numeric values on the wire for resourceType.
-
getResourceTypeValue
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];- Specified by:
getResourceTypeValuein interfaceSearchChangeHistoryEventsRequestOrBuilder- Parameters:
index- The index of the value to return.- Returns:
- The enum numeric value on the wire of resourceType at the given index.
-
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];- Specified by:
getActionListin interfaceSearchChangeHistoryEventsRequestOrBuilder- Returns:
- A list containing the action.
-
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];- Specified by:
getActionCountin interfaceSearchChangeHistoryEventsRequestOrBuilder- Returns:
- The count of action.
-
getAction
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];- Specified by:
getActionin interfaceSearchChangeHistoryEventsRequestOrBuilder- Parameters:
index- The index of the element to return.- Returns:
- The action at the given index.
-
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];- Specified by:
getActionValueListin interfaceSearchChangeHistoryEventsRequestOrBuilder- Returns:
- A list containing the enum numeric values on the wire for action.
-
getActionValue
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];- Specified by:
getActionValuein interfaceSearchChangeHistoryEventsRequestOrBuilder- Parameters:
index- The index of the value to return.- Returns:
- The enum numeric value on the wire of action at the given index.
-
getActorEmailList
public com.google.protobuf.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];- Specified by:
getActorEmailListin interfaceSearchChangeHistoryEventsRequestOrBuilder- Returns:
- A list containing the actorEmail.
-
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];- Specified by:
getActorEmailCountin interfaceSearchChangeHistoryEventsRequestOrBuilder- Returns:
- The count of actorEmail.
-
getActorEmail
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];- Specified by:
getActorEmailin interfaceSearchChangeHistoryEventsRequestOrBuilder- Parameters:
index- The index of the element to return.- Returns:
- The actorEmail at the given index.
-
getActorEmailBytes
public com.google.protobuf.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];- Specified by:
getActorEmailBytesin interfaceSearchChangeHistoryEventsRequestOrBuilder- Parameters:
index- The index of the value to return.- Returns:
- The bytes of the actorEmail at the given index.
-
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];- Specified by:
hasEarliestChangeTimein interfaceSearchChangeHistoryEventsRequestOrBuilder- Returns:
- Whether the earliestChangeTime field is set.
-
getEarliestChangeTime
public com.google.protobuf.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];- Specified by:
getEarliestChangeTimein interfaceSearchChangeHistoryEventsRequestOrBuilder- Returns:
- The earliestChangeTime.
-
getEarliestChangeTimeOrBuilder
public com.google.protobuf.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];- Specified by:
getEarliestChangeTimeOrBuilderin interfaceSearchChangeHistoryEventsRequestOrBuilder
-
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];- Specified by:
hasLatestChangeTimein interfaceSearchChangeHistoryEventsRequestOrBuilder- Returns:
- Whether the latestChangeTime field is set.
-
getLatestChangeTime
public com.google.protobuf.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];- Specified by:
getLatestChangeTimein interfaceSearchChangeHistoryEventsRequestOrBuilder- Returns:
- The latestChangeTime.
-
getLatestChangeTimeOrBuilder
public com.google.protobuf.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];- Specified by:
getLatestChangeTimeOrBuilderin interfaceSearchChangeHistoryEventsRequestOrBuilder
-
getPageSize
public int getPageSize()Optional. The maximum number of ChangeHistoryEvent items to return. If unspecified, at most 50 items will be returned. The maximum value is 200 (higher values will be coerced to the maximum). Note that the service may return a page with fewer items than this value specifies (potentially even zero), and that there still may be additional pages. If you want a particular number of items, you'll need to continue requesting additional pages using `page_token` until you get the needed number.
int32 page_size = 8 [(.google.api.field_behavior) = OPTIONAL];- Specified by:
getPageSizein interfaceSearchChangeHistoryEventsRequestOrBuilder- Returns:
- The pageSize.
-
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];- Specified by:
getPageTokenin interfaceSearchChangeHistoryEventsRequestOrBuilder- Returns:
- The pageToken.
-
getPageTokenBytes
public com.google.protobuf.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];- Specified by:
getPageTokenBytesin interfaceSearchChangeHistoryEventsRequestOrBuilder- Returns:
- The bytes for pageToken.
-
isInitialized
public final boolean isInitialized()- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessage
-
writeTo
- Specified by:
writeToin interfacecom.google.protobuf.MessageLite- Overrides:
writeToin classcom.google.protobuf.GeneratedMessage- Throws:
IOException
-
getSerializedSize
public int getSerializedSize()- Specified by:
getSerializedSizein interfacecom.google.protobuf.MessageLite- Overrides:
getSerializedSizein classcom.google.protobuf.GeneratedMessage
-
equals
- Specified by:
equalsin interfacecom.google.protobuf.Message- Overrides:
equalsin classcom.google.protobuf.AbstractMessage
-
hashCode
public int hashCode()- Specified by:
hashCodein interfacecom.google.protobuf.Message- Overrides:
hashCodein classcom.google.protobuf.AbstractMessage
-
parseFrom
public static SearchChangeHistoryEventsRequest parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static SearchChangeHistoryEventsRequest parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static SearchChangeHistoryEventsRequest parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static SearchChangeHistoryEventsRequest parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static SearchChangeHistoryEventsRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static SearchChangeHistoryEventsRequest parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
- Throws:
IOException
-
parseFrom
public static SearchChangeHistoryEventsRequest parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Throws:
IOException
-
parseDelimitedFrom
public static SearchChangeHistoryEventsRequest parseDelimitedFrom(InputStream input) throws IOException - Throws:
IOException
-
parseDelimitedFrom
public static SearchChangeHistoryEventsRequest parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Throws:
IOException
-
parseFrom
public static SearchChangeHistoryEventsRequest parseFrom(com.google.protobuf.CodedInputStream input) throws IOException - Throws:
IOException
-
parseFrom
public static SearchChangeHistoryEventsRequest parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Throws:
IOException
-
newBuilderForType
- Specified by:
newBuilderForTypein interfacecom.google.protobuf.Message- Specified by:
newBuilderForTypein interfacecom.google.protobuf.MessageLite
-
newBuilder
-
newBuilder
public static SearchChangeHistoryEventsRequest.Builder newBuilder(SearchChangeHistoryEventsRequest prototype) -
toBuilder
- Specified by:
toBuilderin interfacecom.google.protobuf.Message- Specified by:
toBuilderin interfacecom.google.protobuf.MessageLite
-
newBuilderForType
protected SearchChangeHistoryEventsRequest.Builder newBuilderForType(com.google.protobuf.AbstractMessage.BuilderParent parent) - Overrides:
newBuilderForTypein classcom.google.protobuf.AbstractMessage
-
getDefaultInstance
-
parser
-
getParserForType
- Specified by:
getParserForTypein interfacecom.google.protobuf.Message- Specified by:
getParserForTypein interfacecom.google.protobuf.MessageLite- Overrides:
getParserForTypein classcom.google.protobuf.GeneratedMessage
-
getDefaultInstanceForType
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-