Interface AdxExt.DeviceExt.UserAgent.BrandVersionOrBuilder

    • Method Summary

      All Methods Instance Methods Abstract Methods 
      Modifier and Type Method Description
      String getBrand()
      A brand identifier, for example, "Chrome" or "Windows".
      com.google.protobuf.ByteString getBrandBytes()
      A brand identifier, for example, "Chrome" or "Windows".
      String getVersion​(int index)
      A sequence of version components, in descending hierarchical order (major, minor, micro, ...).
      com.google.protobuf.ByteString getVersionBytes​(int index)
      A sequence of version components, in descending hierarchical order (major, minor, micro, ...).
      int getVersionCount()
      A sequence of version components, in descending hierarchical order (major, minor, micro, ...).
      List<String> getVersionList()
      A sequence of version components, in descending hierarchical order (major, minor, micro, ...).
      boolean hasBrand()
      A brand identifier, for example, "Chrome" or "Windows".
      • Methods inherited from interface com.google.protobuf.MessageLiteOrBuilder

        isInitialized
      • Methods inherited from interface com.google.protobuf.MessageOrBuilder

        findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
    • Method Detail

      • hasBrand

        boolean hasBrand()
         A brand identifier, for example, "Chrome" or "Windows". The value may
         be sourced from the User-Agent Client Hints headers, representing
         either the user agent brand (from the Sec-CH-UA-Full-Version header)
         or the platform brand (from the Sec-CH-UA-Platform header).
         
        optional string brand = 1;
        Returns:
        Whether the brand field is set.
      • getBrand

        String getBrand()
         A brand identifier, for example, "Chrome" or "Windows". The value may
         be sourced from the User-Agent Client Hints headers, representing
         either the user agent brand (from the Sec-CH-UA-Full-Version header)
         or the platform brand (from the Sec-CH-UA-Platform header).
         
        optional string brand = 1;
        Returns:
        The brand.
      • getBrandBytes

        com.google.protobuf.ByteString getBrandBytes()
         A brand identifier, for example, "Chrome" or "Windows". The value may
         be sourced from the User-Agent Client Hints headers, representing
         either the user agent brand (from the Sec-CH-UA-Full-Version header)
         or the platform brand (from the Sec-CH-UA-Platform header).
         
        optional string brand = 1;
        Returns:
        The bytes for brand.
      • getVersionList

        List<String> getVersionList()
         A sequence of version components, in descending hierarchical order
         (major, minor, micro, ...).
         
        repeated string version = 2;
        Returns:
        A list containing the version.
      • getVersionCount

        int getVersionCount()
         A sequence of version components, in descending hierarchical order
         (major, minor, micro, ...).
         
        repeated string version = 2;
        Returns:
        The count of version.
      • getVersion

        String getVersion​(int index)
         A sequence of version components, in descending hierarchical order
         (major, minor, micro, ...).
         
        repeated string version = 2;
        Parameters:
        index - The index of the element to return.
        Returns:
        The version at the given index.
      • getVersionBytes

        com.google.protobuf.ByteString getVersionBytes​(int index)
         A sequence of version components, in descending hierarchical order
         (major, minor, micro, ...).
         
        repeated string version = 2;
        Parameters:
        index - The index of the value to return.
        Returns:
        The bytes of the version at the given index.