Class FieldKt.Dsl (3.19.4)
Stay organized with collections
Save and categorize content based on your preferences.
public static final class FieldKt.Dsl
Static Fields
Companion
public static final FieldKt.Dsl.Companion Companion
Companion
public static final FieldKt.Dsl.Companion Companion
Methods
clearCardinality()
public final void clearCardinality()
clearDefaultValue()
public final void clearDefaultValue()
clearJsonName()
public final void clearJsonName()
clearKind()
public final void clearKind()
clearName()
public final void clearName()
clearNumber()
public final void clearNumber()
clearOneofIndex()
public final void clearOneofIndex()
clearPacked()
public final void clearPacked()
clearTypeUrl()
public final void clearTypeUrl()
getCardinality()
public final Field.Cardinality getCardinality()
getDefaultValue()
public final String getDefaultValue()
getJsonName()
public final String getJsonName()
getKind()
public final Field.Kind getKind()
getName()
public final String getName()
getNumber()
public final int getNumber()
Returns |
---|
Type | Description |
int | |
getOneofIndex()
public final int getOneofIndex()
Returns |
---|
Type | Description |
int | |
getPacked()
public final boolean getPacked()
getTypeUrl()
public final String getTypeUrl()
setCardinality(Field.Cardinality arg0)
public final void setCardinality(Field.Cardinality arg0)
setDefaultValue(String arg0)
public final void setDefaultValue(String arg0)
Parameter |
---|
Name | Description |
arg0 | String
|
setJsonName(String arg0)
public final void setJsonName(String arg0)
Parameter |
---|
Name | Description |
arg0 | String
|
setKind(Field.Kind arg0)
public final void setKind(Field.Kind arg0)
setName(String arg0)
public final void setName(String arg0)
Parameter |
---|
Name | Description |
arg0 | String
|
setNumber(int arg0)
public final void setNumber(int arg0)
Parameter |
---|
Name | Description |
arg0 | int
|
setOneofIndex(int arg0)
public final void setOneofIndex(int arg0)
Parameter |
---|
Name | Description |
arg0 | int
|
setPacked(boolean arg0)
public final void setPacked(boolean arg0)
Parameter |
---|
Name | Description |
arg0 | boolean
|
setTypeUrl(String arg0)
public final void setTypeUrl(String arg0)
Parameter |
---|
Name | Description |
arg0 | String
|
Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License, and code samples are licensed under the Apache 2.0 License. For details, see the Google Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2024-09-19 UTC.
[{
"type": "thumb-down",
"id": "hardToUnderstand",
"label":"Hard to understand"
},{
"type": "thumb-down",
"id": "incorrectInformationOrSampleCode",
"label":"Incorrect information or sample code"
},{
"type": "thumb-down",
"id": "missingTheInformationSamplesINeed",
"label":"Missing the information/samples I need"
},{
"type": "thumb-down",
"id": "otherDown",
"label":"Other"
}]
[{
"type": "thumb-up",
"id": "easyToUnderstand",
"label":"Easy to understand"
},{
"type": "thumb-up",
"id": "solvedMyProblem",
"label":"Solved my problem"
},{
"type": "thumb-up",
"id": "otherUp",
"label":"Other"
}]
{"lastModified": "Last updated 2024-09-19 UTC."}