Struct google_cloud_rust_raw::api::service::Service
source · pub struct Service {Show 27 fields
pub config_version: SingularPtrField<UInt32Value>,
pub name: String,
pub id: String,
pub title: String,
pub producer_project_id: String,
pub apis: RepeatedField<Api>,
pub types: RepeatedField<Type>,
pub enums: RepeatedField<Enum>,
pub documentation: SingularPtrField<Documentation>,
pub backend: SingularPtrField<Backend>,
pub http: SingularPtrField<Http>,
pub quota: SingularPtrField<Quota>,
pub authentication: SingularPtrField<Authentication>,
pub context: SingularPtrField<Context>,
pub usage: SingularPtrField<Usage>,
pub endpoints: RepeatedField<Endpoint>,
pub control: SingularPtrField<Control>,
pub logs: RepeatedField<LogDescriptor>,
pub metrics: RepeatedField<MetricDescriptor>,
pub monitored_resources: RepeatedField<MonitoredResourceDescriptor>,
pub billing: SingularPtrField<Billing>,
pub logging: SingularPtrField<Logging>,
pub monitoring: SingularPtrField<Monitoring>,
pub system_parameters: SingularPtrField<SystemParameters>,
pub source_info: SingularPtrField<SourceInfo>,
pub unknown_fields: UnknownFields,
pub cached_size: CachedSize,
}Expand description
Generated files are compatible only with the same version of protobuf runtime.
Fields
config_version: SingularPtrField<UInt32Value>name: Stringid: Stringtitle: Stringproducer_project_id: Stringapis: RepeatedField<Api>types: RepeatedField<Type>enums: RepeatedField<Enum>documentation: SingularPtrField<Documentation>backend: SingularPtrField<Backend>http: SingularPtrField<Http>quota: SingularPtrField<Quota>authentication: SingularPtrField<Authentication>context: SingularPtrField<Context>usage: SingularPtrField<Usage>endpoints: RepeatedField<Endpoint>control: SingularPtrField<Control>logs: RepeatedField<LogDescriptor>metrics: RepeatedField<MetricDescriptor>monitored_resources: RepeatedField<MonitoredResourceDescriptor>billing: SingularPtrField<Billing>logging: SingularPtrField<Logging>monitoring: SingularPtrField<Monitoring>system_parameters: SingularPtrField<SystemParameters>source_info: SingularPtrField<SourceInfo>unknown_fields: UnknownFieldscached_size: CachedSizeImplementations
sourceimpl Service
impl Service
pub fn new() -> Service
pub fn get_config_version(&self) -> &UInt32Value
pub fn clear_config_version(&mut self)
pub fn has_config_version(&self) -> bool
pub fn set_config_version(&mut self, v: UInt32Value)
pub fn mut_config_version(&mut self) -> &mut UInt32Value
pub fn take_config_version(&mut self) -> UInt32Value
pub fn get_name(&self) -> &str
pub fn clear_name(&mut self)
pub fn set_name(&mut self, v: String)
pub fn mut_name(&mut self) -> &mut String
pub fn take_name(&mut self) -> String
pub fn get_id(&self) -> &str
pub fn clear_id(&mut self)
pub fn set_id(&mut self, v: String)
pub fn mut_id(&mut self) -> &mut String
pub fn take_id(&mut self) -> String
pub fn get_title(&self) -> &str
pub fn clear_title(&mut self)
pub fn set_title(&mut self, v: String)
pub fn mut_title(&mut self) -> &mut String
pub fn take_title(&mut self) -> String
pub fn get_producer_project_id(&self) -> &str
pub fn clear_producer_project_id(&mut self)
pub fn set_producer_project_id(&mut self, v: String)
pub fn mut_producer_project_id(&mut self) -> &mut String
pub fn take_producer_project_id(&mut self) -> String
pub fn get_apis(&self) -> &[Api]
pub fn clear_apis(&mut self)
pub fn set_apis(&mut self, v: RepeatedField<Api>)
pub fn mut_apis(&mut self) -> &mut RepeatedField<Api>
pub fn take_apis(&mut self) -> RepeatedField<Api>
pub fn get_types(&self) -> &[Type]
pub fn clear_types(&mut self)
pub fn set_types(&mut self, v: RepeatedField<Type>)
pub fn mut_types(&mut self) -> &mut RepeatedField<Type>
pub fn take_types(&mut self) -> RepeatedField<Type>
pub fn get_enums(&self) -> &[Enum]
pub fn clear_enums(&mut self)
pub fn set_enums(&mut self, v: RepeatedField<Enum>)
pub fn mut_enums(&mut self) -> &mut RepeatedField<Enum>
pub fn take_enums(&mut self) -> RepeatedField<Enum>
pub fn get_documentation(&self) -> &Documentation
pub fn clear_documentation(&mut self)
pub fn has_documentation(&self) -> bool
pub fn set_documentation(&mut self, v: Documentation)
pub fn mut_documentation(&mut self) -> &mut Documentation
pub fn take_documentation(&mut self) -> Documentation
pub fn get_backend(&self) -> &Backend
pub fn clear_backend(&mut self)
pub fn has_backend(&self) -> bool
pub fn set_backend(&mut self, v: Backend)
pub fn mut_backend(&mut self) -> &mut Backend
pub fn take_backend(&mut self) -> Backend
pub fn get_http(&self) -> &Http
pub fn clear_http(&mut self)
pub fn has_http(&self) -> bool
pub fn set_http(&mut self, v: Http)
pub fn mut_http(&mut self) -> &mut Http
pub fn take_http(&mut self) -> Http
pub fn get_quota(&self) -> &Quota
pub fn clear_quota(&mut self)
pub fn has_quota(&self) -> bool
pub fn set_quota(&mut self, v: Quota)
pub fn mut_quota(&mut self) -> &mut Quota
pub fn take_quota(&mut self) -> Quota
pub fn get_authentication(&self) -> &Authentication
pub fn clear_authentication(&mut self)
pub fn has_authentication(&self) -> bool
pub fn set_authentication(&mut self, v: Authentication)
pub fn mut_authentication(&mut self) -> &mut Authentication
pub fn take_authentication(&mut self) -> Authentication
pub fn get_context(&self) -> &Context
pub fn clear_context(&mut self)
pub fn has_context(&self) -> bool
pub fn set_context(&mut self, v: Context)
pub fn mut_context(&mut self) -> &mut Context
pub fn take_context(&mut self) -> Context
pub fn get_usage(&self) -> &Usage
pub fn clear_usage(&mut self)
pub fn has_usage(&self) -> bool
pub fn set_usage(&mut self, v: Usage)
pub fn mut_usage(&mut self) -> &mut Usage
pub fn take_usage(&mut self) -> Usage
pub fn get_endpoints(&self) -> &[Endpoint]
pub fn clear_endpoints(&mut self)
pub fn set_endpoints(&mut self, v: RepeatedField<Endpoint>)
pub fn mut_endpoints(&mut self) -> &mut RepeatedField<Endpoint>
pub fn take_endpoints(&mut self) -> RepeatedField<Endpoint>
pub fn get_control(&self) -> &Control
pub fn clear_control(&mut self)
pub fn has_control(&self) -> bool
pub fn set_control(&mut self, v: Control)
pub fn mut_control(&mut self) -> &mut Control
pub fn take_control(&mut self) -> Control
pub fn get_logs(&self) -> &[LogDescriptor]
pub fn clear_logs(&mut self)
pub fn set_logs(&mut self, v: RepeatedField<LogDescriptor>)
pub fn mut_logs(&mut self) -> &mut RepeatedField<LogDescriptor>
pub fn take_logs(&mut self) -> RepeatedField<LogDescriptor>
pub fn get_metrics(&self) -> &[MetricDescriptor]
pub fn clear_metrics(&mut self)
pub fn set_metrics(&mut self, v: RepeatedField<MetricDescriptor>)
pub fn mut_metrics(&mut self) -> &mut RepeatedField<MetricDescriptor>
pub fn take_metrics(&mut self) -> RepeatedField<MetricDescriptor>
pub fn get_monitored_resources(&self) -> &[MonitoredResourceDescriptor]
pub fn clear_monitored_resources(&mut self)
pub fn set_monitored_resources(
&mut self,
v: RepeatedField<MonitoredResourceDescriptor>
)
pub fn mut_monitored_resources(
&mut self
) -> &mut RepeatedField<MonitoredResourceDescriptor>
pub fn take_monitored_resources(
&mut self
) -> RepeatedField<MonitoredResourceDescriptor>
pub fn get_billing(&self) -> &Billing
pub fn clear_billing(&mut self)
pub fn has_billing(&self) -> bool
pub fn set_billing(&mut self, v: Billing)
pub fn mut_billing(&mut self) -> &mut Billing
pub fn take_billing(&mut self) -> Billing
pub fn get_logging(&self) -> &Logging
pub fn clear_logging(&mut self)
pub fn has_logging(&self) -> bool
pub fn set_logging(&mut self, v: Logging)
pub fn mut_logging(&mut self) -> &mut Logging
pub fn take_logging(&mut self) -> Logging
pub fn get_monitoring(&self) -> &Monitoring
pub fn clear_monitoring(&mut self)
pub fn has_monitoring(&self) -> bool
pub fn set_monitoring(&mut self, v: Monitoring)
pub fn mut_monitoring(&mut self) -> &mut Monitoring
pub fn take_monitoring(&mut self) -> Monitoring
pub fn get_system_parameters(&self) -> &SystemParameters
pub fn clear_system_parameters(&mut self)
pub fn has_system_parameters(&self) -> bool
pub fn set_system_parameters(&mut self, v: SystemParameters)
pub fn mut_system_parameters(&mut self) -> &mut SystemParameters
pub fn take_system_parameters(&mut self) -> SystemParameters
pub fn get_source_info(&self) -> &SourceInfo
pub fn clear_source_info(&mut self)
pub fn has_source_info(&self) -> bool
pub fn set_source_info(&mut self, v: SourceInfo)
pub fn mut_source_info(&mut self) -> &mut SourceInfo
pub fn take_source_info(&mut self) -> SourceInfo
Trait Implementations
sourceimpl Message for Service
impl Message for Service
sourcefn is_initialized(&self) -> bool
fn is_initialized(&self) -> bool
True iff all required fields are initialized.
Always returns
true for protobuf 3. Read moresourcefn merge_from(&mut self, is: &mut CodedInputStream<'_>) -> ProtobufResult<()>
fn merge_from(&mut self, is: &mut CodedInputStream<'_>) -> ProtobufResult<()>
Update this message object with fields read from given stream.
sourcefn compute_size(&self) -> u32
fn compute_size(&self) -> u32
Compute and cache size of this message and all nested messages
sourcefn write_to_with_cached_sizes(
&self,
os: &mut CodedOutputStream<'_>
) -> ProtobufResult<()>
fn write_to_with_cached_sizes(
&self,
os: &mut CodedOutputStream<'_>
) -> ProtobufResult<()>
Write message to the stream. Read more
sourcefn get_cached_size(&self) -> u32
fn get_cached_size(&self) -> u32
Get size previously computed by
compute_size.sourcefn get_unknown_fields(&self) -> &UnknownFields
fn get_unknown_fields(&self) -> &UnknownFields
Get a reference to unknown fields.
sourcefn mut_unknown_fields(&mut self) -> &mut UnknownFields
fn mut_unknown_fields(&mut self) -> &mut UnknownFields
Get a mutable reference to unknown fields.
sourcefn as_any_mut(&mut self) -> &mut dyn Any
fn as_any_mut(&mut self) -> &mut dyn Any
View self as mutable
Any.sourcefn descriptor(&self) -> &'static MessageDescriptor
fn descriptor(&self) -> &'static MessageDescriptor
Message descriptor for this message, used for reflection.
sourcefn descriptor_static() -> &'static MessageDescriptor
fn descriptor_static() -> &'static MessageDescriptor
Get message descriptor for message type. Read more
sourcefn default_instance() -> &'static Service
fn default_instance() -> &'static Service
Return a pointer to default immutable message with static lifetime. Read more
sourcefn parse_from(is: &mut CodedInputStream<'_>) -> Result<Self, ProtobufError>where
Self: Sized,
fn parse_from(is: &mut CodedInputStream<'_>) -> Result<Self, ProtobufError>where
Self: Sized,
Parse message from stream.
sourcefn write_to(&self, os: &mut CodedOutputStream<'_>) -> Result<(), ProtobufError>
fn write_to(&self, os: &mut CodedOutputStream<'_>) -> Result<(), ProtobufError>
Write the message to the stream. Read more
sourcefn write_length_delimited_to(
&self,
os: &mut CodedOutputStream<'_>
) -> Result<(), ProtobufError>
fn write_length_delimited_to(
&self,
os: &mut CodedOutputStream<'_>
) -> Result<(), ProtobufError>
Write the message to the stream prepending the message with message length
encoded as varint. Read more
sourcefn write_length_delimited_to_vec(
&self,
vec: &mut Vec<u8, Global>
) -> Result<(), ProtobufError>
fn write_length_delimited_to_vec(
&self,
vec: &mut Vec<u8, Global>
) -> Result<(), ProtobufError>
Write the message to the vec, prepend the message with message length
encoded as varint. Read more
sourcefn merge_from_bytes(&mut self, bytes: &[u8]) -> Result<(), ProtobufError>
fn merge_from_bytes(&mut self, bytes: &[u8]) -> Result<(), ProtobufError>
Update this message object with fields read from given stream.
sourcefn parse_from_reader(reader: &mut dyn Read) -> Result<Self, ProtobufError>where
Self: Sized,
fn parse_from_reader(reader: &mut dyn Read) -> Result<Self, ProtobufError>where
Self: Sized,
Parse message from reader.
Parse stops on EOF or when error encountered. Read more
sourcefn parse_from_bytes(bytes: &[u8]) -> Result<Self, ProtobufError>where
Self: Sized,
fn parse_from_bytes(bytes: &[u8]) -> Result<Self, ProtobufError>where
Self: Sized,
Parse message from byte array.
sourcefn check_initialized(&self) -> Result<(), ProtobufError>
fn check_initialized(&self) -> Result<(), ProtobufError>
Check if all required fields of this object are initialized.
sourcefn write_to_writer(&self, w: &mut dyn Write) -> Result<(), ProtobufError>
fn write_to_writer(&self, w: &mut dyn Write) -> Result<(), ProtobufError>
Write the message to the writer.
sourcefn write_to_vec(&self, v: &mut Vec<u8, Global>) -> Result<(), ProtobufError>
fn write_to_vec(&self, v: &mut Vec<u8, Global>) -> Result<(), ProtobufError>
Write the message to bytes vec.
sourcefn write_to_bytes(&self) -> Result<Vec<u8, Global>, ProtobufError>
fn write_to_bytes(&self) -> Result<Vec<u8, Global>, ProtobufError>
Write the message to bytes vec.
sourcefn write_length_delimited_to_writer(
&self,
w: &mut dyn Write
) -> Result<(), ProtobufError>
fn write_length_delimited_to_writer(
&self,
w: &mut dyn Write
) -> Result<(), ProtobufError>
Write the message to the writer, prepend the message with message length
encoded as varint. Read more
sourcefn write_length_delimited_to_bytes(
&self
) -> Result<Vec<u8, Global>, ProtobufError>
fn write_length_delimited_to_bytes(
&self
) -> Result<Vec<u8, Global>, ProtobufError>
Write the message to the bytes vec, prepend the message with message length
encoded as varint. Read more
sourceimpl ProtobufValue for Service
impl ProtobufValue for Service
sourcefn as_ref(&self) -> ReflectValueRef<'_>
fn as_ref(&self) -> ReflectValueRef<'_>
As ref
sourcefn is_non_zero(&self) -> bool
fn is_non_zero(&self) -> bool
Is value non-zero?
sourcefn as_ref_copy(&self) -> ReflectValueRef<'static>
fn as_ref_copy(&self) -> ReflectValueRef<'static>
impl StructuralPartialEq for Service
Auto Trait Implementations
impl RefUnwindSafe for Service
impl Send for Service
impl Sync for Service
impl Unpin for Service
impl UnwindSafe for Service
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more