Skip to content

Commit 6e78f45

Browse files
authored
Merge branch 'main' into dependabot/github_actions/codecov/codecov-action-7.0.0
2 parents 4e88596 + aaba357 commit 6e78f45

1 file changed

Lines changed: 18 additions & 18 deletions

File tree

sdk/node_create_transaction.go

Lines changed: 18 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -94,7 +94,7 @@ func _NodeCreateTransactionFromProtobuf(tx Transaction[*NodeCreateTransaction],
9494
return nodeCreateTransaction
9595
}
9696

97-
// GetAccountID AccountID of the node
97+
// GetAccountID returns AccountID of the node.
9898
func (tx *NodeCreateTransaction) GetAccountID() AccountID {
9999
if tx.accountID == nil {
100100
return AccountID{}
@@ -103,102 +103,102 @@ func (tx *NodeCreateTransaction) GetAccountID() AccountID {
103103
return *tx.accountID
104104
}
105105

106-
// SetAccountID get the AccountID of the node
106+
// SetAccountID sets the AccountID of the node.
107107
func (tx *NodeCreateTransaction) SetAccountID(accountID AccountID) *NodeCreateTransaction {
108108
tx._RequireNotFrozen()
109109
tx.accountID = &accountID
110110
return tx
111111
}
112112

113-
// GetDescription get the description of the node
113+
// GetDescription returns the description of the node.
114114
func (tx *NodeCreateTransaction) GetDescription() string {
115115
return tx.description
116116
}
117117

118-
// SetDescription set the description of the node
118+
// SetDescription sets the description of the node.
119119
func (tx *NodeCreateTransaction) SetDescription(description string) *NodeCreateTransaction {
120120
tx._RequireNotFrozen()
121121
tx.description = description
122122
return tx
123123
}
124124

125-
// GetServiceEndpoints the list of service endpoints for gossip.
125+
// GetGossipEndpoints returns the list of service endpoints for gossip.
126126
func (tx *NodeCreateTransaction) GetGossipEndpoints() []Endpoint {
127127
return tx.gossipEndpoints
128128
}
129129

130-
// SetGossipEndpoints the list of service endpoints for gossip.
130+
// SetGossipEndpoints sets the list of service endpoints for gossip.
131131
func (tx *NodeCreateTransaction) SetGossipEndpoints(gossipEndpoints []Endpoint) *NodeCreateTransaction {
132132
tx._RequireNotFrozen()
133133
tx.gossipEndpoints = gossipEndpoints
134134
return tx
135135
}
136136

137-
// AddGossipEndpoint add an endpoint for gossip to the list of service endpoints for gossip.
137+
// AddGossipEndpoint adds an endpoint for gossip to the list of service endpoints for gossip.
138138
func (tx *NodeCreateTransaction) AddGossipEndpoint(endpoint Endpoint) *NodeCreateTransaction {
139139
tx._RequireNotFrozen()
140140
tx.gossipEndpoints = append(tx.gossipEndpoints, endpoint)
141141
return tx
142142
}
143143

144-
// GetServiceEndpoints the list of service endpoints for gRPC calls.
144+
// GetServiceEndpoints returns the list of service endpoints for gRPC calls.
145145
func (tx *NodeCreateTransaction) GetServiceEndpoints() []Endpoint {
146146
return tx.serviceEndpoints
147147
}
148148

149-
// SetServiceEndpoints the list of service endpoints for gRPC calls.
149+
// SetServiceEndpoints sets the list of service endpoints for gRPC calls.
150150
func (tx *NodeCreateTransaction) SetServiceEndpoints(serviceEndpoints []Endpoint) *NodeCreateTransaction {
151151
tx._RequireNotFrozen()
152152
tx.serviceEndpoints = serviceEndpoints
153153
return tx
154154
}
155155

156-
// AddServiceEndpoint the list of service endpoints for gRPC calls.
156+
// AddServiceEndpoint adds the list of service endpoints for gRPC calls.
157157
func (tx *NodeCreateTransaction) AddServiceEndpoint(endpoint Endpoint) *NodeCreateTransaction {
158158
tx._RequireNotFrozen()
159159
tx.serviceEndpoints = append(tx.serviceEndpoints, endpoint)
160160
return tx
161161
}
162162

163-
// GetGossipCaCertificate the certificate used to sign gossip events.
163+
// GetGossipCaCertificate returns the certificate used to sign gossip events.
164164
func (tx *NodeCreateTransaction) GetGossipCaCertificate() []byte {
165165
return tx.gossipCaCertificate
166166
}
167167

168-
// SetGossipCaCertificate the certificate used to sign gossip events.
168+
// SetGossipCaCertificate sets the certificate used to sign gossip events.
169169
// This value MUST be the DER encoding of the certificate presented.
170170
func (tx *NodeCreateTransaction) SetGossipCaCertificate(gossipCaCertificate []byte) *NodeCreateTransaction {
171171
tx._RequireNotFrozen()
172172
tx.gossipCaCertificate = gossipCaCertificate
173173
return tx
174174
}
175175

176-
// GetGrpcCertificateHash the hash of the node gRPC TLS certificate.
176+
// GetGrpcCertificateHash returns the hash of the node gRPC TLS certificate.
177177
func (tx *NodeCreateTransaction) GetGrpcCertificateHash() []byte {
178178
return tx.grpcCertificateHash
179179
}
180180

181-
// SetGrpcCertificateHash the hash of the node gRPC TLS certificate.
181+
// SetGrpcCertificateHash sets the hash of the node gRPC TLS certificate.
182182
// This value MUST be a SHA-384 hash.
183183
func (tx *NodeCreateTransaction) SetGrpcCertificateHash(grpcCertificateHash []byte) *NodeCreateTransaction {
184184
tx._RequireNotFrozen()
185185
tx.grpcCertificateHash = grpcCertificateHash
186186
return tx
187187
}
188188

189-
// GetAdminKey an administrative key controlled by the node operator.
189+
// GetAdminKey returns an administrative key controlled by the node operator.
190190
func (tx *NodeCreateTransaction) GetAdminKey() Key {
191191
return tx.adminKey
192192
}
193193

194-
// SetAdminKey an administrative key controlled by the node operator.
194+
// SetAdminKey sets an administrative key controlled by the node operator.
195195
func (tx *NodeCreateTransaction) SetAdminKey(adminKey Key) *NodeCreateTransaction {
196196
tx._RequireNotFrozen()
197197
tx.adminKey = adminKey
198198
return tx
199199
}
200200

201-
// GetDeclineReward Gets whether this node declines rewards.
201+
// GetDeclineReward returns whether this node declines rewards.
202202
func (tx *NodeCreateTransaction) GetDeclineReward() bool {
203203
return *tx.declineReward
204204
}
@@ -210,7 +210,7 @@ func (tx *NodeCreateTransaction) SetDeclineReward(declineReward bool) *NodeCreat
210210
return tx
211211
}
212212

213-
// GetGrpcWebProxyEndpoint Gets the gRPC proxy endpoint.
213+
// GetGrpcWebProxyEndpoint returns the gRPC proxy endpoint.
214214
func (tx *NodeCreateTransaction) GetGrpcWebProxyEndpoint() Endpoint {
215215
return *tx.grpcWebProxyEndpoint
216216
}

0 commit comments

Comments
 (0)