func Int64(value *structpb.Value) int64 {
	nv, ok := value.Kind.(*structpb.Value_NumberValue)
	if !ok {
		return 0
	}
	return int64(nv.NumberValue)
}
// Int64 returns value as an int64. If the value is not
// a NumberValue, returns 0
Int64 returns value as an int64. If the value is not
a NumberValue, returns 0
// Int64 returns value as an int64 . If the value is not // a NumberValue returns 0
func Int64(value *structpb.Value) int64 {
	nv, ok := value.Kind.(*structpb.Value_NumberValue)
	if !ok {
		return 0
	}
	return int64(nv.NumberValue)
}
func Int64 ( value * structpb . Value ) int64 { nv , ok := value . Kind . ( * structpb . Value_NumberValue ) if ! ok { return 0 } return int64 ( nv . NumberValue ) }
Int64 returns value as an int64.
Int64 returns value as an int64 .