Stay organized with collections
Save and categorize content based on your preferences.
public final class
ParameterGroup
extends Object
Represents a Remote Config parameter group that can be included in a Template.
Grouping parameters is only for management purposes and does not affect client-side
fetching of parameter values.
Sets the map of parameters that belong to this group.
A parameter only appears once per Remote Config template.
An ungrouped parameter appears at the top level, whereas a
parameter organized within a group appears within its group's map of parameters.
Parameters
parameters
A non-null map of parameter keys to their optional default values and
optional conditional values.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Missing the information I need","missingTheInformationINeed","thumb-down"],["Too complicated / too many steps","tooComplicatedTooManySteps","thumb-down"],["Out of date","outOfDate","thumb-down"],["Samples / code issue","samplesCodeIssue","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2021-04-28 UTC."],[],[],null,["# ParameterGroup\n\npublic final class **ParameterGroup** extends Object \nRepresents a Remote Config parameter group that can be included in a [Template](/docs/reference/admin/java/reference/com/google/firebase/remoteconfig/Template).\nGrouping parameters is only for management purposes and does not affect client-side\nfetching of parameter values. \n\n### Public Constructor Summary\n\n|---|-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|\n| | [ParameterGroup](/docs/reference/admin/java/reference/com/google/firebase/remoteconfig/ParameterGroup#ParameterGroup())() Creates a new [ParameterGroup](/docs/reference/admin/java/reference/com/google/firebase/remoteconfig/ParameterGroup). |\n\n### Public Method Summary\n\n|-------------------------------------------------------------------------------------------------------------|--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|\n| boolean | [equals](/docs/reference/admin/java/reference/com/google/firebase/remoteconfig/ParameterGroup#equals(java.lang.Object))(Object o) |\n| String | [getDescription](/docs/reference/admin/java/reference/com/google/firebase/remoteconfig/ParameterGroup#getDescription())() Gets the description of the parameter group. |\n| Map\\\u003cString, [Parameter](/docs/reference/admin/java/reference/com/google/firebase/remoteconfig/Parameter)\\\u003e | [getParameters](/docs/reference/admin/java/reference/com/google/firebase/remoteconfig/ParameterGroup#getParameters())() Gets the map of parameters that belong to this group. |\n| int | [hashCode](/docs/reference/admin/java/reference/com/google/firebase/remoteconfig/ParameterGroup#hashCode())() |\n| [ParameterGroup](/docs/reference/admin/java/reference/com/google/firebase/remoteconfig/ParameterGroup) | [setDescription](/docs/reference/admin/java/reference/com/google/firebase/remoteconfig/ParameterGroup#setDescription(java.lang.String))(String description) Sets the description of the parameter group. |\n| [ParameterGroup](/docs/reference/admin/java/reference/com/google/firebase/remoteconfig/ParameterGroup) | [setParameters](/docs/reference/admin/java/reference/com/google/firebase/remoteconfig/ParameterGroup#setParameters(java.util.Map\u003cjava.lang.String, com.google.firebase.remoteconfig.Parameter\u003e))(Map\\\u003cString, [Parameter](/docs/reference/admin/java/reference/com/google/firebase/remoteconfig/Parameter)\\\u003e parameters) Sets the map of parameters that belong to this group. |\n\n### Inherited Method Summary\n\nFrom class java.lang.Object \n\n|------------------|---------------------------|\n| Object | clone() |\n| boolean | equals(Object arg0) |\n| void | finalize() |\n| final Class\\\u003c?\\\u003e | getClass() |\n| int | hashCode() |\n| final void | notify() |\n| final void | notifyAll() |\n| String | toString() |\n| final void | wait(long arg0, int arg1) |\n| final void | wait(long arg0) |\n| final void | wait() |\n\nPublic Constructors\n-------------------\n\n#### public\n**ParameterGroup**\n()\n\nCreates a new [ParameterGroup](/docs/reference/admin/java/reference/com/google/firebase/remoteconfig/ParameterGroup).\n\nPublic Methods\n--------------\n\n#### public boolean\n**equals**\n(Object o)\n\n\u003cbr /\u003e\n\n#### public String\n**getDescription**\n()\n\nGets the description of the parameter group. \n\n##### Returns\n\n- The description of the parameter or null. \n\n#### public Map\\\u003cString, [Parameter](/docs/reference/admin/java/reference/com/google/firebase/remoteconfig/Parameter)\\\u003e\n**getParameters**\n()\n\nGets the map of parameters that belong to this group. \n\n##### Returns\n\n- A non-null map of parameter keys to their optional default values and optional conditional values. \n\n#### public int\n**hashCode**\n()\n\n\u003cbr /\u003e\n\n#### public [ParameterGroup](/docs/reference/admin/java/reference/com/google/firebase/remoteconfig/ParameterGroup)\n**setDescription**\n(String description)\n\nSets the description of the parameter group.\nShould not be over 256 characters and may contain any Unicode characters. \n\n##### Parameters\n\n| description | The description of the parameter group. |\n|-------------|-----------------------------------------|\n\n##### Returns\n\n- This [ParameterGroup](/docs/reference/admin/java/reference/com/google/firebase/remoteconfig/ParameterGroup). \n\n#### public [ParameterGroup](/docs/reference/admin/java/reference/com/google/firebase/remoteconfig/ParameterGroup)\n**setParameters**\n(Map\\\u003cString, [Parameter](/docs/reference/admin/java/reference/com/google/firebase/remoteconfig/Parameter)\\\u003e parameters)\n\nSets the map of parameters that belong to this group.\n\nA parameter only appears once per Remote Config template.\nAn ungrouped parameter appears at the top level, whereas a\nparameter organized within a group appears within its group's map of parameters. \n\n##### Parameters\n\n| parameters | A non-null map of parameter keys to their optional default values and optional conditional values. |\n|------------|----------------------------------------------------------------------------------------------------|\n\n##### Returns\n\n- This [ParameterGroup](/docs/reference/admin/java/reference/com/google/firebase/remoteconfig/ParameterGroup) instance."]]