ML Community Day is November 9! Join us for updates from TensorFlow, JAX, and more Learn more

DecodeProto.Options

public static class DecodeProto.Options

Optional attributes for DecodeProto

Public Methods

DecodeProto.Options
descriptorSource(String descriptorSource)
DecodeProto.Options
messageFormat(String messageFormat)
DecodeProto.Options
sanitize(Boolean sanitize)

Inherited Methods

Public Methods

public DecodeProto.Options descriptorSource (String descriptorSource)

Parameters
descriptorSource Either the special value `local://` or a path to a file containing a serialized `FileDescriptorSet`.

public DecodeProto.Options messageFormat (String messageFormat)

Parameters
messageFormat Either `binary` or `text`.

public DecodeProto.Options sanitize (Boolean sanitize)

Parameters
sanitize Whether to sanitize the result or not.