[−][src]Struct tensorflow_serving_client::model_server_config::ModelConfig
Generated files are compatible only with the same version of protobuf runtime.
Fields
name: Stringbase_path: Stringmodel_type: ModelTypemodel_platform: Stringmodel_version_policy: SingularPtrField<FileSystemStoragePathSourceConfig_ServableVersionPolicy>version_labels: HashMap<String, i64>logging_config: SingularPtrField<LoggingConfig>unknown_fields: UnknownFieldscached_size: CachedSizeImplementations
impl ModelConfig[src]
pub fn new() -> ModelConfig[src]
pub fn get_name(&self) -> &str[src]
pub fn clear_name(&mut self)[src]
pub fn set_name(&mut self, v: String)[src]
pub fn mut_name(&mut self) -> &mut String[src]
pub fn take_name(&mut self) -> String[src]
pub fn get_base_path(&self) -> &str[src]
pub fn clear_base_path(&mut self)[src]
pub fn set_base_path(&mut self, v: String)[src]
pub fn mut_base_path(&mut self) -> &mut String[src]
pub fn take_base_path(&mut self) -> String[src]
pub fn get_model_type(&self) -> ModelType[src]
pub fn clear_model_type(&mut self)[src]
pub fn set_model_type(&mut self, v: ModelType)[src]
pub fn get_model_platform(&self) -> &str[src]
pub fn clear_model_platform(&mut self)[src]
pub fn set_model_platform(&mut self, v: String)[src]
pub fn mut_model_platform(&mut self) -> &mut String[src]
pub fn take_model_platform(&mut self) -> String[src]
pub fn get_model_version_policy(
&self
) -> &FileSystemStoragePathSourceConfig_ServableVersionPolicy[src]
&self
) -> &FileSystemStoragePathSourceConfig_ServableVersionPolicy
pub fn clear_model_version_policy(&mut self)[src]
pub fn has_model_version_policy(&self) -> bool[src]
pub fn set_model_version_policy(
&mut self,
v: FileSystemStoragePathSourceConfig_ServableVersionPolicy
)[src]
&mut self,
v: FileSystemStoragePathSourceConfig_ServableVersionPolicy
)
pub fn mut_model_version_policy(
&mut self
) -> &mut FileSystemStoragePathSourceConfig_ServableVersionPolicy[src]
&mut self
) -> &mut FileSystemStoragePathSourceConfig_ServableVersionPolicy
pub fn take_model_version_policy(
&mut self
) -> FileSystemStoragePathSourceConfig_ServableVersionPolicy[src]
&mut self
) -> FileSystemStoragePathSourceConfig_ServableVersionPolicy
pub fn get_version_labels(&self) -> &HashMap<String, i64>[src]
pub fn clear_version_labels(&mut self)[src]
pub fn set_version_labels(&mut self, v: HashMap<String, i64>)[src]
pub fn mut_version_labels(&mut self) -> &mut HashMap<String, i64>[src]
pub fn take_version_labels(&mut self) -> HashMap<String, i64>[src]
pub fn get_logging_config(&self) -> &LoggingConfig[src]
pub fn clear_logging_config(&mut self)[src]
pub fn has_logging_config(&self) -> bool[src]
pub fn set_logging_config(&mut self, v: LoggingConfig)[src]
pub fn mut_logging_config(&mut self) -> &mut LoggingConfig[src]
pub fn take_logging_config(&mut self) -> LoggingConfig[src]
Trait Implementations
impl Clear for ModelConfig[src]
impl Clone for ModelConfig[src]
fn clone(&self) -> ModelConfig[src]
fn clone_from(&mut self, source: &Self)1.0.0[src]
impl Debug for ModelConfig[src]
impl Default for ModelConfig[src]
fn default() -> ModelConfig[src]
impl<'a> Default for &'a ModelConfig[src]
fn default() -> &'a ModelConfig[src]
impl Message for ModelConfig[src]
fn is_initialized(&self) -> bool[src]
fn merge_from(&mut self, is: &mut CodedInputStream) -> ProtobufResult<()>[src]
fn compute_size(&self) -> u32[src]
fn write_to_with_cached_sizes(
&self,
os: &mut CodedOutputStream
) -> ProtobufResult<()>[src]
&self,
os: &mut CodedOutputStream
) -> ProtobufResult<()>
fn get_cached_size(&self) -> u32[src]
fn get_unknown_fields(&self) -> &UnknownFields[src]
fn mut_unknown_fields(&mut self) -> &mut UnknownFields[src]
fn as_any(&self) -> &dyn Any[src]
fn as_any_mut(&mut self) -> &mut dyn Any[src]
fn into_any(self: Box<Self>) -> Box<dyn Any>[src]
fn descriptor(&self) -> &'static MessageDescriptor[src]
fn new() -> ModelConfig[src]
fn descriptor_static() -> &'static MessageDescriptor[src]
fn default_instance() -> &'static ModelConfig[src]
fn write_to(&self, os: &mut CodedOutputStream) -> Result<(), ProtobufError>[src]
fn write_length_delimited_to(
&self,
os: &mut CodedOutputStream
) -> Result<(), ProtobufError>[src]
&self,
os: &mut CodedOutputStream
) -> Result<(), ProtobufError>
fn write_length_delimited_to_vec(
&self,
vec: &mut Vec<u8>
) -> Result<(), ProtobufError>[src]
&self,
vec: &mut Vec<u8>
) -> Result<(), ProtobufError>
fn merge_from_bytes(&mut self, bytes: &[u8]) -> Result<(), ProtobufError>[src]
fn check_initialized(&self) -> Result<(), ProtobufError>[src]
fn write_to_writer(&self, w: &mut dyn Write) -> Result<(), ProtobufError>[src]
fn write_to_vec(&self, v: &mut Vec<u8>) -> Result<(), ProtobufError>[src]
fn write_to_bytes(&self) -> Result<Vec<u8>, ProtobufError>[src]
fn write_length_delimited_to_writer(
&self,
w: &mut dyn Write
) -> Result<(), ProtobufError>[src]
&self,
w: &mut dyn Write
) -> Result<(), ProtobufError>
fn write_length_delimited_to_bytes(&self) -> Result<Vec<u8>, ProtobufError>[src]
fn type_id(&self) -> TypeId[src]
impl PartialEq<ModelConfig> for ModelConfig[src]
fn eq(&self, other: &ModelConfig) -> bool[src]
fn ne(&self, other: &ModelConfig) -> bool[src]
impl ProtobufValue for ModelConfig[src]
fn as_ref(&self) -> ReflectValueRef[src]
fn as_any(&self) -> &(dyn Any + 'static)[src]
fn is_non_zero(&self) -> bool[src]
fn as_ref_copy(&self) -> ReflectValueRef<'static>[src]
impl StructuralPartialEq for ModelConfig[src]
Auto Trait Implementations
impl RefUnwindSafe for ModelConfig
impl Send for ModelConfig
impl Sync for ModelConfig
impl Unpin for ModelConfig
impl UnwindSafe for ModelConfig
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized, [src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized, [src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized, [src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T[src]
impl<T> From<T> for T[src]
impl<T, U> Into<U> for T where
U: From<T>, [src]
U: From<T>,
impl<T> ToOwned for T where
T: Clone, [src]
T: Clone,
type Owned = T
The resulting type after obtaining ownership.
fn to_owned(&self) -> T[src]
fn clone_into(&self, target: &mut T)[src]
impl<T, U> TryFrom<U> for T where
U: Into<T>, [src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>, [src]
U: TryFrom<T>,