()
| 1749 | } |
| 1750 | |
| 1751 | func (x *Agent) GetToken() string { |
| 1752 | if x, ok := x.GetAuth().(*Agent_Token); ok { |
| 1753 | return x.Token |
| 1754 | } |
| 1755 | return "" |
| 1756 | } |
| 1757 | |
| 1758 | func (x *Agent) GetInstanceId() string { |
| 1759 | if x, ok := x.GetAuth().(*Agent_InstanceId); ok { |