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
|