Class ListCustomDimensionsResponse.Builder

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

public static final class ListCustomDimensionsResponse.Builder extends com.google.protobuf.GeneratedMessage.Builder<ListCustomDimensionsResponse.Builder> implements ListCustomDimensionsResponseOrBuilder
 Response message for ListCustomDimensions RPC.
 
Protobuf type google.analytics.admin.v1alpha.ListCustomDimensionsResponse
  • 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<ListCustomDimensionsResponse.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<ListCustomDimensionsResponse.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<ListCustomDimensionsResponse.Builder>
    • getDefaultInstanceForType

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

      Specified by:
      build in interface com.google.protobuf.Message.Builder
      Specified by:
      build in interface com.google.protobuf.MessageLite.Builder
    • buildPartial

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

      public ListCustomDimensionsResponse.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<ListCustomDimensionsResponse.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<ListCustomDimensionsResponse.Builder>
    • mergeFrom

      public ListCustomDimensionsResponse.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<ListCustomDimensionsResponse.Builder>
      Throws:
      IOException
    • getCustomDimensionsList

      public List<CustomDimension> getCustomDimensionsList()
       List of CustomDimensions.
       
      repeated .google.analytics.admin.v1alpha.CustomDimension custom_dimensions = 1;
      Specified by:
      getCustomDimensionsList in interface ListCustomDimensionsResponseOrBuilder
    • getCustomDimensionsCount

      public int getCustomDimensionsCount()
       List of CustomDimensions.
       
      repeated .google.analytics.admin.v1alpha.CustomDimension custom_dimensions = 1;
      Specified by:
      getCustomDimensionsCount in interface ListCustomDimensionsResponseOrBuilder
    • getCustomDimensions

      public CustomDimension getCustomDimensions(int index)
       List of CustomDimensions.
       
      repeated .google.analytics.admin.v1alpha.CustomDimension custom_dimensions = 1;
      Specified by:
      getCustomDimensions in interface ListCustomDimensionsResponseOrBuilder
    • setCustomDimensions

      public ListCustomDimensionsResponse.Builder setCustomDimensions(int index, CustomDimension value)
       List of CustomDimensions.
       
      repeated .google.analytics.admin.v1alpha.CustomDimension custom_dimensions = 1;
    • setCustomDimensions

      public ListCustomDimensionsResponse.Builder setCustomDimensions(int index, CustomDimension.Builder builderForValue)
       List of CustomDimensions.
       
      repeated .google.analytics.admin.v1alpha.CustomDimension custom_dimensions = 1;
    • addCustomDimensions

      public ListCustomDimensionsResponse.Builder addCustomDimensions(CustomDimension value)
       List of CustomDimensions.
       
      repeated .google.analytics.admin.v1alpha.CustomDimension custom_dimensions = 1;
    • addCustomDimensions

      public ListCustomDimensionsResponse.Builder addCustomDimensions(int index, CustomDimension value)
       List of CustomDimensions.
       
      repeated .google.analytics.admin.v1alpha.CustomDimension custom_dimensions = 1;
    • addCustomDimensions

      public ListCustomDimensionsResponse.Builder addCustomDimensions(CustomDimension.Builder builderForValue)
       List of CustomDimensions.
       
      repeated .google.analytics.admin.v1alpha.CustomDimension custom_dimensions = 1;
    • addCustomDimensions

      public ListCustomDimensionsResponse.Builder addCustomDimensions(int index, CustomDimension.Builder builderForValue)
       List of CustomDimensions.
       
      repeated .google.analytics.admin.v1alpha.CustomDimension custom_dimensions = 1;
    • addAllCustomDimensions

      public ListCustomDimensionsResponse.Builder addAllCustomDimensions(Iterable<? extends CustomDimension> values)
       List of CustomDimensions.
       
      repeated .google.analytics.admin.v1alpha.CustomDimension custom_dimensions = 1;
    • clearCustomDimensions

      public ListCustomDimensionsResponse.Builder clearCustomDimensions()
       List of CustomDimensions.
       
      repeated .google.analytics.admin.v1alpha.CustomDimension custom_dimensions = 1;
    • removeCustomDimensions

      public ListCustomDimensionsResponse.Builder removeCustomDimensions(int index)
       List of CustomDimensions.
       
      repeated .google.analytics.admin.v1alpha.CustomDimension custom_dimensions = 1;
    • getCustomDimensionsBuilder

      public CustomDimension.Builder getCustomDimensionsBuilder(int index)
       List of CustomDimensions.
       
      repeated .google.analytics.admin.v1alpha.CustomDimension custom_dimensions = 1;
    • getCustomDimensionsOrBuilder

      public CustomDimensionOrBuilder getCustomDimensionsOrBuilder(int index)
       List of CustomDimensions.
       
      repeated .google.analytics.admin.v1alpha.CustomDimension custom_dimensions = 1;
      Specified by:
      getCustomDimensionsOrBuilder in interface ListCustomDimensionsResponseOrBuilder
    • getCustomDimensionsOrBuilderList

      public List<? extends CustomDimensionOrBuilder> getCustomDimensionsOrBuilderList()
       List of CustomDimensions.
       
      repeated .google.analytics.admin.v1alpha.CustomDimension custom_dimensions = 1;
      Specified by:
      getCustomDimensionsOrBuilderList in interface ListCustomDimensionsResponseOrBuilder
    • addCustomDimensionsBuilder

      public CustomDimension.Builder addCustomDimensionsBuilder()
       List of CustomDimensions.
       
      repeated .google.analytics.admin.v1alpha.CustomDimension custom_dimensions = 1;
    • addCustomDimensionsBuilder

      public CustomDimension.Builder addCustomDimensionsBuilder(int index)
       List of CustomDimensions.
       
      repeated .google.analytics.admin.v1alpha.CustomDimension custom_dimensions = 1;
    • getCustomDimensionsBuilderList

      public List<CustomDimension.Builder> getCustomDimensionsBuilderList()
       List of CustomDimensions.
       
      repeated .google.analytics.admin.v1alpha.CustomDimension custom_dimensions = 1;
    • getNextPageToken

      public String getNextPageToken()
       A token, which can be sent as `page_token` to retrieve the next page.
       If this field is omitted, there are no subsequent pages.
       
      string next_page_token = 2;
      Specified by:
      getNextPageToken in interface ListCustomDimensionsResponseOrBuilder
      Returns:
      The nextPageToken.
    • getNextPageTokenBytes

      public com.google.protobuf.ByteString getNextPageTokenBytes()
       A token, which can be sent as `page_token` to retrieve the next page.
       If this field is omitted, there are no subsequent pages.
       
      string next_page_token = 2;
      Specified by:
      getNextPageTokenBytes in interface ListCustomDimensionsResponseOrBuilder
      Returns:
      The bytes for nextPageToken.
    • setNextPageToken

      public ListCustomDimensionsResponse.Builder setNextPageToken(String value)
       A token, which can be sent as `page_token` to retrieve the next page.
       If this field is omitted, there are no subsequent pages.
       
      string next_page_token = 2;
      Parameters:
      value - The nextPageToken to set.
      Returns:
      This builder for chaining.
    • clearNextPageToken

      public ListCustomDimensionsResponse.Builder clearNextPageToken()
       A token, which can be sent as `page_token` to retrieve the next page.
       If this field is omitted, there are no subsequent pages.
       
      string next_page_token = 2;
      Returns:
      This builder for chaining.
    • setNextPageTokenBytes

      public ListCustomDimensionsResponse.Builder setNextPageTokenBytes(com.google.protobuf.ByteString value)
       A token, which can be sent as `page_token` to retrieve the next page.
       If this field is omitted, there are no subsequent pages.
       
      string next_page_token = 2;
      Parameters:
      value - The bytes for nextPageToken to set.
      Returns:
      This builder for chaining.