Class ListAccountsRequest.Builder

java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<BuilderT>
com.google.protobuf.GeneratedMessage.Builder<ListAccountsRequest.Builder>
com.google.analytics.admin.v1beta.ListAccountsRequest.Builder
All Implemented Interfaces:
ListAccountsRequestOrBuilder, com.google.protobuf.Message.Builder, com.google.protobuf.MessageLite.Builder, com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder, Cloneable
Enclosing class:
ListAccountsRequest

public static final class ListAccountsRequest.Builder extends com.google.protobuf.GeneratedMessage.Builder<ListAccountsRequest.Builder> implements ListAccountsRequestOrBuilder
 Request message for ListAccounts RPC.
 
Protobuf type google.analytics.admin.v1beta.ListAccountsRequest
  • Method Summary

    Modifier and Type
    Method
    Description
     
     
     
    The maximum number of resources to return.
    A page token, received from a previous `ListAccounts` call.
    Whether to include soft-deleted (ie: "trashed") Accounts in the results.
     
    static final com.google.protobuf.Descriptors.Descriptor
     
    com.google.protobuf.Descriptors.Descriptor
     
    int
    The maximum number of resources to return.
    A page token, received from a previous `ListAccounts` call.
    com.google.protobuf.ByteString
    A page token, received from a previous `ListAccounts` call.
    boolean
    Whether to include soft-deleted (ie: "trashed") Accounts in the results.
    protected com.google.protobuf.GeneratedMessage.FieldAccessorTable
     
    final boolean
     
     
    mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
     
    mergeFrom(com.google.protobuf.Message other)
     
    setPageSize(int value)
    The maximum number of resources to return.
    A page token, received from a previous `ListAccounts` call.
    setPageTokenBytes(com.google.protobuf.ByteString value)
    A page token, received from a previous `ListAccounts` call.
    setShowDeleted(boolean value)
    Whether to include soft-deleted (ie: "trashed") Accounts in the results.

    Methods inherited from class com.google.protobuf.GeneratedMessage.Builder

    addRepeatedField, clearField, clearOneof, clone, getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, internalGetMapField, internalGetMapFieldReflection, internalGetMutableMapField, internalGetMutableMapFieldReflection, isClean, markClean, mergeUnknownFields, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setField, setRepeatedField, setUnknownFields, setUnknownFieldSetBuilder, setUnknownFieldsProto3

    Methods inherited from class com.google.protobuf.AbstractMessage.Builder

    findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toString

    Methods inherited from class com.google.protobuf.AbstractMessageLite.Builder

    addAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, newUninitializedMessageException

    Methods inherited from class java.lang.Object

    equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait

    Methods inherited from interface com.google.protobuf.Message.Builder

    mergeDelimitedFrom, mergeDelimitedFrom

    Methods inherited from interface com.google.protobuf.MessageLite.Builder

    mergeFrom

    Methods inherited from interface com.google.protobuf.MessageOrBuilder

    findInitializationErrors, getAllFields, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
  • 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.Builder<ListAccountsRequest.Builder>
    • clear

      Specified by:
      clear in interface com.google.protobuf.Message.Builder
      Specified by:
      clear in interface com.google.protobuf.MessageLite.Builder
      Overrides:
      clear in class com.google.protobuf.GeneratedMessage.Builder<ListAccountsRequest.Builder>
    • getDescriptorForType

      public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
      Specified by:
      getDescriptorForType in interface com.google.protobuf.Message.Builder
      Specified by:
      getDescriptorForType in interface com.google.protobuf.MessageOrBuilder
      Overrides:
      getDescriptorForType in class com.google.protobuf.GeneratedMessage.Builder<ListAccountsRequest.Builder>
    • getDefaultInstanceForType

      public ListAccountsRequest getDefaultInstanceForType()
      Specified by:
      getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuilder
      Specified by:
      getDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilder
    • build

      public ListAccountsRequest build()
      Specified by:
      build in interface com.google.protobuf.Message.Builder
      Specified by:
      build in interface com.google.protobuf.MessageLite.Builder
    • buildPartial

      public ListAccountsRequest buildPartial()
      Specified by:
      buildPartial in interface com.google.protobuf.Message.Builder
      Specified by:
      buildPartial in interface com.google.protobuf.MessageLite.Builder
    • mergeFrom

      public ListAccountsRequest.Builder mergeFrom(com.google.protobuf.Message other)
      Specified by:
      mergeFrom in interface com.google.protobuf.Message.Builder
      Overrides:
      mergeFrom in class com.google.protobuf.AbstractMessage.Builder<ListAccountsRequest.Builder>
    • mergeFrom

    • isInitialized

      public final boolean isInitialized()
      Specified by:
      isInitialized in interface com.google.protobuf.MessageLiteOrBuilder
      Overrides:
      isInitialized in class com.google.protobuf.GeneratedMessage.Builder<ListAccountsRequest.Builder>
    • mergeFrom

      public ListAccountsRequest.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
      Specified by:
      mergeFrom in interface com.google.protobuf.Message.Builder
      Specified by:
      mergeFrom in interface com.google.protobuf.MessageLite.Builder
      Overrides:
      mergeFrom in class com.google.protobuf.AbstractMessage.Builder<ListAccountsRequest.Builder>
      Throws:
      IOException
    • getPageSize

      public int getPageSize()
       The maximum number of resources to return. The service may return
       fewer than this value, even if there are additional pages.
       If unspecified, at most 50 resources will be returned.
       The maximum value is 200; (higher values will be coerced to the maximum)
       
      int32 page_size = 1;
      Specified by:
      getPageSize in interface ListAccountsRequestOrBuilder
      Returns:
      The pageSize.
    • setPageSize

      public ListAccountsRequest.Builder setPageSize(int value)
       The maximum number of resources to return. The service may return
       fewer than this value, even if there are additional pages.
       If unspecified, at most 50 resources will be returned.
       The maximum value is 200; (higher values will be coerced to the maximum)
       
      int32 page_size = 1;
      Parameters:
      value - The pageSize to set.
      Returns:
      This builder for chaining.
    • clearPageSize

      public ListAccountsRequest.Builder clearPageSize()
       The maximum number of resources to return. The service may return
       fewer than this value, even if there are additional pages.
       If unspecified, at most 50 resources will be returned.
       The maximum value is 200; (higher values will be coerced to the maximum)
       
      int32 page_size = 1;
      Returns:
      This builder for chaining.
    • getPageToken

      public String getPageToken()
       A page token, received from a previous `ListAccounts` call.
       Provide this to retrieve the subsequent page.
       When paginating, all other parameters provided to `ListAccounts` must
       match the call that provided the page token.
       
      string page_token = 2;
      Specified by:
      getPageToken in interface ListAccountsRequestOrBuilder
      Returns:
      The pageToken.
    • getPageTokenBytes

      public com.google.protobuf.ByteString getPageTokenBytes()
       A page token, received from a previous `ListAccounts` call.
       Provide this to retrieve the subsequent page.
       When paginating, all other parameters provided to `ListAccounts` must
       match the call that provided the page token.
       
      string page_token = 2;
      Specified by:
      getPageTokenBytes in interface ListAccountsRequestOrBuilder
      Returns:
      The bytes for pageToken.
    • setPageToken

      public ListAccountsRequest.Builder setPageToken(String value)
       A page token, received from a previous `ListAccounts` call.
       Provide this to retrieve the subsequent page.
       When paginating, all other parameters provided to `ListAccounts` must
       match the call that provided the page token.
       
      string page_token = 2;
      Parameters:
      value - The pageToken to set.
      Returns:
      This builder for chaining.
    • clearPageToken

      public ListAccountsRequest.Builder clearPageToken()
       A page token, received from a previous `ListAccounts` call.
       Provide this to retrieve the subsequent page.
       When paginating, all other parameters provided to `ListAccounts` must
       match the call that provided the page token.
       
      string page_token = 2;
      Returns:
      This builder for chaining.
    • setPageTokenBytes

      public ListAccountsRequest.Builder setPageTokenBytes(com.google.protobuf.ByteString value)
       A page token, received from a previous `ListAccounts` call.
       Provide this to retrieve the subsequent page.
       When paginating, all other parameters provided to `ListAccounts` must
       match the call that provided the page token.
       
      string page_token = 2;
      Parameters:
      value - The bytes for pageToken to set.
      Returns:
      This builder for chaining.
    • getShowDeleted

      public boolean getShowDeleted()
       Whether to include soft-deleted (ie: "trashed") Accounts in the
       results. Accounts can be inspected to determine whether they are deleted or
       not.
       
      bool show_deleted = 3;
      Specified by:
      getShowDeleted in interface ListAccountsRequestOrBuilder
      Returns:
      The showDeleted.
    • setShowDeleted

      public ListAccountsRequest.Builder setShowDeleted(boolean value)
       Whether to include soft-deleted (ie: "trashed") Accounts in the
       results. Accounts can be inspected to determine whether they are deleted or
       not.
       
      bool show_deleted = 3;
      Parameters:
      value - The showDeleted to set.
      Returns:
      This builder for chaining.
    • clearShowDeleted

      public ListAccountsRequest.Builder clearShowDeleted()
       Whether to include soft-deleted (ie: "trashed") Accounts in the
       results. Accounts can be inspected to determine whether they are deleted or
       not.
       
      bool show_deleted = 3;
      Returns:
      This builder for chaining.