Send feedback Class FieldDescriptorProtoKt.Dsl (3.19.4) Stay organized with collections Save and categorize content based on your preferences.
public static final class FieldDescriptorProtoKt . Dsl
Static Fields Companion
public static final FieldDescriptorProtoKt . Dsl . Companion Companion
Companion
public static final FieldDescriptorProtoKt . Dsl . Companion Companion
Methods clearDefaultValue()
public final void clearDefaultValue ()
clearExtendee()
public final void clearExtendee ()
clearJsonName()
public final void clearJsonName ()
clearLabel()
public final void clearLabel ()
clearName()
public final void clearName ()
clearNumber()
public final void clearNumber ()
clearOneofIndex()
public final void clearOneofIndex ()
clearOptions()
public final void clearOptions ()
clearProto3Optional()
public final void clearProto3Optional ()
clearType()
public final void clearType ()
clearTypeName()
public final void clearTypeName ()
getDefaultValue()
public final String getDefaultValue ()
getExtendee()
public final String getExtendee ()
getJsonName()
public final String getJsonName ()
getLabel()
public final DescriptorProtos . FieldDescriptorProto . Label getLabel ()
getName()
public final String getName ()
getNumber()
public final int getNumber ()
Returns Type Description int
getOneofIndex()
public final int getOneofIndex ()
Returns Type Description int
getOptions()
public final DescriptorProtos . FieldOptions getOptions ()
getProto3Optional()
public final boolean getProto3Optional ()
getType()
public final DescriptorProtos . FieldDescriptorProto . Type getType ()
getTypeName()
public final String getTypeName ()
hasDefaultValue()
public final boolean hasDefaultValue ()
hasExtendee()
public final boolean hasExtendee ()
hasJsonName()
public final boolean hasJsonName ()
hasLabel()
public final boolean hasLabel ()
hasName()
public final boolean hasName ()
hasNumber()
public final boolean hasNumber ()
hasOneofIndex()
public final boolean hasOneofIndex ()
hasOptions()
public final boolean hasOptions ()
hasProto3Optional()
public final boolean hasProto3Optional ()
hasType()
public final boolean hasType ()
hasTypeName()
public final boolean hasTypeName ()
setDefaultValue(String arg0)
public final void setDefaultValue ( String arg0 )
Parameter Name Description arg0
String
setExtendee(String arg0)
public final void setExtendee ( String arg0 )
Parameter Name Description arg0
String
setJsonName(String arg0)
public final void setJsonName ( String arg0 )
Parameter Name Description arg0
String
setLabel(DescriptorProtos.FieldDescriptorProto.Label arg0)
public final void setLabel ( DescriptorProtos . FieldDescriptorProto . Label 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
setOptions(DescriptorProtos.FieldOptions arg0)
public final void setOptions ( DescriptorProtos . FieldOptions arg0 )
setProto3Optional(boolean arg0)
public final void setProto3Optional ( boolean arg0 )
Parameter Name Description arg0
boolean
setType(DescriptorProtos.FieldDescriptorProto.Type arg0)
public final void setType ( DescriptorProtos . FieldDescriptorProto . Type arg0 )
setTypeName(String arg0)
public final void setTypeName ( String arg0 )
Parameter Name Description arg0
String
Send feedback
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 2025-04-17 UTC.
Need to tell us more? [[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Hard to understand","hardToUnderstand","thumb-down"],["Incorrect information or sample code","incorrectInformationOrSampleCode","thumb-down"],["Missing the information/samples I need","missingTheInformationSamplesINeed","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-04-17 UTC."],[],[]]