Class AdxExt.DeviceExt.UserAgent.BrandVersion.Builder

    • Method Detail

      • getDescriptor

        public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
      • internalGetFieldAccessorTable

        protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
        Specified by:
        internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessageV3.Builder<AdxExt.DeviceExt.UserAgent.BrandVersion.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.GeneratedMessageV3.Builder<AdxExt.DeviceExt.UserAgent.BrandVersion.Builder>
      • getDefaultInstanceForType

        public AdxExt.DeviceExt.UserAgent.BrandVersion getDefaultInstanceForType()
        Specified by:
        getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuilder
        Specified by:
        getDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilder
      • build

        public AdxExt.DeviceExt.UserAgent.BrandVersion build()
        Specified by:
        build in interface com.google.protobuf.Message.Builder
        Specified by:
        build in interface com.google.protobuf.MessageLite.Builder
      • buildPartial

        public AdxExt.DeviceExt.UserAgent.BrandVersion buildPartial()
        Specified by:
        buildPartial in interface com.google.protobuf.Message.Builder
        Specified by:
        buildPartial in interface com.google.protobuf.MessageLite.Builder
      • isInitialized

        public final boolean isInitialized()
        Specified by:
        isInitialized in interface com.google.protobuf.MessageLiteOrBuilder
        Overrides:
        isInitialized in class com.google.protobuf.GeneratedMessageV3.Builder<AdxExt.DeviceExt.UserAgent.BrandVersion.Builder>
      • hasBrand

        public 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;
        Specified by:
        hasBrand in interface AdxExt.DeviceExt.UserAgent.BrandVersionOrBuilder
        Returns:
        Whether the brand field is set.
      • getBrand

        public 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;
        Specified by:
        getBrand in interface AdxExt.DeviceExt.UserAgent.BrandVersionOrBuilder
        Returns:
        The brand.
      • getBrandBytes

        public 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;
        Specified by:
        getBrandBytes in interface AdxExt.DeviceExt.UserAgent.BrandVersionOrBuilder
        Returns:
        The bytes for brand.
      • setBrand

        public AdxExt.DeviceExt.UserAgent.BrandVersion.Builder setBrand​(String value)
         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;
        Parameters:
        value - The brand to set.
        Returns:
        This builder for chaining.
      • clearBrand

        public AdxExt.DeviceExt.UserAgent.BrandVersion.Builder clearBrand()
         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:
        This builder for chaining.
      • setBrandBytes

        public AdxExt.DeviceExt.UserAgent.BrandVersion.Builder setBrandBytes​(com.google.protobuf.ByteString value)
         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;
        Parameters:
        value - The bytes for brand to set.
        Returns:
        This builder for chaining.
      • getVersionList

        public com.google.protobuf.ProtocolStringList getVersionList()
         A sequence of version components, in descending hierarchical order
         (major, minor, micro, ...).
         
        repeated string version = 2;
        Specified by:
        getVersionList in interface AdxExt.DeviceExt.UserAgent.BrandVersionOrBuilder
        Returns:
        A list containing the version.
      • getVersion

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

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

        public AdxExt.DeviceExt.UserAgent.BrandVersion.Builder setVersion​(int index,
                                                                          String value)
         A sequence of version components, in descending hierarchical order
         (major, minor, micro, ...).
         
        repeated string version = 2;
        Parameters:
        index - The index to set the value at.
        value - The version to set.
        Returns:
        This builder for chaining.
      • addVersion

        public AdxExt.DeviceExt.UserAgent.BrandVersion.Builder addVersion​(String value)
         A sequence of version components, in descending hierarchical order
         (major, minor, micro, ...).
         
        repeated string version = 2;
        Parameters:
        value - The version to add.
        Returns:
        This builder for chaining.
      • addAllVersion

        public AdxExt.DeviceExt.UserAgent.BrandVersion.Builder addAllVersion​(Iterable<String> values)
         A sequence of version components, in descending hierarchical order
         (major, minor, micro, ...).
         
        repeated string version = 2;
        Parameters:
        values - The version to add.
        Returns:
        This builder for chaining.
      • clearVersion

        public AdxExt.DeviceExt.UserAgent.BrandVersion.Builder clearVersion()
         A sequence of version components, in descending hierarchical order
         (major, minor, micro, ...).
         
        repeated string version = 2;
        Returns:
        This builder for chaining.
      • addVersionBytes

        public AdxExt.DeviceExt.UserAgent.BrandVersion.Builder addVersionBytes​(com.google.protobuf.ByteString value)
         A sequence of version components, in descending hierarchical order
         (major, minor, micro, ...).
         
        repeated string version = 2;
        Parameters:
        value - The bytes of the version to add.
        Returns:
        This builder for chaining.