public interface CampaignRequestOrBuilder
extends com.google.protobuf.MessageOrBuilder
| Modifier and Type | Method and Description |
|---|---|
long |
getLease()
lease is the ID of the lease attached to leadership of the election.
|
com.google.protobuf.ByteString |
getName()
name is the election's identifier for the campaign.
|
com.google.protobuf.ByteString |
getValue()
value is the initial proclaimed value set when the campaigner wins the
election.
|
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneofcom.google.protobuf.ByteString getName()
name is the election's identifier for the campaign.
bytes name = 1;long getLease()
lease is the ID of the lease attached to leadership of the election. If the lease expires or is revoked before resigning leadership, then the leadership is transferred to the next campaigner, if any.
int64 lease = 2;com.google.protobuf.ByteString getValue()
value is the initial proclaimed value set when the campaigner wins the election.
bytes value = 3;Copyright © 2020. All rights reserved.