diff --git a/rs/nns/governance/api/src/ic_nns_governance.pb.v1.rs b/rs/nns/governance/api/src/ic_nns_governance.pb.v1.rs index 7f0eab33a36..8cbdc2f382c 100644 --- a/rs/nns/governance/api/src/ic_nns_governance.pb.v1.rs +++ b/rs/nns/governance/api/src/ic_nns_governance.pb.v1.rs @@ -3484,15 +3484,13 @@ pub struct ListProposalInfoResponse { /// will be returned in the current page. #[derive(candid::CandidType, candid::Deserialize, serde::Serialize, comparable::Comparable)] #[allow(clippy::derive_partial_eq_without_eq)] -#[derive(Clone, PartialEq, ::prost::Message)] +#[derive(Clone, PartialEq)] pub struct ListNeurons { /// The neurons to get information about. The "requested list" /// contains all of these neuron IDs. - #[prost(fixed64, repeated, packed = "false", tag = "1")] pub neuron_ids: Vec, /// If true, the "requested list" also contains the neuron ID of the /// neurons that the calling principal is authorized to read. - #[prost(bool, tag = "2")] pub include_neurons_readable_by_caller: bool, /// Whether to also include empty neurons readable by the caller. This field only has an effect /// when `include_neurons_readable_by_caller` is true. If a neuron's id already exists in the @@ -3500,7 +3498,6 @@ pub struct ListNeurons { /// this field. Since the previous behavior was to always include empty neurons readable by caller, /// if this field is not provided, it defaults to true, in order to maintain backwards /// compatibility. Here, being "empty" means 0 stake, 0 maturity and 0 staked maturity. - #[prost(bool, optional, tag = "3")] pub include_empty_neurons_readable_by_caller: Option, /// If this is set to true, and a neuron in the "requested list" has its /// visibility set to public, then, it will (also) be included in the @@ -3510,20 +3507,16 @@ pub struct ListNeurons { /// requested list. In general, you probably want to set this to true, but /// since this feature was added later, it is opt in to avoid confusing /// existing (unmigrated) callers. - #[prost(bool, optional, tag = "4")] pub include_public_neurons_in_full_neurons: Option, /// If this is set, we return the batch of neurons at a given page, using the `page_size` to /// determine how many neurons are returned in each page. - #[prost(uint64, optional, tag = "5")] pub page_number: Option, /// If this is set, we use the page limit provided to determine how large pages will be. /// This cannot be greater than MAX_LIST_NEURONS_RESULTS, which is set to 500. /// If not set, this defaults to MAX_LIST_NEURONS_RESULTS. - #[prost(uint64, optional, tag = "6")] pub page_size: Option, /// A list of neurons by subaccounts to return in the response. If the neurons are not /// found by subaccount, no error is returned, but the page will still be returned. - #[prost(message, repeated, tag = "7")] pub neuron_subaccounts: Option>, }