Struct protobuf::descriptor::FileOptions [] [src]

pub struct FileOptions {
    // some fields omitted
}

Methods

impl FileOptions
[src]

fn new() -> FileOptions

fn default_instance() -> &'static FileOptions

fn clear_java_package(&mut self)

fn has_java_package(&self) -> bool

fn set_java_package(&mut self, v: String)

fn mut_java_package<'a>(&'a mut self) -> &'a mut String

fn take_java_package(&mut self) -> String

fn get_java_package<'a>(&'a self) -> &'a str

fn clear_java_outer_classname(&mut self)

fn has_java_outer_classname(&self) -> bool

fn set_java_outer_classname(&mut self, v: String)

fn mut_java_outer_classname<'a>(&'a mut self) -> &'a mut String

fn take_java_outer_classname(&mut self) -> String

fn get_java_outer_classname<'a>(&'a self) -> &'a str

fn clear_java_multiple_files(&mut self)

fn has_java_multiple_files(&self) -> bool

fn set_java_multiple_files(&mut self, v: bool)

fn get_java_multiple_files<'a>(&self) -> bool

fn clear_java_generate_equals_and_hash(&mut self)

fn has_java_generate_equals_and_hash(&self) -> bool

fn set_java_generate_equals_and_hash(&mut self, v: bool)

fn get_java_generate_equals_and_hash<'a>(&self) -> bool

fn clear_java_string_check_utf8(&mut self)

fn has_java_string_check_utf8(&self) -> bool

fn set_java_string_check_utf8(&mut self, v: bool)

fn get_java_string_check_utf8<'a>(&self) -> bool

fn clear_optimize_for(&mut self)

fn has_optimize_for(&self) -> bool

fn set_optimize_for(&mut self, v: FileOptions_OptimizeMode)

fn get_optimize_for<'a>(&self) -> FileOptions_OptimizeMode

fn clear_go_package(&mut self)

fn has_go_package(&self) -> bool

fn set_go_package(&mut self, v: String)

fn mut_go_package<'a>(&'a mut self) -> &'a mut String

fn take_go_package(&mut self) -> String

fn get_go_package<'a>(&'a self) -> &'a str

fn clear_cc_generic_services(&mut self)

fn has_cc_generic_services(&self) -> bool

fn set_cc_generic_services(&mut self, v: bool)

fn get_cc_generic_services<'a>(&self) -> bool

fn clear_java_generic_services(&mut self)

fn has_java_generic_services(&self) -> bool

fn set_java_generic_services(&mut self, v: bool)

fn get_java_generic_services<'a>(&self) -> bool

fn clear_py_generic_services(&mut self)

fn has_py_generic_services(&self) -> bool

fn set_py_generic_services(&mut self, v: bool)

fn get_py_generic_services<'a>(&self) -> bool

fn clear_deprecated(&mut self)

fn has_deprecated(&self) -> bool

fn set_deprecated(&mut self, v: bool)

fn get_deprecated<'a>(&self) -> bool

fn clear_uninterpreted_option(&mut self)

fn set_uninterpreted_option(&mut self, v: RepeatedField<UninterpretedOption>)

fn mut_uninterpreted_option<'a>(&'a mut self) -> &'a mut RepeatedField<UninterpretedOption>

fn take_uninterpreted_option(&mut self) -> RepeatedField<UninterpretedOption>

fn get_uninterpreted_option<'a>(&'a self) -> &'a [UninterpretedOption]

Trait Implementations

impl Default for FileOptions
[src]

fn default() -> FileOptions

Returns the "default value" for a type. Read more

impl Clone for FileOptions
[src]

fn clone(&self) -> FileOptions

Returns a copy of the value. Read more

fn clone_from(&mut self, source: &Self)
1.0.0

Performs copy-assignment from source. Read more

impl Message for FileOptions
[src]

fn is_initialized(&self) -> bool

fn merge_from(&mut self, is: &mut CodedInputStream) -> ProtobufResult<()>

fn compute_size(&self) -> u32

fn write_to_with_cached_sizes(&self, os: &mut CodedOutputStream) -> ProtobufResult<()>

fn get_cached_size(&self) -> u32

fn get_unknown_fields<'s>(&'s self) -> &'s UnknownFields

fn mut_unknown_fields<'s>(&'s mut self) -> &'s mut UnknownFields

fn type_id(&self) -> TypeId

fn as_any(&self) -> &Any

fn descriptor(&self) -> &'static MessageDescriptor

fn write_to(&self, os: &mut CodedOutputStream) -> ProtobufResult<()>

fn write_length_delimited_to(&self, os: &mut CodedOutputStream) -> ProtobufResult<()>

fn merge_from_bytes(&mut self, bytes: &[u8]) -> ProtobufResult<()>

fn check_initialized(&self)

fn write_to_writer(&self, w: &mut Write) -> ProtobufResult<()>

fn write_to_vec(&self, v: &mut Vec<u8>) -> ProtobufResult<()>

fn write_to_bytes(&self) -> ProtobufResult<Vec<u8>>

fn write_length_delimited_to_writer(&self, w: &mut Write) -> ProtobufResult<()>

fn write_length_delimited_to_bytes(&self) -> ProtobufResult<Vec<u8>>

impl MessageStatic for FileOptions
[src]

impl Clear for FileOptions
[src]

fn clear(&mut self)

impl PartialEq for FileOptions
[src]

fn eq(&self, other: &FileOptions) -> bool

This method tests for self and other values to be equal, and is used by ==. Read more

fn ne(&self, other: &Rhs) -> bool
1.0.0

This method tests for !=.

impl Debug for FileOptions
[src]

fn fmt(&self, f: &mut Formatter) -> Result

Formats the value using the given formatter.