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:
  • 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:
      internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessage
    • 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) = { ... }
      Specified by:
      getAccount in interface SearchChangeHistoryEventsRequestOrBuilder
      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:
      getAccountBytes in interface SearchChangeHistoryEventsRequestOrBuilder
      Returns:
      The bytes for account.
    • 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) = { ... }
      Specified by:
      getProperty in interface SearchChangeHistoryEventsRequestOrBuilder
      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:
      getPropertyBytes in interface SearchChangeHistoryEventsRequestOrBuilder
      Returns:
      The bytes for property.
    • 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];
      Specified by:
      getResourceTypeList in interface SearchChangeHistoryEventsRequestOrBuilder
      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:
      getResourceTypeCount in interface SearchChangeHistoryEventsRequestOrBuilder
      Returns:
      The count of resourceType.
    • getResourceType

      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];
      Specified by:
      getResourceType in interface SearchChangeHistoryEventsRequestOrBuilder
      Parameters:
      index - The index of the element to return.
      Returns:
      The 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];
      Specified by:
      getResourceTypeValueList in interface SearchChangeHistoryEventsRequestOrBuilder
      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:
      getResourceTypeValue in interface SearchChangeHistoryEventsRequestOrBuilder
      Parameters:
      index - The index of the value to return.
      Returns:
      The enum numeric value on the wire of resourceType at the given index.
    • 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];
      Specified by:
      getActionList in interface SearchChangeHistoryEventsRequestOrBuilder
      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:
      getActionCount in interface SearchChangeHistoryEventsRequestOrBuilder
      Returns:
      The count of action.
    • getAction

      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];
      Specified by:
      getAction in interface SearchChangeHistoryEventsRequestOrBuilder
      Parameters:
      index - The index of the element to return.
      Returns:
      The 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];
      Specified by:
      getActionValueList in interface SearchChangeHistoryEventsRequestOrBuilder
      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:
      getActionValue in interface SearchChangeHistoryEventsRequestOrBuilder
      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:
      getActorEmailList in interface SearchChangeHistoryEventsRequestOrBuilder
      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:
      getActorEmailCount in interface SearchChangeHistoryEventsRequestOrBuilder
      Returns:
      The count of actorEmail.
    • getActorEmail

      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];
      Specified by:
      getActorEmail in interface SearchChangeHistoryEventsRequestOrBuilder
      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:
      getActorEmailBytes in interface SearchChangeHistoryEventsRequestOrBuilder
      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:
      hasEarliestChangeTime in interface SearchChangeHistoryEventsRequestOrBuilder
      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:
      getEarliestChangeTime in interface SearchChangeHistoryEventsRequestOrBuilder
      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:
      getEarliestChangeTimeOrBuilder in interface SearchChangeHistoryEventsRequestOrBuilder
    • 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:
      hasLatestChangeTime in interface SearchChangeHistoryEventsRequestOrBuilder
      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:
      getLatestChangeTime in interface SearchChangeHistoryEventsRequestOrBuilder
      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:
      getLatestChangeTimeOrBuilder in interface SearchChangeHistoryEventsRequestOrBuilder
    • 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:
      getPageSize in interface SearchChangeHistoryEventsRequestOrBuilder
      Returns:
      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];
      Specified by:
      getPageToken in interface SearchChangeHistoryEventsRequestOrBuilder
      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:
      getPageTokenBytes in interface SearchChangeHistoryEventsRequestOrBuilder
      Returns:
      The bytes for pageToken.
    • isInitialized

      public final boolean isInitialized()
      Specified by:
      isInitialized in interface com.google.protobuf.MessageLiteOrBuilder
      Overrides:
      isInitialized in class com.google.protobuf.GeneratedMessage
    • writeTo

      public void writeTo(com.google.protobuf.CodedOutputStream output) throws IOException
      Specified by:
      writeTo in interface com.google.protobuf.MessageLite
      Overrides:
      writeTo in class com.google.protobuf.GeneratedMessage
      Throws:
      IOException
    • getSerializedSize

      public int getSerializedSize()
      Specified by:
      getSerializedSize in interface com.google.protobuf.MessageLite
      Overrides:
      getSerializedSize in class com.google.protobuf.GeneratedMessage
    • equals

      public boolean equals(Object obj)
      Specified by:
      equals in interface com.google.protobuf.Message
      Overrides:
      equals in class com.google.protobuf.AbstractMessage
    • hashCode

      public int hashCode()
      Specified by:
      hashCode in interface com.google.protobuf.Message
      Overrides:
      hashCode in class com.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

      public static SearchChangeHistoryEventsRequest parseFrom(InputStream input) throws IOException
      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

      public SearchChangeHistoryEventsRequest.Builder newBuilderForType()
      Specified by:
      newBuilderForType in interface com.google.protobuf.Message
      Specified by:
      newBuilderForType in interface com.google.protobuf.MessageLite
    • newBuilder

      public static SearchChangeHistoryEventsRequest.Builder newBuilder()
    • newBuilder

    • toBuilder

      Specified by:
      toBuilder in interface com.google.protobuf.Message
      Specified by:
      toBuilder in interface com.google.protobuf.MessageLite
    • newBuilderForType

      protected SearchChangeHistoryEventsRequest.Builder newBuilderForType(com.google.protobuf.AbstractMessage.BuilderParent parent)
      Overrides:
      newBuilderForType in class com.google.protobuf.AbstractMessage
    • getDefaultInstance

      public static SearchChangeHistoryEventsRequest getDefaultInstance()
    • parser

      public static com.google.protobuf.Parser<SearchChangeHistoryEventsRequest> parser()
    • getParserForType

      public com.google.protobuf.Parser<SearchChangeHistoryEventsRequest> getParserForType()
      Specified by:
      getParserForType in interface com.google.protobuf.Message
      Specified by:
      getParserForType in interface com.google.protobuf.MessageLite
      Overrides:
      getParserForType in class com.google.protobuf.GeneratedMessage
    • getDefaultInstanceForType

      public SearchChangeHistoryEventsRequest getDefaultInstanceForType()
      Specified by:
      getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuilder
      Specified by:
      getDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilder