Enum DataFormat (1.22.0)

public enum DataFormat extends Enum<DataFormat> implements ProtocolMessageEnum

Data formats for input and output files.

Protobuf enum google.cloud.optimization.v1.DataFormat

Implements

ProtocolMessageEnum

Static Fields

NameDescription
DATA_FORMAT_UNSPECIFIED

Default value.

DATA_FORMAT_UNSPECIFIED = 0;

DATA_FORMAT_UNSPECIFIED_VALUE

Default value.

DATA_FORMAT_UNSPECIFIED = 0;

JSON

Input data in json format.

JSON = 1;

JSON_VALUE

Input data in json format.

JSON = 1;

STRING

Input data in string format.

STRING = 2;

STRING_VALUE

Input data in string format.

STRING = 2;

UNRECOGNIZED

Static Methods

NameDescription
forNumber(int value)
getDescriptor()
internalGetValueMap()
valueOf(Descriptors.EnumValueDescriptor desc)
valueOf(int value)

Deprecated. Use #forNumber(int) instead.

valueOf(String name)
values()

Methods

NameDescription
getDescriptorForType()
getNumber()
getValueDescriptor()