public enum ImageConfig.PersonGeneration extends Enum<ImageConfig.PersonGeneration> implements ProtocolMessageEnumEnum for controlling the generation of people in images.
Protobuf enum google.cloud.aiplatform.v1.ImageConfig.PersonGeneration
Implements
ProtocolMessageEnumStatic Fields |
|
|---|---|
| Name | Description |
ALLOW_ADULT |
Allows the model to generate images of adults, but not children. |
ALLOW_ADULT_VALUE |
Allows the model to generate images of adults, but not children. |
ALLOW_ALL |
Allows the model to generate images of people, including adults and children. |
ALLOW_ALL_VALUE |
Allows the model to generate images of people, including adults and children. |
ALLOW_NONE |
Prevents the model from generating images of people. |
ALLOW_NONE_VALUE |
Prevents the model from generating images of people. |
PERSON_GENERATION_UNSPECIFIED |
The default behavior is unspecified. The model will decide whether to generate images of people. |
PERSON_GENERATION_UNSPECIFIED_VALUE |
The default behavior is unspecified. The model will decide whether to generate images of people. |
UNRECOGNIZED |
|
Static Methods |
|
|---|---|
| Name | Description |
forNumber(int value) |
|
getDescriptor() |
|
internalGetValueMap() |
|
valueOf(Descriptors.EnumValueDescriptor desc) |
|
valueOf(int value) |
Deprecated. Use #forNumber(int) instead. |
valueOf(String name) |
|
values() |
|
Methods |
|
|---|---|
| Name | Description |
getDescriptorForType() |
|
getNumber() |
|
getValueDescriptor() |
|