Enum DataFormat (1.40.0)

publicenumDataFormatextendsEnum<DataFormat>implementsProtocolMessageEnum

Data formats for input and output files.

Protobuf enum google.cloud.optimization.v1.DataFormat

Implements

ProtocolMessageEnum

Static Fields

Name Description
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

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()

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年10月30日 UTC.