Struct google_api_proto::google::cloud::blockchainnodeengine::v1::BlockchainNode
source · pub struct BlockchainNode {
pub name: String,
pub create_time: Option<Timestamp>,
pub update_time: Option<Timestamp>,
pub labels: BTreeMap<String, String>,
pub blockchain_type: Option<i32>,
pub connection_info: Option<ConnectionInfo>,
pub state: i32,
pub private_service_connect_enabled: bool,
pub blockchain_type_details: Option<BlockchainTypeDetails>,
}
Expand description
A representation of a blockchain node.
Fields§
§name: String
Output only. The fully qualified name of the blockchain node.
e.g. projects/my-project/locations/us-central1/blockchainNodes/my-node
.
create_time: Option<Timestamp>
Output only. The timestamp at which the blockchain node was first created.
update_time: Option<Timestamp>
Output only. The timestamp at which the blockchain node was last updated.
labels: BTreeMap<String, String>
User-provided key-value pairs.
blockchain_type: Option<i32>
Immutable. The blockchain type of the node.
connection_info: Option<ConnectionInfo>
Output only. The connection information used to interact with a blockchain node.
state: i32
Output only. A status representing the state of the node.
private_service_connect_enabled: bool
Optional. When true, the node is only accessible via Private Service Connect; no public endpoints are exposed. Otherwise, the node is only accessible via public endpoints. Warning: Private Service Connect enabled nodes may require a manual migration effort to remain compatible with future versions of the product. If this feature is enabled, you will be notified of these changes along with any required action to avoid disruption. See https://cloud.google.com/vpc/docs/private-service-connect.
blockchain_type_details: Option<BlockchainTypeDetails>
Information that is specific to a particular blockchain type.
Implementations§
source§impl BlockchainNode
impl BlockchainNode
sourcepub fn blockchain_type(&self) -> BlockchainType
pub fn blockchain_type(&self) -> BlockchainType
Returns the enum value of blockchain_type
, or the default if the field is unset or set to an invalid enum value.
sourcepub fn set_blockchain_type(&mut self, value: BlockchainType)
pub fn set_blockchain_type(&mut self, value: BlockchainType)
Sets blockchain_type
to the provided enum value.
Trait Implementations§
source§impl Clone for BlockchainNode
impl Clone for BlockchainNode
source§fn clone(&self) -> BlockchainNode
fn clone(&self) -> BlockchainNode
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for BlockchainNode
impl Debug for BlockchainNode
source§impl Default for BlockchainNode
impl Default for BlockchainNode
source§impl Message for BlockchainNode
impl Message for BlockchainNode
source§fn encoded_len(&self) -> usize
fn encoded_len(&self) -> usize
source§fn encode(&self, buf: &mut impl BufMut) -> Result<(), EncodeError>where
Self: Sized,
fn encode(&self, buf: &mut impl BufMut) -> Result<(), EncodeError>where
Self: Sized,
source§fn encode_to_vec(&self) -> Vec<u8>where
Self: Sized,
fn encode_to_vec(&self) -> Vec<u8>where
Self: Sized,
source§fn encode_length_delimited(
&self,
buf: &mut impl BufMut,
) -> Result<(), EncodeError>where
Self: Sized,
fn encode_length_delimited(
&self,
buf: &mut impl BufMut,
) -> Result<(), EncodeError>where
Self: Sized,
source§fn encode_length_delimited_to_vec(&self) -> Vec<u8>where
Self: Sized,
fn encode_length_delimited_to_vec(&self) -> Vec<u8>where
Self: Sized,
source§fn decode(buf: impl Buf) -> Result<Self, DecodeError>where
Self: Default,
fn decode(buf: impl Buf) -> Result<Self, DecodeError>where
Self: Default,
source§fn decode_length_delimited(buf: impl Buf) -> Result<Self, DecodeError>where
Self: Default,
fn decode_length_delimited(buf: impl Buf) -> Result<Self, DecodeError>where
Self: Default,
source§fn merge(&mut self, buf: impl Buf) -> Result<(), DecodeError>where
Self: Sized,
fn merge(&mut self, buf: impl Buf) -> Result<(), DecodeError>where
Self: Sized,
self
. Read moresource§fn merge_length_delimited(&mut self, buf: impl Buf) -> Result<(), DecodeError>where
Self: Sized,
fn merge_length_delimited(&mut self, buf: impl Buf) -> Result<(), DecodeError>where
Self: Sized,
self
.source§impl PartialEq for BlockchainNode
impl PartialEq for BlockchainNode
source§fn eq(&self, other: &BlockchainNode) -> bool
fn eq(&self, other: &BlockchainNode) -> bool
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for BlockchainNode
Auto Trait Implementations§
impl Freeze for BlockchainNode
impl RefUnwindSafe for BlockchainNode
impl Send for BlockchainNode
impl Sync for BlockchainNode
impl Unpin for BlockchainNode
impl UnwindSafe for BlockchainNode
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
§impl<T> Instrument for T
impl<T> Instrument for T
§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
source§impl<T> IntoRequest<T> for T
impl<T> IntoRequest<T> for T
source§fn into_request(self) -> Request<T>
fn into_request(self) -> Request<T>
T
in a tonic::Request